From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111476 invoked by alias); 8 Dec 2018 06:29:58 -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 111261 invoked by uid 48); 8 Dec 2018 06:29:49 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/69899] gcc ICE on invalid code on x86_64-linux-gnu in "replace_reg" Date: Sat, 08 Dec 2018 06:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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: 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: 2018-12/txt/msg01312.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69899 Arseny Solokha changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asolokha at gmx dot com --- Comment #3 from Arseny Solokha --- I cannot reproduce this ICE on all active branches. >>From gcc-bugs-return-625195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 06:29:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111399 invoked by alias); 8 Dec 2018 06:29: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 111246 invoked by uid 48); 8 Dec 2018 06:29:49 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/79636] [7/8/9 Regression] ICE in assign_by_spills, at lra-assigns.c:1457 Date: Sat, 08 Dec 2018 06:29: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com 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.5 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: 2018-12/txt/msg01311.txt.bz2 Content-length: 457 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79636 Arseny Solokha changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asolokha at gmx dot com --- Comment #5 from Arseny Solokha --- In my setup, a current trunk snapshot and gcc 8 don't ICE, and gcc 7 still does. >>From gcc-bugs-return-625197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 06:30:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111695 invoked by alias); 8 Dec 2018 06:30:00 -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 111337 invoked by uid 48); 8 Dec 2018 06:29:55 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/80540] gcc ICE at -O2 and above on x86_64-linux-gnu in "assign_by_spills" Date: Sat, 08 Dec 2018 06:30: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com 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: 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: 2018-12/txt/msg01313.txt.bz2 Content-length: 568 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80540 Arseny Solokha changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asolokha at gmx dot com --- Comment #5 from Arseny Solokha --- In my setup, a current trunk snapshot and gcc 8 don't ICE. Curiously, gcc 4= .9 doesn't ICE too. So it's either semi-latent and gets unfortunate exposure at times, or was fixed at some point. >>From gcc-bugs-return-625199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 06:31:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115274 invoked by alias); 8 Dec 2018 06:31:31 -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 114578 invoked by uid 48); 8 Dec 2018 06:31:21 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88415] New: [7/8/9 Regression] ICE: verify_gimple failed (error: dead STMT in EH table) Date: Sat, 08 Dec 2018 06:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01315.txt.bz2 Content-length: 1638 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88415 Bug ID: 88415 Summary: [7/8/9 Regression] ICE: verify_gimple failed (error: dead STMT in EH table) Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, openmp Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc-9.0.0-alpha20181202 snapshot (r266729), 8.2, 7.4 ICE when compiling the following snippet w/ -fexceptions -fnon-call-exceptions -fopenmp -fsignaling-nans -funsafe-math-optimizations: void lx (_Complex int *yn) { int mj; #pragma omp for for (mj =3D 0; mj < 1; ++mj) yn[mj] +=3D 1; } % gcc-9.0.0-alpha20181202 -fexceptions -fnon-call-exceptions -fopenmp -fsignaling-nans -funsafe-math-optimizations -w -c zgxacany.c zgxacany.c: In function 'lx': zgxacany.c:2:1: error: dead STMT in EH table 2 | lx (_Complex int *yn) | ^~ # VUSE <.MEM_12> _26 =3D *_3; during GIMPLE pass: cplxlower0 zgxacany.c:2:1: internal compiler error: verify_gimple failed 0xd5107d verify_gimple_in_cfg(function*, bool) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= tree-cfg.c:5422 0xc2523f execute_function_todo =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= passes.c:1977 0xc2617e execute_todo =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= passes.c:2031 >>From gcc-bugs-return-625198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 06:31:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114448 invoked by alias); 8 Dec 2018 06:31:11 -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 114198 invoked by uid 48); 8 Dec 2018 06:30:48 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88414] New: [9 Regression] ICE in lra_assign, at lra-assigns.c:1624 Date: Sat, 08 Dec 2018 06:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: 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: 2018-12/txt/msg01314.txt.bz2 Content-length: 1750 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88414 Bug ID: 88414 Summary: [9 Regression] ICE in lra_assign, at lra-assigns.c:1624 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: x86_64-unknown-linux-gnu gcc-9.0.0-alpha20181202 snapshot (r266729) for x86_64 ICEs when compiling gcc/testsuite/gcc.target/m68k/pr45015.c w/ -O1 (-Og) -ftrapv: % x86_64-unknown-linux-gnu-gcc-9.0.0-alpha20181202 -O1 -ftrapv -c gcc/testsuite/gcc.target/m68k/pr45015.c gcc/testsuite/gcc.target/m68k/pr45015.c: In function 'foo': gcc/testsuite/gcc.target/m68k/pr45015.c:16:7: error: 'asm' operand has impossible constraints 16 | __asm__ ("move.l %2, %0; move.l %3, %1" : "=3Dd" (b), "=3Dd" = (c) : "g<>" (y[j]), "d" (w)); | ^~~~~~~ during RTL pass: reload gcc/testsuite/gcc.target/m68k/pr45015.c:26:1: internal compiler error: in lra_assign, at lra-assigns.c:1624 26 | } | ^ 0xb897d0 lra_assign(bool&) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= lra-assigns.c:1624 0xb8443d lra(_IO_FILE*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= lra.c:2508 0xb3b929 do_reload =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= ira.c:5469 0xb3b929 execute =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= ira.c:5653 >>From gcc-bugs-return-625200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 06:31:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115291 invoked by alias); 8 Dec 2018 06:31:31 -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 114582 invoked by uid 48); 8 Dec 2018 06:31:21 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88416] New: [8/9 Regression] ICE in in df_uses_record, at df-scan.c:3013 Date: Sat, 08 Dec 2018 06:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: 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: 2018-12/txt/msg01316.txt.bz2 Content-length: 2041 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88416 Bug ID: 88416 Summary: [8/9 Regression] ICE in in df_uses_record, at df-scan.c:3013 Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: x86_64-unknown-linux-gnu gcc-9.0.0-alpha20181202 snapshot (r266729) and gcc 8.2 ICE when compiling gcc/testsuite/gcc.target/i386/writeeflags-1.c w/ -O1 (-Og) -fvar-tracking-assignments -fno-forward-propagate --param max-cse-insns=3D1: % x86_64-unknown-linux-gnu-gcc-9.0.0-alpha20181202 -O1 -fvar-tracking-assignments -fno-forward-propagate --param max-cse-insns=3D1= -c gcc/testsuite/gcc.target/i386/writeeflags-1.c during RTL pass: combine gcc/testsuite/gcc.target/i386/writeeflags-1.c: In function 'main': gcc/testsuite/gcc.target/i386/writeeflags-1.c:31:1: internal compiler error= : in df_uses_record, at df-scan.c:3013 31 | } | ^ 0x5f20d6 df_uses_record =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= df-scan.c:3013 0x93ed66 df_insn_refs_collect =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= df-scan.c:3222 0x93f127 df_insn_refs_verify =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= df-scan.c:4088 0x940af3 df_insn_rescan(rtx_insn*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= df-scan.c:1065 0x9424d6 df_process_deferred_rescans() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= df-scan.c:1246 0x92d57a df_finish_pass(bool) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= df-core.c:651 >>From gcc-bugs-return-625201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 06:47:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129571 invoked by alias); 8 Dec 2018 06:47:13 -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 129534 invoked by uid 48); 8 Dec 2018 06:47:09 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/58318] very slow compilation on x86_64-linux with -O3 and -g and checking enabled Date: Sat, 08 Dec 2018 06:47: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: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com 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: 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: 2018-12/txt/msg01317.txt.bz2 Content-length: 475 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58318 Arseny Solokha changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asolokha at gmx dot com --- Comment #4 from Arseny Solokha --- I cannot reproduce it on all active branches. It looks like 4.8 was the last branch w/ this issue. >>From gcc-bugs-return-625202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 07:37:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31760 invoked by alias); 8 Dec 2018 07:37:56 -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 31720 invoked by uid 48); 8 Dec 2018 07:37:51 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88413] g++ mangles names involving unresolved names in function argument template parameters differently from the ABI standard. Date: Sat, 08 Dec 2018 07:37: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: 8.2.0 X-Bugzilla-Keywords: ABI, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 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: 2018-12/txt/msg01318.txt.bz2 Content-length: 361 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88413 --- Comment #5 from Andrew Pinski --- GCC has the following in it: ::=3D sr # dependent name ::=3D sr */ Hmm, maybe the ABI changed and GCC did not change with it ... >>From gcc-bugs-return-625203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 08:59:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126351 invoked by alias); 8 Dec 2018 08:59: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 126223 invoked by uid 55); 8 Dec 2018 08:58:56 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/87995] [9 regression] libgomp.c/../libgomp.c-c++-common/cancel-taskgroup-3.c fails consistently after r265930 Date: Sat, 08 Dec 2018 08:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01319.txt.bz2 Content-length: 749 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87995 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Sat Dec 8 08:58:24 2018 New Revision: 266904 URL: https://gcc.gnu.org/viewcvs?rev=3D266904&root=3Dgcc&view=3Drev Log: PR libgomp/87995 * testsuite/libgomp.c-c++-common/cancel-taskgroup-3.c: Require tls_runtime effective target. (t): New threadprivate variable. (main): Set t in threads which execute iterations of the worksharing loop. Propagate that to the task after the loop and don't abort if the current taskgroup hasn't been cancelled. Modified: trunk/libgomp/ChangeLog trunk/libgomp/testsuite/libgomp.c-c++-common/cancel-taskgroup-3.c >>From gcc-bugs-return-625204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 09:11:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18643 invoked by alias); 8 Dec 2018 09:11:11 -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 18588 invoked by uid 48); 8 Dec 2018 09:11:07 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/87995] [9 regression] libgomp.c/../libgomp.c-c++-common/cancel-taskgroup-3.c fails consistently after r265930 Date: Sat, 08 Dec 2018 09:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01320.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87995 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-625205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 10:11:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105497 invoked by alias); 8 Dec 2018 10:11: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 103056 invoked by uid 48); 8 Dec 2018 10:11:38 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88390] [9 regression] g++.dg/tree-prof/pr57451.C FAILs Date: Sat, 08 Dec 2018 10:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component 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: 2018-12/txt/msg01321.txt.bz2 Content-length: 393 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88390 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c++ |rtl-optimization --- Comment #4 from Eric Botcazou --- Recategorizing. >>From gcc-bugs-return-625206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 10:20:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34667 invoked by alias); 8 Dec 2018 10:20: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 34626 invoked by uid 48); 8 Dec 2018 10:20:46 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88410] [8/9 Regression] internal compiler error: output_operand: invalid expression as operand Date: Sat, 08 Dec 2018 10:20: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc 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: 2018-12/txt/msg01322.txt.bz2 Content-length: 1062 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88410 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-08 CC| |jakub at gcc dot gnu.org Target Milestone|--- |8.3 Summary|internal compiler error: |[8/9 Regression] internal |output_operand: invalid |compiler error: |expression as operand |output_operand: invalid | |expression as operand Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Reduced testcase: typedef __UINTPTR_TYPE__ uintptr_t; const uintptr_t a =3D 2; struct C { int b; }; uintptr_t c { uintptr_t (&reinterpret_cast(a)->b) }; Started with my r259458. >>From gcc-bugs-return-625207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 10:44:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15247 invoked by alias); 8 Dec 2018 10:44:11 -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 15207 invoked by uid 48); 8 Dec 2018 10:44:07 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88410] [8/9 Regression] internal compiler error: output_operand: invalid expression as operand Date: Sat, 08 Dec 2018 10:44: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created 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: 2018-12/txt/msg01323.txt.bz2 Content-length: 620 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88410 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #2 from Jakub Jelinek --- Created attachment 45190 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45190&action=3Dedit gcc9-pr88410.patch Untested fix. Why doesn't libdart use offsetof though? >>From gcc-bugs-return-625208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 11:08:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121008 invoked by alias); 8 Dec 2018 11:08:31 -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 120929 invoked by uid 55); 8 Dec 2018 11:08:26 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88390] [9 regression] g++.dg/tree-prof/pr57451.C FAILs Date: Sat, 08 Dec 2018 11:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01324.txt.bz2 Content-length: 869 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88390 --- Comment #5 from Eric Botcazou --- Author: ebotcazou Date: Sat Dec 8 11:07:53 2018 New Revision: 266906 URL: https://gcc.gnu.org/viewcvs?rev=3D266906&root=3Dgcc&view=3Drev Log: PR rtl-optimization/88390 * dwarf2cfi.c (struct dw_cfi_row): Add window_save field. (cfi_row_equal_p): Compare it. (dwarf2out_frame_debug_cfa_window_save): Add FAKE parameter. If FAKE is false, set window_save of the current row. (dwarf2out_frame_debug) : Call above function with FAKE parameter set to true. : Likewise but with FAKE parameter set to fals= e. (change_cfi_row): Emit a DW_CFA_GNU_window_save if necessary. Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2cfi.c >>From gcc-bugs-return-625209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 11:09:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121955 invoked by alias); 8 Dec 2018 11:09:11 -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 121884 invoked by uid 48); 8 Dec 2018 11:09:07 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88390] [9 regression] g++.dg/tree-prof/pr57451.C FAILs Date: Sat, 08 Dec 2018 11:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01325.txt.bz2 Content-length: 458 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88390 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Eric Botcazou --- Thanks for reporting the problem. >>From gcc-bugs-return-625210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 12:30:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20084 invoked by alias); 8 Dec 2018 12:30: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 20027 invoked by uid 48); 8 Dec 2018 12:29:56 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87861] [9 regression] ICE in output_constructor_regular_field, at varasm.c:5165 Date: Sat, 08 Dec 2018 12:30: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: 9.0 X-Bugzilla-Keywords: build, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.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: 9.0 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: 2018-12/txt/msg01326.txt.bz2 Content-length: 178 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87861 --- Comment #10 from Andreas Schwab --- http://gcc.gnu.org/ml/gcc-testresults/2018-12/msg00950.html >>From gcc-bugs-return-625211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 13:38:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108891 invoked by alias); 8 Dec 2018 13:38:26 -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 108822 invoked by uid 55); 8 Dec 2018 13:38:22 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88304] [9 Regression] ICE in use_pointer_in_frame, at tree-nested.c:267 Date: Sat, 08 Dec 2018 13:38: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01327.txt.bz2 Content-length: 698 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88304 --- Comment #17 from Jakub Jelinek --- Author: jakub Date: Sat Dec 8 13:37:49 2018 New Revision: 266907 URL: https://gcc.gnu.org/viewcvs?rev=3D266907&root=3Dgcc&view=3Drev Log: PR fortran/88304 * tree-nested.c (convert_local_reference_stmt): Handle clobbers whe= re lhs is not a decl normally, don't call use_pointer_in_frame on that lhs. * gfortran.fortran-torture/compile/pr88304-2.f90: New test. Added: trunk/gcc/testsuite/gfortran.fortran-torture/compile/pr88304-2.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-nested.c >>From gcc-bugs-return-625212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 13:56:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11205 invoked by alias); 8 Dec 2018 13:56:23 -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 11142 invoked by uid 48); 8 Dec 2018 13:56:19 -0000 From: "eracpp at eml dot cc" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86228] ordered comparison between pointer and zero Date: Sat, 08 Dec 2018 13:56: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: unknown X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: eracpp at eml dot cc 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: 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: 2018-12/txt/msg01328.txt.bz2 Content-length: 1093 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86228 eracpp changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eracpp at eml dot cc --- Comment #2 from eracpp --- This bug was observed in the following example: https://gcc.godbolt.org/z/p1VreP #include #include int main() { std::array arr; // Mistake: meant to use std::generate. std::generate_n(arr.begin(), arr.end(), []{ return 0; }); } This code successfully compiles (unexpectedly) with GCC due to `size > 0` b= eing treated as well-formed in the case where the type of second parameter `size= ` is deduced to be a pointer type such as `int*`. The contrary behavior is obser= ved with Clang, as seen in the provided Compiler Explorer link above. The mistake manifests as an unexpected segmentation fault at runtime, rather thana compile-time error: http://coliru.stacked-crooked.com/a/2dc4ae877233c9b2 >>From gcc-bugs-return-625213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 14:32:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80031 invoked by alias); 8 Dec 2018 14:32:13 -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 79957 invoked by uid 48); 8 Dec 2018 14:32:08 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/88411] [9 Regression] Random crashes for ASYNCHRONOUS writes (bad locking?) Date: Sat, 08 Dec 2018 14:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig 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: 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: 2018-12/txt/msg01329.txt.bz2 Content-length: 3401 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88411 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tkoenig at gcc dot gnu.org --- Comment #3 from Thomas Koenig --- Here is some debugging info. Does not happen every time: $ gfortran a.f90 -pthread $ valgrind --tool=3Ddrd ./a.out =3D=3D4274=3D=3D drd, a thread error detector =3D=3D4274=3D=3D Copyright (C) 2006-2017, and GNU GPL'd, by Bart Van Assche. =3D=3D4274=3D=3D Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyri= ght info =3D=3D4274=3D=3D Command: ./a.out =3D=3D4274=3D=3D=20 =3D=3D4274=3D=3D Thread 3: =3D=3D4274=3D=3D Conflicting load by thread 3 at 0x05fe2268 size 4 =3D=3D4274=3D=3D at 0x5075A80: buf_flush (unix.c:533) =3D=3D4274=3D=3D by 0x5072D62: sflush (unix.h:89) =3D=3D4274=3D=3D by 0x5072D62: _gfortrani_data_transfer_init_worker (transfer.c:3176) =3D=3D4274=3D=3D by 0x507D213: async_io (async.c:135) =3D=3D4274=3D=3D by 0x4C30CC3: vgDrd_thread_wrapper (drd_pthread_interce= pts.c:444) =3D=3D4274=3D=3D by 0x5A22723: start_thread (in /lib64/libpthread-2.22.s= o) =3D=3D4274=3D=3D by 0x5D23E8C: clone (in /lib64/libc-2.22.so) =3D=3D4274=3D=3D Address 0x5fe2268 is at offset 56 from 0x5fe2230. Allocati= on context: =3D=3D4274=3D=3D at 0x4C2F830: calloc (vg_replace_malloc.c:711) =3D=3D4274=3D=3D by 0x4E69BB2: _gfortrani_xcalloc (memory.c:83) =3D=3D4274=3D=3D by 0x5075790: fd_to_stream (unix.c:1096) =3D=3D4274=3D=3D by 0x5076501: _gfortrani_open_external (unix.c:1572) =3D=3D4274=3D=3D by 0x506C0AA: _gfortrani_new_unit (open.c:535) =3D=3D4274=3D=3D by 0x506C9F5: already_open (open.c:711) =3D=3D4274=3D=3D by 0x506C9F5: _gfortran_st_open (open.c:888) =3D=3D4274=3D=3D by 0x400F82: MAIN__ (in /home/ig25/Krempel/A2/a.out) =3D=3D4274=3D=3D by 0x401302: main (in /home/ig25/Krempel/A2/a.out) =3D=3D4274=3D=3D Other segment start (thread 1) =3D=3D4274=3D=3D at 0x4C34AB8: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:978) =3D=3D4274=3D=3D by 0x4C34AB8: pthread_mutex_unlock (drd_pthread_interce= pts.c:991) =3D=3D4274=3D=3D by 0x507351E: data_transfer_init (transfer.c:3147) =3D=3D4274=3D=3D by 0x400FC4: MAIN__ (in /home/ig25/Krempel/A2/a.out) =3D=3D4274=3D=3D by 0x401302: main (in /home/ig25/Krempel/A2/a.out) =3D=3D4274=3D=3D Other segment end (thread 1) =3D=3D4274=3D=3D at 0x5A29DCD: ??? (in /lib64/libpthread-2.22.so) =3D=3D4274=3D=3D by 0x507598A: raw_write (unix.c:366) =3D=3D4274=3D=3D by 0x5075AB9: buf_flush (unix.c:540) =3D=3D4274=3D=3D by 0x5075AB9: buf_flush (unix.c:526) =3D=3D4274=3D=3D by 0x5075BCD: buf_write (unix.c:653) =3D=3D4274=3D=3D by 0x5075BCD: buf_write (unix.c:626) =3D=3D4274=3D=3D by 0x506F186: swrite (unix.h:59) =3D=3D4274=3D=3D by 0x506F186: write_buf (transfer.c:865) =3D=3D4274=3D=3D by 0x506F280: unformatted_write (transfer.c:1150) =3D=3D4274=3D=3D by 0x506FC09: _gfortrani_transfer_array_inner (transfer= .c:2486) =3D=3D4274=3D=3D by 0x506FCCA: _gfortran_transfer_array (transfer.c:2535) =3D=3D4274=3D=3D by 0x401079: MAIN__ (in /home/ig25/Krempel/A2/a.out) =3D=3D4274=3D=3D by 0x401302: main (in /home/ig25/Krempel/A2/a.out) =3D=3D4274=3D=3D=20 =3D >>From gcc-bugs-return-625214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 16:01:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101216 invoked by alias); 8 Dec 2018 16:01:17 -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 101131 invoked by uid 48); 8 Dec 2018 16:01:12 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/88411] [9 Regression] Random crashes for ASYNCHRONOUS writes (bad locking?) Date: Sat, 08 Dec 2018 16:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig 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: 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: 2018-12/txt/msg01330.txt.bz2 Content-length: 272 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88411 --- Comment #4 from Thomas Koenig --- The problem appears to be that the record length is set to zero a file with the same unit number is opened again. Hmm... some more digging is needed. >>From gcc-bugs-return-625215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 16:28:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50676 invoked by alias); 8 Dec 2018 16:28: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 50586 invoked by uid 48); 8 Dec 2018 16:27:57 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/88411] [9 Regression] Random crashes for ASYNCHRONOUS writes (bad locking?) Date: Sat, 08 Dec 2018 16:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig 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: 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: 2018-12/txt/msg01331.txt.bz2 Content-length: 262 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88411 --- Comment #5 from Thomas Koenig --- Hm, maybe something else. It seems we're actually writing direct access files in the main thread, even when using asynchronous I/O. Hmm... >>From gcc-bugs-return-625216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 16:45:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65325 invoked by alias); 8 Dec 2018 16:45: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65212 invoked by uid 48); 8 Dec 2018 16:45:53 -0000 From: "m.diehl at mpie dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88412] Associate segmentation fault assigning to derived type Date: Sat, 08 Dec 2018 16:45: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: 8.2.1 X-Bugzilla-Keywords: easyhack X-Bugzilla-Severity: normal X-Bugzilla-Who: m.diehl at mpie dot de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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 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: 2018-12/txt/msg01332.txt.bz2 Content-length: 510 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88412 Martin Diehl changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Martin Diehl --- Looks like a duplicate to me too. *** This bug has been marked as a duplicate of bug 87937 *** >>From gcc-bugs-return-625217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 16:45:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65334 invoked by alias); 8 Dec 2018 16:45: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65224 invoked by uid 48); 8 Dec 2018 16:45:54 -0000 From: "m.diehl at mpie dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87937] [8 Regression] LHS reallocation broken inside "select type" and "associate" Date: Sat, 08 Dec 2018 16:45: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: 8.2.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: m.diehl at mpie dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 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: 2018-12/txt/msg01333.txt.bz2 Content-length: 432 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87937 Martin Diehl changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.diehl at mpie dot de --- Comment #15 from Martin Diehl --- *** Bug 88412 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-625218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 17:46:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39450 invoked by alias); 8 Dec 2018 17:46:52 -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 39355 invoked by uid 48); 8 Dec 2018 17:46:47 -0000 From: "safinaskar at mail dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled Date: Sat, 08 Dec 2018 17:46: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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: safinaskar at mail dot ru 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: 2018-12/txt/msg01334.txt.bz2 Content-length: 1046 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87951 Askar Safin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |safinaskar at mail dot ru --- Comment #7 from Askar Safin --- "g++ -fstrict-enums" doesn't disable warning if I use "enum class" instead = of plain enum. This is test code: /// enum class Enum { A, B, }; int CoverMyBases(Enum x) { switch (x) { case Enum::A: return 1; case Enum::B: return 0; } } int main(int argc, const char **argv) { CoverMyBases(Enum::A); CoverMyBases(Enum::B); return 0; } /// This is command line: g++ -fstrict-enums a.cpp This is gcc version: gcc version 8.2.0 (Debian 8.2.0-10) And I get this: a.cpp: In function =E2=80=98int CoverMyBases(Enum)=E2=80=99: a.cpp:13:1: warning: control reaches end of non-void function [-Wreturn-typ= e] } ^ >>From gcc-bugs-return-625219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 18:09:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6940 invoked by alias); 8 Dec 2018 18:09: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 6901 invoked by uid 55); 8 Dec 2018 18:09:37 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88357] ICE in parse_associate, at fortran/parse.c:4568 Date: Sat, 08 Dec 2018 18:09: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: --- 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: 2018-12/txt/msg01335.txt.bz2 Content-length: 976 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88357 --- Comment #8 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Dec 8 18:09:05 2018 New Revision: 266908 URL: https://gcc.gnu.org/viewcvs?rev=3D266908&root=3Dgcc&view=3Drev Log: 2018-12-08 Steven G. Kargl PR fortran/88357 * class.c (insert_component_ref): Check for NULL pointer and=20 previous error message issued. * parse.c (parse_associate): Check for NULL pointer. * resolve.c (resolve_assoc_var): Check for NULL pointer. 2018-12-08 Steven G. Kargl * gfortran.dg/pr88357_1.f90: New test. * gfortran.dg/pr88357_2.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/pr88357_1.f90 trunk/gcc/testsuite/gfortran.dg/pr88357_2.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/class.c trunk/gcc/fortran/parse.c trunk/gcc/fortran/resolve.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 18:12:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26414 invoked by alias); 8 Dec 2018 18:12: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 24045 invoked by uid 48); 8 Dec 2018 18:12:53 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88357] ICE in parse_associate, at fortran/parse.c:4568 Date: Sat, 08 Dec 2018 18:12: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01337.txt.bz2 Content-length: 394 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88357 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #10 from kargl at gcc dot gnu.org --- Closing. >>From gcc-bugs-return-625220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 18:12:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14018 invoked by alias); 8 Dec 2018 18:12: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 11749 invoked by uid 48); 8 Dec 2018 18:12:30 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88357] ICE in parse_associate, at fortran/parse.c:4568 Date: Sat, 08 Dec 2018 18:12: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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: 2018-12/txt/msg01336.txt.bz2 Content-length: 456 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88357 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gn= u.org Target Milestone|--- |9.0 --- Comment #9 from kargl at gcc dot gnu.org --- Fixes for z1.f90 and z3.f90 have been committed. >>From gcc-bugs-return-625222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 20:27:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94503 invoked by alias); 8 Dec 2018 20:27: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 94413 invoked by uid 48); 8 Dec 2018 20:27:20 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled Date: Sat, 08 Dec 2018 20:27: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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 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: 2018-12/txt/msg01338.txt.bz2 Content-length: 304 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87951 --- Comment #8 from Andrew Pinski --- (In reply to Askar Safin from comment #7) > "g++ -fstrict-enums" doesn't disable warning if I use "enum class" instead > of plain enum. Yes because they have different semantics ... >>From gcc-bugs-return-625224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 22:14:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71213 invoked by alias); 8 Dec 2018 22:14:32 -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 71144 invoked by uid 48); 8 Dec 2018 22:14:28 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88364] [9 Regression] Wrong-code due to CLOBBER Date: Sat, 08 Dec 2018 22:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01340.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88364 Bug 88364 depends on bug 88304, which changed state. Bug 88304 Summary: [9 Regression] ICE in use_pointer_in_frame, at tree-nest= ed.c:267 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88304 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-625223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 22:14:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71200 invoked by alias); 8 Dec 2018 22:14:32 -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 71112 invoked by uid 48); 8 Dec 2018 22:14:28 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88304] [9 Regression] ICE in use_pointer_in_frame, at tree-nested.c:267 Date: Sat, 08 Dec 2018 22:14: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01339.txt.bz2 Content-length: 424 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88304 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #18 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-625225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 23:17:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123513 invoked by alias); 8 Dec 2018 23: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 123468 invoked by uid 48); 8 Dec 2018 23:17:37 -0000 From: "lts-rudolph at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88417] New: partial specialization of static template variable inside class template gives wrong result Date: Sat, 08 Dec 2018 23:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lts-rudolph at gmx dot de 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 Message-ID: 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: 2018-12/txt/msg01341.txt.bz2 Content-length: 1480 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88417 Bug ID: 88417 Summary: partial specialization of static template variable inside class template gives wrong result Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lts-rudolph at gmx dot de Target Milestone: --- If I do a partial template variable specialization inside a template class I got the wrong results and/or if no unspecialised version is provided I got a linker error. template < typename T> class X { public: T i; X(T _i): i{_i}{} operator T(){ return i; } }; template < typename T2 > class Y { public: template static X x_in_y; }; template< typename T2> template< typename T> X Y::x_in_y{200}; template<> template<> X Y::x_in_y{100}; template<> template<> X Y::x_in_y{101}; // this partial specialization is never seen, but compiles without error template< > template< typename T > X Y::x_in_y{77}; int main() { std::cout << Y::x_in_y << std::endl; std::cout << Y::x_in_y << std::endl; std::cout << Y::x_in_y << std::endl; std::cout << Y::x_in_y << std::endl; } expected result: 101 100 200 77 >>From gcc-bugs-return-625226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 08 23:27:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3506 invoked by alias); 8 Dec 2018 23:27: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 3413 invoked by uid 48); 8 Dec 2018 23:27:31 -0000 From: "safinaskar at mail dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled Date: Sat, 08 Dec 2018 23:27: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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: safinaskar at mail dot ru 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: 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: 2018-12/txt/msg01342.txt.bz2 Content-length: 811 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87951 --- Comment #9 from Askar Safin --- (In reply to Andrew Pinski from comment #8) > Yes because they have different semantics ... So, you mean that "enum class" is less strict than normal enums? This is ve= ry strange. Today I normally use "enum class", because they are advertised as "better".= And now I see that, well, they are *less* strict, than normal enums, and thus (= to get better compiler warnings) I need to switch to "old bad" enums, right?! = This is very-very strange. So if I want good compiler messages I need to convert= my code from "good modern" enum class to "bad old" enums, right?! Is there some hack to get better compiler warnings for "enum class"? Something like -fstrict-enums, but for "enum class"? >>From gcc-bugs-return-625227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 01:03:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113548 invoked by alias); 9 Dec 2018 01:03:20 -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 113468 invoked by uid 55); 9 Dec 2018 01:03:14 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88025] [7/8/9 Regression] ICE in gfc_apply_init, at fortran/expr.c:4468 Date: Sun, 09 Dec 2018 01:03: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01343.txt.bz2 Content-length: 706 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88025 --- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Dec 9 01:02:41 2018 New Revision: 266913 URL: https://gcc.gnu.org/viewcvs?rev=3D266913&root=3Dgcc&view=3Drev Log: 2018-12-08 Steven G. Kargl PR fortran/88025 * expr.c (gfc_apply_init): Remove asserts that cannot trigger. Check for a NULL pointer. 2018-12-08 Steven G. Kargl PR fortran/88025 * gfortran.dg/pr88025.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/pr88025.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/expr.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 03:11:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58424 invoked by alias); 9 Dec 2018 03:11:30 -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 58315 invoked by uid 55); 9 Dec 2018 03:11:21 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88025] [7/8/9 Regression] ICE in gfc_apply_init, at fortran/expr.c:4468 Date: Sun, 09 Dec 2018 03: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01344.txt.bz2 Content-length: 770 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88025 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Dec 9 03:10:41 2018 New Revision: 266914 URL: https://gcc.gnu.org/viewcvs?rev=3D266914&root=3Dgcc&view=3Drev Log: 2018-12-08 Steven G. Kargl PR fortran/88025 * expr.c (gfc_apply_init): Remove asserts that cannot trigger. Check for a NULL pointer. 2018-12-08 Steven G. Kargl PR fortran/88025 * gfortran.dg/pr88025.f90: New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88025.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/expr.c branches/gcc-8-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 03:17:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63831 invoked by alias); 9 Dec 2018 03:16: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 63041 invoked by uid 48); 9 Dec 2018 03:15:31 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88025] [7/8/9 Regression] ICE in gfc_apply_init, at fortran/expr.c:4468 Date: Sun, 09 Dec 2018 03:16: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 2018-12/txt/msg01345.txt.bz2 Content-length: 511 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88025 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|7.5 |8.4 --- Comment #5 from kargl at gcc dot gnu.org --- Closing. Fixed on trunk and branch-8. Patch does not apply to branch-7. >>From gcc-bugs-return-625230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 04:03:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12917 invoked by alias); 9 Dec 2018 04:03: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 12834 invoked by uid 55); 9 Dec 2018 04:03:19 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87945] [9 Regression] ICE in var_element, at fortran/decl.c:281 Date: Sun, 09 Dec 2018 04:03: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: 9.0 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: 2018-12/txt/msg01346.txt.bz2 Content-length: 778 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87945 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Dec 9 04:02:44 2018 New Revision: 266915 URL: https://gcc.gnu.org/viewcvs?rev=3D266915&root=3Dgcc&view=3Drev Log: 20180-12-08 Steven G. Kargl PR fortran/87945 * decl.c (var_element): Inquiry parameters cannit be data objects. 20180-12-08 Steven G. Kargl PR fortran/87945 * gfortran.dg/pr87945_1.f90: New test. * gfortran.dg/pr87945_2.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/pr87945_1.f90 trunk/gcc/testsuite/gfortran.dg/pr87945_2.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/decl.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 04:08:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20802 invoked by alias); 9 Dec 2018 04:08:36 -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 20753 invoked by uid 48); 9 Dec 2018 04:08:30 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87945] [9 Regression] ICE in var_element, at fortran/decl.c:281 Date: Sun, 09 Dec 2018 04:08: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution 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: 2018-12/txt/msg01347.txt.bz2 Content-length: 565 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87945 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |kargl at gcc dot gnu.org Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gn= u.org --- Comment #5 from kargl at gcc dot gnu.org --- Fixed on trunk. Closing >>From gcc-bugs-return-625232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 04:40:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84815 invoked by alias); 9 Dec 2018 04:40:18 -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 84727 invoked by uid 48); 9 Dec 2018 04:40:11 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88418] New: [7/8/9 Regression] ICE in extract_insn, at recog.c:2305 (error: unrecognizable insn) Date: Sun, 09 Dec 2018 04:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: 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: 2018-12/txt/msg01348.txt.bz2 Content-length: 2345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88418 Bug ID: 88418 Summary: [7/8/9 Regression] ICE in extract_insn, at recog.c:2305 (error: unrecognizable insn) Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: x86_64-unknown-linux-gnu gcc-9.0.0-alpha20181202 snapshot (r266729) ICE when compiling the following snippet at any optimization level except -Og and w/ -msse4.1 -fpack-struct: typedef long int __attribute__ ((__vector_size__ (2 * sizeof (long int)))) v2si; union df { v2si se[2]; }; void qg (union df *jz, union df *pl) { jz->se[0] =3D jz->se[0] =3D=3D pl->se[0]; } % x86_64-unknown-linux-gnu-gcc-9.0.0-alpha20181202 -msse4.1 -O1 -fpack-stru= ct -c eysik9hz.c eysik9hz.c: In function 'qg': eysik9hz.c:11:1: error: unrecognizable insn: 11 | } | ^ (insn 8 7 9 2 (set (reg:V2DI 89) (eq:V2DI (reg:V2DI 87) (mem/j:V2DI (reg/v/f:DI 86 [ pl ]) [1 *pl_6(D)+0 S16 A8]))) "eysik9hz.c":10:25 -1 (nil)) during RTL pass: vregs eysik9hz.c:11:1: internal compiler error: in extract_insn, at recog.c:2305 0x668df7 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= rtl-error.c:108 0x668e13 _fatal_insn_not_found(rtx_def const*, char const*, int, char const= *) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= rtl-error.c:116 0x666f6d extract_insn(rtx_insn*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= recog.c:2305 0xa3d813 instantiate_virtual_regs_in_insn =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= function.c:1650 0xa3d813 instantiate_virtual_regs =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= function.c:2020 0xa3d813 execute =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= function.c:2069 >>From gcc-bugs-return-625234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 04:41:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86097 invoked by alias); 9 Dec 2018 04:41:34 -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 85919 invoked by uid 48); 9 Dec 2018 04:41:17 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/58067] ICE in GFortran recog.c:2158 Date: Sun, 09 Dec 2018 04:41: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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: 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: 2018-12/txt/msg01351.txt.bz2 Content-length: 459 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58067 Arseny Solokha changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asolokha at gmx dot com --- Comment #12 from Arseny Solokha --- At least the C testcase in comment 8 was fixed for 4.9 and subsequent relea= ses. >>From gcc-bugs-return-625233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 04:41:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86047 invoked by alias); 9 Dec 2018 04:41:27 -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 85903 invoked by uid 48); 9 Dec 2018 04:41:17 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable Date: Sun, 09 Dec 2018 04:41: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.6.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com 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: 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: 2018-12/txt/msg01349.txt.bz2 Content-length: 441 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D46250 Arseny Solokha changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asolokha at gmx dot com --- Comment #6 from Arseny Solokha --- It is likely a duplicate of PR58067 which was fixed for gcc 4.9. >>From gcc-bugs-return-625236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 04:41:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86294 invoked by alias); 9 Dec 2018 04:41:50 -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 85916 invoked by uid 48); 9 Dec 2018 04:41:17 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49670] internal compiler error: in extract_insn, at recog.c:2104 Date: Sun, 09 Dec 2018 04:41: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.5.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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: 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: 2018-12/txt/msg01350.txt.bz2 Content-length: 414 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49670 Arseny Solokha changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asolokha at gmx dot com --- Comment #11 from Arseny Solokha --- I believe this is irrelevant by now. >>From gcc-bugs-return-625235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 04:41:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86167 invoked by alias); 9 Dec 2018 04:41:36 -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 85945 invoked by uid 48); 9 Dec 2018 04:41:19 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82887] ICE: in extract_insn, at recog.c:2287 (unrecognizable insn) with _mm512_extracti64x4_epi64 Date: Sun, 09 Dec 2018 04:41: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: 6.3.0 X-Bugzilla-Keywords: ssemmx X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com 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: 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: 2018-12/txt/msg01352.txt.bz2 Content-length: 468 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82887 Arseny Solokha changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asolokha at gmx dot com --- Comment #3 from Arseny Solokha --- Since gcc 6 EOL the issue is fixed on all active branches and thus this PR = can be closed. >>From gcc-bugs-return-625237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 04:46:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91179 invoked by alias); 9 Dec 2018 04:46: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91033 invoked by uid 48); 9 Dec 2018 04:46:17 -0000 From: "noloader at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49670] internal compiler error: in extract_insn, at recog.c:2104 Date: Sun, 09 Dec 2018 04:46: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.5.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: noloader 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: 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: 2018-12/txt/msg01353.txt.bz2 Content-length: 246 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49670 --- Comment #12 from Jeffrey Walton --- (In reply to Arseny Solokha from comment #11) > I believe this is irrelevant by now. Yeah, no doubt. May as well close it. >>From gcc-bugs-return-625238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 04:52:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93697 invoked by alias); 9 Dec 2018 04:52:48 -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 93614 invoked by uid 48); 9 Dec 2018 04:52:42 -0000 From: "noloader at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49670] internal compiler error: in extract_insn, at recog.c:2104 Date: Sun, 09 Dec 2018 04:52: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.5.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: noloader at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME 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 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: 2018-12/txt/msg01354.txt.bz2 Content-length: 436 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49670 Jeffrey Walton changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME --- Comment #13 from Jeffrey Walton --- Obsolete. >>From gcc-bugs-return-625239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 05:56:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23834 invoked by alias); 9 Dec 2018 05:56:17 -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 23759 invoked by uid 48); 9 Dec 2018 05:56:10 -0000 From: "Casey at Carter dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88419] New: [9 Regression] [ICE] "Same canonical type node for different types" for CTAD in noexcept Date: Sun, 09 Dec 2018 05:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Casey at Carter dot net 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: 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: 2018-12/txt/msg01355.txt.bz2 Content-length: 3705 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88419 Bug ID: 88419 Summary: [9 Regression] [ICE] "Same canonical type node for different types" for CTAD in noexcept Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: Casey at Carter dot net Target Milestone: --- Created attachment 45191 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45191&action=3Dedit Repro This TU: template struct ref_view { template ref_view(T&&); }; template ref_view(R&) -> ref_view; struct ref_fn { template auto operator()(R r) const noexcept(noexcept(ref_view{r})); }; template struct indirect_view { indirect_view(R); }; struct indirect_fn { template auto operator()(R r) const noexcept(noexcept(indirect_view{r})); }; ICEs when compiled with "g++ -std=3Dc++17 -c": /home/casey/casey/Desktop/repro.cpp:18:40: internal compiler error: same canonical type node for different types =E2=80=98indirect_view=E2=80=99 and= =E2=80=98ref_view=E2=80=99 18 | noexcept(noexcept(indirect_view{r})); | ^ 0x9fd2af comptypes(tree_node*, tree_node*, int) /home/casey/repos/gcc/gcc/cp/typeck.c:1486 0x9f3076 cp_tree_equal(tree_node*, tree_node*) /home/casey/repos/gcc/gcc/cp/tree.c:3558 0x9f3d6f cp_tree_equal(tree_node*, tree_node*) /home/casey/repos/gcc/gcc/cp/tree.c:3816 0x9e3772 cp_check_qualified_type /home/casey/repos/gcc/gcc/cp/tree.c:2135 0x9e7557 build_cp_fntype_variant(tree_node*, cp_ref_qualifier, tree_node*, bool) /home/casey/repos/gcc/gcc/cp/tree.c:2568 0x9e7647 build_cp_fntype_variant(tree_node*, cp_ref_qualifier, tree_node*, bool) /home/casey/repos/gcc/gcc/cp/tree.c:2599 0x8b9aeb grokdeclarator(cp_declarator const*, cp_decl_specifier_seq*, decl_context, int, tree_node**) /home/casey/repos/gcc/gcc/cp/decl.c:11527 0x8caa3e grokfield(cp_declarator const*, cp_decl_specifier_seq*, tree_nod= e*, bool, tree_node*, tree_node*) /home/casey/repos/gcc/gcc/cp/decl2.c:814 0x95b2f1 cp_parser_init_declarator /home/casey/repos/gcc/gcc/cp/parser.c:20306 0x95ef04 cp_parser_single_declaration /home/casey/repos/gcc/gcc/cp/parser.c:27954 0x95f04c cp_parser_template_declaration_after_parameters /home/casey/repos/gcc/gcc/cp/parser.c:27546 0x95f98d cp_parser_explicit_template_declaration /home/casey/repos/gcc/gcc/cp/parser.c:27792 0x95f98d cp_parser_template_declaration_after_export /home/casey/repos/gcc/gcc/cp/parser.c:27811 0x960cbd cp_parser_member_declaration /home/casey/repos/gcc/gcc/cp/parser.c:24070 0x93b07a cp_parser_member_specification_opt /home/casey/repos/gcc/gcc/cp/parser.c:23997 0x93b07a cp_parser_class_specifier_1 /home/casey/repos/gcc/gcc/cp/parser.c:23141 0x93d049 cp_parser_class_specifier /home/casey/repos/gcc/gcc/cp/parser.c:23403 0x93d049 cp_parser_type_specifier /home/casey/repos/gcc/gcc/cp/parser.c:17259 0x93e03b cp_parser_decl_specifier_seq /home/casey/repos/gcc/gcc/cp/parser.c:13982 0x93e773 cp_parser_simple_declaration /home/casey/repos/gcc/gcc/cp/parser.c:13287 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-625240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 06:10:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56539 invoked by alias); 9 Dec 2018 06:10:31 -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 56449 invoked by uid 55); 9 Dec 2018 06:10:25 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88048] [8/9 Regression] ICE in check_data_variable, at fortran/resolve.c:15491 Date: Sun, 09 Dec 2018 06:10: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: 8.3 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: 2018-12/txt/msg01356.txt.bz2 Content-length: 694 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88048 --- Comment #5 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Dec 9 06:09:47 2018 New Revision: 266916 URL: https://gcc.gnu.org/viewcvs?rev=3D266916&root=3Dgcc&view=3Drev Log: 2018-12-08 Steven G. Kargl PR fortran/88048 * resolve.c (check_data_variable): Named constant cannot be a data object. 2018-12-08 Steven G. Kargl PR fortran/88048 * gfortran.dg/pr88048.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/pr88048.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/resolve.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 06:30:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69537 invoked by alias); 9 Dec 2018 06:30:00 -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 69492 invoked by uid 55); 9 Dec 2018 06:29:53 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88048] [8/9 Regression] ICE in check_data_variable, at fortran/resolve.c:15491 Date: Sun, 09 Dec 2018 06:30: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: 8.3 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: 2018-12/txt/msg01357.txt.bz2 Content-length: 758 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88048 --- Comment #6 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Dec 9 06:29:17 2018 New Revision: 266917 URL: https://gcc.gnu.org/viewcvs?rev=3D266917&root=3Dgcc&view=3Drev Log: 2018-12-08 Steven G. Kargl PR fortran/88048 * resolve.c (check_data_variable): Named constant cannot be a data object. 2018-12-08 Steven G. Kargl PR fortran/88048 * gfortran.dg/pr88048.f90: New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88048.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/resolve.c branches/gcc-8-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 06:32:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73625 invoked by alias); 9 Dec 2018 06:32: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 73384 invoked by uid 48); 9 Dec 2018 06:31:59 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88048] [8/9 Regression] ICE in check_data_variable, at fortran/resolve.c:15491 Date: Sun, 09 Dec 2018 06:32: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc 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: 2018-12/txt/msg01358.txt.bz2 Content-length: 487 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88048 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |kargl at gcc dot gnu.org Resolution|--- |FIXED --- Comment #7 from kargl at gcc dot gnu.org --- Fixed on trunk and branch-8. >>From gcc-bugs-return-625243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 07:35:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9041 invoked by alias); 9 Dec 2018 07:35:03 -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 8915 invoked by uid 48); 9 Dec 2018 07:34:53 -0000 From: "mcccs at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88035] missing _mm512_reduce_round_pd() et al Date: Sun, 09 Dec 2018 07:35: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mcccs at gmx 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: 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: 2018-12/txt/msg01359.txt.bz2 Content-length: 767 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88035 MCCCS changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mcccs at gmx dot com --- Comment #1 from MCCCS --- Only the `_mm_` reduce-intrinsics don't exist. You can still call them from= GCC by 1) Opening the table https://github.com/llvm-mirror/clang/blob/master/lib/Headers/avx512dqintrin= .h 2) Ctrl + F for the function (e.g. _mm512_reduce_round_pd) 3) Call the function in the definition (e.g. __builtin_ia32_reducepd512_mas= k) But this is only a workaround, those `_mm_` functions/macros should be adde= d, I agree. >>From gcc-bugs-return-625244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 12:16:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129635 invoked by alias); 9 Dec 2018 12:16:26 -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 129568 invoked by uid 48); 9 Dec 2018 12:16:22 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88420] New: Fortran OpenACC "Clause SEQ conflicts with INDEPENDENT" Date: Sun, 09 Dec 2018 12:16: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: 9.0 X-Bugzilla-Keywords: openacc, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01360.txt.bz2 Content-length: 692 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88420 Bug ID: 88420 Summary: Fortran OpenACC "Clause SEQ conflicts with INDEPENDENT" Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: openacc, patch Severity: normal Priority: P3 Component: fortran Assignee: tschwinge at gcc dot gnu.org Reporter: tschwinge at gcc dot gnu.org Target Milestone: --- The Fortran front end declares that the OpenACC "Clause SEQ conflicts with INDEPENDENT". While that combination doesn't make too much sense indeed, i= t's still valid; these are orthogonal concepts. >>From gcc-bugs-return-625245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 12:50:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48726 invoked by alias); 9 Dec 2018 12:50:07 -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 48674 invoked by uid 55); 9 Dec 2018 12:50:02 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88420] Fortran OpenACC "Clause SEQ conflicts with INDEPENDENT" Date: Sun, 09 Dec 2018 12:50: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: 9.0 X-Bugzilla-Keywords: openacc, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tschwinge 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: 2018-12/txt/msg01361.txt.bz2 Content-length: 1061 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88420 --- Comment #1 from Thomas Schwinge --- Author: tschwinge Date: Sun Dec 9 12:47:35 2018 New Revision: 266920 URL: https://gcc.gnu.org/viewcvs?rev=3D266920&root=3Dgcc&view=3Drev Log: [PR88420] Fortran OpenACC "Clause SEQ conflicts with INDEPENDENT" The Fortran front end declares that the OpenACC "Clause SEQ conflicts with INDEPENDENT". While that combination doesn't make too much sense indeed, i= t's still valid; these are orthogonal concepts. gcc/fortran/ PR fortran/88420 * openmp.c (resolve_oacc_loop_blocks): Remove "Clause SEQ conflicts with INDEPENDENT" diagnostic. gcc/testsuite/ PR fortran/88420 * gfortran.dg/goacc/loop-1-2.f95: Update. * gfortran.dg/goacc/loop-1.f95: Likewise. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/openmp.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/goacc/loop-1-2.f95 trunk/gcc/testsuite/gfortran.dg/goacc/loop-1.f95 >>From gcc-bugs-return-625246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 12:53:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70949 invoked by alias); 9 Dec 2018 12:53: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 70771 invoked by uid 48); 9 Dec 2018 12:53:50 -0000 From: "dinuxbg at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/52813] %rsp in clobber list is silently ignored Date: Sun, 09 Dec 2018 12:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 4.6.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dinuxbg at gmail dot com 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: 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: 2018-12/txt/msg01362.txt.bz2 Content-length: 482 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52813 Dimitar Dimitrov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dinuxbg at gmail dot com --- Comment #7 from Dimitar Dimitrov --- Suggested fix has been posted for review: https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00532.html >>From gcc-bugs-return-625247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 13:16:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27991 invoked by alias); 9 Dec 2018 13:16:29 -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 27824 invoked by uid 48); 9 Dec 2018 13:16:22 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/88411] [9 Regression] Random crashes for ASYNCHRONOUS writes (bad locking?) Date: Sun, 09 Dec 2018 13:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig 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: 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: 2018-12/txt/msg01363.txt.bz2 Content-length: 1199 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88411 --- Comment #6 from Thomas Koenig --- Something glaringly obvious just struck me: The test case has synchronous writes for a file which is opened asynchronously. This may or may not have been intended. It is certainly a bug not to get this right, but at least there is a workaround: Rewrite the test case as program gfcbug153 implicit none integer :: iu, irecl real :: a(100,20), b(1,3000) iu =3D 10 a =3D 0. b =3D 0. inquire (iolength =3D irecl) a open (iu, file=3D"file1.dat", access=3D'direct', & asynchronous=3D'yes', & recl=3Direcl) write(iu, rec=3D1,asynchronous=3D"yes") a(:,:) write(iu, rec=3D2,asynchronous=3D"yes") a(:,:) write(iu, rec=3D3,asynchronous=3D"yes") a(:,:) close (iu) inquire (iolength =3D irecl) b open (iu, file=3D"file2.dat", access=3D'direct', & asynchronous=3D'yes', & recl=3Direcl) write(iu, rec=3D1,asynchronous=3D"yes") b(:,:) write(iu, rec=3D2,asynchronous=3D"yes") b(:,:) write(iu, rec=3D3,asynchronous=3D"yes") b(:,:) close (iu) end program That appears to work, at least according to the testing that I did. >>From gcc-bugs-return-625248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 13:49:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76310 invoked by alias); 9 Dec 2018 13:49:31 -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 69422 invoked by uid 48); 9 Dec 2018 13:49:25 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/88411] [9 Regression] Random crashes for ASYNCHRONOUS writes (bad locking?) Date: Sun, 09 Dec 2018 13:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig 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: 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: 2018-12/txt/msg01364.txt.bz2 Content-length: 3991 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88411 --- Comment #7 from Thomas Koenig --- This looks like it could do the trick: Index: io/transfer.c=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =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=20=20=20=20=20=20=20=20= =20=20=20=20=20 --- io/transfer.c (Revision 266250)=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 +++ io/transfer.c (Arbeitskopie)=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 @@ -3189,7 +3189,7 @@ data_transfer_init (st_parameter_dt *dtp, int read=20= =20=20=20=20=20=20=20 }=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 }=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 - if (au)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 + if (au && dtp->u.p.async)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 {=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 NOTE ("enqueue_data_transfer");=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 enqueue_data_transfer_init (au, dtp, read_flag);=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 @@ -4401,7 +4401,7 @@ st_write_done (st_parameter_dt *dtp)=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 {=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 if (dtp->u.p.current_unit)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 {=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 - if (dtp->u.p.current_unit->au)=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 + if (dtp->u.p.current_unit->au && dtp->u.p.async)=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 {=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 if (dtp->common.flags & IOPARM_DT_HAS_ID)=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 *dtp->id =3D enqueue_done_id (dtp->u.p.current_unit->au, >>From gcc-bugs-return-625249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 14:09:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38699 invoked by alias); 9 Dec 2018 14:09:07 -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 38643 invoked by uid 48); 9 Dec 2018 14:09:01 -0000 From: "coypu at sdf dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88421] New: compat C headers break building GCC with GCC Date: Sun, 09 Dec 2018 14:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: coypu at sdf dot 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01365.txt.bz2 Content-length: 5941 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88421 Bug ID: 88421 Summary: compat C headers break building GCC with GCC Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: coypu at sdf dot org Target Milestone: --- I built GCC #1 (x86_64->sh3) Now I'm trying to build GCC #2 (sh3->sh3) using GCC #1 during the build process, libtool: compile: shle--netbsdelf-c++ --sysroot=3D/home/fly/sh3/destdir.ev= bsh3/ -I/current/gcc/libstdc++-v3/../libgcc -I/tmp/build/shle--netbsdelf/libstdc++-v3/include/shle--netbsdelf -I/tmp/build/shle--netbsdelf/libstdc++-v3/include -I/current/gcc/libstdc++-v3/libsupc++ -std=3Dgnu++98 -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=3D2 -fdiagnostics-show-location=3Donce -ffunction-sections -fdata-sections -frandom-seed=3Dc++locale.lo -g -O2 -fimplicit-templates -c c++locale.cc -= fPIC -DPIC -D_GLIBCXX_SHARED -o c++locale.o mv -f .deps/list_read.Tpo .deps/list_read.Plo In file included from /home/fly/sh3/destdir.evbsh3/usr/include/evbsh3/ieeefp.h:3, from /home/fly/sh3/destdir.evbsh3/usr/include/ieeefp.h:12, from c++locale.cc:40: /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h: In function 'fp_exce= pt __FPE(int)': /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:62:13: error: 'FE_DIVBYZERO' was not declared in this scope 62 | if (__fe & FE_DIVBYZERO) | ^~~~~~~~~~~~ /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:64:13: error: 'FE_INEXACT' was not declared in this scope 64 | if (__fe & FE_INEXACT) | ^~~~~~~~~~ /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:66:13: error: 'FE_INVALID' was not declared in this scope; did you mean 'EINVAL'? 66 | if (__fe & FE_INVALID) | ^~~~~~~~~~ | EINVAL /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:68:13: error: 'FE_OVERFLOW' was not declared in this scope; did you mean 'EOVERFLOW'? 68 | if (__fe & FE_OVERFLOW) | ^~~~~~~~~~~ | EOVERFLOW /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:70:13: error: 'FE_UNDERFLOW' was not declared in this scope; did you mean 'UNDERFLOW'? 70 | if (__fe & FE_UNDERFLOW) | ^~~~~~~~~~~~ | UNDERFLOW /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h: In function 'int __FEE(fp_except)': /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:81:11: error: 'FE_DIVBYZERO' was not declared in this scope 81 | __fe |=3D FE_DIVBYZERO; | ^~~~~~~~~~~~ /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:83:11: error: 'FE_INEXACT' was not declared in this scope 83 | __fe |=3D FE_INEXACT; | ^~~~~~~~~~ /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:85:11: error: 'FE_INVALID' was not declared in this scope; did you mean 'EINVAL'? 85 | __fe |=3D FE_INVALID; | ^~~~~~~~~~ | EINVAL /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:87:11: error: 'FE_OVERFLOW' was not declared in this scope; did you mean 'EOVERFLOW'? 87 | __fe |=3D FE_OVERFLOW; | ^~~~~~~~~~~ | EOVERFLOW /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:89:11: error: 'FE_UNDERFLOW' was not declared in this scope; did you mean 'UNDERFLOW'? 89 | __fe |=3D FE_UNDERFLOW; | ^~~~~~~~~~~~ | UNDERFLOW /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h: In function 'fp_rnd __FPR(int)': /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:98:7: error: 'FE_TONEAREST' was not declared in this scope 98 | case FE_TONEAREST: | ^~~~~~~~~~~~ /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:100:7: error: 'FE_DOWNWARD' was not declared in this scope 100 | case FE_DOWNWARD: | ^~~~~~~~~~~ /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:102:7: error: 'FE_UPW= ARD' was not declared in this scope 102 | case FE_UPWARD: | ^~~~~~~~~ /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:104:7: error: 'FE_TOWARDZERO' was not declared in this scope 104 | case FE_TOWARDZERO: | ^~~~~~~~~~~~~ /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h: In function 'int __FER(fp_rnd)': /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:117:10: error: 'FE_TONEAREST' was not declared in this scope 117 | return FE_TONEAREST; | ^~~~~~~~~~~~ /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:119:10: error: 'FE_DOWNWARD' was not declared in this scope 119 | return FE_DOWNWARD; | ^~~~~~~~~~~ /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:121:10: error: 'FE_UPWARD' was not declared in this scope 121 | return FE_UPWARD; | ^~~~~~~~~ /home/fly/sh3/destdir.evbsh3/usr/include/sh3/ieeefp.h:123:10: error: 'FE_TOWARDZERO' was not declared in this scope 123 | return FE_TOWARDZERO; | ^~~~~~~~~~~~~ if everything was working well, this would be the chain of includes. ieeefp.h #include fenv.h -> libstdc++ #2 fenv.h #include_next fenv.h -> libstdc++ #1 fenv.h #include_next fenv.h -> system fenv.h But instead, we get: ieeefp.h #include fenv.h -> libstdc++ #2 fenv.h #include_next fenv.h -> libstdc++ #1 fenv.h nothing (because it shares include guards with libstdc++ #2) so system fenv.h is never reached. >>From gcc-bugs-return-625250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 14:10:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40096 invoked by alias); 9 Dec 2018 14:10:22 -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 40056 invoked by uid 48); 9 Dec 2018 14:10:18 -0000 From: "coypu at sdf dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88421] compat C headers break building GCC with GCC Date: Sun, 09 Dec 2018 14:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: coypu at sdf dot 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: 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: 2018-12/txt/msg01366.txt.bz2 Content-length: 170 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88421 --- Comment #1 from coypu --- suggested change: put #include_next outside of include guards? >>From gcc-bugs-return-625251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 14:57:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31615 invoked by alias); 9 Dec 2018 14:57:02 -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 31493 invoked by uid 48); 9 Dec 2018 14:56:57 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/26475] tree-ssa loses line numbers for initializations (constants for PHIs) Date: Sun, 09 Dec 2018 14:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 4.0.3 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager 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: 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: 2018-12/txt/msg01367.txt.bz2 Content-length: 819 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D26475 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amacleod at redhat dot com, | |rguenth at gcc dot gnu.org --- Comment #7 from Eric Gallager --- (In reply to Eric Gallager from comment #6) > (In reply to Andrew Macleod from comment #5) > > I just checked in the code to track locations through PHI arguments. > >=20 > > Comments and patch is located: > > http://gcc.gnu.org/ml/gcc-patches/2009-07/msg01729.html >=20 > Thread said it was checked it as r150267 apparently? Andrew, can this be closed? >>From gcc-bugs-return-625252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 15:43:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35897 invoked by alias); 9 Dec 2018 15:43: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 35838 invoked by uid 48); 9 Dec 2018 15:42:59 -0000 From: "nidal.faour at wdc dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88422] New: collect2.exe: fatal error: lto-wrapper returned 1 exit status: file not recognized: file truncated Date: Sun, 09 Dec 2018 15:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nidal.faour at wdc 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: 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: 2018-12/txt/msg01368.txt.bz2 Content-length: 2879 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88422 Bug ID: 88422 Summary: collect2.exe: fatal error: lto-wrapper returned 1 exit status: file not recognized: file truncated Product: gcc Version: lto Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: nidal.faour at wdc dot com Target Milestone: --- Created attachment 45192 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45192&action=3Dedit test case to reproduce the the failure When attempt to build a simple code including one assembly file and one c c= ode file while calling a c function from the assembly code and using the lto in linkage stage I encountered an error in the lto-wrapper where ld returned 1 exit status, with file not recognized: file truncated. the build has been done in windows machine. the toolchain used: gcc-arm-8.2-2018.08-i686-mingw32-arm-eabi download link: https://developer.arm.com/-/media/Files/downloads/gnu-a/8.2-2018.08/gcc-arm= -8.2-2018.08-i686-mingw32-arm-eabi.tar.xz?revision=3D37b1357c-06a5-4721-8fd= e-533b0028c083&la=3Den gcc build info: Using built-in specs. COLLECT_GCC=3D..\gcc-arm-8.2\bin\arm-eabi-gcc.exe COLLECT_LTO_WRAPPER=3Dc:/tmp/gcc-arm-8.2/bin/../libexec/gcc/arm-eabi/8.2.1/= lto-wrapper.exe Target: arm-eabi Configured with: /tmp/dgboter/bbs/dsggnu-vm-1-x86_64--mingw32-i686/buildbot/mingw32-i686--ar= m-eabi/build/src/gcc/configure --target=3Darm-eabi --prefix=3D/tmp/dgboter/bbs/dsggnu-vm-1-x86_64--mingw32-i686/buildbot/mingw= 32-i686--arm-eabi/build/build-mingw-arm-eabi/install// --with-gmp=3D/tmp/dgboter/bbs/dsggnu-vm-1-x86_64--mingw32-i686/buildbot/min= gw32-i686--arm-eabi/build/build-mingw-arm-eabi/host-tools --with-mpfr=3D/tmp/dgboter/bbs/dsggnu-vm-1-x86_64--mingw32-i686/buildbot/mi= ngw32-i686--arm-eabi/build/build-mingw-arm-eabi/host-tools --with-mpc=3D/tmp/dgboter/bbs/dsggnu-vm-1-x86_64--mingw32-i686/buildbot/min= gw32-i686--arm-eabi/build/build-mingw-arm-eabi/host-tools --with-isl=3D/tmp/dgboter/bbs/dsggnu-vm-1-x86_64--mingw32-i686/buildbot/min= gw32-i686--arm-eabi/build/build-mingw-arm-eabi/host-tools --with-pkgversion=3D'GNU Toolchain for the A-profile Architecture 8.2-2018-= 08 (arm-rel-8.23)' --disable-shared --disable-nls --disable-threads --disable-= tls --enable-checking=3Drelease --enable-languages=3Dc,c++,fortran --with-newlib --with-multilib-list=3Daprofile --with-libiconv-prefix=3D/tmp/dgboter/bbs/dsggnu-vm-1-x86_64--mingw32-i686/= buildbot/mingw32-i686--arm-eabi/build/build-mingw-arm-eabi/host-tools --host=3Di686-w64-mingw32 Thread model: single gcc version 8.2.1 20180802 (GNU Toolchain for the A-profile Architecture 8.2-2018-08 (arm-rel-8.23)) Attached a simple test case [lto_test_arm.zip] that reproduce the failure. >>From gcc-bugs-return-625253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 15:57:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47243 invoked by alias); 9 Dec 2018 15:57:52 -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 47212 invoked by uid 48); 9 Dec 2018 15:57:47 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88423] New: [9 Regression] ICE in begin_move_insn, at sched-ebb.c:175 Date: Sun, 09 Dec 2018 15:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: 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: 2018-12/txt/msg01369.txt.bz2 Content-length: 2278 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88423 Bug ID: 88423 Summary: [9 Regression] ICE in begin_move_insn, at sched-ebb.c:175 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-checking, ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: x86_64-unknown-linux-gnu gcc-9.0.0-alpha20181202 snapshot (r266729) ICEs when compiling gcc/testsuite/gcc.dg/20030309-1.c w/ -march=3Dskylake -Os -fPIC -fsched2-use-superblocks -fno-if-conversion: % x86_64-unknown-linux-gnu-gcc-9.0.0-alpha20181202 -march=3Dskylake -Os -fP= IC -fsched2-use-superblocks -fno-if-conversion -c gcc/testsuite/gcc.dg/20030309-1.c during RTL pass: sched2 gcc/testsuite/gcc.dg/20030309-1.c: In function 'main': gcc/testsuite/gcc.dg/20030309-1.c:42:1: internal compiler error: in begin_move_insn, at sched-ebb.c:175 42 | } | ^ 0x777edb begin_move_insn =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= sched-ebb.c:175 0x777edb begin_move_insn =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= sched-ebb.c:145 0x1538e1c commit_schedule =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= haifa-sched.c:6228 0x1544015 schedule_block(basic_block_def**, void*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= haifa-sched.c:7065 0x15c94ff schedule_ebb(rtx_insn*, rtx_insn*, bool) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= sched-ebb.c:537 0x15c9b1f schedule_ebbs() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= sched-ebb.c:657 0xcb2ab4 rest_of_handle_sched2 =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= sched-rgn.c:3738 0xcb2ab4 execute =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= sched-rgn.c:3876 >>From gcc-bugs-return-625254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 16:10:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64949 invoked by alias); 9 Dec 2018 16:10:18 -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 64721 invoked by uid 48); 9 Dec 2018 16:10:13 -0000 From: "trashyankes at wp dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87370] [7/8/9 Regression] Inefficient return code of struct values Date: Sun, 09 Dec 2018 16:10: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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: trashyankes at wp dot pl X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-12/txt/msg01370.txt.bz2 Content-length: 672 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87370 --- Comment #10 from trashyankes at wp dot pl --- (In reply to H.J. Lu from comment #9) > Fixed for GCC 9, GCC 8.3 and GCC 7.4. One question, I look on test case and see: ``` f1(): xor eax, eax xor edx, edx ret f2(): push rbp xor eax, eax xor edx, edx mov rbp, rsp and rsp, -64 sub rsp, 8 leave ret f3(): xor eax, eax xor edx, edx ret ``` Why `f2` have `push` there? Isn't this co kind of stack alignment? but for = what point is it there? Clang do not have that. >>From gcc-bugs-return-625255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 16:20:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107829 invoked by alias); 9 Dec 2018 16:20:31 -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 107758 invoked by uid 48); 9 Dec 2018 16:20:26 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87370] [7/8/9 Regression] Inefficient return code of struct values Date: Sun, 09 Dec 2018 16:20: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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-12/txt/msg01371.txt.bz2 Content-length: 1548 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87370 --- Comment #11 from H.J. Lu --- (In reply to trashyankes from comment #10) > (In reply to H.J. Lu from comment #9) > > Fixed for GCC 9, GCC 8.3 and GCC 7.4. >=20 > One question, I look on test case and see: >=20 > ``` > f1(): > xor eax, eax > xor edx, edx > ret > f2(): > push rbp > xor eax, eax > xor edx, edx > mov rbp, rsp > and rsp, -64 > sub rsp, 8 > leave > ret > f3(): > xor eax, eax > xor edx, edx > ret > ``` >=20 > Why `f2` have `push` there? Isn't this co kind of stack alignment? but for > what point is it there? Clang do not have that. Which GCC are you using? GCC 8.2 generates: .file "pr87370.c" .text .p2align 4,,15 .globl f1 .type f1, @function f1: .LFB0: .cfi_startproc xorl %eax, %eax xorl %edx, %edx ret .cfi_endproc .LFE0: .size f1, .-f1 .p2align 4,,15 .globl f2 .type f2, @function f2: .LFB1: .cfi_startproc xorl %eax, %eax xorl %edx, %edx ret .cfi_endproc .LFE1: .size f2, .-f2 .p2align 4,,15 .globl f3 .type f3, @function f3: .LFB2: .cfi_startproc xorl %eax, %eax xorl %edx, %edx ret .cfi_endproc .LFE2: .size f3, .-f3 >>From gcc-bugs-return-625256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 16:25:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109283 invoked by alias); 9 Dec 2018 16:25:23 -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 109214 invoked by uid 48); 9 Dec 2018 16:25:19 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/88422] collect2.exe: fatal error: lto-wrapper returned 1 exit status: file not recognized: file truncated Date: Sun, 09 Dec 2018 16:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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 component 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: 2018-12/txt/msg01372.txt.bz2 Content-length: 527 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88422 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org Component|c |lto --- Comment #1 from Andrew Pinski --- I bet someone forgot to open a file as binary. I also suspect this has been fixed already. >>From gcc-bugs-return-625257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 16:33:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1603 invoked by alias); 9 Dec 2018 16:33: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 122274 invoked by uid 55); 9 Dec 2018 16:33:20 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88228] ICE in check_null, at fortran/expr.c:2691 Date: Sun, 09 Dec 2018 16:33: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: --- 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: 2018-12/txt/msg01373.txt.bz2 Content-length: 706 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88228 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Dec 9 16:32:48 2018 New Revision: 266926 URL: https://gcc.gnu.org/viewcvs?rev=3D266926&root=3Dgcc&view=3Drev Log: 2018-12-09 Fritz Reese PR fortran/88228 * resolve.c (resolve_operator): Do not call resolve_function. Break like other cases. 2018-12-09 Steven G. Kargl PR fortran/88228 * gfortran.dg/pr88228.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/pr88228.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/resolve.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 16:43:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4070 invoked by alias); 9 Dec 2018 16:43:32 -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 1335 invoked by uid 48); 9 Dec 2018 16:43:27 -0000 From: "ibuclaw at gdcproject dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88366] ubsan build of d Date: Sun, 09 Dec 2018 16:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ibuclaw at gdcproject dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01374.txt.bz2 Content-length: 467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88366 Iain Buclaw changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #1 from Iain Buclaw --- Fixed in upstream, and committed in r266925. >>From gcc-bugs-return-625259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 17:04:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95408 invoked by alias); 9 Dec 2018 17:04: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 95360 invoked by uid 48); 9 Dec 2018 17:04:32 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/67729] -Wformat should warn for %Ns where the buffer size is known to be less than N in size Date: Sun, 09 Dec 2018 17:04: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: 6.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dcb314 at hotmail dot com 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: 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: 2018-12/txt/msg01375.txt.bz2 Content-length: 425 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67729 --- Comment #2 from David Binderman --- Three years later, enhancement not implemented. See https://sourceware.org/bugzilla/show_bug.cgi?id=3D23490 for an example where glibc would have benefited from this enhancement.=20 If someone can give me a clue which source code file / function to look at, then I'd be happy to have a look myself. >>From gcc-bugs-return-625260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 17:09:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99564 invoked by alias); 9 Dec 2018 17:09:52 -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 99521 invoked by uid 55); 9 Dec 2018 17:09:47 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88228] ICE in check_null, at fortran/expr.c:2691 Date: Sun, 09 Dec 2018 17:09: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: --- 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: 2018-12/txt/msg01376.txt.bz2 Content-length: 770 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88228 --- Comment #5 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Dec 9 17:09:15 2018 New Revision: 266927 URL: https://gcc.gnu.org/viewcvs?rev=3D266927&root=3Dgcc&view=3Drev Log: 2018-12-09 Fritz Reese PR fortran/88228 * resolve.c (resolve_operator): Do not call resolve_function. Break like other cases. 2018-12-09 Steven G. Kargl PR fortran/88228 * gfortran.dg/pr88228.f90: New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88228.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/resolve.c branches/gcc-8-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 17:29:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126562 invoked by alias); 9 Dec 2018 17:29:13 -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 126530 invoked by uid 48); 9 Dec 2018 17:29:09 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88419] [9 Regression] [ICE] "Same canonical type node for different types" for CTAD in noexcept Date: Sun, 09 Dec 2018 17:29: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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: 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: 2018-12/txt/msg01377.txt.bz2 Content-length: 579 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88419 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-09 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Likely started with r241944. >>From gcc-bugs-return-625262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 17:30:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128271 invoked by alias); 9 Dec 2018 17:30:44 -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 128074 invoked by uid 48); 9 Dec 2018 17:30:30 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88419] [9 Regression] [ICE] "Same canonical type node for different types" for CTAD in noexcept Date: Sun, 09 Dec 2018 17:30: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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: 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: 2018-12/txt/msg01378.txt.bz2 Content-length: 1946 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88419 --- Comment #2 from Marek Polacek --- But not sure if it's a regression: 7/8/9 ICEs whereas=20 $ xg++-6 -c 88419.C -std=3Dc++17 88419.C:5:48: error: expected constructor, destructor, or type conversion before =E2=80=98;=E2=80=99 token template ref_view(R&) -> ref_view; ^ 88419.C:9:33: error: missing template arguments before =E2=80=98{=E2=80=99 = token noexcept(noexcept(ref_view{r})); ^ 88419.C:9:33: error: expected =E2=80=98)=E2=80=99 before =E2=80=98{=E2=80= =99 token 88419.C:9:33: error: expected =E2=80=98)=E2=80=99 before =E2=80=98{=E2=80= =99 token 88419.C:9:36: error: expected unqualified-id before =E2=80=98)=E2=80=99 tok= en noexcept(noexcept(ref_view{r})); ^ 88419.C: In member function =E2=80=98auto ref_fn::operator()(R) const=E2=80= =99: 88419.C:9:35: error: expected =E2=80=98;=E2=80=99 before =E2=80=98}=E2=80= =99 token noexcept(noexcept(ref_view{r})); ^ 88419.C: At global scope: 88419.C:18:38: error: missing template arguments before =E2=80=98{=E2=80=99= token noexcept(noexcept(indirect_view{r})); ^ 88419.C:18:38: error: expected =E2=80=98)=E2=80=99 before =E2=80=98{=E2=80= =99 token 88419.C:18:38: error: expected =E2=80=98)=E2=80=99 before =E2=80=98{=E2=80= =99 token 88419.C:18:41: error: expected unqualified-id before =E2=80=98)=E2=80=99 to= ken noexcept(noexcept(indirect_view{r})); ^ 88419.C: In member function =E2=80=98auto indirect_fn::operator()(R) const= =E2=80=99: 88419.C:18:40: error: expected =E2=80=98;=E2=80=99 before =E2=80=98}=E2=80= =99 token noexcept(noexcept(indirect_view{r})); ^ >>From gcc-bugs-return-625263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 18:12:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116210 invoked by alias); 9 Dec 2018 18:12:17 -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 116186 invoked by uid 48); 9 Dec 2018 18:12:13 -0000 From: "geert.linders at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88359] internal compiler error: in push_reload, at reload.c:1360 Date: Sun, 09 Dec 2018 18:12: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.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: geert.linders at hotmail dot com X-Bugzilla-Status: WAITING 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: 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: 2018-12/txt/msg01379.txt.bz2 Content-length: 290 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88359 --- Comment #8 from Geert linders --- (In reply to Andrew Pinski from comment #2) > 4.9.x is no longer supported, can you try a newer version of GCC? What is the oldest version of GCC that I can try? >>From gcc-bugs-return-625264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 18:16:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123627 invoked by alias); 9 Dec 2018 18:16:22 -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 123321 invoked by uid 48); 9 Dec 2018 18:16:17 -0000 From: "reiter.christoph at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88424] New: Inserts newlines when preserving comments for a file using Windows newlines Date: Sun, 09 Dec 2018 18:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: reiter.christoph 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 Message-ID: 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: 2018-12/txt/msg01380.txt.bz2 Content-length: 1053 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88424 Bug ID: 88424 Summary: Inserts newlines when preserving comments for a file using Windows newlines Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: reiter.christoph at gmail dot com Target Milestone: --- gcc --version gcc (Debian 8.2.0-11) 8.2.0 When preprocessing a file which uses Windows newlines without discarding comments (The -C option) then gcc inserts an extra newline after each line = in comments: * Write the following to test.c and make sure it uses Windows newlines /** * Foo- * bar- * quux */ int main() { return 0; } * Execute "gcc -C -E test.c" 3) Expected (this is what clang produces): [...] /** * Foo- * bar- * quux */ int main() { return 0; } * Actual: /** * Foo- * bar- * quux */ # 6 "test.c" int main() { return 0; } >>From gcc-bugs-return-625265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 18:22:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38472 invoked by alias); 9 Dec 2018 18:22: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 38411 invoked by uid 48); 9 Dec 2018 18:22:38 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/88424] Inserts newlines when preserving comments for a file using Windows newlines Date: Sun, 09 Dec 2018 18:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: component 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: 2018-12/txt/msg01381.txt.bz2 Content-length: 499 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88424 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |preprocessor --- Comment #1 from Andrew Pinski --- Most likely \r is being treated as a new line just like \n. Remember \r by itself is the new line endings on the classic mac os. >>From gcc-bugs-return-625266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 18:27:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43654 invoked by alias); 9 Dec 2018 18:27:43 -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 43576 invoked by uid 48); 9 Dec 2018 18:27:39 -0000 From: "reiter.christoph at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/88424] Inserts newlines when preserving comments for a file using Windows newlines Date: Sun, 09 Dec 2018 18:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: reiter.christoph 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: 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: 2018-12/txt/msg01382.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88424 --- Comment #2 from Christoph Reiter --- For context, we use gcc in gobject-introspection where we parse metadata fr= om the C comments and this breaks things when users on Windows have git set up= to auto convert line endings: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/243 >>From gcc-bugs-return-625267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 18:32:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49858 invoked by alias); 9 Dec 2018 18:32: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 49808 invoked by uid 55); 9 Dec 2018 18:32:33 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88228] ICE in check_null, at fortran/expr.c:2691 Date: Sun, 09 Dec 2018 18:32: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: --- 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: 2018-12/txt/msg01383.txt.bz2 Content-length: 770 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88228 --- Comment #6 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Dec 9 18:32:01 2018 New Revision: 266928 URL: https://gcc.gnu.org/viewcvs?rev=3D266928&root=3Dgcc&view=3Drev Log: 2018-12-09 Fritz Reese PR fortran/88228 * resolve.c (resolve_operator): Do not call resolve_function. Break like other cases. 2018-12-09 Steven G. Kargl PR fortran/88228 * gfortran.dg/pr88228.f90: New test. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr88228.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/resolve.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 18:34:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51262 invoked by alias); 9 Dec 2018 18:34: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 51150 invoked by uid 48); 9 Dec 2018 18:33:56 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88228] ICE in check_null, at fortran/expr.c:2691 Date: Sun, 09 Dec 2018 18:34: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 2018-12/txt/msg01384.txt.bz2 Content-length: 477 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88228 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |7.5 --- Comment #7 from kargl at gcc dot gnu.org --- Fixed on trunk, branch-8, and branch-7. >>From gcc-bugs-return-625269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 18:55:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35693 invoked by alias); 9 Dec 2018 18:55:23 -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 35613 invoked by uid 55); 9 Dec 2018 18:55:19 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/88411] [9 Regression] Random crashes for ASYNCHRONOUS writes (bad locking?) Date: Sun, 09 Dec 2018 18:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig 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: 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: 2018-12/txt/msg01385.txt.bz2 Content-length: 965 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88411 --- Comment #8 from Thomas Koenig --- Author: tkoenig Date: Sun Dec 9 18:54:47 2018 New Revision: 266929 URL: https://gcc.gnu.org/viewcvs?rev=3D266929&root=3Dgcc&view=3Drev Log: 2018-12-09 Thomas Koenig PR fortran/88411 * io/transfer.c (dta_transfer_init): Do not treat as an asynchronous statement unless the statement has ASYNCHRONOUS=3D"YES". (st_write_done): Likewise. (st_read_done): Do not perform async_wait for synchronous I/O on an async unit. (st_read_done): Likewise. 2018-12-09 Thomas Koenig PR fortran/88411 * testsuite/libgomp.fortran/async_io_8.f90: New test. Added: trunk/libgomp/testsuite/libgomp.fortran/async_io_8.f90 Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/io/transfer.c trunk/libgomp/ChangeLog >>From gcc-bugs-return-625270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 18:57:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37314 invoked by alias); 9 Dec 2018 18:57:27 -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 37269 invoked by uid 48); 9 Dec 2018 18:57:23 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/88411] [9 Regression] Random crashes for ASYNCHRONOUS writes (bad locking?) Date: Sun, 09 Dec 2018 18:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 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: 2018-12/txt/msg01386.txt.bz2 Content-length: 564 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88411 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #9 from Thomas Koenig --- Fixed on trunk, closing. Thank you very much for the bug report - for this, finding a use case that actually exposes a bug is really valuable. >>From gcc-bugs-return-625271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 19:11:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48937 invoked by alias); 9 Dec 2018 19:11: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 48897 invoked by uid 55); 9 Dec 2018 19:11:29 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88206] [7/8/9 Regression] ICE in gfc_match_type_spec, at fortran/match.c:2229 Date: Sun, 09 Dec 2018 19: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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.5 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: 2018-12/txt/msg01387.txt.bz2 Content-length: 677 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88206 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Dec 9 19:10:57 2018 New Revision: 266930 URL: https://gcc.gnu.org/viewcvs?rev=3D266930&root=3Dgcc&view=3Drev Log: 2018-12-09 Steven G. Kargl PR fortran/88206 * match.c (gfc_match_type_spec): REAL can be an intrinsic function. 2018-12-09 Steven G. Kargl PR fortran/88206 * gfortran.dg/pr88206.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/pr88206.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/match.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 19:20:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53872 invoked by alias); 9 Dec 2018 19:20:53 -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 53792 invoked by uid 48); 9 Dec 2018 19:20:49 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88364] [9 Regression] Wrong-code due to CLOBBER Date: Sun, 09 Dec 2018 19:20: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: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig 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: 9.0 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: 2018-12/txt/msg01388.txt.bz2 Content-length: 1092 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88364 --- Comment #4 from Thomas Koenig --- A simple fix is not to do the clobbers if there is a reference: Index: trans-expr.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 --- trans-expr.c (Revision 266250) +++ trans-expr.c (Arbeitskopie) @@ -8152,7 +8152,7 @@ gfc_conv_expr_reference (gfc_se * se, gfc_expr * e gfc_add_block_to_block (&se->pre, &se->post); se->expr =3D var; } - else if (add_clobber) + else if (add_clobber && expr->ref =3D=3D NULL) { tree clobber; tree var; A bit more sophisticated would be to actually build the correct clobber in this case. I'm inclined to commit the patch above and open a new PR for the missed optimization, but I won't have time for either in the next few days. So, if anybody wants to do anything about this, be my guest :-) >>From gcc-bugs-return-625273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 19:33:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13350 invoked by alias); 9 Dec 2018 19:33:23 -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 13319 invoked by uid 48); 9 Dec 2018 19:33:19 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88425] New: suboptimal code for a 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: 2018-12/txt/msg01389.txt.bz2 Content-length: 1191 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88425 Bug ID: 88425 Summary: suboptimal code for a>From gcc-bugs-return-625274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 19:35:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14713 invoked by alias); 9 Dec 2018 19:35:06 -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 14648 invoked by uid 48); 9 Dec 2018 19:35:02 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88402] inefficient code generation for mask from CC Date: Sun, 09 Dec 2018 19:35: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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov 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: 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: 2018-12/txt/msg01390.txt.bz2 Content-length: 456 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88402 --- Comment #4 from Alexander Monakov --- (In reply to Alexander Monakov from comment #3) > But unfortunately today we don't manage to use the cmp-sbb trick for > unsigned comparison against an immediate, i.e. for >=20 > unsigned long baz (unsigned int a) > { > return a < 123 ? -1ul : 0; > } It's probably more appropriate to discuss this aspect separately: PR 88425. >>From gcc-bugs-return-625275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 19:52:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83638 invoked by alias); 9 Dec 2018 19:52: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 83601 invoked by uid 55); 9 Dec 2018 19:52:31 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88206] [7/8/9 Regression] ICE in gfc_match_type_spec, at fortran/match.c:2229 Date: Sun, 09 Dec 2018 19:52: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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.5 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: 2018-12/txt/msg01391.txt.bz2 Content-length: 741 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88206 --- Comment #5 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Dec 9 19:51:59 2018 New Revision: 266932 URL: https://gcc.gnu.org/viewcvs?rev=3D266932&root=3Dgcc&view=3Drev Log: 2018-12-09 Steven G. Kargl PR fortran/88206 * match.c (gfc_match_type_spec): REAL can be an intrinsic function. 2018-12-09 Steven G. Kargl PR fortran/88206 * gfortran.dg/pr88206.f90: New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88206.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/match.c branches/gcc-8-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 19:56:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86447 invoked by alias); 9 Dec 2018 19:56:31 -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 86416 invoked by uid 55); 9 Dec 2018 19:56:27 -0000 From: "ibuclaw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88039] gdc.test/compilable/ddoc12.d FAILs Date: Sun, 09 Dec 2018 19:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ibuclaw at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01392.txt.bz2 Content-length: 832 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88039 --- Comment #8 from ibuclaw at gcc dot gnu.org --- Author: ibuclaw Date: Sun Dec 9 19:55:54 2018 New Revision: 266933 URL: https://gcc.gnu.org/viewcvs?rev=3D266933&root=3Dgcc&view=3Drev Log: Generate and scan documentation output in Ddoc tests. The tests in gdc.test/compilable/ddoc*.d don't require the module to be compiled all the way down to object code. Instead, only compile the test sources with -fdoc, and scan the generated html content. gcc/testsuite/ChangeLog: PR d/88039 * gdc.test/gdc-test.exp (gdc-convert-args): Handle -D. (dmd2dg): Check generated html in ddoc tests. (gdc-do-test): Set dg-do-what-default to compile for ddoc tests. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gdc.test/gdc-test.exp >>From gcc-bugs-return-625277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 20:23:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106863 invoked by alias); 9 Dec 2018 20:23: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 106810 invoked by uid 55); 9 Dec 2018 20:23:38 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88206] [7/8/9 Regression] ICE in gfc_match_type_spec, at fortran/match.c:2229 Date: Sun, 09 Dec 2018 20:23: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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.5 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: 2018-12/txt/msg01393.txt.bz2 Content-length: 741 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88206 --- Comment #6 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Dec 9 20:23:06 2018 New Revision: 266934 URL: https://gcc.gnu.org/viewcvs?rev=3D266934&root=3Dgcc&view=3Drev Log: 2018-12-09 Steven G. Kargl PR fortran/88206 * match.c (gfc_match_type_spec): REAL can be an intrinsic function. 2018-12-09 Steven G. Kargl PR fortran/88206 * gfortran.dg/pr88206.f90: New test. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr88206.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/match.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 20:26:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109850 invoked by alias); 9 Dec 2018 20:26:48 -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 109308 invoked by uid 48); 9 Dec 2018 20:26:44 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88206] [7/8/9 Regression] ICE in gfc_match_type_spec, at fortran/match.c:2229 Date: Sun, 09 Dec 2018 20:26: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc 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: 2018-12/txt/msg01394.txt.bz2 Content-length: 498 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88206 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |kargl at gcc dot gnu.org Resolution|--- |FIXED --- Comment #7 from kargl at gcc dot gnu.org --- Fixed on trunk, branch-8, and branch-7. >>From gcc-bugs-return-625279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 20:47:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13744 invoked by alias); 9 Dec 2018 20:47:53 -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 13684 invoked by uid 48); 9 Dec 2018 20:47:48 -0000 From: "Casey at Carter dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88419] [9 Regression] [ICE] "Same canonical type node for different types" for CTAD in noexcept Date: Sun, 09 Dec 2018 20:47: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: Casey at Carter dot net 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: 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: 2018-12/txt/msg01395.txt.bz2 Content-length: 284 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88419 --- Comment #3 from Casey Carter --- 8.2 and 7.4 don't ICE: https://godbolt.org/z/VznOao. I was assuming that r266224 (the fix for #52869) likely caused the regression, although I haven= 't investigated. >>From gcc-bugs-return-625280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 21:05:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34189 invoked by alias); 9 Dec 2018 21:05: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 34124 invoked by uid 48); 9 Dec 2018 21:05:47 -0000 From: "anlauf at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88364] [9 Regression] Wrong-code due to CLOBBER Date: Sun, 09 Dec 2018 21:05: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: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gmx dot de 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: 9.0 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: 2018-12/txt/msg01396.txt.bz2 Content-length: 295 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88364 --- Comment #5 from Harald Anlauf --- (In reply to Thomas Koenig from comment #4) > A simple fix is not to do the clobbers if there is a reference: The fix in c#4 fixes the testcase in c#2 for me. I'll give it a try. >>From gcc-bugs-return-625281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 21:50:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3323 invoked by alias); 9 Dec 2018 21:50:26 -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 3251 invoked by uid 48); 9 Dec 2018 21:50:22 -0000 From: "akaras at inbox dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/88426] New: Compiler crash if use special code with command line switch -fsanitize=float-cast-overflow Date: Sun, 09 Dec 2018 21:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: akaras at inbox dot ru 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 cc target_milestone attachments.created Message-ID: 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: 2018-12/txt/msg01397.txt.bz2 Content-length: 974 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88426 Bug ID: 88426 Summary: Compiler crash if use special code with command line switch -fsanitize=3Dfloat-cast-overflow Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: akaras at inbox dot ru CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxi= n at gcc dot gnu.org Target Milestone: --- Created attachment 45193 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45193&action=3Dedit code sample GCC crashing if try to compile attached code with command: gcc -S -fsanitize=3Dfloat-cast-overflow crash.c Issue can be reproduced on gcc (GCC) 8.2.1 20181209 and debian unstable gcc-8 package. >>From gcc-bugs-return-625282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 21:51:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4256 invoked by alias); 9 Dec 2018 21:51:12 -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 4175 invoked by uid 48); 9 Dec 2018 21:51:08 -0000 From: "akaras at inbox dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/88426] Compiler crash if use special code with command line switch -fsanitize=float-cast-overflow Date: Sun, 09 Dec 2018 21:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: akaras at inbox dot ru 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: attachments.created 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: 2018-12/txt/msg01398.txt.bz2 Content-length: 226 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88426 --- Comment #1 from Andrei Karas --- Created attachment 45194 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45194&action=3Dedit crash log >>From gcc-bugs-return-625283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 22:13:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16119 invoked by alias); 9 Dec 2018 22:13:34 -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 16091 invoked by uid 48); 9 Dec 2018 22:13:30 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88393] [7/8/9 Regression] [OOP] Segfault with type-bound assignment Date: Sun, 09 Dec 2018 22: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: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01399.txt.bz2 Content-length: 766 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88393 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-09 Ever confirmed|0 |1 Known to fail| |7.3.0, 8.2.0, 9.0 --- Comment #1 from Dominique d'Humieres --- The test compiled with r241883 + patches (2016-11-06) gives the expected result, compiled with r241924 + patches (2016-11-07) gives a segfault at run time. >>From gcc-bugs-return-625284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 22:58:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119102 invoked by alias); 9 Dec 2018 22:58:45 -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 112809 invoked by uid 48); 9 Dec 2018 22:58:41 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88418] [7/8/9 Regression] ICE in extract_insn, at recog.c:2305 (error: unrecognizable insn) Date: Sun, 09 Dec 2018 22:58: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed attachments.created 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: 2018-12/txt/msg01400.txt.bz2 Content-length: 695 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88418 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-12-09 Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail do= t com Ever confirmed|0 |1 --- Comment #1 from Uro=C5=A1 Bizjak --- Created attachment 45195 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45195&action=3Dedit Proposed patch Patch in testing. >>From gcc-bugs-return-625285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 22:59:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26796 invoked by alias); 9 Dec 2018 22:59:27 -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 26757 invoked by uid 48); 9 Dec 2018 22:59:23 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88418] [7/8/9 Regression] ICE in extract_insn, at recog.c:2305 (error: unrecognizable insn) Date: Sun, 09 Dec 2018 22:59: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget 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: 2018-12/txt/msg01401.txt.bz2 Content-length: 346 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88418 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Target|x86_64-unknown-linux-gnu |x86 Target Milestone|--- |7.5 >>From gcc-bugs-return-625286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 23:13:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50235 invoked by alias); 9 Dec 2018 23:13:47 -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 50184 invoked by uid 48); 9 Dec 2018 23:13:42 -0000 From: "wilson at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/88422] collect2.exe: fatal error: lto-wrapper returned 1 exit status: file not recognized: file truncated Date: Sun, 09 Dec 2018 23:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wilson 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: 2018-12/txt/msg01402.txt.bz2 Content-length: 1016 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88422 Jim Wilson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wilson at gcc dot gnu.org --- Comment #2 from Jim Wilson --- I've reproduced this problem with a RISC-V gcc-8.x compiler, and tracked it down to the first patch for bug 81968, in comment #60. With the patch reverted, the testcase works. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81968#c60 The RISC-V testcase works with Linux hosted and Cygwin hosted toolchains, a= nd only fails for mingw32 hosted toolchains. Maybe an LLP64 problem with the patch? I didn't see any obvious type error in the patch though. I had to borrow a windows machine from our IT group to look at this, and th= ey have since taken the loaner back, so I don't have a machine at work I can u= se to debug this at present. >>From gcc-bugs-return-625287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 23:49:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117979 invoked by alias); 9 Dec 2018 23:49:50 -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 117935 invoked by uid 55); 9 Dec 2018 23:49:46 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88205] ICE in gfc_wide_strncasecmp, at fortran/scanner.c:249 Date: Sun, 09 Dec 2018 23:49: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: 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: 2018-12/txt/msg01403.txt.bz2 Content-length: 675 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88205 --- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Dec 9 23:49:14 2018 New Revision: 266936 URL: https://gcc.gnu.org/viewcvs?rev=3D266936&root=3Dgcc&view=3Drev Log: 2018-12-09 Steven G. Kargl PR fortran/88205 * io.c (gfc_match_open): Move NEWUNIT checks to after STATUS checks. 2018-12-09 Steven G. Kargl PR fortran/88205 * gfortran.dg/pr88205.f90: New unit. Added: trunk/gcc/testsuite/gfortran.dg/pr88205.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/io.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 09 23:57:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125156 invoked by alias); 9 Dec 2018 23:57: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 125098 invoked by uid 48); 9 Dec 2018 23:57:48 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/67729] -Wformat should warn for %Ns where the buffer size is known to be less than N in size Date: Sun, 09 Dec 2018 23:57: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: 6.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: egallager 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: 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: 2018-12/txt/msg01404.txt.bz2 Content-length: 496 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67729 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.o= rg, | |msebor at gcc dot gnu.org --- Comment #3 from Eric Gallager --- Martin should probably know. >>From gcc-bugs-return-625289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 00:11:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53911 invoked by alias); 10 Dec 2018 00: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 53809 invoked by uid 48); 10 Dec 2018 00:10:59 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/67729] -Wformat should warn for %Ns where the buffer size is known to be less than N in size Date: Mon, 10 Dec 2018 00:11: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: 6.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor 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: see_also 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: 2018-12/txt/msg01405.txt.bz2 Content-length: 925 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67729 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D72783 --- Comment #4 from Martin Sebor --- This looks like a near dupe of bug 72783 (or vice versa), though not exactly the same. That one asks for hardening which will be harder. Warning shoul= d be a lot easier. The file where -Wformat-overflow is implemented for sprintf = et al. is gimple-ssa-sprintf.c. -Wformat alone is handled in c-family/c-forma= t.c but that's not a good place to do buffer overflow checking (it runs too ear= ly to have knowledge of object sizes in all but the most trivial cases). >>From gcc-bugs-return-625290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 00:32:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79059 invoked by alias); 10 Dec 2018 00:32:38 -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 79000 invoked by uid 48); 10 Dec 2018 00:32:34 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/87118] ICE in expand_expr_addr_expr_1, at expr.c:7862 Date: Mon, 10 Dec 2018 00:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: ice-on-valid-code, trans-mem X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager 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: 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: 2018-12/txt/msg01406.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87118 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.o= rg --- Comment #2 from Eric Gallager --- This bug came up on the mailing lists here: https://gcc.gnu.org/ml/gcc/2018-12/msg00057.html >>From gcc-bugs-return-625291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 00:36:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84152 invoked by alias); 10 Dec 2018 00:36:22 -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 84091 invoked by uid 48); 10 Dec 2018 00:36:18 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/65794] Building crossback fails: No rule to make target `auto-build.h', needed by `build/genmddeps.o' Date: Mon, 10 Dec 2018 00:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: build, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager 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 bug_file_loc 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: 2018-12/txt/msg01407.txt.bz2 Content-length: 1061 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65794 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Status|UNCONFIRMED |NEW URL| |https://gcc.gnu.org/ml/gcc- | |patches/2018-12/msg00525.ht | |ml Last reconfirmed| |2018-12-10 CC| |coypu at sdf dot org, | |egallager at gcc dot gnu.o= rg Ever confirmed|0 |1 --- Comment #3 from Eric Gallager --- There's a patch for this (or at least something similar) on the gcc-patches mailing list; taking it as confirmation: https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00525.html >>From gcc-bugs-return-625292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 00:47:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92893 invoked by alias); 10 Dec 2018 00:47:48 -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 92833 invoked by uid 48); 10 Dec 2018 00:47:42 -0000 From: "coypu at sdf dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/65794] Building crossback fails: No rule to make target `auto-build.h', needed by `build/genmddeps.o' Date: Mon, 10 Dec 2018 00:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: build, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: coypu at sdf dot 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: 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: 2018-12/txt/msg01408.txt.bz2 Content-length: 380 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65794 --- Comment #4 from coypu --- Hi, It's probably a setup/configuration issue for everyone reporting this issue. It's hard to debug, my patch helps with figuring out the problem - but does= n't fix it. I didn't ping this bug report because I don't understand what the other pat= ch described here does. >>From gcc-bugs-return-625293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 01:01:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67016 invoked by alias); 10 Dec 2018 01:01:49 -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 66954 invoked by uid 55); 10 Dec 2018 01:01:44 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88205] ICE in gfc_wide_strncasecmp, at fortran/scanner.c:249 Date: Mon, 10 Dec 2018 01:01: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: 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: 2018-12/txt/msg01409.txt.bz2 Content-length: 739 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88205 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Mon Dec 10 01:01:01 2018 New Revision: 266940 URL: https://gcc.gnu.org/viewcvs?rev=3D266940&root=3Dgcc&view=3Drev Log: 2018-12-09 Steven G. Kargl PR fortran/88205 * io.c (gfc_match_open): Move NEWUNIT checks to after STATUS checks. 2018-12-09 Steven G. Kargl PR fortran/88205 * gfortran.dg/pr88205.f90: New unit. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88205.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/io.c branches/gcc-8-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 01:26:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96229 invoked by alias); 10 Dec 2018 01:26:23 -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 96192 invoked by uid 55); 10 Dec 2018 01:26:19 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88205] ICE in gfc_wide_strncasecmp, at fortran/scanner.c:249 Date: Mon, 10 Dec 2018 01:26: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: 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: 2018-12/txt/msg01410.txt.bz2 Content-length: 739 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88205 --- Comment #5 from kargl at gcc dot gnu.org --- Author: kargl Date: Mon Dec 10 01:25:47 2018 New Revision: 266941 URL: https://gcc.gnu.org/viewcvs?rev=3D266941&root=3Dgcc&view=3Drev Log: 2018-12-09 Steven G. Kargl PR fortran/88205 * io.c (gfc_match_open): Move NEWUNIT checks to after STATUS checks. 2018-12-09 Steven G. Kargl PR fortran/88205 * gfortran.dg/pr88205.f90: New unit. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr88205.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/io.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 01:33:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123832 invoked by alias); 10 Dec 2018 01:33:47 -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 123781 invoked by uid 48); 10 Dec 2018 01:33:43 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88205] ICE in gfc_wide_strncasecmp, at fortran/scanner.c:249 Date: Mon, 10 Dec 2018 01:33: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cc resolution assigned_to 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: 2018-12/txt/msg01411.txt.bz2 Content-length: 696 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88205 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|NEW |RESOLVED CC| |kargl at gcc dot gnu.org Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gn= u.org Target Milestone|--- |7.5 --- Comment #6 from kargl at gcc dot gnu.org --- Fixed on trunk, branch-8, and branch-7. clsoing. >>From gcc-bugs-return-625296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 01:43:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30168 invoked by alias); 10 Dec 2018 01:43:02 -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 30071 invoked by uid 48); 10 Dec 2018 01:42:58 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/56069] [7 Regression] RA pessimization Date: Mon, 10 Dec 2018 01:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bernds at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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: 2018-12/txt/msg01412.txt.bz2 Content-length: 1203 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56069 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[7/8/9 Regression] RA |[7 Regression] RA |pessimization |pessimization --- Comment #19 from Jeffrey A. Law --- This was fixed way back in 2017: commit a6e6a4df68e9e2cfbf4680b7f794254bc533d27c Author: uros Date: Mon Aug 14 16:42:15 2017 +0000 PR target/46091 * config/i386/i386.md (*anddi_1_btr): New insn_and_split patter= n. (*iordi_1_bts): Ditto. (*xordi_1_btc): Ditto. testsuite/ChangeLog: PR target/46091 * gcc.target/i386/pr46091-1.c: New test. * gcc.target/i386/pr46091-2.c: Ditto. * gcc.target/i386/pr46091-3.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251095 138bc75d-0d04-0410-961f-82ee72b054a4 :040000 040000 05739aaeccb137e9725a14cd94782096013169fa 53297b094d658372050f33eb62877dd228569169 M gcc >>From gcc-bugs-return-625297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 01:53:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108700 invoked by alias); 10 Dec 2018 01:53: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 108640 invoked by uid 48); 10 Dec 2018 01:53:51 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88419] [9 Regression] [ICE] "Same canonical type node for different types" for CTAD in noexcept Date: Mon, 10 Dec 2018 01:53: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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: 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: 2018-12/txt/msg01413.txt.bz2 Content-length: 173 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88419 --- Comment #4 from Marek Polacek --- They do with checking enabled: try -fchecking=3D1. >>From gcc-bugs-return-625298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 02:26:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56821 invoked by alias); 10 Dec 2018 02:26:22 -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 56772 invoked by uid 48); 10 Dec 2018 02:26:16 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88427] New: [9 Regression] ICE: tree check: expected integer_cst, have plus_expr in get_len, at tree.h:5617 Date: Mon, 10 Dec 2018 02:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01414.txt.bz2 Content-length: 4723 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88427 Bug ID: 88427 Summary: [9 Regression] ICE: tree check: expected integer_cst, have plus_expr in get_len, at tree.h:5617 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc-9.0.0-alpha20181202 snapshot (r266729) ICEs when compiling the following snippet w/ -O2 (-O3, -Ofast, -Os) -fno-tree-dce -fno-tree-fre: void uj (int eq, int s4) { short int tm =3D 0; for (;;) if (eq =3D=3D s4) { tm +=3D !!s4; if (tm =3D=3D s4) { eq +=3D tm; for (;;) eq /=3D 0; } } } % gcc-9.0.0-alpha20181202 -O2 -fno-tree-dce -fno-tree-fre -w -c dr2mx6y0.c during GIMPLE pass: vrp dr2mx6y0.c: In function 'uj': dr2mx6y0.c:2:1: internal compiler error: tree check: expected integer_cst, = have plus_expr in get_len, at tree.h:5617 2 | uj (int eq, int s4) | ^~ 0x6dd3f7 tree_check_failed(tree_node const*, char const*, int, char const*, ...) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= tree.c:9757 0x7db2b9 tree_check(tree_node const*, char const*, int, char const*, tree_c= ode) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= tree.h:3410 0x7db2b9 wi::extended_tree<192>::get_len() const =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= tree.h:5617 0x7db2b9 wi::int_traits > >::decompose(long*, unsigned int, generic_wide_int > const&) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= wide-int.h:964 0x7db2b9 wide_int_ref_storage::wide_int_ref_storage > >(generic_wide_int > const&, unsigned int) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= wide-int.h:1013 0x7db2b9 generic_wide_int >::generic_wide_int > >(generic_wide_int > const&, unsigned int) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= wide-int.h:788 0x7db2b9 bool wi::lts_p >, generic_wide_int > >(generic_wide_int > const&, generic_wide_int > const&) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= wide-int.h:1879 0x7db2b9 wi::binary_traits >, generic_wide_int >, wi::int_traits > >::precision_type, wi::int_traits > >::precision_type>::signed_predicate_result operator< >, generic_wide_int > >(generic_wide_int > const&, generic_wide_int > const&) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= wide-int.h:3227 0x7db2b9 tree_int_cst_lt(tree_node const*, tree_node const*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= tree.h:5773 0xffcd56 vr_values::extract_range_from_phi_node(gphi*, value_range*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= vr-values.c:2870 0xf7e23b vrp_prop::extract_range_from_phi_node(gphi*, value_range*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= tree-vrp.c:4303 0xf7e23b vrp_prop::visit_phi(gphi*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= tree-vrp.c:6186 0xe92548 ssa_propagation_engine::simulate_stmt(gimple*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= tree-ssa-propagate.c:226 0xe93b1d ssa_propagation_engine::ssa_propagate() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= tree-ssa-propagate.c:813 0xf8f58a execute_vrp =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= tree-vrp.c:6718 >>From gcc-bugs-return-625299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 07:36:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13117 invoked by alias); 10 Dec 2018 07:36:30 -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 13041 invoked by uid 48); 10 Dec 2018 07:36:24 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88427] [9 Regression] ICE: tree check: expected integer_cst, have plus_expr in get_len, at tree.h:5617 Date: Mon, 10 Dec 2018 07:36: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone 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: 2018-12/txt/msg01415.txt.bz2 Content-length: 616 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88427 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-10 CC| |jakub at gcc dot gnu.org Target Milestone|--- |9.0 Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Started with r266557. >>From gcc-bugs-return-625300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 07:55:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102785 invoked by alias); 10 Dec 2018 07:55: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 102667 invoked by uid 48); 10 Dec 2018 07:55:33 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88427] [9 Regression] ICE: tree check: expected integer_cst, have plus_expr in get_len, at tree.h:5617 Date: Mon, 10 Dec 2018 07: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 9.0 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: 2018-12/txt/msg01416.txt.bz2 Content-length: 984 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88427 --- Comment #2 from Jakub Jelinek --- We have: (gdb) p debug (lhs_vr) int [s4_11(D), s4_11(D) + 2]$3 =3D void (gdb) p debug (vr_result) int [s4_11(D), s4_11(D) + 32767]$4 =3D void (gdb) p cmp_min $5 =3D 0 (gdb) p cmp_max $6 =3D -1 and the /* If the new minimum is larger than the previous one retain the old value. If the new minimum value is smaller than the previous one and not -INF go all the way to -INF + 1. In the first case, to avoid infinite bouncing between different minimums, and in the other case to avoid iterating millions of times to reach -INF. Going to -INF + 1 also lets the following iteration compute whether there will be any overflow, at the expense of one additional iteration. */ code isn't prepared for cmp_min > 0 or cmp_max < 0 to have vr_result->min (= ) or vr_result->max () of the form [-]sym + cst. >>From gcc-bugs-return-625301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 08:21:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42796 invoked by alias); 10 Dec 2018 08:21: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 42700 invoked by uid 48); 10 Dec 2018 08:21:20 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/88426] [8/9 Regression] Compiler crash if use special code with command line switch -fsanitize=float-cast-overflow Date: Mon, 10 Dec 2018 08:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on target_milestone short_desc 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: 2018-12/txt/msg01417.txt.bz2 Content-length: 902 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88426 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-10 Target Milestone|--- |8.3 Summary|Compiler crash if use |[8/9 Regression] Compiler |special code with command |crash if use special code |line switch |with command line switch |-fsanitize=3Dfloat-cast-overf |-fsanitize=3Dfloat-cast-= overf |low |low Ever confirmed|0 |1 --- Comment #2 from Jakub Jelinek --- Started with r248139. >>From gcc-bugs-return-625302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 08:26:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106185 invoked by alias); 10 Dec 2018 08:26:44 -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 106105 invoked by uid 48); 10 Dec 2018 08:26:40 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/88404] ICE (tree check) with -fsanitize=thread on Fortran2003 code Date: Mon, 10 Dec 2018 08:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: janus 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: keywords short_desc 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: 2018-12/txt/msg01418.txt.bz2 Content-length: 787 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88404 janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Summary|[9 Regression] ICE (tree |ICE (tree check) with |check) with |-fsanitize=3Dthread on |-fsanitize=3Dthread on |Fortran2003 code |Fortran2003 code | --- Comment #1 from janus at gcc dot gnu.org --- Actually I think this is not a real regression. The reason why I saw it with trunk but not with any released version is merely that it disappears when u= sing --enable-checking=3Drelease. >>From gcc-bugs-return-625303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 08:31:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113408 invoked by alias); 10 Dec 2018 08:31:11 -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 113296 invoked by uid 48); 10 Dec 2018 08:31:03 -0000 From: "tanaya_patil at persistent dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug demangler/87675] Stack Overflow in function next_is_type_qual() in cp-demangle.c, as demonstrated by "nm -C" Date: Mon, 10 Dec 2018 08:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: demangler X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tanaya_patil at persistent dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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: 2018-12/txt/msg01419.txt.bz2 Content-length: 456 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87675 Tanaya Patil changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tanaya_patil at persistent= dot com --- Comment #7 from Tanaya Patil --- Should we expect this fix to be in Binutil 2.32? >>From gcc-bugs-return-625304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 08:35:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119600 invoked by alias); 10 Dec 2018 08:35:58 -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 119563 invoked by uid 48); 10 Dec 2018 08:35:54 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88393] [7/8/9 Regression] [OOP] Segfault with type-bound assignment Date: Mon, 10 Dec 2018 08:35: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: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: janus 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.5 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: 2018-12/txt/msg01420.txt.bz2 Content-length: 420 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88393 --- Comment #2 from janus at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #1) > The test compiled with r241883 + patches (2016-11-06) gives the expected > result, compiled with r241924 + patches (2016-11-07) gives a segfault at = run > time. Thanks for the information. Looking at this range of commits, I suspect that r241885 is the culprit. >>From gcc-bugs-return-625305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 08:43:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34284 invoked by alias); 10 Dec 2018 08:43:08 -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 34186 invoked by uid 48); 10 Dec 2018 08:43:02 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/88404] ICE (tree check) with -fsanitize=thread on Fortran2003 code Date: Mon, 10 Dec 2018 08:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01421.txt.bz2 Content-length: 709 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88404 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-10 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres --- > Actually I think this is not a real regression. The reason why I saw it > with trunk but not with any released version is merely that it disappears > when using --enable-checking=3Drelease. Confirmed down to at least GCC6. >>From gcc-bugs-return-625306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 08:46:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44937 invoked by alias); 10 Dec 2018 08:46:50 -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 44859 invoked by uid 48); 10 Dec 2018 08:46:45 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/88426] [8/9 Regression] Compiler crash if use special code with command line switch -fsanitize=float-cast-overflow Date: Mon, 10 Dec 2018 08:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created 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: 2018-12/txt/msg01422.txt.bz2 Content-length: 625 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88426 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #3 from Jakub Jelinek --- Created attachment 45196 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45196&action=3Dedit gcc9-pr88426.patch Untested fix. Sadly c_fully_fold doesn't handle CALL_EXPRs. >>From gcc-bugs-return-625307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 08:51:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100365 invoked by alias); 10 Dec 2018 08:51:45 -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 100271 invoked by uid 48); 10 Dec 2018 08:51:40 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88405] Missed DSE opportunity Date: Mon, 10 Dec 2018 08:51: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: 9.0 X-Bugzilla-Keywords: missed-optimization 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: 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: 2018-12/txt/msg01423.txt.bz2 Content-length: 1134 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88405 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-10 CC| |hubicka at gcc dot gnu.org, | |matz at gcc dot gnu.org, | |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. But in general a prerequesite to eliminate Section A is fusion of both loop nests and then CSEing the loads from a and b and finally eliminate the stores as dead because a and b are only written to. For the testcase we eliminate Section B because 'c' is discovered as writeo= nly. But we do not update the writeonly flag of a or b when removing uses (and IMHO we cannot easily). Note we perform this "DSE" in fixup_cfg. >>From gcc-bugs-return-625308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 08:53:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125775 invoked by alias); 10 Dec 2018 08:53:16 -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 125688 invoked by uid 48); 10 Dec 2018 08:53:12 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/88409] [9 Regression] FAIL at line 4429, options --format=gnu-v3: Date: Mon, 10 Dec 2018 08:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.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: 2018-12/txt/msg01424.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88409 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.0 >>From gcc-bugs-return-625309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 08:55:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129213 invoked by alias); 10 Dec 2018 08:55:43 -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 129167 invoked by uid 48); 10 Dec 2018 08:55:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88414] [9 Regression] ICE in lra_assign, at lra-assigns.c:1624 Date: Mon, 10 Dec 2018 08:55: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: 2018-12/txt/msg01425.txt.bz2 Content-length: 523 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88414 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schwab at gcc dot gnu.org Target Milestone|--- |9.0 --- Comment #1 from Richard Biener --- Hmm, m68k asms may contain m68k specific constraints that do not make sense= on x86. >>From gcc-bugs-return-625310-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 08:57:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1824 invoked by alias); 10 Dec 2018 08:57:07 -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 1741 invoked by uid 48); 10 Dec 2018 08:57:03 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88415] [7/8/9 Regression] ICE: verify_gimple failed (error: dead STMT in EH table) Date: Mon, 10 Dec 2018 08:57: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: ice-on-valid-code, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone 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: 2018-12/txt/msg01426.txt.bz2 Content-length: 655 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88415 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-12-10 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Target Milestone|--- |7.5 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Another complex lowering thing. Mine. >>From gcc-bugs-return-625311-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 08:58:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11719 invoked by alias); 10 Dec 2018 08:58: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 11355 invoked by uid 48); 10 Dec 2018 08:58:05 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88416] [8/9 Regression] ICE in in df_uses_record, at df-scan.c:3013 Date: Mon, 10 Dec 2018 08:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code 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: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: 2018-12/txt/msg01427.txt.bz2 Content-length: 368 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88416 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |segher at gcc dot gnu.org Target Milestone|--- |8.3 >>From gcc-bugs-return-625312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 08:58:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14108 invoked by alias); 10 Dec 2018 08:58:56 -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 12601 invoked by uid 48); 10 Dec 2018 08:58:52 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88419] [9 Regression] [ICE] "Same canonical type node for different types" for CTAD in noexcept Date: Mon, 10 Dec 2018 08:58: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: 9.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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.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: 2018-12/txt/msg01428.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88419 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.0 >>From gcc-bugs-return-625313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 09:07:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47268 invoked by alias); 10 Dec 2018 09:07:03 -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 47177 invoked by uid 48); 10 Dec 2018 09:06:59 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88414] [9 Regression] ICE in lra_assign, at lra-assigns.c:1624 Date: Mon, 10 Dec 2018 09:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component 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: 2018-12/txt/msg01429.txt.bz2 Content-length: 397 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88414 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Component|target |rtl-optimization --- Comment #2 from Uro=C5=A1 Bizjak --- Not a target problem. >>From gcc-bugs-return-625314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 09:08:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48971 invoked by alias); 10 Dec 2018 09:08:58 -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 48896 invoked by uid 48); 10 Dec 2018 09:08:51 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/88422] collect2.exe: fatal error: lto-wrapper returned 1 exit status: file not recognized: file truncated Date: Mon, 10 Dec 2018 09:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: lto X-Bugzilla-Keywords: 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: 2018-12/txt/msg01430.txt.bz2 Content-length: 1780 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88422 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #3 from Richard Biener --- The question would be what (simple-object-common.h) the following resolves = to: /* Define ulong_type as an unsigned 64-bit type if available. Otherwise just make it unsigned long. */ #ifdef UNSIGNED_64BIT_TYPE __extension__ typedef UNSIGNED_64BIT_TYPE ulong_type; #else typedef unsigned long ulong_type; #endif it is tested by configure: # Look for a 64-bit type. AC_MSG_CHECKING([for a 64-bit type]) AC_CACHE_VAL(liberty_cv_uint64, [AC_TRY_COMPILE( [#ifdef HAVE_STDINT_H #include #endif], [extern uint64_t foo;], liberty_cv_uint64=3Duint64_t, [AC_TRY_COMPILE( [#ifdef HAVE_LIMITS_H #include #endif #ifndef CHAR_BIT #define CHAR_BIT 8 #endif], [extern char foo[sizeof(long) * CHAR_BIT >=3D 64 ? 1 : -1];], liberty_cv_uint64=3D"unsigned long", [AC_TRY_COMPILE( [#ifdef HAVE_LIMITS_H #include #endif #ifndef CHAR_BIT #define CHAR_BIT 8 #endif], [extern char foo[sizeof(long long) * CHAR_BIT >=3D 64 ? 1 : -1];], liberty_cv_uint64=3D"unsigned long long", liberty_cv_uint64=3Dnone)])])]) AC_MSG_RESULT($liberty_cv_uint64) if test "$liberty_cv_uint64" !=3D none; then AC_DEFINE_UNQUOTED(UNSIGNED_64BIT_TYPE, $liberty_cv_uint64, [Define to an unsigned 64-bit type available in the compiler.]) fi the fallback for using unsigned long should probably be #error instead. Not sure if we actually need this given arm-eabi should be ELF32? >>From gcc-bugs-return-625315-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 09:10:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79669 invoked by alias); 10 Dec 2018 09:10: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 77136 invoked by uid 48); 10 Dec 2018 09:10:37 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88427] [9 Regression] ICE: tree check: expected integer_cst, have plus_expr in get_len, at tree.h:5617 Date: Mon, 10 Dec 2018 09:10: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-12/txt/msg01431.txt.bz2 Content-length: 458 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88427 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- 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-625316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 09:20:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79984 invoked by alias); 10 Dec 2018 09:20: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79885 invoked by uid 48); 10 Dec 2018 09:20:22 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88035] missing _mm512_reduce_round_pd() et al Date: Mon, 10 Dec 2018 09:20: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01432.txt.bz2 Content-length: 626 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88035 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-10 CC| |hjl.tools at gmail dot com, | |jakub at gcc dot gnu.org, | |xguo at gcc dot gnu.org Ever confirmed|0 |1 >>From gcc-bugs-return-625317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 09:21:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112557 invoked by alias); 10 Dec 2018 09:21: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 107577 invoked by uid 48); 10 Dec 2018 09:21:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88404] ICE (tree check) with -fsanitize=thread on Fortran2003 code Date: Mon, 10 Dec 2018 09:21: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: 9.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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on component 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: 2018-12/txt/msg01433.txt.bz2 Content-length: 3052 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88404 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2018-12-10 00:00:00 | Component|sanitizer |fortran --- Comment #3 from Richard Biener --- The reason is we have ... arg:0 > ... arg:1 unsigned DI t.f90:4:0 size unit-size align:64 warn_if_not_align:0 offset_align 128 offset , dest=3D, rank=3D0, purp= ose=3D1,=20 caf_mode=3D1) at /space/rguenther/src/gcc-sccvn/gcc/fortran/trans-array.c:8578 8578 decl, cdecl, NULL_TREE); (gdb) l 8573 case DEALLOCATE_ALLOC_COMP: 8574 8575 gfc_init_block (&tmpblock); 8576 8577 comp =3D fold_build3_loc (input_location, COMPONENT_REF, = ctype, 8578 decl, cdecl, NULL_TREE); 8579 here 'decl' is (gdb) p debug_tree (decl) > arg:0 public unsigned DI ... which is built by build_fold_indirect_ref_loc, dereferencing a generic pointer: #1 0x0000000000a0632f in gfc_conv_procedure_call (se=3D0x7fffffffd3f0,=20 sym=3D0x31258b0, args=3D0x30c50c0, expr=3D0x0, append_args=3D0x0) at /space/rguenther/src/gcc-sccvn/gcc/fortran/trans-expr.c:5780 5780 tmp =3D build_fold_indirect_ref_loc (input_location, tmp); (gdb) l 5775 /* The derived type is passed to gfc_deallocate_alloc_comp. 5776 Therefore, class actuals can handled correctly but derived 5777 types passed to class formals need the _data component. */ 5778 tmp =3D gfc_class_data_get (tmp); 5779 if (!CLASS_DATA (fsym)->attr.dimension) 5780 tmp =3D build_fold_indirect_ref_loc (input_location, tmp); 5781 } >>From gcc-bugs-return-625318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 09:23:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10954 invoked by alias); 10 Dec 2018 09:23:50 -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 6229 invoked by uid 48); 10 Dec 2018 09:23:46 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88035] missing _mm512_reduce_round_pd() et al Date: Mon, 10 Dec 2018 09:23: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01434.txt.bz2 Content-length: 354 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88035 --- Comment #2 from Jakub Jelinek --- I must say I don't understand the #c1 comment, GCC __builtin_ia32_reducepd512_mask etc. don't take the rounding mode argument = at all. And not only the _mm_*reduce_round* intrinsics are missing, _mm512_*reduce_round* is missing too. >>From gcc-bugs-return-625319-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 09:49:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40776 invoked by alias); 10 Dec 2018 09:49: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 27291 invoked by uid 55); 10 Dec 2018 09:49:43 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/65725] Bootstrap errors on Solaris 10 x86-64, including object diffs Date: Mon, 10 Dec 2018 09:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: 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: 2018-12/txt/msg01435.txt.bz2 Content-length: 567 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65725 --- Comment #5 from Rainer Orth --- Author: ro Date: Mon Dec 10 09:49:02 2018 New Revision: 266946 URL: https://gcc.gnu.org/viewcvs?rev=3D266946&root=3Dgcc&view=3Drev Log: Don't try to use libgcc-unwind.map with --disable-shared (PR bootstrap/6572= 5) 2018-12-10 Fredrik Nystr=C3=B6m PR bootstrap/65725 * config/sol2.h: Only use libgcc-unwind.map if ENABLE_SHARED_LIBGCC. Modified: trunk/gcc/ChangeLog trunk/gcc/config/sol2.h >>From gcc-bugs-return-625320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 09:51:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53667 invoked by alias); 10 Dec 2018 09:51:27 -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 53579 invoked by uid 48); 10 Dec 2018 09:51:22 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/26475] tree-ssa loses line numbers for initializations (constants for PHIs) Date: Mon, 10 Dec 2018 09:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 4.0.3 X-Bugzilla-Keywords: patch 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01436.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D26475 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #8 from Richard Biener --- Fixed. >>From gcc-bugs-return-625321-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 09:54:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57130 invoked by alias); 10 Dec 2018 09:54:40 -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 57072 invoked by uid 48); 10 Dec 2018 09:54:35 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88425] suboptimal code for a 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: 2018-12/txt/msg01437.txt.bz2 Content-length: 1326 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88425 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-10 CC| |jakub at gcc dot gnu.org, | |uros at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- That is because the middle-end canonicalizes a < 123 comparison to a <=3D 1= 22, and for this exact optimization we need LTU rather than LEUm where the form= er can be matched by the *x86_movdicc_0_m1_neg pattern (or si if -m32). So, in order to solve this, we'd need a define_insn_and_split (well, a set = of them) that would catch: (parallel [ (set (reg:DI 86) (neg:DI (leu:DI (reg:SI 89) (const_int 122 [0x7a])))) (clobber (reg:CC 17 flags)) ]) in this case, with both SWI48 iterator (the mode of the result/neg/leu) and SWI iterator (the mode of the comparison operands) and split that back into= a lt:CC comparison and the *x86_mov_0_m1_neg insn. >>From gcc-bugs-return-625322-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 09:58:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108455 invoked by alias); 10 Dec 2018 09:58:53 -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 108343 invoked by uid 48); 10 Dec 2018 09:58:47 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/65725] Bootstrap errors on Solaris 10 x86-64, including object diffs Date: Mon, 10 Dec 2018 09:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-12/txt/msg01438.txt.bz2 Content-length: 2035 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65725 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ro at gcc dot gnu.o= rg --- Comment #6 from Rainer Orth --- (In reply to Fredrik Nystr=C3=B6m from comment #3) > (In reply to Daniel Richard G. from comment #0) > > 1. Missing libgcc-unwind.map file >=20 > 1. Is caused by LINK_LIBGCC_MAPFILE_SPEC being set in gcc/config/sol2.h e= ven > if configured with --disable-shared. This has been around since PR > target/59788. >=20 > I've had success on solaris 10, both sparc and x86 with following fix. >=20 > --- gcc/config/sol2.h.orig 2014-05-28 13:37:50.000000000 +0200 > +++ gcc/config/sol2.h 2015-09-03 14:23:19.950566000 +0200 > @@ -174,7 +174,7 @@ > #define RDYNAMIC_SPEC "--export-dynamic" > #endif >=20=20 > -#ifndef USE_GLD > +#if !defined(USE_GLD) && defined(ENABLE_SHARED_LIBGCC) > /* With Sun ld, use mapfile to enforce direct binding to libgcc_s unwind= er. > */ > #define LINK_LIBGCC_MAPFILE_SPEC \ > "%{shared|shared-libgcc:-M %slibgcc-unwind.map}" Thanks for the patch. It makes perfect send and I've now installed it on mainline. > > 2. stage2 vs. stage3 diffs >=20 > Are you sure you want /usr/ccs/bin/as on solaris x86? > Have you tried with gnu as? > --with-gnu-as > --with-as=3D/usr/sfw/bin/gas There's something to be said for using gas, but the Solaris 10 gas is ancie= nt by today' standards. That said, I regularly bootstrap gcc on Solaris 10 wi= th both as and gas, and both work for me. When trying a mainline bootstrap, I've run into quite a number of issues (libcc1 and ada not building), but once I've worked around those, I could bootstrap on amd64-pc-solaris2.11 (admittedly) with as/ld without comparison failures. This was without --with-pic, which I'll try next. >>From gcc-bugs-return-625323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 10:10:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97826 invoked by alias); 10 Dec 2018 10:10:29 -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 97741 invoked by uid 48); 10 Dec 2018 10:10:25 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled Date: Mon, 10 Dec 2018 10:10: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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: 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: 2018-12/txt/msg01439.txt.bz2 Content-length: 650 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87951 --- Comment #10 from Jonathan Wakely --- No. They're not "less strict", but they have a fixed underlying type. For any enumeration type with a fixed underlying type (whether "enum class" or just "enum") the validvalues of the type are all the valid values of the underly= ing type. So: enum E : unsigned char { e1, e2 }; enum class F : unsigned char { f1, f2 }; Both of these types can have any value from 0-255, so a switch statement th= at only handles the e1/e2 or or f1/f2 is incorrect. I wish people would just learn how enums work, it's not that complicated. >>From gcc-bugs-return-625324-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 10:16:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107592 invoked by alias); 10 Dec 2018 10:16:45 -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 107491 invoked by uid 48); 10 Dec 2018 10:16:33 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86228] ordered comparison between pointer and zero Date: Mon, 10 Dec 2018 10:16: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: unknown X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: 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: 2018-12/txt/msg01440.txt.bz2 Content-length: 700 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86228 --- Comment #3 from Jonathan Wakely --- (In reply to eracpp from comment #2) > This bug was observed in the following example: >=20 > https://gcc.godbolt.org/z/p1VreP >=20 > #include > #include >=20 > int main() > { > std::array arr; >=20 > // Mistake: meant to use std::generate. > std::generate_n(arr.begin(), arr.end(), []{ return 0; }); > } >=20 > This code successfully compiles (unexpectedly) with GCC due to `size > 0` > being treated as well-formed in the case where the type of second paramet= er > `size` is deduced to be a pointer type such as `int*`. That's PR 87982 >>From gcc-bugs-return-625325-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 10:20:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121118 invoked by alias); 10 Dec 2018 10:20:53 -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 121032 invoked by uid 48); 10 Dec 2018 10:20:49 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88413] g++ mangles names involving unresolved names in function argument template parameters differently from the ABI standard. Date: Mon, 10 Dec 2018 10:20: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: 8.2.0 X-Bugzilla-Keywords: ABI, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01441.txt.bz2 Content-length: 590 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88413 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-10 Ever confirmed|0 |1 --- Comment #6 from Jonathan Wakely --- GCC has mangled it the same way since at least 4.3 (I don't have anything o= dler to test). FWIW EDG agrees with Clang. >>From gcc-bugs-return-625326-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 10:34:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104572 invoked by alias); 10 Dec 2018 10:34:49 -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 104463 invoked by uid 48); 10 Dec 2018 10:34:45 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88425] suboptimal code for a 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: 2018-12/txt/msg01442.txt.bz2 Content-length: 578 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88425 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #2 from Jakub Jelinek --- Created attachment 45197 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45197&action=3Dedit gcc9-pr88425.patch Untested fix. >>From gcc-bugs-return-625327-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 10:35:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107788 invoked by alias); 10 Dec 2018 10:35: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 107721 invoked by uid 48); 10 Dec 2018 10:35:37 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88416] [8/9 Regression] ICE in in df_uses_record, at df-scan.c:3013 Date: Mon, 10 Dec 2018 10:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to 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: 2018-12/txt/msg01443.txt.bz2 Content-length: 585 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88416 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-12-10 Assignee|unassigned at gcc dot gnu.org |segher at gcc dot g= nu.org Ever confirmed|0 |1 --- Comment #1 from Segher Boessenkool --- Confirmed; mine. >>From gcc-bugs-return-625328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 10:41:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20719 invoked by alias); 10 Dec 2018 10:41:50 -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 15089 invoked by uid 48); 10 Dec 2018 10:41:46 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88413] g++ mangles names involving unresolved names in function argument template parameters differently from the ABI standard. Date: Mon, 10 Dec 2018 10:41: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: 8.2.0 X-Bugzilla-Keywords: ABI, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01444.txt.bz2 Content-length: 859 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88413 --- Comment #7 from Jakub Jelinek --- The only case I see with "sr" in mangle.c is: else { write_string ("sr"); write_type (scope); write_member_name (member); } but the grammar has: ::=3D sr # T::x / decltype(p):= :x ::=3D srN + E # T::N::x /decltype(p)::N::x ::=3D [gs] sr + E =20=20 # A::x, N::y, A::z; = "gs" means leading "::" so it doesn't have E for some cases and has them for others. I wonder about that srN, is that really literal srN string? >>From gcc-bugs-return-625330-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 10:46:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60967 invoked by alias); 10 Dec 2018 10:46: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60912 invoked by uid 48); 10 Dec 2018 10:46:54 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88416] [8/9 Regression] ICE in in df_uses_record, at df-scan.c:3013 Date: Mon, 10 Dec 2018 10:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01446.txt.bz2 Content-length: 1579 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88416 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW --- Comment #2 from Segher Boessenkool --- We started with (insn 11 10 29 2 (set (reg:DI 85) (mem:DI (post_inc:DI (reg/f:DI 7 sp)) [0 S8 A8])) "/home/segher/tot/lib/gcc/x86_64-pc-linux-gnu/9.0.0/include/ia32intrin.h":2= 62:10 52 {*popdi1} (nil)) (debug_insn 29 11 12 2 (var_location:DI D#1 (reg:DI 85)) -1 (nil)) (insn 12 29 13 2 (set (reg:DI 83 [ _4 ]) (reg:DI 85)) "/home/segher/tot/lib/gcc/x86_64-pc-linux-gnu/9.0.0/include/ia32intrin.h":2= 62:10 66 {*movdi_internal} (expr_list:REG_DEAD (reg:DI 85) (nil))) and then we combined 11 into 12: Trying 11 -> 12: 11: r85:DI=3D[sp:DI++] 12: r83:DI=3Dr85:DI REG_DEAD r85:DI Successfully matched this instruction: (set (reg:DI 83 [ _4 ]) (mem:DI (post_inc:DI (reg/f:DI 7 sp)) [0 S8 A8])) allowing combination of insns 11 and 12 original costs 8 + 4 =3D 12 replacement cost 8 deferring rescan insn with uid =3D 29. deferring deletion of insn with uid =3D 11. modifying insn i3 12: r83:DI=3D[sp:DI++] deferring rescan insn with uid =3D 12. writing 29 as (debug_insn 29 11 12 2 (var_location:DI D#1 (mem:DI (post_inc:DI (reg/f:DI 7 sp) ) [0 S8 A8])) -1 (nil)) and df_insn_refs_verify chokes on that for some reason. I dunno. Unassigning. >>From gcc-bugs-return-625329-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 10:46:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58774 invoked by alias); 10 Dec 2018 10:46:05 -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 58608 invoked by uid 48); 10 Dec 2018 10:45:52 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88419] [7/8/9 Regression] [ICE] "Same canonical type node for different types" for CTAD in noexcept Date: Mon, 10 Dec 2018 10:46: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc target_milestone short_desc 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: 2018-12/txt/msg01445.txt.bz2 Content-length: 874 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88419 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org Target Milestone|9.0 |7.5 Summary|[9 Regression] [ICE] "Same |[7/8/9 Regression] [ICE] |canonical type node for |"Same canonical type node |different types" for CTAD |for different types" for |in noexcept |CTAD in noexcept --- Comment #5 from Jakub Jelinek --- If we've rejected it before and then started to ICE on it, it is a regressi= on, we should either keep rejecting it (if invalid) or accept it without ICE. >>From gcc-bugs-return-625331-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 10:57:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89125 invoked by alias); 10 Dec 2018 10:57:08 -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 88733 invoked by uid 48); 10 Dec 2018 10:57:04 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88421] compat C headers break building GCC with GCC Date: Mon, 10 Dec 2018 10:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 2018-12/txt/msg01447.txt.bz2 Content-length: 580 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88421 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- What two fenv.h libstdc++ headers you mean (in what paths they are)? While there is include/tr1/fenv.h include/c_compatibility/fenv.h the former should be included only with , not . >>From gcc-bugs-return-625332-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 11:03:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106238 invoked by alias); 10 Dec 2018 11:03:15 -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 106191 invoked by uid 48); 10 Dec 2018 11:03:11 -0000 From: "coypu at sdf dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88421] compat C headers break building GCC with GCC Date: Mon, 10 Dec 2018 11:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: coypu at sdf dot 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: 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: 2018-12/txt/msg01448.txt.bz2 Content-length: 138 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88421 --- Comment #3 from coypu --- include/c_compatibility/fenv.h >>From gcc-bugs-return-625333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 11:05:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62901 invoked by alias); 10 Dec 2018 11:05: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57864 invoked by uid 48); 10 Dec 2018 11:05:24 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88421] compat C headers break building GCC with GCC Date: Mon, 10 Dec 2018 11:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01449.txt.bz2 Content-length: 266 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88421 --- Comment #4 from Jakub Jelinek --- That is one header, not two, so why should that fenv.h's #include_next incl= ude that same header or some copy of that header in a different path? >>From gcc-bugs-return-625334-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 11:35:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127780 invoked by alias); 10 Dec 2018 11:35:11 -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 127702 invoked by uid 48); 10 Dec 2018 11:35:06 -0000 From: "coypu at sdf dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88421] compat C headers break building GCC with GCC Date: Mon, 10 Dec 2018 11:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: coypu at sdf dot 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: 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: 2018-12/txt/msg01450.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88421 --- Comment #5 from coypu --- (In reply to Jakub Jelinek from comment #4) > That is one header, not two, so why should that fenv.h's #include_next > include that same header or some copy of that header in a different path? I am in the process of building libstdc++. -I/tmp/build/shle--netbsdelf/libstdc++-v3/include there's a libstdc++ fenv.h there >>From gcc-bugs-return-625335-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 11:49:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31177 invoked by alias); 10 Dec 2018 11:49:02 -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 29149 invoked by uid 48); 10 Dec 2018 11:48:38 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88414] [9 Regression] ICE in lra_assign, at lra-assigns.c:1624 Date: Mon, 10 Dec 2018 11:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 9.0 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: 2018-12/txt/msg01451.txt.bz2 Content-length: 713 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88414 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |vmakarov at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- Started with r257077. In any case, it seems to be a LRA error-recovery bug= .=20 We first properly diagnose that the inline asm has constraints that are impossible to resolve ("=3Dd" on two different variables). Vlad, do you th= ink you could have a look? >>From gcc-bugs-return-625336-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 11:50:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60198 invoked by alias); 10 Dec 2018 11:50:47 -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 59487 invoked by uid 48); 10 Dec 2018 11:50:41 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88421] compat C headers break building GCC with GCC Date: Mon, 10 Dec 2018 11:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: 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: 2018-12/txt/msg01452.txt.bz2 Content-length: 260 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88421 --- Comment #6 from Jonathan Wakely --- (In reply to coypu from comment #1) > suggested change: put #include_next outside of include guards? We did something similar for PR 69581 >>From gcc-bugs-return-625337-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 12:09:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25326 invoked by alias); 10 Dec 2018 12:09: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 20691 invoked by uid 48); 10 Dec 2018 12:09:36 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88428] New: Fails to consider lea -1(%rax), %rax compared to sub 1, %rax failing to CSE test Date: Mon, 10 Dec 2018 12:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01453.txt.bz2 Content-length: 1547 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88428 Bug ID: 88428 Summary: Fails to consider lea -1(%rax), %rax compared to sub 1, %rax failing to CSE test Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- The following GIMPLE test shows non-optimal assembly long mask; void bar (); __GIMPLE () void foo (int a, int b) { long _3; _3 =3D a_1(D) < b_2(D) ? _Literal (long) -1l : 0l; mask =3D _3; if (a_1(D) < b_2(D)) goto bb1; else goto bb2; bb1: bar (); bb2: return; } foo: .LFB0: .cfi_startproc xorl %eax, %eax cmpl %esi, %edi setge %al subq $1, %rax movq %rax, mask(%rip) cmpl %esi, %edi jl .L5 ... here subq clobbers flags and thus the cmpl has to be repeated. I believe we could use lea which also has the same size leaq -0x1(%rax), %rax here instead and elide the redundant cmpl. For my purpose the store to mask is unnecessary, it was placed to simplify the testcase. A GIMPLE testcase was necessary to get the COND_EXPR and non-jumpy code through optimization. I'm not sure at which point during RTL we commit to using a CC clobbering sub vs. a non-CC clobbering lea, but maybe cmpelim could replace one with the other here? >>From gcc-bugs-return-625338-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 12:39:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107389 invoked by alias); 10 Dec 2018 12:39:44 -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 107354 invoked by uid 55); 10 Dec 2018 12:39:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88415] [7/8/9 Regression] ICE: verify_gimple failed (error: dead STMT in EH table) Date: Mon, 10 Dec 2018 12:39: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: ice-on-valid-code, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01454.txt.bz2 Content-length: 639 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88415 --- Comment #2 from Richard Biener --- Author: rguenth Date: Mon Dec 10 12:39:07 2018 New Revision: 266951 URL: https://gcc.gnu.org/viewcvs?rev=3D266951&root=3Dgcc&view=3Drev Log: 2018-12-10 Richard Biener PR middle-end/88415 * gimple.c (gimple_assign_set_rhs_with_ops): Transfer EH info to a newly allocated stmt. * gcc.dg/gomp/pr88415.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/gomp/pr88415.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimple.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625339-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 12:41:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108907 invoked by alias); 10 Dec 2018 12:41:13 -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 108746 invoked by uid 48); 10 Dec 2018 12:40:58 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88415] [7/8 Regression] ICE: verify_gimple failed (error: dead STMT in EH table) Date: Mon, 10 Dec 2018 12:41: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: ice-on-valid-code, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work short_desc 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: 2018-12/txt/msg01455.txt.bz2 Content-length: 654 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88415 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |9.0 Summary|[7/8/9 Regression] ICE: |[7/8 Regression] ICE: |verify_gimple failed |verify_gimple failed |(error: dead STMT in EH |(error: dead STMT in EH |table) |table) --- Comment #3 from Richard Biener --- Fixed on trunk sofar. >>From gcc-bugs-return-625341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 12:42:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119747 invoked by alias); 10 Dec 2018 12:42: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 119658 invoked by uid 55); 10 Dec 2018 12:42:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88369] [9 regression] g++.dg/vect/pr33426-ivdep.cc etc. FAIL Date: Mon, 10 Dec 2018 12:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 9.0 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: 2018-12/txt/msg01457.txt.bz2 Content-length: 1108 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88369 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Dec 10 12:42:05 2018 New Revision: 266952 URL: https://gcc.gnu.org/viewcvs?rev=3D266952&root=3Dgcc&view=3Drev Log: PR testsuite/88369 * gcc.dg/vect/vect-ivdep-1.c: Prune versioning for alignment messag= es. * gcc.dg/vect/vect-ivdep-2.c: Likewise. * gcc.dg/vect/nodump-vect-opt-info-1.c: Likewise. * g++.dg/vect/pr33426-ivdep.cc: Likewise. * g++.dg/vect/pr33426-ivdep-2.cc: Likewise.=20 * g++.dg/vect/pr33426-ivdep-3.cc: Likewise. * g++.dg/vect/pr33426-ivdep-4.cc: Likewise. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/vect/pr33426-ivdep-2.cc trunk/gcc/testsuite/g++.dg/vect/pr33426-ivdep-3.cc trunk/gcc/testsuite/g++.dg/vect/pr33426-ivdep-4.cc trunk/gcc/testsuite/g++.dg/vect/pr33426-ivdep.cc trunk/gcc/testsuite/gcc.dg/vect/nodump-vect-opt-info-1.c trunk/gcc/testsuite/gcc.dg/vect/vect-ivdep-1.c trunk/gcc/testsuite/gcc.dg/vect/vect-ivdep-2.c >>From gcc-bugs-return-625340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 12:42:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118971 invoked by alias); 10 Dec 2018 12:42:27 -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 111703 invoked by uid 48); 10 Dec 2018 12:42:13 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/88429] New: Ada bootstrap fails with --disable-shared Date: Mon, 10 Dec 2018 12:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: 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: 2018-12/txt/msg01456.txt.bz2 Content-length: 2426 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88429 Bug ID: 88429 Summary: Ada bootstrap fails with --disable-shared Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Target Milestone: --- Target: amd64-pc-solaris2.11, x86_64-pc-linux-gnu Prompted by PR bootstrap/65725 (a Solaris bootstrap failure with --disable-shared), I tried both Solaris/amd64 and Linux/x86_64 bootstraps with --disable-share= d: both fail in the same way: cp -p /vol/gcc/src/hg/trunk/local/gcc/tsystem.h rts_32 rm -f ../stamp-gnatlib-rts_32 touch ../stamp-gnatlib1-rts_32 rm -f rts_32/s-oscons-tmplt.i rts_32/s-oscons-tmplt.s (cd rts_32 ; \ /var/gcc/regression/trunk/4.17.3-gcc-gas-gld/build/./gcc/xgcc -B/var/gcc/regression/trunk/4.17.3-gcc-gas-gld/build/./gcc/ -B/vol/gcc/x86_64-pc-linux-gnu/bin/ -B/vol/gcc/x86_64-pc-linux-gnu/lib/ -isystem /vol/gcc/x86_64-pc-linux-gnu/include -isystem /vol/gcc/x86_64-pc-linux-gnu/sys-include -fchecking=3D1 -W -Wall -g -O2 -= g -O2 -fexceptions -DIN_RTS -DHAVE_GETIPINFO -m32 -E -C -DTARGET=3D\"x86_64-pc-linux-gnu\" -iquote /vol/gcc/src/hg/trunk/local/gcc/= ada /vol/gcc/src/hg/trunk/local/gcc/ada/s-oscons-tmplt.c > s-oscons-tmplt.i ; \ /var/gcc/regression/trunk/4.17.3-gcc-gas-gld/build/./gcc/xgcc -B/var/gcc/regression/trunk/4.17.3-gcc-gas-gld/build/./gcc/ -B/vol/gcc/x86_64-pc-linux-gnu/bin/ -B/vol/gcc/x86_64-pc-linux-gnu/lib/ -isystem /vol/gcc/x86_64-pc-linux-gnu/include -isystem /vol/gcc/x86_64-pc-linux-gnu/sys-include -fchecking=3D1 -W -Wall -g -O2 -= g -O2 -fexceptions -DIN_RTS -DHAVE_GETIPINFO -m32 -S s-oscons-tmplt.i ; \ ../bldtools/oscons/xoscons s-oscons) /bin/bash: line 0: cd: rts_32: Not a directory Unlike the default (--enable-shared) case, it seems that the rts directory = for the non-default multilib is created incorrectly: with --enable-shared, I see make THREAD_KIND=3Dnative setup-rts make[9]: Entering directory '/var/scratch/gcc/regression/trunk/4.17.3-gcc-gas-gld/build/gcc/ada' rm -rf rts_32 mkdir -p rts_32 chmod u+w rts_32 while with --disable-shared, I get the creation of rts twice. This may be related to libada/configure.ac referencing a gnatlib-plain target for --disable-shared, which I couldn't find elsewhere. >>From gcc-bugs-return-625342-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 12:45:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123304 invoked by alias); 10 Dec 2018 12:45: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 122972 invoked by uid 48); 10 Dec 2018 12:45:43 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88369] [9 regression] g++.dg/vect/pr33426-ivdep.cc etc. FAIL Date: Mon, 10 Dec 2018 12:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc 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: 2018-12/txt/msg01458.txt.bz2 Content-length: 507 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88369 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |jakub at gcc dot gnu.org Resolution|--- |FIXED --- Comment #4 from Jakub Jelinek --- Hopefully fixed. >>From gcc-bugs-return-625343-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 12:46:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126570 invoked by alias); 10 Dec 2018 12:46: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 125842 invoked by uid 55); 10 Dec 2018 12:46:29 -0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/88214] ICE in bitmap_intersect_p() on 32-bit BE platforms Date: Mon, 10 Dec 2018 12:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jamborm 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: 2018-12/txt/msg01459.txt.bz2 Content-length: 705 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88214 --- Comment #8 from Martin Jambor --- Author: jamborm Date: Mon Dec 10 12:45:47 2018 New Revision: 266953 URL: https://gcc.gnu.org/viewcvs?rev=3D266953&root=3Dgcc&view=3Drev Log: [PR 88214] Check that an argument is a pointer 2018-12-10 Martin Jambor PR ipa/88214 * ipa-prop.c (determine_locally_known_aggregate_parts): Make sure we check pointers against pointers. testsuite/ * gcc.dg/ipa/pr88214.c: New test. Added: trunk/gcc/testsuite/gcc.dg/ipa/pr88214.c Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-prop.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625344-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 12:46:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127834 invoked by alias); 10 Dec 2018 12:46:45 -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 126472 invoked by uid 48); 10 Dec 2018 12:46:34 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/66955] Bootstrap error: libcc1 compiled as shared library despite --disable-shared Date: Mon, 10 Dec 2018 12:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: ro 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: cf_gcctarget bug_status cf_reconfirmed_on component cc cf_gcchost everconfirmed cf_gccbuild 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: 2018-12/txt/msg01460.txt.bz2 Content-length: 1148 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66955 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Target|x86_64-unknown-linux-gnu |x86_64-unknown-linux-gnu, | |i?86-pc-solaris2.11, | |amd64-pc-solaris2.11 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-10 Component|libgcc |other CC| |aoliva at gcc dot gnu.org, | |ro at gcc dot gnu.org Host|x86_64-unknown-linux-gnu | Ever confirmed|0 |1 Build|x86_64-unknown-linux-gnu | --- Comment #4 from Rainer Orth --- Confirmed on all of Linux/x86_64 and Solaris/x86. Recategorizing: libcc1 h= as nothing to do with libgcc. There's no category for it and the MAINTAINERS = file lists none. >>From gcc-bugs-return-625345-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 12:49:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28230 invoked by alias); 10 Dec 2018 12:49: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 28008 invoked by uid 48); 10 Dec 2018 12:49:15 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/56431] -lpthread should be added to -lgo Date: Mon, 10 Dec 2018 12:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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: 2018-12/txt/msg01461.txt.bz2 Content-length: 747 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56431 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ro at gcc dot gnu.org --- Comment #7 from Rainer Orth --- I'm seeing the same link error on Linux/x86_64 on mainline when configured = with --disable-shared: /vol/gcc/bin/gld-2.31: /var/gcc/regression/trunk/4.17.3-gcc-gas-gld/build/./gcc/libgcc.a(generic-m= orestack.o): in function `__morestack_block_signals': /vol/gcc/src/hg/trunk/local/libgcc/generic-morestack.c:661: undefined refer= ence to `pthread_sigmask' linking e.g. test2json. >>From gcc-bugs-return-625346-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 12:53:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45951 invoked by alias); 10 Dec 2018 12:53:31 -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 45879 invoked by uid 48); 10 Dec 2018 12:53:24 -0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/88214] ICE in bitmap_intersect_p() on 32-bit BE platforms Date: Mon, 10 Dec 2018 12:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01462.txt.bz2 Content-length: 427 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88214 Martin Jambor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #9 from Martin Jambor --- Fixed. >>From gcc-bugs-return-625347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 13:03:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89350 invoked by alias); 10 Dec 2018 13:03: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 89278 invoked by uid 55); 10 Dec 2018 13:03:21 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/65725] Bootstrap errors on Solaris 10 x86-64, including object diffs Date: Mon, 10 Dec 2018 13:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro 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: 2018-12/txt/msg01463.txt.bz2 Content-length: 1103 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65725 --- Comment #7 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #6 from Rainer Orth --- [...] >> > 2. stage2 vs. stage3 diffs [...] > When trying a mainline bootstrap, I've run into quite a number of issues > (libcc1 and ada not building), but once I've worked around those, I could > bootstrap on amd64-pc-solaris2.11 (admittedly) with as/ld without compari= son > failures. This was without --with-pic, which I'll try next. That bootstrap (amd64-pc-solaris2.10 with as/ld, --disable-shared --with-pic) has now completed as well: in addition to libcc1 (PR other/66955) and ada (cf. PR ada/88429), I also had to disable go because it uses sendfile without explicitly linking with -lsendfile (in the shared case, this works because libgo is linked with libsendfile). Anyway, the bootstrap has now finished successfully and make check is running: no comparison failures at all. So unless there's additional information how to reproduce this, I'll close the PR as WORKSFORME. >>From gcc-bugs-return-625348-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 13:11:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111996 invoked by alias); 10 Dec 2018 13:11:17 -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 111838 invoked by uid 48); 10 Dec 2018 13:11:12 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88290] [9 regression] 23_containers/deque/erasure.cc fails after r266672 Date: Mon, 10 Dec 2018 13:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 9.0 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: 2018-12/txt/msg01464.txt.bz2 Content-length: 416 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88290 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- Wasn't this already fixed in r266673 ? >>From gcc-bugs-return-625349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 13:19:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4865 invoked by alias); 10 Dec 2018 13:19:14 -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 4802 invoked by uid 48); 10 Dec 2018 13:19:09 -0000 From: "jb at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88430] New: -Wmissing-attributes warnings when including libquadmath headers Date: Mon, 10 Dec 2018 13:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jb 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01465.txt.bz2 Content-length: 1937 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88430 Bug ID: 88430 Summary: -Wmissing-attributes warnings when including libquadmath headers Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jb at gcc dot gnu.org Target Milestone: --- When building libgfortran trunk one nowadays (within the past month or two, maybe?) gets lots of warnings like below: In file included from ../../../../trunk/libgfortran/libgfortran.h:61, from ../../../../trunk/libgfortran/ieee/ieee_helper.c:26: ../../../../trunk/libgfortran/../libquadmath/quadmath_weak.h:36:33: warning: =E2=80=98__qmath_crealq=E2=80=99 specifies less restrictive attribute than = its target =E2=80=98crealq=E2=80=99: =E2=80=98nothrow=E2=80=99 [-Wmissing-attributes] 36 | #define __qmath3(name) __qmath2(__qmath_ ## name,name,name) | ^~~~~~~~ ../../../../trunk/libgfortran/../libquadmath/quadmath_weak.h:28:25: note: in definition of macro =E2=80=98__qmath2=E2=80=99 28 | static __typeof(type) name __attribute__ ((__weakref__(#name2))); | ^~~~ ../../../../trunk/libgfortran/../libquadmath/quadmath_weak.h:113:1: note: in expansion of macro =E2=80=98__qmath3=E2=80=99 113 | __qmath3 (crealq) | ^~~~~~~~ According to 'git blame', there has been no recent changes to the quadmath header files recently, thus I suspect the implementation of -Wmissing-attributes is to blame. Though since libquadmath lives in-tree, a feasible solution would be to fix= the quadmath headers, if the missing attribute warning otherwise works as inten= ded? Please reassign to libquadmath if so. See thread starting at https://gcc.gnu.org/ml/fortran/2018-12/msg00055.html >>From gcc-bugs-return-625350-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 13:21:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11125 invoked by alias); 10 Dec 2018 13:21:11 -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 11054 invoked by uid 48); 10 Dec 2018 13:21:07 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBpcGEvODc5NTddIFs5IFJlZ3Jlc3Npb25dIElDRSB0cmVlIGNoZWNr?= =?UTF-8?B?OiBleHBlY3RlZCB0cmVlIHRoYXQgY29udGFpbnMg4oCYZGVjbCBtaW5pbWFs?= =?UTF-8?B?4oCZIHN0cnVjdHVyZSwgaGF2ZSDigJhpZGVudGlmaWVyX25vZGXigJkgaW4g?= =?UTF-8?B?d2Fybl9vZHIsIGF0IGlwYS1kZXZpcnQuYzoxMDUxIHNpbmNlIHIyNjU1MTk=?= Date: Mon, 10 Dec 2018 13:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01466.txt.bz2 Content-length: 534 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87957 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #14 from Jakub Jelinek --- That would be the gcc_checking_assert (TREE_TYPE (name) =3D=3D t); assert then. So, what is TREE_TYPE (name) and what is t when this happens? >>From gcc-bugs-return-625351-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 13:31:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57233 invoked by alias); 10 Dec 2018 13:31:48 -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 56868 invoked by uid 55); 10 Dec 2018 13:31:26 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/87955] [9 Regression] ICE in cl_target_option_print_diff at gcc/options-save.c:3803 since r265920 Date: Mon, 10 Dec 2018 13:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01467.txt.bz2 Content-length: 455 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87955 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Mon Dec 10 13:30:49 2018 New Revision: 266954 URL: https://gcc.gnu.org/viewcvs?rev=3D266954&root=3Dgcc&view=3Drev Log: PR ipa/87955 * gcc.target/i386/pr87955.c: Add -msse2 -mfpmath=3Dsse to dg-option= s. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/i386/pr87955.c >>From gcc-bugs-return-625352-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 13:33:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60381 invoked by alias); 10 Dec 2018 13:33: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 60267 invoked by uid 48); 10 Dec 2018 13:33:28 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/87955] [9 Regression] ICE in cl_target_option_print_diff at gcc/options-save.c:3803 since r265920 Date: Mon, 10 Dec 2018 13:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc 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: 2018-12/txt/msg01468.txt.bz2 Content-length: 511 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87955 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |jakub at gcc dot gnu.org Resolution|--- |FIXED --- Comment #7 from Jakub Jelinek --- Should be fixed now. >>From gcc-bugs-return-625353-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 13:41:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77071 invoked by alias); 10 Dec 2018 13:41:30 -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 76959 invoked by uid 48); 10 Dec 2018 13:41:25 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/80726] [7/8/9 Regression] Destructor not inlined anymore (regression) Date: Mon, 10 Dec 2018 13:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 7.1.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01469.txt.bz2 Content-length: 160 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80726 --- Comment #6 from Jakub Jelinek --- Honza, have you managed to look at this? >>From gcc-bugs-return-625354-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 13:49:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93031 invoked by alias); 10 Dec 2018 13:49: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 92830 invoked by uid 48); 10 Dec 2018 13:48:59 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/85777] [7/8/9 Regression] -fsanitize=undefined makes a -Wmaybe-uninitialized warning disappear Date: Mon, 10 Dec 2018 13:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01470.txt.bz2 Content-length: 490 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85777 --- Comment #3 from Jakub Jelinek --- The expectations that sanitization doesn't change generated warnings is a w= rong one, the runtime instrumentation affects the code generation so much that necessarily some further warnings will be emitted and others omitted. If you care about warnings as well as sanitization, I'd suggest separate bu= ilds for warnings and for sanitization, the latter perhaps with -w. >>From gcc-bugs-return-625355-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 13:52:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101500 invoked by alias); 10 Dec 2018 13:52:10 -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 100342 invoked by uid 48); 10 Dec 2018 13:52:04 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85762] [8/9 Regression] range-v3 abstraction overhead not optimized away Date: Mon, 10 Dec 2018 13:52: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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 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: 2018-12/txt/msg01471.txt.bz2 Content-length: 415 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85762 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- Martin, could you please have a look? >>From gcc-bugs-return-625356-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 13:57:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9758 invoked by alias); 10 Dec 2018 13:57:20 -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 9700 invoked by uid 48); 10 Dec 2018 13:57:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88427] [9 Regression] ICE: tree check: expected integer_cst, have plus_expr in get_len, at tree.h:5617 Date: Mon, 10 Dec 2018 13:57: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01472.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88427 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Richard Biener --- Fixed. >>From gcc-bugs-return-625357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 13:57:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10523 invoked by alias); 10 Dec 2018 13:57:32 -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 10438 invoked by uid 55); 10 Dec 2018 13:57:26 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88427] [9 Regression] ICE: tree check: expected integer_cst, have plus_expr in get_len, at tree.h:5617 Date: Mon, 10 Dec 2018 13:57: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code 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: 9.0 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: 2018-12/txt/msg01473.txt.bz2 Content-length: 685 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88427 --- Comment #5 from Richard Biener --- Author: rguenth Date: Mon Dec 10 13:56:51 2018 New Revision: 266955 URL: https://gcc.gnu.org/viewcvs?rev=3D266955&root=3Dgcc&view=3Drev Log: 2018-12-10 Richard Biener PR tree-optimization/88427 * vr-values.c (vr_values::extract_range_from_phi_node): Handle symbolic ranges conservatively when trying to drop to Inf +- 1. * gcc.dg/pr88427.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/pr88427.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/vr-values.c >>From gcc-bugs-return-625358-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 14:02:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29216 invoked by alias); 10 Dec 2018 14:02:17 -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 23003 invoked by uid 55); 10 Dec 2018 14:02:08 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBpcGEvODc5NTddIFs5IFJlZ3Jlc3Npb25dIElDRSB0cmVlIGNoZWNr?= =?UTF-8?B?OiBleHBlY3RlZCB0cmVlIHRoYXQgY29udGFpbnMg4oCYZGVjbCBtaW5pbWFs?= =?UTF-8?B?4oCZIHN0cnVjdHVyZSwgaGF2ZSDigJhpZGVudGlmaWVyX25vZGXigJkgaW4g?= =?UTF-8?B?d2Fybl9vZHIsIGF0IGlwYS1kZXZpcnQuYzoxMDUxIHNpbmNlIHIyNjU1MTk=?= Date: Mon, 10 Dec 2018 14:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01474.txt.bz2 Content-length: 5336 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87957 --- Comment #15 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #14 from Jakub Jelinek --- > That would be the > gcc_checking_assert (TREE_TYPE (name) =3D=3D t); > assert then. So, what is TREE_TYPE (name) and what is t when this happen= s? Here's what I find (after recompiling tree.c with -g3 -O0): (gdb) up #1 0x09777f85 in fld_incomplete_type_of (t=3D0xfa58cc60, fld=3D0xfeffd6a8) at /vol/gcc/src/hg/trunk/local/gcc/tree.c:5312 5312 gcc_checking_assert (TREE_TYPE (name) =3D=3D t); (gdb) p name $1 =3D (tree) 0xfa593000 (gdb) call TREE_TYPE (name) $2 =3D (tree) 0xfa58ccc0 (gdb) pt warning: Expression is not an assignment (and might have no effect) constant 64> unit-size constant 8> align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type fa58c= cc0 fields static unsigned SI size unit-size align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-ty= pe fa542900> side-effects volatile unsigned nonaddressable SI /var/gcc/regression/trunk/11-gcc/build/i386-pc-solaris2.11/libada/adainclud= e/s-tpobop.ads:193:7 size unit-size align:32 warn_if_not_align:0 offset_align 128 offset bit-offset context chain side-effects volatile unsigned nonaddressable QI /var/gcc/regression/trunk/11-gcc/build/i386-pc-solaris2.11/libada/adainclud= e/s-tpobop.ads:194:7 size unit-size align:8 warn_if_not_align:0 offset_align 128 offset bit-offset context chain >> context Ada size constant visited 48> pointer_to_this reference_to_this chain > (gdb) p t $3 =3D (tree) 0xfa58cc60 (gdb) pt warning: Expression is not an assignment (and might have no effect) constant 64> unit-size constant 8> align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type fa58c= c60 fields static unsigned SI size unit-size align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-ty= pe fa542900> side-effects volatile unsigned nonaddressable SI /var/gcc/regression/trunk/11-gcc/build/i386-pc-solaris2.11/libada/adainclud= e/s-tpobop.ads:193:7 size unit-size align:32 warn_if_not_align:0 offset_align 128 offset bit-offset context chain side-effects volatile unsigned nonaddressable QI /var/gcc/regression/trunk/11-gcc/build/i386-pc-solaris2.11/libada/adainclud= e/s-tpobop.ads:194:7 size unit-size align:8 warn_if_not_align:0 offset_align 128 offset bit-offset context chain >> context Ada size constant visited 48> chain > >>From gcc-bugs-return-625360-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 14:17:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109588 invoked by alias); 10 Dec 2018 14:17:27 -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 109538 invoked by uid 48); 10 Dec 2018 14:17:23 -0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85762] [8/9 Regression] range-v3 abstraction overhead not optimized away Date: Mon, 10 Dec 2018 14: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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to 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: 2018-12/txt/msg01476.txt.bz2 Content-length: 643 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85762 Martin Jambor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-12-10 CC| |jamborm at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #3 from Martin Jambor --- Sure. >>From gcc-bugs-return-625359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 14:17:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108890 invoked by alias); 10 Dec 2018 14:17:18 -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 108847 invoked by uid 48); 10 Dec 2018 14:17:13 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88431] New: link errors on build Date: Mon, 10 Dec 2018 14:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot 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 Message-ID: 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: 2018-12/txt/msg01475.txt.bz2 Content-length: 2488 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88431 Bug ID: 88431 Summary: link errors on build Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: dcb314 at hotmail dot com Target Milestone: --- For this configure line: ../trunk/configure --prefix=3D/home/dcb/gcc/results.266950 \ --disable-multilib \ --disable-werror \ --enable-checking=3Ddf,extra,fold,rtl,yes \ --enable-languages=3Dc,c++,d,fortran sed 's/-O2/-O3 -march=3Dnative -Wlogical-op/' < Makefile > Makefile.tmp mv Makefile.tmp Makefile I got: /home/dcb/gcc/working/./gcc/xgcc -shared-libgcc -B/home/dcb/gcc/working/./g= cc -nostdinc++ -L/home/dcb/gcc/working/x86_64-pc-linux-gnu/libstdc++-v3/src -L/home/dcb/gcc/working/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/home/dcb/gcc/working/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -B/home/dcb/gcc/results.266950/x86_64-pc-linux-gnu/bin/ -B/home/dcb/gcc/results.266950/x86_64-pc-linux-gnu/lib/ -isystem /home/dcb/gcc/results.266950/x86_64-pc-linux-gnu/include -isystem /home/dcb/gcc/results.266950/x86_64-pc-linux-gnu/sys-include -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MAC= ROS -I. -I../../../../trunk/libsanitizer/lsan -I.. -I ../../../../trunk/libsanitizer/include -I ../../../../trunk/libsanitizer -W= all -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fPIC -fno-builtin -fno-exceptions -fno-rtti -fomit-frame-pointer -funwind-tables -fvisibility=3Dhidden -Wno-variadic-macros -I../../libstdc++-v3/include -I../../libstdc++-v3/include/x86_64-pc-linux-gnu -I../../../../trunk/libsanitizer/../libstdc++-v3/libsupc++ -std=3Dgnu++11 -= g -O3 -march=3Dnative -Wlogical-op -D_GNU_SOURCE -MT lsan_allocator.lo -MD -MP -MF .deps/lsan_allocator.Tpo -c ../../../../trunk/libsanitizer/lsan/lsan_allocator.cc -fPIC -DPIC -o .libs/lsan_allocator.o /usr/bin/ld: core/.libs/atomic.o: relocation R_X86_64_32S against hidden sy= mbol `gdc.dso_slot' can not be used when making a shared object /usr/bin/ld: core/.libs/attribute.o: relocation R_X86_64_32S against hidden symbol `gdc.dso_slot' can not be used when making a shared object /usr/bin/ld: core/.libs/bitop.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC >>From gcc-bugs-return-625361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 15:07:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59159 invoked by alias); 10 Dec 2018 15:07:23 -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 59100 invoked by uid 48); 10 Dec 2018 15:07:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88430] -Wmissing-attributes warnings when including libquadmath headers Date: Mon, 10 Dec 2018 15:07: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: 9.0 X-Bugzilla-Keywords: diagnostic 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 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: 2018-12/txt/msg01477.txt.bz2 Content-length: 619 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88430 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-10 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. >>From gcc-bugs-return-625362-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 15:13:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118639 invoked by alias); 10 Dec 2018 15:13:38 -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 114165 invoked by uid 48); 10 Dec 2018 15:13:32 -0000 From: "alahay01 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/88432] New: Dwarf line numbering inadequate when using -fstack-protector-strong Date: Mon, 10 Dec 2018 15:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alahay01 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: 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: 2018-12/txt/msg01478.txt.bz2 Content-length: 4878 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88432 Bug ID: 88432 Summary: Dwarf line numbering inadequate when using -fstack-protector-strong Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: alahay01 at gcc dot gnu.org Target Milestone: --- Created attachment 45198 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45198&action=3Dedit Example breaking program Using -fstack-protector-strong will cause GDB to break on the wrong line wh= en placing a breakpoint on a function. [ Note that the GCC provided with Ubuntu will default to -fstack-protector-strong, causing all function breakpoints to break on the wrong line. This breaks roughly 50 GDB tests when run on x86 and AArch64 Ub= untu ] The issue in GDB =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Consider the following program: 47: int main () 48: { 49: char arg2 =3D 2; 50: signed char arg3 =3D 3; (full program attached. Ignore everything in it except for main. Testcase t= aken from the GDB testsuite.) When compiled with -fstack-protector-strong, then running it in GDB, =E2=80=9Cbreakpoint main=E2=80=9D will stop at line 48, the "{". This is wr= ong, it should instead stop on line 49 =E2=80=93 the first line of the function body. GDB figures this out by looking at the dwarf line numbers. It finds the ent= ry for the start of the function (from other dwarf entries), and assumes that = it the entry for the function prologue. It then jumps forward one entry. With stack proctector turned off we get the following. Note that the dwarf label for main points at index 2. INDEX LINE ADDRESS 0 45 0x0000000000400680 1 45 0x0000000000400680 2 48 0x0000000000400688 - main: prologue pt1 3 49 0x00000000004006ac - main: first line of function 4 50 0x00000000004006b4 - main: second line of function ...etc With stack protector on (like Ubuntu): INDEX LINE ADDRESS 0 45 0x0000000000400680 1 45 0x0000000000400680 2 48 0x0000000000400688 - main: prologue pt1 3 48 0x0000000000400698 - main: stack protector code 4 49 0x00000000004006ac - main: first line of function 5 50 0x00000000004006b4 - main: second line of function ...etc Ok, we could jump forward two entries. But then breaks with the following (= with either stack protector on or off): 47: int main () 48: { char arg2 =3D 2; 49: signed char arg3 =3D 3; It will result in the same line table, with just two entries at line 48: INDEX LINE ADDRESS 0 45 0x0000000000400680 1 45 0x0000000000400680 2 48 0x0000000000400688 - main: prologue pt1 3 48 0x0000000000400698 - main: stack protector code 4 49 0x00000000004006ac - main: second line of function ...etc There is no way to tell if a repeated line is the first line of code or the stack protector. The underlying issue in GCC =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 See the attached rtl final dump from GCC (note: aarch64 code, but that does= n't matter). With the stack protector on, GCC produces RTL for the stack protector at the beginning of the function, after the prologue. You roughly get: *function prologue rtl *NOTE_INSN_PROLOGUE_END *NOTE_INSN_FUNCTION_BEG *stack guard code (__stack_chk_guard) *rest of the function rtl The stack guard rtl is given the line number of the "{" line. When dumping line locations, notice_source_line() decides which RTL express= ions should cause a dump. It will force a dump of the first expression following the end of the prologue - expecting this to be the first line of the functi= on. This gives us: .LFB1: .loc 1 48 0. =E2=80=93 function prologue. .cfi_startproc sub sp, sp, #176 .cfi_def_cfa_offset 176 stp x29, x30, [sp, 32] .cfi_offset 29, -144 .cfi_offset 30, -136 add x29, sp, 32 .cfi_def_cfa 29, 144 str x19, [sp, 48] .cfi_offset 19, -128 .loc 1 48 0 -- Start of stack guard code adrp x0, __stack_chk_guard add x0, x0, :lo12:__stack_chk_guard ldr x1, [x0] str x1, [x29, 136] mov x1,0 .loc 1 49 0. =E2=80=93 first line of function mov w0, 2 strb w0, [x29, 45] .loc 1 50 0 mov w0, 3 strb w0, [x29, 46] >>From gcc-bugs-return-625364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 15:14:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120857 invoked by alias); 10 Dec 2018 15:14:18 -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 120295 invoked by uid 48); 10 Dec 2018 15:14:13 -0000 From: "alahay01 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/88432] Dwarf line numbering inadequate when using -fstack-protector-strong Date: Mon, 10 Dec 2018 15:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alahay01 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: attachments.created 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: 2018-12/txt/msg01480.txt.bz2 Content-length: 238 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88432 --- Comment #1 from alahay01 at gcc dot gnu.org --- Created attachment 45199 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45199&action=3Dedit rtl final dump for the .cc file >>From gcc-bugs-return-625363-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 15:14:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120298 invoked by alias); 10 Dec 2018 15:14:14 -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 120210 invoked by uid 48); 10 Dec 2018 15:14:08 -0000 From: "nickc at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug demangler/87675] Stack Overflow in function next_is_type_qual() in cp-demangle.c, as demonstrated by "nm -C" Date: Mon, 10 Dec 2018 15:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: demangler X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nickc at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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: 2018-12/txt/msg01479.txt.bz2 Content-length: 222 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87675 --- Comment #8 from Nick Clifton --- (In reply to Tanaya Patil from comment #7) > Should we expect this fix to be in Binutil 2.32? Yes. :-) >>From gcc-bugs-return-625365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 15:15:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122118 invoked by alias); 10 Dec 2018 15:15:03 -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 121871 invoked by uid 48); 10 Dec 2018 15:14:50 -0000 From: "alahay01 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/88432] Dwarf line numbering inadequate when using -fstack-protector-strong Date: Mon, 10 Dec 2018 15:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alahay01 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: attachments.created 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: 2018-12/txt/msg01481.txt.bz2 Content-length: 254 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88432 --- Comment #2 from alahay01 at gcc dot gnu.org --- Created attachment 45200 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45200&action=3Dedit Final assembly dump for the .cc file with dwarf >>From gcc-bugs-return-625366-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 15:17:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128169 invoked by alias); 10 Dec 2018 15:17:02 -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 128109 invoked by uid 48); 10 Dec 2018 15:16:57 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88393] [7/8/9 Regression] [OOP] Segfault with type-bound assignment Date: Mon, 10 Dec 2018 15:17: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: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: janus 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.5 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: 2018-12/txt/msg01482.txt.bz2 Content-length: 2252 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88393 janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vehre at gcc dot gnu.org --- Comment #3 from janus at gcc dot gnu.org --- (In reply to janus from comment #2) > Looking at this range of commits, I suspect that r241885 is the culprit. Using -fdump-tree-original to compare the dumps of versions 6 and 7 shows t= hat the assignment subroutine itself is identical in both, but the dump from v7 contains additional code after the call to 'ass' that is not present in v6. With v6, the call is translated as follows: { struct __class_m_T_t class.7; struct __class_m_T_t class.8; class.7._vptr =3D (struct __vtype_m_T * {ref-all}) &__vtab_m_T; class.7._data =3D &arr[1].c; class.8._vptr =3D (struct __vtype_m_T * {ref-all}) &__vtab_m_T; class.8._data =3D &arr[0].c; ass (&class.7, &class.8); } With v7, it looks much bulkier: { struct __class_m_T_t class.7; struct __class_m_T_t class.8; struct t D.3602; struct __class_m_T_t * D.3603; struct __class_m_T_t D.3604; void * restrict D.3605; class.7._vptr =3D (struct __vtype_m_T * {ref-all}) &__vtab_m_T; class.7._data =3D &arr[1].c; class.8._vptr =3D (struct __vtype_m_T * {ref-all}) &__vtab_m_T; D.3602 =3D arr[0].c; class.8._data =3D &D.3602; D.3603 =3D &class.8; D.3604 =3D *D.3603; ass (&class.7, D.3603); D.3603->_cs_length =3D D.3604._cs_length; if ((void *) D.3604.cs !=3D 0B) { D.3605 =3D (void * restrict) __builtin_malloc (MAX_EXPR <(unsigned = long) D.3603->_cs_length, 1>); D.3603->cs =3D (character(kind=3D1)[1:0] *) D.3605; __builtin_memcpy (D.3603->cs, D.3604.cs, (unsigned long) D.3603->_cs_length); } else { D.3603->cs =3D 0B; } if (D.3603->_data->cs !=3D 0B) { __builtin_free ((void *) D.3603->_data->cs); D.3603->_data->cs =3D 0B; } } Looks like there is some copying and deallocation of the allocatable compon= ents here. Not sure why that would be necessary ...?!? >>From gcc-bugs-return-625367-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 15:21:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14902 invoked by alias); 10 Dec 2018 15:21: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14852 invoked by uid 48); 10 Dec 2018 15:21:23 -0000 From: "alahay01 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/88432] Dwarf line numbering inadequate when using -fstack-protector-strong Date: Mon, 10 Dec 2018 15:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alahay01 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: 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: 2018-12/txt/msg01483.txt.bz2 Content-length: 918 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88432 --- Comment #3 from alahay01 at gcc dot gnu.org --- I considered a number of solutions, but they all had issues: 1) Place the RTL for the stack guard inside the prologue, giving: *function prologue rtl *stack guard code (__stack_chk_guard) *NOTE_INSN_PROLOGUE_END *NOTE_INSN_FUNCTION_BEG *rest of the function rtl Then this would then automatically stop the line number being dumped for the stack guard. The rest of the assembly would be the same. Downside here is that in the future new optimisations could be added that h= ave exactly the same issue. 2) Add line numbers to NOTE_INSN_FUNCTION_BEG and remove line numbers from stack guard code (which currently has the line number for the { line) 3) Ensure the stack guard code has the line number of the first line of the function main body. I'm not sure if 2 and 3 will break instruction reordering. >>From gcc-bugs-return-625368-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 15:34:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69148 invoked by alias); 10 Dec 2018 15:34:21 -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 66512 invoked by uid 48); 10 Dec 2018 15:34:16 -0000 From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88290] [9 regression] 23_containers/deque/erasure.cc fails after r266672 Date: Mon, 10 Dec 2018 15:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01484.txt.bz2 Content-length: 447 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88290 seurer at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from seurer at gcc dot gnu.org --- Not sure when it was fixed but it is not failing any longer. >>From gcc-bugs-return-625369-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 15:44:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 999 invoked by alias); 10 Dec 2018 15:44:48 -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 882 invoked by uid 48); 10 Dec 2018 15:44:43 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/86004] [9 regression] Several lto test cases begin failing with r260963 Date: Mon, 10 Dec 2018 15:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created 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: 2018-12/txt/msg01485.txt.bz2 Content-length: 730 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86004 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #11 from Jakub Jelinek --- Created attachment 45201 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45201&action=3Dedit gcc9-pr86004.patch Untested testsuite fix, tested both on a system with binutils 2.25 (where t= hose tests previously failed, now UNSUPPORTED) and recent ones (where it still PASSes). >>From gcc-bugs-return-625370-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 15:46:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2694 invoked by alias); 10 Dec 2018 15:46: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 2467 invoked by uid 48); 10 Dec 2018 15:45:46 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88290] [9 regression] 23_containers/deque/erasure.cc fails after r266672 Date: Mon, 10 Dec 2018 15:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component 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: 2018-12/txt/msg01486.txt.bz2 Content-length: 575 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88290 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Component|testsuite |libstdc++ --- Comment #3 from Jonathan Wakely --- Yes, it would have been r266673. The component should have been "libstdc++" (I won't see it otherwise). It w= as a problem in the library headers (revealed by the tests), not a problem in the testsuite itself. >>From gcc-bugs-return-625371-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 15:47:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4728 invoked by alias); 10 Dec 2018 15:47:52 -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 4678 invoked by uid 55); 10 Dec 2018 15:47:48 -0000 From: "uros at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88418] [7/8/9 Regression] ICE in extract_insn, at recog.c:2305 (error: unrecognizable insn) Date: Mon, 10 Dec 2018 15:47: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: uros at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01487.txt.bz2 Content-length: 764 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88418 --- Comment #2 from uros at gcc dot gnu.org --- Author: uros Date: Mon Dec 10 15:47:16 2018 New Revision: 266958 URL: https://gcc.gnu.org/viewcvs?rev=3D266958&root=3Dgcc&view=3Drev Log: PR target/88418 * config/i386/i386.c (ix86_expand_sse_cmp): For vector modes, check operand 1 with vector_operand predicate. (ix86_expand_sse_movcc): For vector modes, check op_true with vector_operand, not nonimmediate_operand. testsuite/ChangeLog: PR target/88418 * gcc.target/i386/pr88418.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr88418.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625372-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 15:49:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6701 invoked by alias); 10 Dec 2018 15:49:18 -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 6578 invoked by uid 48); 10 Dec 2018 15:49:13 -0000 From: "vincent-gcc at vinc17 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/85777] [7/8/9 Regression] -fsanitize=undefined makes a -Wmaybe-uninitialized warning disappear Date: Mon, 10 Dec 2018 15:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: vincent-gcc at vinc17 dot net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01488.txt.bz2 Content-length: 453 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85777 --- Comment #4 from Vincent Lef=C3=A8vre --- (In reply to Jakub Jelinek from comment #3) > If you care about warnings as well as sanitization, I'd suggest separate > builds for warnings and for sanitization, the latter perhaps with -w. This is fine for code that is fixed, but this makes developing and debugging harder, when testing code just after making changes. >>From gcc-bugs-return-625373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 15:53:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18624 invoked by alias); 10 Dec 2018 15:53: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 18547 invoked by uid 48); 10 Dec 2018 15:53:47 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/85777] [7/8/9 Regression] -fsanitize=undefined makes a -Wmaybe-uninitialized warning disappear Date: Mon, 10 Dec 2018 15:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01489.txt.bz2 Content-length: 327 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85777 --- Comment #5 from Jakub Jelinek --- That can be dealt in the Makefile rules, for sanitization use something like $(CC) $(CFLAGS) $(WARNOPTS) -S -o /dev/null $< $(CC) $(CFLAGS) $(SANITIZEOPTS) -c -o $@ $< 2>/dev/null or similar. >>From gcc-bugs-return-625374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 16:04:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73353 invoked by alias); 10 Dec 2018 16:04:29 -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 70380 invoked by uid 48); 10 Dec 2018 16:04:24 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85459] [8/9 Regression] Larger code generated from GMP template meta-programming Date: Mon, 10 Dec 2018 16:04: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: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 8.3 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: 2018-12/txt/msg01490.txt.bz2 Content-length: 1468 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85459 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jamborm at gcc dot gnu.org --- Comment #6 from Jakub Jelinek --- On the #c4 testcase it is: /opt/notnfs/gcc-bisect/obj/gcc/cc1plus.240000 -quiet -O3 -fno-exceptions pr85459.C; g++ -c -o pr85459{.o,.s}; size pr85459.o text data bss dec hex filename 438 0 0 438 1b6 pr85459.o /opt/notnfs/gcc-bisect/obj/gcc/cc1plus.255509 -quiet -O3 -fno-exceptions pr85459.C; g++ -c -o pr85459{.o,.s}; size pr85459.o text data bss dec hex filename 334 152 0 486 1e6 pr85459.o /opt/notnfs/gcc-bisect/obj/gcc/cc1plus.255510 -quiet -O3 -fno-exceptions pr85459.C; g++ -c -o pr85459{.o,.s}; size pr85459.o text data bss dec hex filename 833 160 0 993 3e1 pr85459.o /opt/notnfs/gcc-bisect/obj/gcc/cc1plus.266943 -quiet -O3 -fno-exceptions pr85459.C; g++ -c -o pr85459{.o,.s}; size pr85459.o text data bss dec hex filename 813 160 0 973 3cd pr85459.o So the only significant growth there is due to the SRA change. For -Os the sizes are much larger, 1075 at r240000, 789 at r255509, 919 at r255510 and 939 at r266943. >>From gcc-bugs-return-625375-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 16:20:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111979 invoked by alias); 10 Dec 2018 16:20:27 -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 111887 invoked by uid 48); 10 Dec 2018 16:20:22 -0000 From: "vincent-gcc at vinc17 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/85777] [7/8/9 Regression] -fsanitize=undefined makes a -Wmaybe-uninitialized warning disappear Date: Mon, 10 Dec 2018 16:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: vincent-gcc at vinc17 dot net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01491.txt.bz2 Content-length: 356 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85777 --- Comment #6 from Vincent Lef=C3=A8vre --- But this cannot apply to projects that use GNU Automake, which does not generate such rules. And with Automake, things are more complex in practice, because in the rules, there are additional options for dependency tracking. >>From gcc-bugs-return-625376-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 16:39:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18724 invoked by alias); 10 Dec 2018 16:39:12 -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 18599 invoked by uid 48); 10 Dec 2018 16:39:02 -0000 From: "brennan at umanwizard dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88413] g++ mangles names involving unresolved names in function argument template parameters differently from the ABI standard. Date: Mon, 10 Dec 2018 16:39: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: 8.2.0 X-Bugzilla-Keywords: ABI, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: brennan at umanwizard dot com 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: 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: 2018-12/txt/msg01492.txt.bz2 Content-length: 1934 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88413 --- Comment #8 from brennan at umanwizard dot com --- Yes that is the literal srN string and in fact GCC does output that sometim= es, for example on the following program which made it a lot clearer to me what= is going on. template struct S1 { }; struct S2 { template struct S3 { static constexpr int val =3D sizeof(T); }; }; template void g(S1::val> * =3D nullptr) { } void h() { g(); } in which g is mangled as __Z1gIiEvP2S1IXsrN2S22S3IT_EE3valEE . Clang mangles it as __Z1gIiEvP2S1IXsr2S22S3IT_EE3valEE -- notice there is no "N" = in Clang's version. Again I feel Clang is correct, based on my understanding of the standard. GCC apparently uses only the two productions ::=3D sr # T= ::x / decltype(p)::x ::=3D srN += E # T::N::x /decltype(p)::N::x But if you look up "unresolved-type" in the standard, it is clear that those two productions should only be used when the first element in the chain is a template parameter, not some random class or namespace. So it is wrong to encode "S2::S3::val" with either of those, because "S2" is not an "". Presumably this is what the standard authors were gett= ing at by using the letter "T" in the comment. The production GCC should be using in that program, and the one Clang actua= lly does use, is: ::=3D [gs] sr + E =20=20 # A= ::x, N::y, A::z; "gs" means leading "::" In S2::S3::val, each of S2 and S3 is an "" and val is a "". >>From gcc-bugs-return-625377-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 16:46:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73523 invoked by alias); 10 Dec 2018 16:46:40 -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 71259 invoked by uid 48); 10 Dec 2018 16:46:34 -0000 From: "brennan at umanwizard dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88413] g++ mangles names involving unresolved names in function argument template parameters differently from the ABI standard. Date: Mon, 10 Dec 2018 16:46: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: 8.2.0 X-Bugzilla-Keywords: ABI, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: brennan at umanwizard dot com 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: 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: 2018-12/txt/msg01493.txt.bz2 Content-length: 556 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88413 --- Comment #9 from brennan at umanwizard dot com --- There is an open issue from Oct. 2017 on the ABI standard's official website (which is a Github repo): https://github.com/itanium-cxx-abi/cxx-abi/issues/38 It appears to be the exact thing we are seeing here. The person who opened that issue does think GCC's behavior, although wrong according to the standard, is better. However it doesn't seem to have gone anywhere since 10/2017 so I'm not sure whether they will in fact change the standard. >>From gcc-bugs-return-625378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 17:08:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64070 invoked by alias); 10 Dec 2018 17:08:22 -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 63959 invoked by uid 55); 10 Dec 2018 17:08:16 -0000 From: "hubicka at ucw dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/86004] [9 regression] Several lto test cases begin failing with r260963 Date: Mon, 10 Dec 2018 17:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at ucw dot cz X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01494.txt.bz2 Content-length: 325 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86004 --- Comment #12 from Jan Hubicka --- Thanks a lot for looking into this. Indeed disabling the tests is probably good idea, so the patch looks good to me. Somewhere we should document minimal binutils release supporting incremental link... Honza >>From gcc-bugs-return-625379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 17:13:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75288 invoked by alias); 10 Dec 2018 17:13:02 -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 75189 invoked by uid 48); 10 Dec 2018 17:12:55 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84345] [8/9 Regression] ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 1) Date: Mon, 10 Dec 2018 17:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 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: 2018-12/txt/msg01495.txt.bz2 Content-length: 536 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84345 --- Comment #6 from Alexander Monakov --- I think gcc_qsort doesn't really change things here, validation failure imp= lies a logic issue in the comparator, so some step is not always working as the author intended. And even with gcc_qsort it's still an ice-checking (possibly on valid code). I guess evidently people don't worry too much about currently open qsort_chk bugs, but it doesn't make sense that with gcc_qsort we should care even les= s. >>From gcc-bugs-return-625380-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 17:19:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90857 invoked by alias); 10 Dec 2018 17:19:39 -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 90760 invoked by uid 48); 10 Dec 2018 17:19:33 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84345] [8/9 Regression] ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 1) Date: Mon, 10 Dec 2018 17:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 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: 2018-12/txt/msg01496.txt.bz2 Content-length: 574 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84345 --- Comment #7 from Jakub Jelinek --- I thought the main argument for the qsort checking was to avoid different c= ode generation between different hosts (e.g. with cross-compilers etc.). Some of the comparator issues were just easy bugs in the logic, but others = are not really easily convertible to what the checking requires, it is just a heuristic to get reasonable code generation (especially some of the RTL one= s). The argument about different code generation is gone with gcc_qsort. >>From gcc-bugs-return-625381-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 17:40:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58120 invoked by alias); 10 Dec 2018 17:40:46 -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 55337 invoked by uid 48); 10 Dec 2018 17:40:42 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88430] -Wmissing-attributes warnings when including libquadmath headers Date: Mon, 10 Dec 2018 17:40: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: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: attachments.created 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: 2018-12/txt/msg01497.txt.bz2 Content-length: 839 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88430 --- Comment #2 from Jakub Jelinek --- Created attachment 45202 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45202&action=3Dedit gcc9-pr88430.patch For quadmath_weak.h it can be easily handled with the attached patch. There are additional 166 occurrences of warnings in gthr*.h, and some furth= er ones in libgfortran. I'm worried about this warning though, because while in the libquadmath case the alias targets are declared next to it in adjacent header provided by the same library, in gthr*.h case it is a common example how a weakref is creat= ed for a system header provided function. For those one often doesn't know wh= at exact attributes are used and it is quite hard to query that (configure grepping preprocessed source, what else?). >>From gcc-bugs-return-625382-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 17:43:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88028 invoked by alias); 10 Dec 2018 17:42: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87961 invoked by uid 48); 10 Dec 2018 17:42:54 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88430] -Wmissing-attributes warnings when including libquadmath headers Date: Mon, 10 Dec 2018 17:42: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: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 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: 2018-12/txt/msg01498.txt.bz2 Content-length: 200 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88430 --- Comment #3 from Dominique d'Humieres --- The change occurred between r265975 (no warning) and r266035 (warnings). >>From gcc-bugs-return-625383-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 17:47:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92164 invoked by alias); 10 Dec 2018 17:47: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 91771 invoked by uid 48); 10 Dec 2018 17:47:46 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88430] -Wmissing-attributes warnings when including libquadmath headers Date: Mon, 10 Dec 2018 17:47: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: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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: 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: 2018-12/txt/msg01499.txt.bz2 Content-length: 252 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88430 --- Comment #4 from Martin Sebor --- The expected mechanism to apply the attributes is by using the new copy attribute. (It's been on my to-do list to look into these.) >>From gcc-bugs-return-625384-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 17:58:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128306 invoked by alias); 10 Dec 2018 17:58:13 -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 128231 invoked by uid 48); 10 Dec 2018 17:58:09 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87369] [9 Regression] Regression on aarch64/copysign-bsl.c since r264264 Date: Mon, 10 Dec 2018 17:58: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rearnsha at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-12/txt/msg01500.txt.bz2 Content-length: 387 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87369 Richard Earnshaw changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|samtebbs at gcc dot gnu.org |rearnsha at gcc dot= gnu.org >>From gcc-bugs-return-625385-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 18:06:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4936 invoked by alias); 10 Dec 2018 18:06:16 -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 4770 invoked by uid 55); 10 Dec 2018 18:06:10 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88269] ICE in gfc_format_decoder, at fortran/error.c:947 Date: Mon, 10 Dec 2018 18:06: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: --- 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: 2018-12/txt/msg01501.txt.bz2 Content-length: 858 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88269 --- Comment #2 from kargl at gcc dot gnu.org --- Author: kargl Date: Mon Dec 10 18:05:37 2018 New Revision: 266959 URL: https://gcc.gnu.org/viewcvs?rev=3D266959&root=3Dgcc&view=3Drev Log: 2018-12-10 Steven G. Kargl PR fortran/88269 * io.c (io_constraint): Update macro. If locus line buffer is NULL, use gfc_current_locus in error messages. (check_io_constraints): Catch missing IO UNIT in write and read statements. io_constraint macro is incompatible here. 2018-12-10 Steven G. Kargl PR fortran/88269 * gfortran.dg/pr88269.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/pr88269.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/io.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625386-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 18:18:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17106 invoked by alias); 10 Dec 2018 18:18:20 -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 17018 invoked by uid 48); 10 Dec 2018 18:18:15 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88433] New: wrong code for printf after a pointer cast from a pointer to an adjacent object Date: Mon, 10 Dec 2018 18:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01502.txt.bz2 Content-length: 2282 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88433 Bug ID: 88433 Summary: wrong code for printf after a pointer cast from a pointer to an adjacent object Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- This is from Exploring C Semantics and Pointer Provenance: https://www.cl.cam.ac.uk/~pes20/cerberus/cerberus-popl2019.pdf the following test case: =20 https://cerberus.cl.cam.ac.uk/cerberus?defacto/provenance_basic_using_uintp= tr_t_global_yx.c GCC emits code with different effects for each of the two functions below e= ven when the objects x and y are adjacent to each other: in f(), the call to pr= intf outputs the modified value of y. In g(), however, it outputs the value of y before modification. I consider the code in the test case undefined, but a) my understanding from Richard is that the middle-end intentionally doesn't track pointer provenan= ce through integer conversions (and so doesn't necessarily treat this sort of "object hopping" as undefined), and b) the PNVI model outlined in the paper above and expected to be proposed for C2X makes this code valid (the model allows p to take on the provenance of y as a result of the integer <-> poin= ter casts). Looking at the dumps, I think (a) is true for this test case in both f() and g(). The different output from g() appears to be due to the x86_64 back performing the assignment *p =3D 11 only after it has stored the value of y= in the register passed to printf. Other back-ends I've looked at produce the = same output from g() as from f(). int y =3D 2, x =3D 1; void f (void) { long ix =3D (long)&x; long iy =3D (long)&y; ix +=3D 4; int *p =3D (int*)ix; int *q =3D (int*)iy; if (p =3D=3D q) { *p =3D 11; __builtin_printf ("%i", y); // prints 11 } } void g (void) { long ix =3D (long)&x; long iy =3D (long)&y; ix +=3D 4; int *p =3D (int*)ix; int *q =3D (int*)iy; if (!__builtin_memcmp (&p, &q, sizeof p)) { *p =3D 11; __builtin_printf ("%i", y); // prints 2 } } >>From gcc-bugs-return-625387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 18:44:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65742 invoked by alias); 10 Dec 2018 18:44:39 -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 65646 invoked by uid 48); 10 Dec 2018 18:44:35 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86196] [9 Regression] Bogus -Wrestrict on memcpy between array elements at unequal indices Date: Mon, 10 Dec 2018 18:44: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: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01503.txt.bz2 Content-length: 399 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86196 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- Any progress on this? >>From gcc-bugs-return-625388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 18:59:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97941 invoked by alias); 10 Dec 2018 18:59: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 97886 invoked by uid 48); 10 Dec 2018 18:58:56 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/86979] [9 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2348 with -m32 on darwin Date: Mon, 10 Dec 2018 18:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 9.0 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: 2018-12/txt/msg01504.txt.bz2 Content-length: 454 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86979 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- Can't reproduce in current trunk's cross to darwin, can you still reproduce? >>From gcc-bugs-return-625389-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 19:01:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100991 invoked by alias); 10 Dec 2018 19:01:12 -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 100906 invoked by uid 48); 10 Dec 2018 19:01:05 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88397] attribute malloc ignored on function pointers when alloc_size is accepted Date: Mon, 10 Dec 2018 19:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor 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: 2018-12/txt/msg01505.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88397 --- Comment #4 from Martin Sebor --- The problem with attribute noreturn is tracked separately in bug 79604 (the= C front end seems to do the right thing there, as do Clang and ICC in both C = and C++ modes). For attributes alloc_align and malloc, what concern do you have with accept= ing them on function pointers and function types? (So they work the same way as alloc_size.) >>From gcc-bugs-return-625390-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 19:13:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127460 invoked by alias); 10 Dec 2018 19:13: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 127387 invoked by uid 48); 10 Dec 2018 19:13:28 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/86979] [9 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2348 with -m32 on darwin Date: Mon, 10 Dec 2018 19:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01506.txt.bz2 Content-length: 702 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86979 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-10 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres --- > Can't reproduce in current trunk's cross to darwin, can you still reprodu= ce? Yes with compilers configured with --enable-checking=3Dyes. I don't see any= ICE for those configured with --enable-checking=3Drelease. >>From gcc-bugs-return-625391-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 19:18:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30715 invoked by alias); 10 Dec 2018 19:18:38 -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 23326 invoked by uid 48); 10 Dec 2018 19:17:36 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/86979] [9 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2348 with -m32 on darwin Date: Mon, 10 Dec 2018 19:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 9.0 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: 2018-12/txt/msg01507.txt.bz2 Content-length: 349 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86979 --- Comment #3 from Jakub Jelinek --- Any particular tuning option (what -march/-mtune is the default)? Can you attach your auto-host.h? Perhaps could you attach a tarball with -da dumps with the above options, s= o I can try to figure out why I can't reproduce this? >>From gcc-bugs-return-625392-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 19:27:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51315 invoked by alias); 10 Dec 2018 19:27:20 -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 51169 invoked by uid 55); 10 Dec 2018 19:27:15 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88269] ICE in gfc_format_decoder, at fortran/error.c:947 Date: Mon, 10 Dec 2018 19:27: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: --- 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: 2018-12/txt/msg01508.txt.bz2 Content-length: 922 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88269 --- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Mon Dec 10 19:26:43 2018 New Revision: 266960 URL: https://gcc.gnu.org/viewcvs?rev=3D266960&root=3Dgcc&view=3Drev Log: 2018-12-10 Steven G. Kargl PR fortran/88269 * io.c (io_constraint): Update macro. If locus line buffer is NULL, use gfc_current_locus in error messages. (check_io_constraints): Catch missing IO UNIT in write and read statements. io_constraint macro is incompatible here. 2018-12-10 Steven G. Kargl PR fortran/88269 * gfortran.dg/pr88269.f90: New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88269.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/io.c branches/gcc-8-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625393-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 19:53:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2655 invoked by alias); 10 Dec 2018 19:53:39 -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 2599 invoked by uid 48); 10 Dec 2018 19:53:34 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88216] [9 Regression] ICE (-std=c++2a) in cxx_eval_constant_expression, at cp/constexpr.c:4602 Date: Mon, 10 Dec 2018 19:53: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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: 9.0 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: 2018-12/txt/msg01509.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88216 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #3 from Marek Polacek --- Patch posted: We'll see how that goes. >>From gcc-bugs-return-625394-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 19:57:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17726 invoked by alias); 10 Dec 2018 19:57:02 -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 17623 invoked by uid 48); 10 Dec 2018 19:56:56 -0000 From: "safinaskar at mail dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled Date: Mon, 10 Dec 2018 19:57: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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: safinaskar at mail dot ru 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: 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: 2018-12/txt/msg01510.txt.bz2 Content-length: 1556 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87951 --- Comment #11 from Askar Safin --- (In reply to Jonathan Wakely from comment #10) > I wish people would just learn how enums work, it's not that complicated. Okey, now I understand everything. Now I see that, well, -fstrict-enums silences warning for code from comment #1 only because number of enum alternatives happen to be power of 2. If it would be, say, 3, then code from comment #1 will always produce a warning even with -fstrict-enums. And also= I understand that code with "enum class" will always produce a warning. So, gcc doesn't have way to enable clang-style warning behavior for enums. = And gcc doesn't have such way for "enum class", too. And -fstrict-enums enables clang-style warning behavior for code from comment #1 only because this code has power of 2 number of alternatives. And also I understand that current gcc behavior is not bug and is absolutely standard-compliant. But, well, I still don't like current g++ behavior. I want g++ to not report "reaching end of non-void..." if all switch alternatives are handled, at le= ast if some optional option is passed to gcc. I want clang behavior. Okey, you = may mark this bug as "wishlist", but I still think that clang-style behavior he= re is very useful feature. Look here, LLVM project was forced to introduce special kludge to make sure= g++ will not give useless warnings: http://llvm.org/docs/CodingStandards.html#don-t-use-default-labels-in-fully= -covered-switches-over-enumerations >>From gcc-bugs-return-625395-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 20:04:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35355 invoked by alias); 10 Dec 2018 20:04:12 -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 34074 invoked by uid 55); 10 Dec 2018 20:04:04 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88269] ICE in gfc_format_decoder, at fortran/error.c:947 Date: Mon, 10 Dec 2018 20: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: --- 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: 2018-12/txt/msg01511.txt.bz2 Content-length: 922 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88269 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Mon Dec 10 20:03:32 2018 New Revision: 266962 URL: https://gcc.gnu.org/viewcvs?rev=3D266962&root=3Dgcc&view=3Drev Log: 2018-12-10 Steven G. Kargl PR fortran/88269 * io.c (io_constraint): Update macro. If locus line buffer is NULL, use gfc_current_locus in error messages. (check_io_constraints): Catch missing IO UNIT in write and read statements. io_constraint macro is incompatible here. 2018-12-10 Steven G. Kargl PR fortran/88269 * gfortran.dg/pr88269.f90: New test. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr88269.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/io.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 20:07:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48628 invoked by alias); 10 Dec 2018 20:07:49 -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 48574 invoked by uid 48); 10 Dec 2018 20:07:45 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88269] ICE in gfc_format_decoder, at fortran/error.c:947 Date: Mon, 10 Dec 2018 20:07: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution assigned_to 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: 2018-12/txt/msg01512.txt.bz2 Content-length: 642 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88269 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |kargl at gcc dot gnu.org Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gn= u.org Target Milestone|--- |7.5 --- Comment #5 from kargl at gcc dot gnu.org --- Fixed on trunk, branch-8, and branch-7. Closing >>From gcc-bugs-return-625397-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 20:14:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77453 invoked by alias); 10 Dec 2018 20:14: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 77357 invoked by uid 48); 10 Dec 2018 20:13:57 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/52869] [DR 1207] "this" not being allowed in noexcept clauses Date: Mon, 10 Dec 2018 20:14: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.7.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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: 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: 2018-12/txt/msg01513.txt.bz2 Content-length: 426 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52869 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #13 from Marek Polacek --- Thanks Jon, I'll poke at it some more. >>From gcc-bugs-return-625398-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 20:31:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4999 invoked by alias); 10 Dec 2018 20:31:05 -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 4851 invoked by uid 48); 10 Dec 2018 20:31:00 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled Date: Mon, 10 Dec 2018 20:31: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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: 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: 2018-12/txt/msg01514.txt.bz2 Content-length: 467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87951 --- Comment #12 from Jonathan Wakely --- It's not a useless warning. If I call your function from comment 7 like thi= s, I get undefined behaviour: CoverMyBases( Enum{2} ); Your switch is undefined for this code. That's what GCC is warning you abou= t. To tell GCC you will never call the function with any value except Enum::A = or Enum::B, add default: __builtin_unreachable(); >>From gcc-bugs-return-625399-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 20:37:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53513 invoked by alias); 10 Dec 2018 20:37:47 -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 53417 invoked by uid 48); 10 Dec 2018 20:37:41 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled Date: Mon, 10 Dec 2018 20:37: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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 2018-12/txt/msg01515.txt.bz2 Content-length: 926 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87951 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #13 from Jakub Jelinek --- (In reply to Jonathan Wakely from comment #12) > It's not a useless warning. If I call your function from comment 7 like > this, I get undefined behaviour: >=20 > CoverMyBases( Enum{2} ); >=20 > Your switch is undefined for this code. That's what GCC is warning you > about. To tell GCC you will never call the function with any value except > Enum::A or Enum::B, add >=20 > default: __builtin_unreachable(); Maybe better to add it after the switch if you want to make sure that you g= et a warning with -Wswitch if a new enumerator is added. >>From gcc-bugs-return-625400-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 20:40:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55624 invoked by alias); 10 Dec 2018 20:40:32 -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 55569 invoked by uid 48); 10 Dec 2018 20:40:27 -0000 From: "gieseanw+gcc at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88434] New: operator< should take precedence over template argument in basic.lookup.classref Date: Mon, 10 Dec 2018 20:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gieseanw+gcc 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 Message-ID: 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: 2018-12/txt/msg01516.txt.bz2 Content-length: 1829 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88434 Bug ID: 88434 Summary: operator< should take precedence over template argument in basic.lookup.classref Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gieseanw+gcc at gmail dot com Target Milestone: --- Semi-related: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85570 Bug discovered here: https://stackoverflow.com/q/53712642/27678 The following code does not compile in gcc 9 (or earlier) or clang 8 (or earlier), but does in MSVC 19.00.23506. compile with -std=3Dc++11 Code follows: #include using namespace std; struct A{ int rank; }; template bool comp_rank(const T &a, const T &b){ return a.rank < b.rank; } int main() { A a{42}, b{0}; comp_rank(a, b); } gcc fails with=20 prog.cc: In function 'bool comp_rank(const T&, const T&)': prog.cc:9:23: error: type/value mismatch at argument 1 in template parameter list for 'template struct std::rank' 9 | return a.rank < b.rank; | ^~~~ prog.cc:9:23: note: expected a type, got 'b.rank' This appears to violate [basic.lookup.classref] which states In a class member access expression, if the . or -> token is immediately followed by an identifier followed by a <, the identifier must be looked up= to determine whether the < is the beginning of a template argument list or a less-than operator. The identifier is first looked up in the class of the object expression. If the identifier is not found, it is then looked up in = the context of the entire postfix-expression and shall name a class template. >>From gcc-bugs-return-625401-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 20:51:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97205 invoked by alias); 10 Dec 2018 20:51:18 -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 97132 invoked by uid 48); 10 Dec 2018 20:51:13 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86608] [7/8/9 Regression] volatile variable is taken as a constexpr Date: Mon, 10 Dec 2018 20:51: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: 8.1.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-12/txt/msg01517.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86608 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org --- Comment #5 from Marek Polacek --- On it now. >>From gcc-bugs-return-625402-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 21:10:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124065 invoked by alias); 10 Dec 2018 21:10:34 -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 123988 invoked by uid 48); 10 Dec 2018 21:10:28 -0000 From: "mattis at mattisborgen dot se" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88435] New: Compiling with optimizations causes the compiler to fail. Date: Mon, 10 Dec 2018 21:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mattis at mattisborgen dot se 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 Message-ID: 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: 2018-12/txt/msg01518.txt.bz2 Content-length: 3945 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88435 Bug ID: 88435 Summary: Compiling with optimizations causes the compiler to fail. Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: mattis at mattisborgen dot se Target Milestone: --- pdp11-aout-gcc -save-temps -O2 -v -m10 -Ttext 1000 -msoft-float=20 -nostartfiles -nodefaultlibs -nostdlib -fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations gccbug.c=20 Using built-in specs. COLLECT_GCC=3Dpdp11-aout-gcc COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc/pdp11-aout/8.2.0/lto-wrapper Target: pdp11-aout Configured with: ./configure --target=3Dpdp11-aout --disable-nls --without-headers --enable-languages=3Dc Thread model: single gcc version 8.2.0 (GCC)=20 COLLECT_GCC_OPTIONS=3D'-save-temps' '-O2' '-v' '-m10' '-Ttext' '1000' '-msoft-float' '-nostartfiles' '-nodefaultlibs' '-nostdlib' '-fno-strict-aliasing' '-fwrapv' '-fno-aggressive-loop-optimizations' /usr/local/libexec/gcc/pdp11-aout/8.2.0/cc1 -E -quiet -v -imultilib msoft-float gccbug.c -m10 -msoft-float -fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations -O2 -fpch-preprocess -o gccbug.i ignoring nonexistent directory "/usr/local/lib/gcc/pdp11-aout/8.2.0/../../../../pdp11-aout/sys-include" ignoring nonexistent directory "/usr/local/lib/gcc/pdp11-aout/8.2.0/../../../../pdp11-aout/include" #include "..." search starts here: #include <...> search starts here: /usr/local/lib/gcc/pdp11-aout/8.2.0/include /usr/local/lib/gcc/pdp11-aout/8.2.0/include-fixed End of search list. COLLECT_GCC_OPTIONS=3D'-save-temps' '-O2' '-v' '-m10' '-Ttext' '1000' '-msoft-float' '-nostartfiles' '-nodefaultlibs' '-nostdlib' '-fno-strict-aliasing' '-fwrapv' '-fno-aggressive-loop-optimizations' /usr/local/libexec/gcc/pdp11-aout/8.2.0/cc1 -fpreprocessed gccbug.i -quiet -dumpbase gccbug.c -m10 -msoft-float -auxbase gccbug -O2 -version -fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations -o gccbug.s GNU C17 (GCC) version 8.2.0 (pdp11-aout) compiled by GNU C version 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.76), GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3,= isl version none GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU C17 (GCC) version 8.2.0 (pdp11-aout) compiled by GNU C version 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.76), GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3,= isl version none GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: bc392ef67ca9ec448731a9f0a726ee14 gccbug.c: In function 'pollConsole': gccbug.c:11:1: error: unrecognizable insn: } ^ (insn 13 12 14 2 (set (reg:SI 35) (ashift:SI (reg:SI 34) (const_int -9 [0xfffffffffffffff7]))) "gccbug.c":5 -1 (nil)) during RTL pass: vregs gccbug.c:11:1: internal compiler error: in extract_insn, at recog.c:2304 libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See for instructions. $ cat gccbug.c int pollConsole () { volatile unsigned int * rxcsr =3D (unsigned int *) 0177560;=20 unsigned int tmp =3D 512 & *rxcsr; if (tmp =3D=3D 512) { return 1; } else { return 0; } }=20 The compile fail if the two literals 512 is equal and greater than 16. It a= lso has to have one single bit set. I.e. 32, 64, 128...=20 33,34 woks fine. $ cat gccbug.i # 1 "gccbug.c" # 1 "" # 1 "" # 1 "gccbug.c" int pollConsole () { volatile unsigned int * rxcsr =3D (unsigned int *) 0177560; unsigned int tmp =3D 512 & *rxcsr; if (tmp =3D=3D 512) { return 1; } else { return 0; } } >>From gcc-bugs-return-625403-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 21:11:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125174 invoked by alias); 10 Dec 2018 21:11:14 -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 125129 invoked by uid 48); 10 Dec 2018 21:11:10 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88271] Omit test instruction after add Date: Mon, 10 Dec 2018 21:11: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla@poradnik-webmastera.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: 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: 2018-12/txt/msg01519.txt.bz2 Content-length: 789 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88271 --- Comment #10 from Daniel Fruzynski --- Here is possible code transformation to equivalent form, where this optimization can be simply applied. This change also has a bit surprising s= ide effect, second nested while loop is unrolled. [code] void test2() { int level =3D 0; int val =3D 1; while (1) { while(1) { val =3D data[level] << 1; ++level; if (val) continue; else break; } while(1) { --level; val =3D data[level]; if (!val) continue; else break; } } } [/code] >>From gcc-bugs-return-625404-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 21:22:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129737 invoked by alias); 10 Dec 2018 21:22:31 -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 129710 invoked by uid 48); 10 Dec 2018 21:22:27 -0000 From: "mattis at mattisborgen dot se" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88435] Compiling with optimizations causes the compiler to fail. Date: Mon, 10 Dec 2018 21:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mattis at mattisborgen dot se 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: 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: 2018-12/txt/msg01520.txt.bz2 Content-length: 249 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88435 --- Comment #1 from Mattis Lind --- The very same bug is present in 9.0 The problem goes away if you change to pdp-11/40 rather than pdp-11/10 using -m40 option. >>From gcc-bugs-return-625405-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 21:23:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130998 invoked by alias); 10 Dec 2018 21:23: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 130915 invoked by uid 48); 10 Dec 2018 21:23:37 -0000 From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88436] New: [9 regression] r265421 causes gcc.target/powerpc/pr54240.c to fail Date: Mon, 10 Dec 2018 21:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01521.txt.bz2 Content-length: 1044 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88436 Bug ID: 88436 Summary: [9 regression] r265421 causes gcc.target/powerpc/pr54240.c to fail Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- Looks like this test case may have been missed when updating those affected= by the changes in this revision. spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc -B/home/seurer/gcc/build/gcc-test2/gcc/ /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/pr54240.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=3Dnever -O2 -misel -fdump-tree-phiopt-details -S -o pr5= 4240.s PASS: gcc.target/powerpc/pr54240.c (test for excess errors) FAIL: gcc.target/powerpc/pr54240.c scan-tree-dump phiopt1 "Hoisting adjacent loads" >>From gcc-bugs-return-625406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 21:25:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6312 invoked by alias); 10 Dec 2018 21:25:26 -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 4872 invoked by uid 48); 10 Dec 2018 21:25:21 -0000 From: "wilson at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/88422] collect2.exe: fatal error: lto-wrapper returned 1 exit status: file not recognized: file truncated Date: Mon, 10 Dec 2018 21:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wilson 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: 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: 2018-12/txt/msg01522.txt.bz2 Content-length: 329 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88422 --- Comment #4 from Jim Wilson --- I used a cross compiler, so ulong_type is easy enough to check. For simple-object-elf.i I see __extension__ typedef unsigned long long uint64_t; ... __extension__ typedef uint64_t ulong_type; which looks right. >>From gcc-bugs-return-625407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 21:42:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94430 invoked by alias); 10 Dec 2018 21:42:53 -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 94380 invoked by uid 48); 10 Dec 2018 21:42:47 -0000 From: "pkoning at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88435] Compiling with optimizations causes the compiler to fail. Date: Mon, 10 Dec 2018 21:42: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: 8.2.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pkoning 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: 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: 2018-12/txt/msg01523.txt.bz2 Content-length: 639 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88435 --- Comment #2 from pkoning at gcc dot gnu.org --- I don't see it in the current V9, rev 266823. ./xgcc -B. -O2 -S ~/Documents/pr88435.c -m10=20 cat pr88435.s=20 .text .even .globl _pollConsole _pollConsole: mov @$-0220,r0 mov $011,r1 L_4: clc ror r0 dec r1 bne L_4 bic $-02,r0 rts pc Clearly this is not optimal -- it shouldn't do this with a shift but rather using a "BIT" instruction. But the code does produce the correct answer and the compiler doesn't fail. >>From gcc-bugs-return-625408-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 22:05:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64507 invoked by alias); 10 Dec 2018 22:05: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 64448 invoked by uid 48); 10 Dec 2018 22:05:36 -0000 From: "jwerner at chromium dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88437] New: Excessive struct alignment on x86_64 Date: Mon, 10 Dec 2018 22:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jwerner at chromium dot 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01524.txt.bz2 Content-length: 1364 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88437 Bug ID: 88437 Summary: Excessive struct alignment on x86_64 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jwerner at chromium dot org Target Milestone: --- Compile the following test file for the x86_64 target: struct { void *a; void *b; } mystruct __attribute__((__section__(".data.mystruct")); Then run objdump -x on the output file. The .data.mystruct section will hav= e an alignment of 2**4, even though the largest member of the struct only requir= es an alignment of 2**3. GCC always seems to align structures to the whole str= uct size, at least to a maximum of 2**5. This behavior seems questionable at best, and it is inconsistent from all o= ther architectures (I tested i686 and aarch64, both of which always only align to the largest member). I assume it may be intended as a cache line optimization(?), but it affects code size very negatively, so it should at least be up to the user and not hardcoded by architecture. I couldn't find = any flag in the documentation to disable this. It even occurs with -Os even tho= ugh that's meant to strongly favor size over other optimizations. >>From gcc-bugs-return-625409-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 22:16:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84347 invoked by alias); 10 Dec 2018 22:16:05 -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 83672 invoked by uid 48); 10 Dec 2018 22:15:21 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/86979] [9 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2348 with -m32 on darwin Date: Mon, 10 Dec 2018 22:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: 2018-12/txt/msg01525.txt.bz2 Content-length: 782 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86979 --- Comment #4 from Dominique d'Humieres --- Created attachment 45203 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45203&action=3Dedit auto-host.h > Any particular tuning option (what -march/-mtune is the default)? Target: x86_64-apple-darwin18.2.0 Configured with: ../work/configure --prefix=3D/opt/gcc/gcc9w --enable-languages=3Dc,c++,fortran,objc,obj-c++,ada,lto --with-gmp=3D/opt/m= p-new --with-system-zlib --with-isl=3D/opt/mp-new --enable-lto --enable-plugin --with-arch=3Dcorei7 --with-cpu=3Dcorei7 --with-sysroot=3D/Applications/Xcode-6.2.app/Contents/Developer/Platforms/M= acOSX.platform/Developer/SDKs/MacOSX10.9.sdk > Can you attach your auto-host.h? auto-host.h attached. >>From gcc-bugs-return-625410-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 22:18:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90200 invoked by alias); 10 Dec 2018 22:18: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90154 invoked by uid 48); 10 Dec 2018 22:18:24 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/86979] [9 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2348 with -m32 on darwin Date: Mon, 10 Dec 2018 22:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: 2018-12/txt/msg01526.txt.bz2 Content-length: 574 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86979 --- Comment #5 from Dominique d'Humieres --- Created attachment 45204 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45204&action=3Dedit tarball for gcc9 -S -da /opt/gcc/work/gcc/testsuite/gcc.c-torture/compile/pr69102.c -Og -fschedule-insns2 -fselective-scheduling2 -fno-tree-fre --param=3Dmax-sched-extend-regions-iters=3D2 -m32 > Perhaps could you attach a tarball with -da dumps with the above options, > so I can try to figure out why I can't reproduce this? tarball attached. >>From gcc-bugs-return-625411-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 22:29:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121135 invoked by alias); 10 Dec 2018 22:29:30 -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 121084 invoked by uid 48); 10 Dec 2018 22:29:25 -0000 From: "juergen.reuter at desy dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88438] New: A pointer function reference can denote a variable in any variable definition context. Date: Mon, 10 Dec 2018 22:29: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: juergen.reuter at desy dot de 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 Message-ID: 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: 2018-12/txt/msg01527.txt.bz2 Content-length: 1558 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88438 Bug ID: 88438 Summary: A pointer function reference can denote a variable in any variable definition context. Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: juergen.reuter at desy dot de Target Milestone: --- Apparently this feature of F2008 is still flagged as unimplemented in the F= 2008 chart on the gfortran wiki page. Today there was a discussion on the Intel Forum, https://software.intel.com/en-us/comment/1930834#comment-1930834 that the following code is valid F2008, but not valid F2003, because the selector is a function reference with a data pointer result.=20 I think this should be marked as an item in the chart here https://gcc.gnu.org/wiki/Fortran2008Status with a red "No" status.=20 The code discussed in that Intel forum is repeated here: module mod implicit none private public get public inc type, public :: t integer :: i =3D 5 end type t contains function get(x) result(p) integer, pointer :: p type(t), target, intent(in) :: x p =3D> x%i end function get subroutine inc(i) integer, intent(inout) :: i i =3D i + 1 end subroutine inc end module mod program assoc_func_intent use mod implicit none type(t) :: x print *,x%i associate(p =3D> get(x)) call inc(p) end associate print *,x%i=20 end program assoc_func_intent >>From gcc-bugs-return-625412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 23:10:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72078 invoked by alias); 10 Dec 2018 23:10:50 -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 71949 invoked by uid 48); 10 Dec 2018 23:10:46 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled Date: Mon, 10 Dec 2018 23:10: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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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 cc 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: 2018-12/txt/msg01528.txt.bz2 Content-length: 626 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87951 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |msebor at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #14 from Martin Sebor --- This is a duplicate of bug 87950, with most of the same discussion. *** This bug has been marked as a duplicate of bug 87950 *** >>From gcc-bugs-return-625413-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 23:10:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72101 invoked by alias); 10 Dec 2018 23:10:52 -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 72001 invoked by uid 48); 10 Dec 2018 23:10:47 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled Date: Mon, 10 Dec 2018 23:10: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: unknown X-Bugzilla-Keywords: diagnostic, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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: 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: 2018-12/txt/msg01529.txt.bz2 Content-length: 182 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87950 --- Comment #13 from Martin Sebor --- *** Bug 87951 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-625414-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 23:55:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67281 invoked by alias); 10 Dec 2018 23:55:08 -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 67192 invoked by uid 48); 10 Dec 2018 23:55:03 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88439] New: missing -Wrestrict on memcpy with a variable offset Date: Mon, 10 Dec 2018 23:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01530.txt.bz2 Content-length: 799 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88439 Bug ID: 88439 Summary: missing -Wrestrict on memcpy with a variable offset Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- Thew -Wrestrict warning doesn't trigger for the following overlapping call = to memcpy even though it seems that it could: $ cat x.c && gcc -O2 -S -Wall x.c char a[32][32]; void g (int i, int j) { if (i =3D=3D j) // typo, should be: i= !=3D j __builtin_memcpy (a[j], a[i], sizeof a[i]); // missing -Wrestrict } >>From gcc-bugs-return-625415-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 10 23:58:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74507 invoked by alias); 10 Dec 2018 23:58:53 -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 74445 invoked by uid 48); 10 Dec 2018 23:58:48 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85570] Resolution of unqualified-id in member access involving templates fails Date: Mon, 10 Dec 2018 23:58: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: 7.3.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 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: 2018-12/txt/msg01531.txt.bz2 Content-length: 382 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85570 --- Comment #2 from Andrew Pinski --- Note typedef has a similar issue and you don't even need to have main or an= use of test to show the issue: void func() {} }; template struct C : public A { typedef A TheA; }; template void test1() { C b; b.TheA::func(); } >>From gcc-bugs-return-625416-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 00:01:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78462 invoked by alias); 11 Dec 2018 00:01:38 -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 78034 invoked by uid 48); 11 Dec 2018 00:01:33 -0000 From: "hoganmeier at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88440] New: size optimization of memcpy-like code Date: Tue, 11 Dec 2018 00:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hoganmeier 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 Message-ID: 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: 2018-12/txt/msg01532.txt.bz2 Content-length: 1215 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88440 Bug ID: 88440 Summary: size optimization of memcpy-like code Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: hoganmeier at gmail dot com Target Milestone: --- https://godbolt.org/z/RTji7B void foo(char* restrict dst, const char* buf) { for (int i=3D0; i<8; ++i) *dst++ =3D *buf++; } $ gcc -Os $ gcc -O2 .L2: mov dl, BYTE PTR [rsi+rax] mov BYTE PTR [rdi+rax], dl inc rax cmp rax, 8 jne .L2 $ gcc -O3 mov rax, QWORD PTR [rsi] mov QWORD PTR [rdi], rax $ arm-none-eabi-gcc -O3 -mthumb -mcpu=3Dcortex-m4 ldr r3, [r1] @ unaligned ldr r2, [r1, #4] @ unaligned str r2, [r0, #4] @ unaligned str r3, [r0] @ unaligned The -O3 code is both faster and smaller for both ARM and x64: "note: Loop 1 distributed: split to 0 loops and 1 library calls." Should be considered for -O2 and -Os as well. >>From gcc-bugs-return-625417-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 00:04:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92402 invoked by alias); 11 Dec 2018 00:04:32 -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 92279 invoked by uid 48); 11 Dec 2018 00:04:27 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88434] operator< should take precedence over template argument in basic.lookup.classref Date: Tue, 11 Dec 2018 00:04: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: 9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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 blocked 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: 2018-12/txt/msg01533.txt.bz2 Content-length: 1161 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88434 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-11 Blocks| |12944 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski --- >Semi-related: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85570 It might be related in the sense the namelookup of rank is happening a definition time rather instantation time. Shorter testcase (without includes): template struct rank{}; struct A{ int rank; }; template bool comp_rank(const T &a, const T &b){ return a.rank < b.rank; } int main() { A a{42}, b{0}; comp_rank(a, b); } Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D12944 [Bug 12944] [meta-bug] C++ name-lookup problems >>From gcc-bugs-return-625418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 00:07:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95458 invoked by alias); 11 Dec 2018 00:07:22 -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 95378 invoked by uid 48); 11 Dec 2018 00:07:19 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88440] size optimization of memcpy-like code Date: Tue, 11 Dec 2018 00:07: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 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: 2018-12/txt/msg01534.txt.bz2 Content-length: 280 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88440 --- Comment #1 from Andrew Pinski --- I thought I had a dup of this bug somewhere which was asking for this optimization to moved to -O2 (and -Os) and above rather than keep it at -O3= and above. >>From gcc-bugs-return-625419-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 00:25:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9247 invoked by alias); 11 Dec 2018 00:25:20 -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 9159 invoked by uid 48); 11 Dec 2018 00:25:16 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88441] New: missing warning on a buffer overflow with non-constant offset and constant size Date: Tue, 11 Dec 2018 00:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01535.txt.bz2 Content-length: 1458 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88441 Bug ID: 88441 Summary: missing warning on a buffer overflow with non-constant offset and constant size Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- The calls to memcpy in both functions either very likely or certainly overf= low the destination yet they are not diagnosed. At least in the simple cases w= hen the size of the destination (or source) object is known sufficiently early, before the calls are transformed to MEM_REF, the overflow could be diagnose= d. $ cat x.c && gcc -O2 -S -Wall -fdump-tree-gimple=3D/dev/stdout x.c char a[8]; void f (int i, const void *p) { // overflow very likely __builtin_memcpy (a + i, p, sizeof a); // missing -Wstringop-overflow } void g (unsigned i, const void *p) { // overflow certain if (i) __builtin_memcpy (a + i, p, sizeof a); // missing -Wstringop-overflow } f (int i, const void * p) { _1 =3D (sizetype) i; _2 =3D &a + _1; __builtin_memcpy (_2, p, 8); } g (unsigned int i, const void * p) { if (i !=3D 0) goto ; else goto ; : _1 =3D (sizetype) i; _2 =3D &a + _1; __builtin_memcpy (_2, p, 8); : } >>From gcc-bugs-return-625420-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 00:28:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12748 invoked by alias); 11 Dec 2018 00:28:49 -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 12689 invoked by uid 48); 11 Dec 2018 00:28:45 -0000 From: "akpm@linux-foundation.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88442] New: Misleading error message with duplicated struct definitions Date: Tue, 11 Dec 2018 00:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: akpm@linux-foundation.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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01536.txt.bz2 Content-length: 951 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88442 Bug ID: 88442 Summary: Misleading error message with duplicated struct definitions Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: akpm@linux-foundation.org Target Milestone: --- q:/home/akpm> cat t.c struct foo; struct foo { int a; }; struct foo { int a, b; }; q:/home/akpm> gcc -c t.c t.c:5:8: error: redefinition of 'struct foo' struct foo { int a, b; }; ^~~ t.c:1:8: note: originally defined here struct foo; It's arguably misleading and certainly unuseful to say that struct foo was originally defined at line 1. You sit there scratching your head looking at line 1 wondering why it didn't compile. It would be more useful to point the user at line 3! >>From gcc-bugs-return-625421-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 00:29:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13847 invoked by alias); 11 Dec 2018 00:29:00 -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 13757 invoked by uid 48); 11 Dec 2018 00:28:56 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88443] New: [meta-bug] bogus/missing -Wstringop-overflow warnings Date: Tue, 11 Dec 2018 00:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01537.txt.bz2 Content-length: 537 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88443 Bug ID: 88443 Summary: [meta-bug] bogus/missing -Wstringop-overflow warnings Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- This is a meta-bug to track false positives and negatives in the -Wstringop-overflow warning. >>From gcc-bugs-return-625422-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 00:50:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47503 invoked by alias); 11 Dec 2018 00:50:19 -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 47400 invoked by uid 48); 11 Dec 2018 00:50:10 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88433] wrong code for printf after a pointer cast from a pointer to an adjacent object Date: Tue, 11 Dec 2018 00:50: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: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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: 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: 2018-12/txt/msg01538.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88433 --- Comment #1 from Martin Sebor --- Then again, the "problem" would disappear if the middle-end could be made to understand that memcmp(&p, &q, sizeof p) is the same thing as p =3D=3D q fo= r any integer or pointer types p and q. So maybe it is a middle-end issue because the back-end doesn't know and can't tell that y is the same as *p. >>From gcc-bugs-return-625423-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 01:22:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116582 invoked by alias); 11 Dec 2018 01:22:46 -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 116525 invoked by uid 55); 11 Dec 2018 01:22:42 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86196] [9 Regression] Bogus -Wrestrict on memcpy between array elements at unequal indices Date: Tue, 11 Dec 2018 01:22: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: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01539.txt.bz2 Content-length: 789 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86196 --- Comment #3 from Martin Sebor --- Author: msebor Date: Tue Dec 11 01:22:08 2018 New Revision: 266967 URL: https://gcc.gnu.org/viewcvs?rev=3D266967&root=3Dgcc&view=3Drev Log: PR tree-optimization/86196 - Bogus -Wrestrict on memcpy between array eleme= nts at unequal indices gcc/ChangeLog: PR tree-optimization/86196 * gimple-ssa-warn-restrict.c (builtin_memref::builtin_memref): Use base size only of arrays. gcc/testsuite/ChangeLog: PR tree-optimization/86196 * gcc.dg/Wrestrict-18.c: New test. Added: trunk/gcc/testsuite/gcc.dg/Wrestrict-18.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-ssa-warn-restrict.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625425-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 01:24:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120803 invoked by alias); 11 Dec 2018 01:24:56 -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 120252 invoked by uid 48); 11 Dec 2018 01:24:51 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84774] [meta-bug] bogus/missing -Wrestrict Date: Tue, 11 Dec 2018 01:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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: bug_status 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: 2018-12/txt/msg01541.txt.bz2 Content-length: 511 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84774 Bug 84774 depends on bug 86196, which changed state. Bug 86196 Summary: [9 Regression] Bogus -Wrestrict on memcpy between array = elements at unequal indices https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86196 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-625424-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 01:24:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120678 invoked by alias); 11 Dec 2018 01:24: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 120172 invoked by uid 48); 11 Dec 2018 01:24:48 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86196] [9 Regression] Bogus -Wrestrict on memcpy between array elements at unequal indices Date: Tue, 11 Dec 2018 01:24: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: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01540.txt.bz2 Content-length: 435 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86196 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Martin Sebor --- Fixed via r266967. >>From gcc-bugs-return-625426-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 02:35:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59098 invoked by alias); 11 Dec 2018 02:35:20 -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 59045 invoked by uid 55); 11 Dec 2018 02:35:16 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87922] ICE in gfc_wide_strlen, at fortran/scanner.c:142 Date: Tue, 11 Dec 2018 02:35: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: 9.0 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: 2018-12/txt/msg01542.txt.bz2 Content-length: 869 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87922 --- Comment #2 from kargl at gcc dot gnu.org --- Author: kargl Date: Tue Dec 11 02:34:44 2018 New Revision: 266969 URL: https://gcc.gnu.org/viewcvs?rev=3D266969&root=3Dgcc&view=3Drev Log: 2018-12-10 Steven G. Kargl PR fortran/87922 * io.c (gfc_match_open): Additional checks on ASYNCHRONOUS. 2018-12-10 Steven G. Kargl PR fortran/87922 * gfortran.dg/io_constraints_8.f90: Update error message. * gfortran.dg/pr87922.f90: New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr87922.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/io.c branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/gcc/testsuite/gfortran.dg/io_constraints_8.f90 >>From gcc-bugs-return-625427-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 02:38:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26945 invoked by alias); 11 Dec 2018 02:38:21 -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 24216 invoked by uid 48); 11 Dec 2018 02:38:16 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87922] ICE in gfc_wide_strlen, at fortran/scanner.c:142 Date: Tue, 11 Dec 2018 02:38: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution assigned_to 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: 2018-12/txt/msg01543.txt.bz2 Content-length: 716 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87922 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |kargl at gcc dot gnu.org Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gn= u.org Target Milestone|9.0 |8.3 --- Comment #3 from kargl at gcc dot gnu.org --- Fixed on trunk and branch-8. Have wrong PR number in ChangeLogs on trunk, which is why the commit is not reflected here. >>From gcc-bugs-return-625428-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 02:44:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10693 invoked by alias); 11 Dec 2018 02:44:47 -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 10525 invoked by uid 48); 11 Dec 2018 02:44:35 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88139] ICE in get_c_type_name, at fortran/dump-parse-tree.c:3047 Date: Tue, 11 Dec 2018 02:44: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: 9.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig 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: 2018-12/txt/msg01544.txt.bz2 Content-length: 798 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88139 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #4 from kargl at gcc dot gnu.org --- Record F2018 constraint. C1554 If proc-language-binding-spec is specified for a procedure, each of its dummy arguments shall be an interoperable procedure (18.3.7) or a variable that is interoperable (18.3.5, 18.3.6), assumed-shape, assumed-rank, assumed-type, of type CHARACTER with assumed length, or that has the ALLOCATABLE or POINTER attribute. I had a patch for this, but lost it when committing my last 10 patches. >>From gcc-bugs-return-625429-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 02:49:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27808 invoked by alias); 11 Dec 2018 02:48:54 -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 27267 invoked by uid 48); 11 Dec 2018 02:48:28 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88139] ICE in get_c_type_name, at fortran/dump-parse-tree.c:3047 Date: Tue, 11 Dec 2018 02:48: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: 9.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig 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: 2018-12/txt/msg01545.txt.bz2 Content-length: 737 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88139 --- Comment #5 from kargl at gcc dot gnu.org --- (In reply to kargl from comment #4) > Record F2018 constraint. >=20 > C1554 If proc-language-binding-spec is specified for a procedure, each > of its dummy arguments shall be an interoperable procedure (18.3.7) > or a variable that is interoperable (18.3.5, 18.3.6), assumed-shap= e, > assumed-rank, assumed-type, of type CHARACTER with assumed length, > or that has the ALLOCATABLE or POINTER attribute. >=20 > I had a patch for this, but lost it when committing my last 10 patches. Thankfully, there are mailing list archives. See https://gcc.gnu.org/ml/fortran/2018-12/msg00038.html for the patch. >>From gcc-bugs-return-625430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 02:50:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33647 invoked by alias); 11 Dec 2018 02:50: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 33540 invoked by uid 48); 11 Dec 2018 02:50:37 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88444] New: [9 Regression] ICE: tree check: expected ssa_name, have integer_cst in live_on_edge, at tree-vrp.c:468; or ICE: tree check: expected ssa_name, have integer_cst in get_value_range, at vr-values.c:84 Date: Tue, 11 Dec 2018 02:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01546.txt.bz2 Content-length: 5204 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88444 Bug ID: 88444 Summary: [9 Regression] ICE: tree check: expected ssa_name, have integer_cst in live_on_edge, at tree-vrp.c:468; or ICE: tree check: expected ssa_name, have integer_cst in get_value_range, at vr-values.c:84 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-checking, ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- 1. gcc-9.0.0-alpha20181209 snapshot (r266934) ICEs when compiling the following snippet w/ -O1 (-O2, -O3, -Ofast): int ve; int br (int, int); int nd (long int xt) { return !!xt ? xt : 1; } void yo (int ub) { ve +=3D br (0, 0) + nd (ub); } void fy (void) { int sb =3D 0; ve =3D ve || br (0, 0); ve =3D ve || br (0, 0); ve =3D ve || br (0, 0); yo (sb); } % gcc-9.0.0-alpha20181209 -O1 -finline-functions -finline-small-functions -ftree-vrp -fno-tree-ccp -fno-tree-forwprop -fno-tree-fre -c cki1gbbg.c during GIMPLE pass: vrp cki1gbbg.c: In function 'fy': cki1gbbg.c:19:1: internal compiler error: tree check: expected ssa_name, ha= ve integer_cst in live_on_edge, at tree-vrp.c:468 19 | fy (void) | ^~ 0x6dceef tree_check_failed(tree_node const*, char const*, int, char const*, ...) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= tree.c:9757 0x6d9c18 tree_check(tree_node*, char const*, int, char const*, tree_code) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= tree.h:3157 0x6d9c18 live_on_edge =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= tree-vrp.c:468 0x6d9c18 live_on_edge =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= tree-vrp.c:465 0xf7b53f finish_register_edge_assert_for =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= tree-vrp.c:3510 0xf8a927 find_conditional_asserts =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= tree-vrp.c:3554 0xf8a927 find_assert_locations_1 =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= tree-vrp.c:3823 0xf8ea12 find_assert_locations =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= tree-vrp.c:3984 0xf8ea12 insert_range_assertions =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= tree-vrp.c:4308 0xf8ea12 execute_vrp =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= tree-vrp.c:6758 2. Replacing -O1 w/ -Og yield the following: % gcc-9.0.0-alpha20181209 -Og -finline-functions -finline-small-functions -ftree-vrp -fno-tree-ccp -fno-tree-forwprop -fno-tree-fre -c cki1gbbg.c during GIMPLE pass: printf-return-value cki1gbbg.c: In function 'fy': cki1gbbg.c:19:1: internal compiler error: tree check: expected ssa_name, ha= ve integer_cst in get_value_range, at vr-values.c:84 19 | fy (void) | ^~ 0x6dceef tree_check_failed(tree_node const*, char const*, int, char const*, ...) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= tree.c:9757 0x6f4cd1 tree_check(tree_node const*, char const*, int, char const*, tree_c= ode) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= tree.h:3413 0x6f4cd1 vr_values::get_value_range(tree_node const*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= vr-values.c:84 0x14f9bd6 evrp_range_analyzer::get_value_range(tree_node const*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= gimple-ssa-evrp-analyze.h:41 0x14f9bd6 evrp_range_analyzer::try_find_new_range(tree_node*, tree_node*, tree_code, tree_node*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= gimple-ssa-evrp-analyze.c:87 0x14fa9d3 evrp_range_analyzer::record_ranges_from_incoming_edge(basic_block_def*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= gimple-ssa-evrp-analyze.c:193 0x14faf4d evrp_range_analyzer::enter(basic_block_def*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= gimple-ssa-evrp-analyze.c:76 0x151a7eb before_dom_children =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= gimple-ssa-sprintf.c:4157 0x14d78d2 dom_walker::walk(basic_block_def*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= domwalk.c:353 0x1515acd execute =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181209/work/gcc-9-20181209/gcc/= gimple-ssa-sprintf.c:4192 >>From gcc-bugs-return-625431-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 03:32:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69414 invoked by alias); 11 Dec 2018 03:32: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 69286 invoked by uid 48); 11 Dec 2018 03:31:56 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled Date: Tue, 11 Dec 2018 03:32: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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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 see_also 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: 2018-12/txt/msg01547.txt.bz2 Content-length: 2290 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87951 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.o= rg See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D61864 --- Comment #15 from Eric Gallager --- (In reply to Askar Safin from comment #11) > (In reply to Jonathan Wakely from comment #10) > > I wish people would just learn how enums work, it's not that complicate= d. >=20 > Okey, now I understand everything. Now I see that, well, -fstrict-enums > silences warning for code from comment #1 only because number of enum > alternatives happen to be power of 2. If it would be, say, 3, then code f= rom > comment #1 will always produce a warning even with -fstrict-enums. And al= so > I understand that code with "enum class" will always produce a warning. >=20 > So, gcc doesn't have way to enable clang-style warning behavior for enums. > And gcc doesn't have such way for "enum class", too. And -fstrict-enums > enables clang-style warning behavior for code from comment #1 only because > this code has power of 2 number of alternatives. >=20 > And also I understand that current gcc behavior is not bug and is absolut= ely > standard-compliant. >=20 > But, well, I still don't like current g++ behavior. I want g++ to not rep= ort > "reaching end of non-void..." if all switch alternatives are handled, at > least if some optional option is passed to gcc. I want clang behavior. Ok= ey, > you may mark this bug as "wishlist", but I still think that clang-style > behavior here is very useful feature. >=20 > Look here, LLVM project was forced to introduce special kludge to make su= re > g++ will not give useless warnings: > http://llvm.org/docs/CodingStandards.html#don-t-use-default-labels-in-ful= ly- > covered-switches-over-enumerations For the warning clang uses mentioned in the link (-Wcovered-switch-default)= see bug 61864. (It looks like the behavior to respect unreachables has been upd= ated since the last time I checked it) >>From gcc-bugs-return-625432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 04:57:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44415 invoked by alias); 11 Dec 2018 04:57: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 40103 invoked by uid 55); 11 Dec 2018 04:57:29 -0000 From: "law at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/80520] [7/8/9 Regression] Performance regression from missing if-conversion Date: Tue, 11 Dec 2018 04:57: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: law at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01548.txt.bz2 Content-length: 758 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80520 --- Comment #12 from Jeffrey A. Law --- Author: law Date: Tue Dec 11 04:56:54 2018 New Revision: 266971 URL: https://gcc.gnu.org/viewcvs?rev=3D266971&root=3Dgcc&view=3Drev Log: PR tree-optimization/80520 * gimple-ssa-split-paths.c (is_feasible_trace): Recognize half diamonds that are likely if convertable. * gcc.dg/tree-ssa/split-path-5.c: Update expected output. * gcc.dg/tree-ssa/split-path-11.c: New test. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/split-path-11.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-ssa-split-paths.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/tree-ssa/split-path-5.c >>From gcc-bugs-return-625433-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 05:17:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32113 invoked by alias); 11 Dec 2018 05:17:08 -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 32049 invoked by uid 48); 11 Dec 2018 05:17:05 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/33315] stores not commoned by sinking Date: Tue, 11 Dec 2018 05: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: 4.3.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth 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: 2018-12/txt/msg01549.txt.bz2 Content-length: 1105 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D33315 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |law at redhat dot com --- Comment #11 from Jeffrey A. Law --- We're closer now than before: test () { int i; [local count: 1073741824]: i_8 =3D num; if (i_8 =3D=3D 1) goto ; [34.00%] else goto ; [66.00%] [local count: 365072220]: MEM[(int *)&a] =3D 0; MEM[(int *)&a + 4B] =3D 0; [local count: 1073741824]: MEM[(int *)&a + 8B] =3D 0; return; [local count: 730144446]: MEM[(int *)&a] =3D 0; MEM[(int *)&a + 4B] =3D 0; goto ; [100.00%] } I wonder if the block hashing stuff from ICF would allow us to determine th= at bb3 and bb5 are equivalent. That in turn would allow us to recognize the t= est in bb2 isn't actually needed. It was always my hope that the ICF infrastructure could be used in this way. >>From gcc-bugs-return-625434-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 06:17:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40545 invoked by alias); 11 Dec 2018 06:17:53 -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 40494 invoked by uid 48); 11 Dec 2018 06:17:50 -0000 From: "edlinger at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88261] [9 Regression] ICE: verify_gimple failed (error: non-trivial conversion at assignment) Date: Tue, 11 Dec 2018 06:17: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: 9.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: edlinger 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: 9.0 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: 2018-12/txt/msg01550.txt.bz2 Content-length: 352 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88261 --- Comment #4 from Bernd Edlinger --- For G++ versions, where this was accepted with -fpermissive, the code was wrong: struct str { int len; char s[]; }; int foo() { struct str b =3D { 2, "b" }; return sizeof(b); } =3D> movl $4, %eax ret >>From gcc-bugs-return-625435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 07:08:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119998 invoked by alias); 11 Dec 2018 07:08: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 119890 invoked by uid 48); 11 Dec 2018 07:08:49 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88437] Excessive struct alignment on x86_64 Date: Tue, 11 Dec 2018 07:08: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 2018-12/txt/msg01551.txt.bz2 Content-length: 813 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88437 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- For arrays, this is required by x86-64 psABI, which says that arrays 16 byt= es or larger must be 16 bytes aligned. For other aggregates, this is an optimization, so that one can use vector loads/stores to copy the object etc. If you want to use section attribute and place the structures as an array, = you need to use aligned attribute and specify the exact alignment you want, the= n it will be honored and no gaps will be inserted. >>From gcc-bugs-return-625436-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 07:22:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64161 invoked by alias); 11 Dec 2018 07:22:34 -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 64105 invoked by uid 48); 11 Dec 2018 07:22:30 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88437] Excessive struct alignment on x86_64 Date: Tue, 11 Dec 2018 07:22: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 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: 2018-12/txt/msg01552.txt.bz2 Content-length: 870 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88437 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Uro=C5=A1 Bizjak --- This is due to: '-malign-data=3DTYPE' Control how GCC aligns variables. Supported values for TYPE are 'compat' uses increased alignment value compatible uses GCC 4.8 and earlier, 'abi' uses alignment value as specified by the psABI, and 'cacheline' uses increased alignment value to match the cache line size. 'compat' is the default. You can use -malign-data=3Dabi to get 8 byte alignment for your case. Not a bug. >>From gcc-bugs-return-625437-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 07:44:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112643 invoked by alias); 11 Dec 2018 07:44:09 -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 112467 invoked by uid 48); 11 Dec 2018 07:43:58 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88444] [9 Regression] ICE: tree check: expected ssa_name, have integer_cst in live_on_edge, at tree-vrp.c:468; or ICE: tree check: expected ssa_name, have integer_cst in get_value_range, at vr-values.c:84 Date: Tue, 11 Dec 2018 07:44: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: 9.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone 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: 2018-12/txt/msg01553.txt.bz2 Content-length: 616 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88444 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-11 CC| |jakub at gcc dot gnu.org Target Milestone|--- |9.0 Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Started with r266739. >>From gcc-bugs-return-625438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 07:46:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116992 invoked by alias); 11 Dec 2018 07:46: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 116912 invoked by uid 55); 11 Dec 2018 07:46:21 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88430] -Wmissing-attributes warnings when including libquadmath headers Date: Tue, 11 Dec 2018 07:46: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: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01554.txt.bz2 Content-length: 419 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88430 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue Dec 11 07:45:47 2018 New Revision: 266972 URL: https://gcc.gnu.org/viewcvs?rev=3D266972&root=3Dgcc&view=3Drev Log: PR c/88430 * quadmath_weak.h (__qmath2): Add __quadmath_throw. Modified: trunk/libquadmath/ChangeLog trunk/libquadmath/quadmath_weak.h >>From gcc-bugs-return-625439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 08:13:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21898 invoked by alias); 11 Dec 2018 08:13: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 21843 invoked by uid 48); 11 Dec 2018 08:13:53 -0000 From: "antoshkka at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88445] New: noexcept(expr) should return true with -fno-exceptions Date: Tue, 11 Dec 2018 08:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: antoshkka 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 keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01555.txt.bz2 Content-length: 1188 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88445 Bug ID: 88445 Summary: noexcept(expr) should return true with -fno-exceptions Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: antoshkka at gmail dot com Target Milestone: --- Consider the following example: #include struct test { test(); test(test&&); test& operator=3D(test&&); }; void test_func() { static_assert(noexcept(test{test()}), ""); static_assert(std::is_nothrow_move_constructible::value, ""); static_assert(std::is_nothrow_move_assignable::value, ""); } The static assertions fail with the -fno-exceptions flag however no excepti= on could happen because all the exceptions are disabled. Please adjust the noexcept(expr) logic for the -fno-exceptions flag. Such adjustment is essential because the standard library heavily relies on= the type traits and chooses the suboptimal algorithms in -fno-exceptions environments. >>From gcc-bugs-return-625440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 08:26:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92036 invoked by alias); 11 Dec 2018 08:26:54 -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 91968 invoked by uid 48); 11 Dec 2018 08:26:47 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88444] [9 Regression] ICE: tree check: expected ssa_name, have integer_cst in live_on_edge, at tree-vrp.c:468; or ICE: tree check: expected ssa_name, have integer_cst in get_value_range, at vr-values.c:84 Date: Tue, 11 Dec 2018 08:26: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: 9.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 9.0 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: 2018-12/txt/msg01556.txt.bz2 Content-length: 2137 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88444 --- Comment #2 from Jakub Jelinek --- We end up with non-folded statement _22 =3D (long int) 0; because of all the disabled and enabled optimizations (IPA-VRP propagated constant not cleaned up). I think: --- gcc/tree-vrp.c.jj 2018-12-07 00:27:25.419941079 +0100 +++ gcc/tree-vrp.c 2018-12-11 09:25:58.731750953 +0100 @@ -2894,6 +2894,7 @@ register_edge_assert_for_2 (tree name, e { name2 =3D gimple_assign_rhs1 (def_stmt); if (CONVERT_EXPR_CODE_P (rhs_code) + && TREE_CODE (name2) =3D=3D SSA_NAME && INTEGRAL_TYPE_P (TREE_TYPE (name2)) && TYPE_UNSIGNED (TREE_TYPE (name2)) && prec =3D=3D TYPE_PRECISION (TREE_TYPE (name2)) @@ -2990,6 +2991,7 @@ register_edge_assert_for_2 (tree name, e wide_int rmin, rmax; tree rhs1 =3D gimple_assign_rhs1 (def_stmt); if (INTEGRAL_TYPE_P (TREE_TYPE (rhs1)) + && TREE_CODE (rhs1) =3D=3D SSA_NAME /* Make sure the relation preserves the upper/lower boundary = of the range conservatively. */ && (comp_code =3D=3D NE_EXPR @@ -3054,6 +3056,7 @@ register_edge_assert_for_2 (tree name, e { names[1] =3D gimple_assign_rhs1 (def_stmt2); if (!CONVERT_EXPR_CODE_P (gimple_assign_rhs_code (def_stm= t2)) + || TREE_CODE (names[1]) !=3D SSA_NAME || !INTEGRAL_TYPE_P (TREE_TYPE (names[1])) || (TYPE_PRECISION (TREE_TYPE (name2)) !=3D TYPE_PRECISION (TREE_TYPE (names[1])))) @@ -3323,6 +3326,7 @@ register_edge_assert_for_1 (tree op, enu conversion or conversion from non-integral type. */ tree rhs =3D gimple_assign_rhs1 (op_def); if (INTEGRAL_TYPE_P (TREE_TYPE (rhs)) + && TREE_CODE (rhs) =3D=3D SSA_NAME && (TYPE_PRECISION (TREE_TYPE (rhs)) <=3D TYPE_PRECISION (TREE_TYPE (op)))) register_edge_assert_for_1 (rhs, code, e, asserts); should fix this. >>From gcc-bugs-return-625441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 08:31:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27528 invoked by alias); 11 Dec 2018 08:31:50 -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 21690 invoked by uid 55); 11 Dec 2018 08:31:45 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88145] ICE: unrecognizable insn (mffs) targeting 32-bit BE FPU-less powerpc CPUs Date: Tue, 11 Dec 2018 08:31: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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 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: 2018-12/txt/msg01557.txt.bz2 Content-length: 1002 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88145 --- Comment #1 from Segher Boessenkool --- Author: segher Date: Tue Dec 11 08:30:36 2018 New Revision: 266973 URL: https://gcc.gnu.org/viewcvs?rev=3D266973&root=3Dgcc&view=3Drev Log: rs6000: Don't use rs6000_isa_flags_explicit for soft float tests (PR88145) ...specifically, those for builtins. Soft float can be enabled implicitly, too (for certain CPUs for example). We should use rs6000_isa_flags instead, to decide whether to expand a builtin or to bail out with an error instead. PR target/88145 * config/rs6000/rs6000.c (rs6000_expand_zeroop_builtin): Use rs6000_isa_flags instead of rs6000_isa_flags_explicit to decide whether soft float is enabled. (rs6000_expand_mtfsb_builtin): Ditto. (rs6000_expand_set_fpscr_rn_builtin): Ditto. (rs6000_expand_set_fpscr_drn_builtin): Ditto. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000.c >>From gcc-bugs-return-625442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 08:33:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40875 invoked by alias); 11 Dec 2018 08:33: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 40772 invoked by uid 48); 11 Dec 2018 08:33:52 -0000 From: "antoshkka at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88445] noexcept(expr) should return true with -fno-exceptions Date: Tue, 11 Dec 2018 08:33: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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: antoshkka 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: 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: 2018-12/txt/msg01558.txt.bz2 Content-length: 371 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88445 --- Comment #1 from Antony Polukhin --- Hm... This was discussed in Clang and looks like such optimization could br= eak ABI and cause ODR violations https://bugs.llvm.org/show_bug.cgi?id=3D27442#= c4 If nothing changed since then, I'm OK with closin this issue as Invalid or Won't Fix. >>From gcc-bugs-return-625443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 08:38:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50863 invoked by alias); 11 Dec 2018 08:38:30 -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 50776 invoked by uid 48); 11 Dec 2018 08:38:26 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBpcGEvODc5NTddIFs5IFJlZ3Jlc3Npb25dIElDRSB0cmVlIGNoZWNr?= =?UTF-8?B?OiBleHBlY3RlZCB0cmVlIHRoYXQgY29udGFpbnMg4oCYZGVjbCBtaW5pbWFs?= =?UTF-8?B?4oCZIHN0cnVjdHVyZSwgaGF2ZSDigJhpZGVudGlmaWVyX25vZGXigJkgaW4g?= =?UTF-8?B?d2Fybl9vZHIsIGF0IGlwYS1kZXZpcnQuYzoxMDUxIHNpbmNlIHIyNjU1MTk=?= Date: Tue, 11 Dec 2018 08:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01559.txt.bz2 Content-length: 778 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87957 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu.o= rg --- Comment #16 from Eric Botcazou --- > (gdb) pt > warning: Expression is not an assignment (and might have no effect) > system__tasking__protected_objects__operations__communication_block > sizes-gimplified volatile visited type_2 BLK The problem is here ^^^^^^^ I think, i.e. we have a volatile variant. The problem may come from the Ada front-end, but it would be nice to have Jan's viewpoint. >>From gcc-bugs-return-625444-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 08:40:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52847 invoked by alias); 11 Dec 2018 08:40:16 -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 52777 invoked by uid 48); 11 Dec 2018 08:40:12 -0000 From: "eric at efcs dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88446] New: __builtin_is_constant_evaluated rejects some converted constant expressions. Date: Tue, 11 Dec 2018 08:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eric at efcs dot ca 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 Message-ID: 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: 2018-12/txt/msg01560.txt.bz2 Content-length: 752 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88446 Bug ID: 88446 Summary: __builtin_is_constant_evaluated rejects some converted constant expressions. Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: eric at efcs dot ca Target Milestone: --- __builtin_is_constant_evaluated() is not a constant expression when used in array bounds or new expressions. // g++ -fsyntax-only -std=3Dc++2a=20 char CA[__builtin_is_constant_evaluated()]; // rejects-valid auto CP =3D new char[3][__builtin_is_constant_evaluated()]; // rejects-valid >>From gcc-bugs-return-625445-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 08:56:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1216 invoked by alias); 11 Dec 2018 08:56:54 -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 129138 invoked by uid 48); 11 Dec 2018 08:56:49 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88446] __builtin_is_constant_evaluated rejects some converted constant expressions. Date: Tue, 11 Dec 2018 08:56: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01561.txt.bz2 Content-length: 986 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88446 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-11 CC| |jason at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- And as Eric mentioned, static_assert (__builtin_is_constant_evaluated ()); should not fail either. I guess the array bounds including new are because GCC as an extension supp= orts VLAs (though sure, outside of function contexts we reject them anyway). Jason, do you think we should handle these bounds with pretend_const_requir= ed true to cxx_eval_outermost_constant_expr, like e.g. maybe_constant_init_1 w= ith pretend_const_required does? >>From gcc-bugs-return-625446-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 08:58:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10787 invoked by alias); 11 Dec 2018 08:58:46 -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 10606 invoked by uid 48); 11 Dec 2018 08:58:34 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88134] ICE in create_component_ref_by_pieces_1, at tree-ssa-pre.c:2520 Date: Tue, 11 Dec 2018 08:58: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 2018-12/txt/msg01562.txt.bz2 Content-length: 463 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88134 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |segher at gcc dot gnu.org --- Comment #7 from Segher Boessenkool --- I cannot reproduce it either, not with any version of powerpc-linux-gcc. >>From gcc-bugs-return-625447-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 08:59:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16650 invoked by alias); 11 Dec 2018 08:59: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 16494 invoked by uid 48); 11 Dec 2018 08:59:38 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBpcGEvODc5NTddIFs5IFJlZ3Jlc3Npb25dIElDRSB0cmVlIGNoZWNr?= =?UTF-8?B?OiBleHBlY3RlZCB0cmVlIHRoYXQgY29udGFpbnMg4oCYZGVjbCBtaW5pbWFs?= =?UTF-8?B?4oCZIHN0cnVjdHVyZSwgaGF2ZSDigJhpZGVudGlmaWVyX25vZGXigJkgaW4g?= =?UTF-8?B?d2Fybl9vZHIsIGF0IGlwYS1kZXZpcnQuYzoxMDUxIHNpbmNlIHIyNjU1MTk=?= Date: Tue, 11 Dec 2018 08:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01563.txt.bz2 Content-length: 607 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87957 --- Comment #17 from Eric Botcazou --- > The problem is here ^^^^^^^ I think, i.e. we have a volatile variant. The > problem may come from the Ada front-end, but it would be nice to have Jan= 's > viewpoint. It comes from libgnarl/s-tpobop.ads: type Communication_Block is record Self : Task_Id; Enqueued : Boolean :=3D True; Cancelled : Boolean :=3D False; end record; pragma Volatile (Communication_Block); i.e. the declared type is volatile (but of course the main variant is not). >>From gcc-bugs-return-625448-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 09:17:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85799 invoked by alias); 11 Dec 2018 09:17: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 81047 invoked by uid 48); 11 Dec 2018 09:17:32 -0000 From: "mscfd at gmx dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88447] New: Non-contiguous array argument of some class not passed properly to subroutine Date: Tue, 11 Dec 2018 09:17: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mscfd at gmx dot net 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 Message-ID: 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: 2018-12/txt/msg01564.txt.bz2 Content-length: 2319 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88447 Bug ID: 88447 Summary: Non-contiguous array argument of some class not passed properly to subroutine Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: mscfd at gmx dot net Target Milestone: --- Using a non-contiguous argument to a subroutine whose declaration is "class= (s), dimension(:)" gives wrong results. The output looks like that some internal offset in the array descriptor is computed wrongly. Using type(s) instead of class(s) fixes the problem. The bug also occurs with the class(*) variant. module mod implicit none private public p, qi, qr, qv type, public :: s real, dimension(1:3) :: vec end type s type, public :: t integer :: i type(s) :: v real :: r end type t contains subroutine p(x) class(*), dimension(:), intent(in) :: x integer :: i select type (x) type is (integer) write(*,'(a,*(i12))') 'x =3D ', x type is (real) write(*,'(a,*(f12.3))') 'x =3D ', x type is (s) write(*,'(a,*(3f12.3," |"))') 'x =3D ', (x(i)%vec, i=3D1,ubound(x,1)) end select end subroutine p subroutine qi(x) integer, dimension(:), intent(in) :: x write(*,'(a,*(i12))') 'x =3D ', x end subroutine qi subroutine qr(x) real, dimension(:), intent(in) :: x write(*,'(a,*(f12.3))') 'x =3D ', x end subroutine qr subroutine qv(x) ! with type(s) the bug does not occur !type(s), dimension(:), intent(in) :: x class(s), dimension(:), intent(in) :: x integer :: i write(*,'(a,*(3f12.3," |"))') 'x =3D ', (x(i)%vec, i=3D1,ubound(x,1)) end subroutine qv end module mod program noncontiguous use mod implicit none integer :: k type(t), dimension(1:4) :: a do k =3D 1,4 a(k)%i =3D k a(k)%r =3D 10.0 * 2.0*real(k) a(k)%v%vec =3D [real(k)-2.0, real(k)-3.0, real(k)-5.0] end do ! wrong output for all three calls call p(a%i) call p(a%r)=20 call p(a%v) ! correct output for the first and second call, ! wrong output for third call (correct if type(s) instead of class(s) is us= ed) call qi(a%i) call qr(a%r) call qv(a%v) end program noncontiguous >>From gcc-bugs-return-625449-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 09:21:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103390 invoked by alias); 11 Dec 2018 09:21:00 -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 103325 invoked by uid 48); 11 Dec 2018 09:20:56 -0000 From: "mscfd at gmx dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88447] Non-contiguous array argument of some class not passed properly to subroutine Date: Tue, 11 Dec 2018 09:21: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mscfd at gmx dot net 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: 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: 2018-12/txt/msg01565.txt.bz2 Content-length: 804 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88447 --- Comment #1 from martin --- Here is a smaller reproducer. The component "integer :: i" in type t is necessary to reproduce the bug. module mod implicit none private public qv type, public :: s real, dimension(1:3) :: vec end type s type, public :: t integer :: i type(s) :: v end type t contains subroutine qv(x) class(s), dimension(:), intent(in) :: x integer :: i write(*,'(a,*(3f12.3," |"))') 'x =3D ', (x(i)%vec, i=3D1,ubound(x,1)) end subroutine qv end module mod program noncontiguous use mod implicit none integer :: k type(t), dimension(1:2) :: a do k =3D 1,2 a(k)%i =3D k a(k)%v%vec =3D [real(k)+1.0, real(k)+2.0, real(k)+3.0] end do call qv(a%v) end program noncontiguous >>From gcc-bugs-return-625450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 09:22:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110789 invoked by alias); 11 Dec 2018 09:22: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 110676 invoked by uid 48); 11 Dec 2018 09:22:36 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88433] wrong code for printf after a pointer cast from a pointer to an adjacent object Date: Tue, 11 Dec 2018 09:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: alias, 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: 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 component dependson 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: 2018-12/txt/msg01566.txt.bz2 Content-length: 1614 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88433 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |alias Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-11 Component|target |rtl-optimization Depends on| |49330 Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- I think this is a dup of the bug pointing to RTL alias analysis which cannot properly distinguish between pointers and integers when following to base terms. We expand from [local count: 1073741825]: ix_5 =3D (long int) &x; ix_6 =3D ix_5 + 4; ix.1_1 =3D (int *) ix_6; p =3D ix.1_1; q =3D &y; _14 =3D MEM[(char * {ref-all})&p]; _15 =3D MEM[(char * {ref-all})&q]; if (_14 =3D=3D _15) goto ; [33.00%] else goto ; [67.00%] [local count: 354334802]: *ix.1_1 =3D 11; y.4_3 =3D y; __builtin_printf ("%i", y.4_3); [tail call] where RTL has plenty opportunity to track down ix.1_1 to &x + 4 which makes it non-aliasing to y. Note we are saved for f just beacuse of optimization propagating a conditional equivalence p_5 =3D=3D &y. Dup of PR49330. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49330 [Bug 49330] Integer arithmetic on addresses optimised with pointer arithmet= ic rules >>From gcc-bugs-return-625451-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 09:25:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124526 invoked by alias); 11 Dec 2018 09:25: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 117260 invoked by uid 48); 11 Dec 2018 09:24:23 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88436] [9 regression] r265421 causes gcc.target/powerpc/pr54240.c to fail Date: Tue, 11 Dec 2018 09:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: 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: 9.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: 2018-12/txt/msg01567.txt.bz2 Content-length: 419 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88436 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.0 --- Comment #1 from Richard Biener --- Yeah, can you simply change to dump/scan phiopt2 please? >>From gcc-bugs-return-625452-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 09:28:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128743 invoked by alias); 11 Dec 2018 09:28:22 -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 128684 invoked by uid 48); 11 Dec 2018 09:28:18 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88440] size optimization of memcpy-like code Date: Tue, 11 Dec 2018 09:28: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization 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 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: 2018-12/txt/msg01568.txt.bz2 Content-length: 1127 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88440 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-11 CC| |mliska at suse dot cz, | |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- I think distributing patterns is reasonable for -O[2s]. I think we kept it= at -O3 because of compile-time concerns (dependence analysis is quadratic). But then we still don't do basic vectorization at -O[2s] either... (same compile-time for not too much gain issue). So if somebody is willing to do some compile-time / effect numbers (bootstrap / SPEC?) then we can consider enabling loop-distribute-patterns for -O[2s] for GCC 10. >>From gcc-bugs-return-625453-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 09:31:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 777 invoked by alias); 11 Dec 2018 09:31:15 -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 679 invoked by uid 48); 11 Dec 2018 09:31:06 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88442] Misleading error message with duplicated struct definitions Date: Tue, 11 Dec 2018 09:31: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: unknown X-Bugzilla-Keywords: diagnostic 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_known_to_work resolution 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: 2018-12/txt/msg01569.txt.bz2 Content-length: 618 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88442 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |RESOLVED Known to work| |8.1.0 Resolution|--- |FIXED Known to fail| |7.4.0 --- Comment #1 from Richard Biener --- This was fixed for GCC 8. >>From gcc-bugs-return-625454-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 09:31:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1502 invoked by alias); 11 Dec 2018 09:31: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 1451 invoked by uid 48); 11 Dec 2018 09:31:21 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings Date: Tue, 11 Dec 2018 09:31: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: 9.0 X-Bugzilla-Keywords: diagnostic 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: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01570.txt.bz2 Content-length: 477 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88443 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-11 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- =2E >>From gcc-bugs-return-625455-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 09:33:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3123 invoked by alias); 11 Dec 2018 09:33:29 -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 3051 invoked by uid 48); 11 Dec 2018 09:33:24 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88444] [9 Regression] ICE: tree check: expected ssa_name, have integer_cst in live_on_edge, at tree-vrp.c:468; or ICE: tree check: expected ssa_name, have integer_cst in get_value_range, at vr-values.c:84 Date: Tue, 11 Dec 2018 09:33: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: 9.0 X-Bugzilla-Keywords: ice-checking, 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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01571.txt.bz2 Content-length: 726 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88444 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #3 from Richard Biener --- _22 =3D (long int) 0; IMHO this is a bug, when IPA-CP propagates things we should fold the stmt. This is probably done by the inliner remapping a SSA name to a constant? It might be difficult to avoid folding all stmts but maybe we can detect when we replace sth by a constant and mark the stmt for folding then. Having _22 =3D 0; is OK. >>From gcc-bugs-return-625456-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 09:35:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13396 invoked by alias); 11 Dec 2018 09:35: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 11495 invoked by uid 48); 11 Dec 2018 09:35:11 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88445] noexcept(expr) should return true with -fno-exceptions Date: Tue, 11 Dec 2018 09:35: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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX 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 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: 2018-12/txt/msg01572.txt.bz2 Content-length: 480 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88445 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #2 from Richard Biener --- We certainly cannot break the ABI with -fno-exceptions. >>From gcc-bugs-return-625457-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 09:37:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19657 invoked by alias); 11 Dec 2018 09:37: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 19616 invoked by uid 48); 11 Dec 2018 09:37:32 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88431] link errors on build Date: Tue, 11 Dec 2018 09:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot 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: 2018-12/txt/msg01573.txt.bz2 Content-length: 422 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88431 --- Comment #1 from David Binderman --- This config line works fine: ../trunk/configure --prefix=3D/home/dcb/gcc/results.266950 \ --disable-multilib \ --disable-werror \ --enable-checking=3Ddf,extra,fold,rtl,yes \ --enable-languages=3Dd so it looks like using -O3 in the top level Makefile causes trouble. >>From gcc-bugs-return-625458-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 09:40:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35368 invoked by alias); 11 Dec 2018 09:40:21 -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 32841 invoked by uid 48); 11 Dec 2018 09:40:17 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled Date: Tue, 11 Dec 2018 09:40: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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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: 2018-12/txt/msg01574.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87951 --- Comment #16 from Jonathan Wakely --- (In reply to Martin Sebor from comment #14) > This is a duplicate of bug 87950, with most of the same discussion. >=20 > *** This bug has been marked as a duplicate of bug 87950 *** I think I need to add an "Enums 101" section to https://gcc.gnu.org/wiki/FA= Q or https://gcc.gnu.org/wiki/VerboseDiagnostics >>From gcc-bugs-return-625459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 09:43:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114150 invoked by alias); 11 Dec 2018 09:43:46 -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 111397 invoked by uid 48); 11 Dec 2018 09:43:42 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88448] New: [9 regression] gnat.dg/opt66.adb etc. FAIL Date: Tue, 11 Dec 2018 09:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget Message-ID: 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: 2018-12/txt/msg01575.txt.bz2 Content-length: 2451 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88448 Bug ID: 88448 Summary: [9 regression] gnat.dg/opt66.adb etc. FAIL Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: rguenth at gcc dot gnu.org Target Milestone: --- Target: sparc-sun-solaris2.11, i386-pc-solaris2.11 Between 20181209 (r266930) and 20181210 (r266959), three Ada tests regresse= d: +FAIL: cb4009a cb4009a.adb: In function 'CB4009A.P2': cb4009a.adb:114:5: error: BB 16 can not throw but has an EH edge +=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=3DGNAT BUG DETECTED=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+ | 9.0.0 20181210 (experimental) [trunk revision 266959] (i386-pc-solaris2.1= 1) GCC error:| | verify_flow_info failed | | Error detected around cb4009a.adb:114:5=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 [...] raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:407 gnatmake: "cb4009a.adb" compilation error +FAIL: gnat.dg/opt66.adb (test for excess errors) +FAIL: gnat.dg/opt66.adb 3 blank line(s) in output /vol/gcc/src/hg/trunk/local/gcc/testsuite/gnat.dg/opt66.adb: In function 'Opt66': /vol/gcc/src/hg/trunk/local/gcc/testsuite/gnat.dg/opt66.adb:13:4: error: BB= 12 can not throw but has an EH edge +=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=3DGNAT BUG DETECTED=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+ | 9.0.0 20181210 (experimental) [trunk revision 266959] (i386-pc-solaris2.1= 1) GCC error:| | verify_flow_info failed | | Error detected around /vol/gcc/src/hg/trunk/local/gcc/testsuite/gnat.dg/opt66.adb:13:4| [...] raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:407 gnatmake: "/vol/gcc/src/hg/trunk/local/gcc/testsuite/gnat.dg/opt66.adb" compilation error This might be from 2018-12-10 Richard Biener PR middle-end/88415 * gimple.c (gimple_assign_set_rhs_with_ops): Transfer EH info to a newly allocated stmt. * gcc.dg/gomp/pr88415.c: New testcase. >>From gcc-bugs-return-625460-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 09:44:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128927 invoked by alias); 11 Dec 2018 09:44:14 -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 126174 invoked by uid 48); 11 Dec 2018 09:44:09 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88448] [9 regression] gnat.dg/opt66.adb etc. FAIL Date: Tue, 11 Dec 2018 09:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro 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: 9.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: 2018-12/txt/msg01576.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88448 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.0 >>From gcc-bugs-return-625461-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 09:57:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112018 invoked by alias); 11 Dec 2018 09:57:05 -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 111954 invoked by uid 48); 11 Dec 2018 09:57:00 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88448] [9 regression] gnat.dg/opt66.adb etc. FAIL Date: Tue, 11 Dec 2018 09:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to 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: 2018-12/txt/msg01577.txt.bz2 Content-length: 596 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88448 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-12-11 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Yeah, likely. I'll have a look. >>From gcc-bugs-return-625462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 10:01:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15971 invoked by alias); 11 Dec 2018 10:01:46 -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 15809 invoked by uid 48); 11 Dec 2018 10:01:33 -0000 From: "vinay.m.engg at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83377] Missed optimization (x86): Bit operations should be converted to arithmetic Date: Tue, 11 Dec 2018 10:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: vinay.m.engg 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: 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: 2018-12/txt/msg01578.txt.bz2 Content-length: 1839 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83377 --- Comment #3 from Vinay Kumar --- The below mentioned pattern match in match.pd generates the assembly code similar to subtraction. =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 diff --git a/gcc/match.pd b/gcc/match.pd index fbb4d6f..3cde6a6 100644 --- a/gcc/match.pd +++ b/gcc/match.pd @@ -925,6 +925,11 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT) (bit_and @0 integer_all_onesp) (non_lvalue @0)) +/*Fold (x & ~CST) into (x - CST)*/ +(simplify(bit_and:c @0 INTEGER_CST@1) +(if ((INTEGRAL_TYPE_P (type) || VECTOR_INTEGER_TYPE_P (type))) + (minus @0 (negate @1)))) + /* x & x -> x, x | x -> x */ (for bitop (bit_and bit_ior) (simplify =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 Assembly generated is as follows: =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 test.o: file format elf64-x86-64 Disassembly of section .text: 0000000000000000 : 0: 48 83 ff fe cmp $0xfffffffffffffffe,%rdi 4: 74 04 je a 6: 48 8b 7f fd mov -0x3(%rdi),%rdi a: e9 00 00 00 00 jmpq f f: 90 nop 0000000000000010 : 10: 48 83 ff fe cmp $0xfffffffffffffffe,%rdi 14: 74 04 je 1a 16: 48 8b 7f fe mov -0x2(%rdi),%rdi 1a: e9 00 00 00 00 jmpq 1f =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 >>From gcc-bugs-return-625463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 10:17:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47349 invoked by alias); 11 Dec 2018 10:17:52 -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 42454 invoked by uid 48); 11 Dec 2018 10:17:48 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88134] ICE in create_component_ref_by_pieces_1, at tree-ssa-pre.c:2520 Date: Tue, 11 Dec 2018 10: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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: 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: 2018-12/txt/msg01579.txt.bz2 Content-length: 537 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88134 --- Comment #8 from Arseny Solokha --- Aha. Segher, you've helpfully reminded me about -msoft-float w/ your recent commit. So it's not (solely) my misconfiguration once again: https://gcc.godbolt.org/z/sshcIF (it's g++, because gcc for powerpc seems to be broken there; -O1 -ftree-pre instead of -O2, because it's the pass that actually fails; and 1.0 instead = of __builtin_huge_val (), because value the second operand doesn't really seem= to matter). >>From gcc-bugs-return-625464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 10:29:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47432 invoked by alias); 11 Dec 2018 10:29:18 -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 47335 invoked by uid 55); 11 Dec 2018 10:29:13 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/86004] [9 regression] Several lto test cases begin failing with r260963 Date: Tue, 11 Dec 2018 10:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01580.txt.bz2 Content-length: 2120 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86004 --- Comment #13 from Jakub Jelinek --- Author: jakub Date: Tue Dec 11 10:28:39 2018 New Revision: 266974 URL: https://gcc.gnu.org/viewcvs?rev=3D266974&root=3Dgcc&view=3Drev Log: PR lto/86004 * doc/sourcebuild.texi (lto_incremental): Document new effective target. * lib/target-supports.exp (check_effective_target_lto_incremental): New. * g++.dg/lto/pr69137_0.C: Require lto_incremental effective target. * g++.dg/lto/pr65316_0.C: Likewise. * g++.dg/lto/pr85176_0.C: Likewise. * g++.dg/lto/pr79000_0.C: Likewise. * g++.dg/lto/pr66180_0.C: Likewise. * g++.dg/lto/pr65193_0.C: Likewise. * g++.dg/lto/pr69077_0.C: Likewise. * g++.dg/lto/pr68057_0.C: Likewise. * g++.dg/lto/pr66705_0.C: Likewise. * g++.dg/lto/pr65302_0.C: Likewise. * g++.dg/lto/20091002-1_0.C: Likewise. * g++.dg/lto/pr81940_0.C: Likewise. * g++.dg/lto/pr64043_0.C: Likewise. * g++.dg/lto/pr65549_0.C: Likewise. * g++.dg/lto/pr69133_0.C: Likewise. * gfortran.dg/lto/pr79108_0.f90: Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/sourcebuild.texi trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/lto/20091002-1_0.C trunk/gcc/testsuite/g++.dg/lto/pr64043_0.C trunk/gcc/testsuite/g++.dg/lto/pr65193_0.C trunk/gcc/testsuite/g++.dg/lto/pr65302_0.C trunk/gcc/testsuite/g++.dg/lto/pr65316_0.C trunk/gcc/testsuite/g++.dg/lto/pr65549_0.C trunk/gcc/testsuite/g++.dg/lto/pr66180_0.C trunk/gcc/testsuite/g++.dg/lto/pr66705_0.C trunk/gcc/testsuite/g++.dg/lto/pr68057_0.C trunk/gcc/testsuite/g++.dg/lto/pr69077_0.C trunk/gcc/testsuite/g++.dg/lto/pr69133_0.C trunk/gcc/testsuite/g++.dg/lto/pr69137_0.C trunk/gcc/testsuite/g++.dg/lto/pr79000_0.C trunk/gcc/testsuite/g++.dg/lto/pr81940_0.C trunk/gcc/testsuite/g++.dg/lto/pr85176_0.C trunk/gcc/testsuite/gfortran.dg/lto/pr79108_0.f90 trunk/gcc/testsuite/lib/target-supports.exp >>From gcc-bugs-return-625465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 10:36:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78059 invoked by alias); 11 Dec 2018 10:36:34 -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 75453 invoked by uid 48); 11 Dec 2018 10:36:30 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88447] Non-contiguous array argument of some class not passed properly to subroutine Date: Tue, 11 Dec 2018 10:36: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01581.txt.bz2 Content-length: 781 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88447 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-11 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres --- Confirmed from 6.4 up to trunk (9.0). With 5.5.0 I get at run time At line 24 of file pr88447_1.f90 (unit =3D 6, file =3D 'stdout') Fortran runtime error: '*' requires at least one associated data descriptor (a,*(3f12.3," |")) ^ >>From gcc-bugs-return-625466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 10:46:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28127 invoked by alias); 11 Dec 2018 10:46:22 -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 27680 invoked by uid 48); 11 Dec 2018 10:45:45 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88134] ICE in create_component_ref_by_pieces_1, at tree-ssa-pre.c:2520 Date: Tue, 11 Dec 2018 10:46: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 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: 2018-12/txt/msg01582.txt.bz2 Content-length: 185 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88134 --- Comment #9 from Segher Boessenkool --- I cannot get that to fail either, with a trunk compiler :-/ >>From gcc-bugs-return-625467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 10:47:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29599 invoked by alias); 11 Dec 2018 10:47:45 -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 29553 invoked by uid 48); 11 Dec 2018 10:47:40 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88438] [F08] A pointer function reference can denote a variable in any variable definition context. Date: Tue, 11 Dec 2018 10:47: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on short_desc 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: 2018-12/txt/msg01583.txt.bz2 Content-length: 1064 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88438 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-11 Summary|A pointer function |[F08] A pointer function |reference can denote a |reference can denote a |variable in any variable |variable in any variable |definition context. |definition context. Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- At https://gcc.gnu.org/wiki/Fortran2008Status I see Unimplemented features -- based on the list in the "Introduction" of the F2= 008 standard ... A pointer function reference can denote a variable in any variable definiti= on context. ... >>From gcc-bugs-return-625468-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 10:51:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33621 invoked by alias); 11 Dec 2018 10:51:10 -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 33541 invoked by uid 48); 11 Dec 2018 10:51:06 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88134] ICE in create_component_ref_by_pieces_1, at tree-ssa-pre.c:2520 Date: Tue, 11 Dec 2018 10:51: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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: 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: 2018-12/txt/msg01584.txt.bz2 Content-length: 171 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88134 --- Comment #10 from Arseny Solokha --- Could your r266973 fix a root cause of this issue? >>From gcc-bugs-return-625469-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 10:54:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37382 invoked by alias); 11 Dec 2018 10:54: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 37322 invoked by uid 48); 11 Dec 2018 10:54:31 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88134] ICE in create_component_ref_by_pieces_1, at tree-ssa-pre.c:2520 Date: Tue, 11 Dec 2018 10:54: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 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: 2018-12/txt/msg01585.txt.bz2 Content-length: 179 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88134 --- Comment #11 from Segher Boessenkool --- AT12.0 however, like on godbolt, does in fact crash. >>From gcc-bugs-return-625470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 10:56:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39290 invoked by alias); 11 Dec 2018 10:56:06 -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 39189 invoked by uid 55); 11 Dec 2018 10:56:01 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88134] ICE in create_component_ref_by_pieces_1, at tree-ssa-pre.c:2520 Date: Tue, 11 Dec 2018 10:56: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de 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: 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: 2018-12/txt/msg01586.txt.bz2 Content-length: 417 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88134 --- Comment #12 from rguenther at suse dot de --- On Tue, 11 Dec 2018, asolokha at gmx dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88134 >=20 > --- Comment #10 from Arseny Solokha --- > Could your r266973 fix a root cause of this issue? Unlikely. I don't see how this assert can fire... >>From gcc-bugs-return-625472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 11:04:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67326 invoked by alias); 11 Dec 2018 11:04:52 -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 67215 invoked by uid 48); 11 Dec 2018 11:04:47 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88134] ICE in create_component_ref_by_pieces_1, at tree-ssa-pre.c:2520 Date: Tue, 11 Dec 2018 11:04: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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: 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: 2018-12/txt/msg01588.txt.bz2 Content-length: 1367 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88134 --- Comment #13 from Arseny Solokha --- In decl_address_invariant_p() we hit this break: 3423 case VAR_DECL:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 3424 if ((TREE_STATIC (op) || DECL_EXTERNAL (op))=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 3425 || DECL_THREAD_LOCAL_P (op)=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 3426 || DECL_CONTEXT (op) =3D=3D current_function_decl=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 3427 || decl_function_context (op) =3D=3D current_function_decl)= =20=20=20=20=20=20=20=20=20 3428 return true;=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 3429 break; and return false, which in the end becomes what is_gimple_min_invariant() returns. I can provide relevant dumps or gdb session printouts if so desire= d. At first glance I didn't notice anything glaringly wrong there, but admitte= dly I have no idea what to look at. >>From gcc-bugs-return-625471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 11:04:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66250 invoked by alias); 11 Dec 2018 11:04: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 66048 invoked by uid 48); 11 Dec 2018 11:04:13 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88204] New test case 26_numerics/complex/operators/more_constexpr.cc from r266416 fails Date: Tue, 11 Dec 2018 11:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: emsr at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status cf_reconfirmed_on cc dependson 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: 2018-12/txt/msg01587.txt.bz2 Content-length: 1131 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88204 Iain Sandoe changed: What |Removed |Added ---------------------------------------------------------------------------- Target|powerpc64*-*-* |powerpc64*-*-*,powerpc-*-ai | |x,powerpc*-*-darwin9 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-11 CC| |iains at gcc dot gnu.org Depends on| |27964, 19779 Ever confirmed|0 |1 --- Comment #1 from Iain Sandoe --- also on AIX and Darwin this looks to be the long-standing problem of no constant folding for IBM l= ong doubles on powerpc platforms that use them. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D19779 [Bug 19779] IBM 128bit long double format is not constant folded. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D27964 [Bug 27964] Wrong line ends on windows (XP) >>From gcc-bugs-return-625473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 11:10:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80897 invoked by alias); 11 Dec 2018 11:10: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 80576 invoked by uid 48); 11 Dec 2018 11:10:47 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88449] New: __builtin_is_constant_evaluated misbehaves due to constexpr call caching Date: Tue, 11 Dec 2018 11:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01589.txt.bz2 Content-length: 1377 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88449 Bug ID: 88449 Summary: __builtin_is_constant_evaluated misbehaves due to constexpr call caching Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- The is-constant-evaluated1.C testcase when constexpr inline bool is_constant_evaluated () noexcept { return __builtin_is_constant_evaluated (); } is added and all other __builtin_is_constant_evaluated calls are changed to is_constant_evaluated fails (if it is made dg-do run) due to C++ constexpr = call caching. Either we can just use the ctx->pretend_constant_evaluated as another "argument" for the caching purposes (as the patch I'm going to attach does)= , or we could do something smarter (remember during constexpr evaluation whether= any __builtin_is_constant_evaluated calls were seen), remember that in the cont= ext and use a tri-state in the constexpr_call hash table - not seen, pretend_constant_evaluated true or false. But we'd need to make sure we propagate it to all the callers right, if it is in the constexpr context, anytime we create a new context we'd need to or it back afterwards. >>From gcc-bugs-return-625474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 11:13:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91713 invoked by alias); 11 Dec 2018 11:13: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 91645 invoked by uid 48); 11 Dec 2018 11:13:31 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88134] ICE in create_component_ref_by_pieces_1, at tree-ssa-pre.c:2520 Date: Tue, 11 Dec 2018 11: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 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: 2018-12/txt/msg01590.txt.bz2 Content-length: 239 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88134 --- Comment #14 from Segher Boessenkool --- And none of the compilers I built crash. (Most have checking enabled, but = some not, so that's not it either). >>From gcc-bugs-return-625475-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 11:16:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103193 invoked by alias); 11 Dec 2018 11:16:54 -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 103038 invoked by uid 48); 11 Dec 2018 11:16:50 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88449] __builtin_is_constant_evaluated misbehaves due to constexpr call caching Date: Tue, 11 Dec 2018 11:16: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed attachments.created 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: 2018-12/txt/msg01591.txt.bz2 Content-length: 689 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88449 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-12-11 Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Created attachment 45205 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45205&action=3Dedit gcc9-pr88449.patch Untested fix. >>From gcc-bugs-return-625476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 11:26:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49899 invoked by alias); 11 Dec 2018 11:26:53 -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 49777 invoked by uid 55); 11 Dec 2018 11:26:48 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87369] [9 Regression] Regression on aarch64/copysign-bsl.c since r264264 Date: Tue, 11 Dec 2018 11:26: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rearnsha at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01592.txt.bz2 Content-length: 1553 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87369 --- Comment #2 from Richard Earnshaw --- Author: rearnsha Date: Tue Dec 11 11:26:15 2018 New Revision: 267019 URL: https://gcc.gnu.org/viewcvs?rev=3D267019&root=3Dgcc&view=3Drev Log: [aarch64] PR target/87369 Prefer bsl/bit/bif for copysign The copysign operations will almost always be performed on values in floating-point registers. As such, we do not want the compiler to simplify the operations into code sequences that can only be done using the general-purpose register set. Unfortunately, this is what is currently happening. Fortunately, it seems quite unlikely that copysign() will be subsequently followed by other logical operations on the values involved, so I think it is acceptable to use an unspec here. This allows us to preserve the operation in a form that allows the register allocator to make the right choice later on, without limitation on the final form of the operation (well, if we do end up using the gp register bank, we get a dead constant load that we cannot easily eliminate at a late stage). PR target/37369 * config/aarch64/iterators.md (sizem1): Add sizes for SFmode and DFmode. (Vbtype): Add SFmode mapping. * config/aarch64/aarch64.md (copysigndf3, copysignsf3): Delete. (copysign3): New expand pattern. (copysign3_insn): New insn pattern. Modified: trunk/gcc/ChangeLog trunk/gcc/config/aarch64/aarch64.md trunk/gcc/config/aarch64/iterators.md >>From gcc-bugs-return-625477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 11:26:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49907 invoked by alias); 11 Dec 2018 11:26:53 -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 49780 invoked by uid 55); 11 Dec 2018 11:26:48 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/37369] ice for legal C code Date: Tue, 11 Dec 2018 11:26: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.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME 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: 2018-12/txt/msg01593.txt.bz2 Content-length: 1553 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D37369 --- Comment #3 from Richard Earnshaw --- Author: rearnsha Date: Tue Dec 11 11:26:15 2018 New Revision: 267019 URL: https://gcc.gnu.org/viewcvs?rev=3D267019&root=3Dgcc&view=3Drev Log: [aarch64] PR target/87369 Prefer bsl/bit/bif for copysign The copysign operations will almost always be performed on values in floating-point registers. As such, we do not want the compiler to simplify the operations into code sequences that can only be done using the general-purpose register set. Unfortunately, this is what is currently happening. Fortunately, it seems quite unlikely that copysign() will be subsequently followed by other logical operations on the values involved, so I think it is acceptable to use an unspec here. This allows us to preserve the operation in a form that allows the register allocator to make the right choice later on, without limitation on the final form of the operation (well, if we do end up using the gp register bank, we get a dead constant load that we cannot easily eliminate at a late stage). PR target/37369 * config/aarch64/iterators.md (sizem1): Add sizes for SFmode and DFmode. (Vbtype): Add SFmode mapping. * config/aarch64/aarch64.md (copysigndf3, copysignsf3): Delete. (copysign3): New expand pattern. (copysign3_insn): New insn pattern. Modified: trunk/gcc/ChangeLog trunk/gcc/config/aarch64/aarch64.md trunk/gcc/config/aarch64/iterators.md >>From gcc-bugs-return-625478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 11:36:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101739 invoked by alias); 11 Dec 2018 11:36:49 -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 100867 invoked by uid 48); 11 Dec 2018 11:36:43 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87369] [9 Regression] Regression on aarch64/copysign-bsl.c since r264264 Date: Tue, 11 Dec 2018 11:36: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rearnsha at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01594.txt.bz2 Content-length: 783 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87369 Richard Earnshaw changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Richard Earnshaw --- It seems better to fix this by using an unspec that's specific to the copys= ign expansion. That means we don't need to nobble the other optimizations the compiler might do on bit-field manipulations. It's unlikely that copysign = will be followed by other bit-manipulating operations on a FP value, but we'll j= ust have to live with that if they are. >>From gcc-bugs-return-625479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 11:37:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103815 invoked by alias); 11 Dec 2018 11:37:06 -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 102956 invoked by uid 48); 11 Dec 2018 11:36:59 -0000 From: "kretz at kde dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/84949] -ffast-math bugged with respect to NaNs Date: Tue, 11 Dec 2018 11:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kretz at kde dot 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: 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: 2018-12/txt/msg01595.txt.bz2 Content-length: 2373 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84949 Matthias Kretz changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kretz at kde dot org --- Comment #6 from Matthias Kretz --- I'd like to make a case for numeric_limits::is_iec559 to fo= llow __STDC_IEC_559__. I.e. the following patch: --- a/libstdc++-v3/include/std/limits +++ b/libstdc++-v3/include/std/limits @@ -1649,7 +1649,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION denorm_min() _GLIBCXX_USE_NOEXCEPT { return __FLT_DENORM_MIN__; } static _GLIBCXX_USE_CONSTEXPR bool is_iec559 +#ifdef __STDC_IEC_559__ =3D has_infinity && has_quiet_NaN && has_denorm =3D=3D denorm_present; +#else + =3D false; +#endif static _GLIBCXX_USE_CONSTEXPR bool is_bounded =3D true; static _GLIBCXX_USE_CONSTEXPR bool is_modulo =3D false; @@ -1724,7 +1728,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION denorm_min() _GLIBCXX_USE_NOEXCEPT { return __DBL_DENORM_MIN__; } static _GLIBCXX_USE_CONSTEXPR bool is_iec559 +#ifdef __STDC_IEC_559__ =3D has_infinity && has_quiet_NaN && has_denorm =3D=3D denorm_present; +#else + =3D false; +#endif static _GLIBCXX_USE_CONSTEXPR bool is_bounded =3D true; static _GLIBCXX_USE_CONSTEXPR bool is_modulo =3D false; @@ -1799,7 +1807,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION denorm_min() _GLIBCXX_USE_NOEXCEPT { return __LDBL_DENORM_MIN__; } static _GLIBCXX_USE_CONSTEXPR bool is_iec559 +#ifdef __STDC_IEC_559__ =3D has_infinity && has_quiet_NaN && has_denorm =3D=3D denorm_present; +#else + =3D false; +#endif static _GLIBCXX_USE_CONSTEXPR bool is_bounded =3D true; static _GLIBCXX_USE_CONSTEXPR bool is_modulo =3D false; The __STDC_IEC_559__ macro is not defined when -ffast-math is active. is_ie= c559 requires "true if and only if the type adheres to ISO/IEC/IEEE 60559". I do= n't have IEC559 at hand, but I believe assuming no NaN, inf, or -0 can occur ma= kes the floating point types not adhere to IEC559. And IIUC, if __STDC_IEC_559__ is defined, then has_infinity, has_quiet_NaN = and has_denorm must all be true. So +#ifdef __STDC_IEC_559__ + =3D true; +#else + =3D false; +#endif should be correct. >>From gcc-bugs-return-625480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 11:41:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 611 invoked by alias); 11 Dec 2018 11:41:15 -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 559 invoked by uid 48); 11 Dec 2018 11:41:11 -0000 From: "kretz at kde dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/84949] -ffast-math bugged with respect to NaNs Date: Tue, 11 Dec 2018 11:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kretz at kde dot 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: 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: 2018-12/txt/msg01596.txt.bz2 Content-length: 268 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84949 --- Comment #7 from Matthias Kretz --- Example showing the discrepancy: https://godbolt.org/z/D15m71 Also PR83875 is relevant wrt. giving different answers depending on function attributes. >>From gcc-bugs-return-625481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 11:53:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62880 invoked by alias); 11 Dec 2018 11:53:23 -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 62830 invoked by uid 48); 11 Dec 2018 11:53:19 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88001] ASMCONS cannot handle properly UNSPEC(CONST) Date: Tue, 11 Dec 2018 11:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 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: 2018-12/txt/msg01597.txt.bz2 Content-length: 604 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88001 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-11 CC| |segher at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Segher Boessenkool --- Ah yes, I had release checking there. Confirmed. >>From gcc-bugs-return-625482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 12:01:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35410 invoked by alias); 11 Dec 2018 12:01: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 32054 invoked by uid 55); 11 Dec 2018 12:01:06 -0000 From: "nickc at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/88409] [9 Regression] FAIL at line 4429, options --format=gnu-v3: Date: Tue, 11 Dec 2018 12:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nickc at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01598.txt.bz2 Content-length: 506 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88409 --- Comment #8 from Nick Clifton --- Author: nickc Date: Tue Dec 11 11:59:53 2018 New Revision: 267020 URL: https://gcc.gnu.org/viewcvs?rev=3D267020&root=3Dgcc&view=3Drev Log: Fix a failure in the libiberty testsuite by increasing the demangle recursi= on limit to 2048. PR 88409 * demangle.h (DEMANGLE_RECURSION_LIMIT): Increase to 2048. Modified: trunk/include/ChangeLog trunk/include/demangle.h >>From gcc-bugs-return-625483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 12:03:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48283 invoked by alias); 11 Dec 2018 12:03:23 -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 48136 invoked by uid 48); 11 Dec 2018 12:03:19 -0000 From: "nickc at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/88409] [9 Regression] FAIL at line 4429, options --format=gnu-v3: Date: Tue, 11 Dec 2018 12:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nickc at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01599.txt.bz2 Content-length: 463 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88409 Nick Clifton changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #9 from Nick Clifton --- fixed by increasing the recursion limit to 2048. >>From gcc-bugs-return-625484-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 13:01:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32045 invoked by alias); 11 Dec 2018 13:01:43 -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 31861 invoked by uid 55); 11 Dec 2018 13:01:31 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88415] [7/8 Regression] ICE: verify_gimple failed (error: dead STMT in EH table) Date: Tue, 11 Dec 2018 13:01: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: ice-on-valid-code, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01600.txt.bz2 Content-length: 677 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88415 --- Comment #4 from Richard Biener --- Author: rguenth Date: Tue Dec 11 13:00:49 2018 New Revision: 267021 URL: https://gcc.gnu.org/viewcvs?rev=3D267021&root=3Dgcc&view=3Drev Log: 2018-12-11 Richard Biener PR middle-end/88448 PR middle-end/88415 * gimple.c (gimple_assign_set_rhs_with_ops): Revert previous change. * tree-complex.c (update_complex_assignment): Properly transfer or clean EH info around gimple_assign_set_rhs_with_ops. Modified: trunk/gcc/ChangeLog trunk/gcc/gimple.c trunk/gcc/tree-complex.c >>From gcc-bugs-return-625485-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 13:01:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32392 invoked by alias); 11 Dec 2018 13:01:46 -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 31812 invoked by uid 55); 11 Dec 2018 13:01:26 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88448] [9 regression] gnat.dg/opt66.adb etc. FAIL Date: Tue, 11 Dec 2018 13:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01601.txt.bz2 Content-length: 677 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88448 --- Comment #2 from Richard Biener --- Author: rguenth Date: Tue Dec 11 13:00:49 2018 New Revision: 267021 URL: https://gcc.gnu.org/viewcvs?rev=3D267021&root=3Dgcc&view=3Drev Log: 2018-12-11 Richard Biener PR middle-end/88448 PR middle-end/88415 * gimple.c (gimple_assign_set_rhs_with_ops): Revert previous change. * tree-complex.c (update_complex_assignment): Properly transfer or clean EH info around gimple_assign_set_rhs_with_ops. Modified: trunk/gcc/ChangeLog trunk/gcc/gimple.c trunk/gcc/tree-complex.c >>From gcc-bugs-return-625486-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 13:06:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43906 invoked by alias); 11 Dec 2018 13:06:38 -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 43832 invoked by uid 48); 11 Dec 2018 13:06:34 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86637] [9 Regression] ICE: tree check: expected block, have in inlining_chain_to_json, at optinfo-emit-json.cc:293 Date: Tue, 11 Dec 2018 13:06: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01602.txt.bz2 Content-length: 178 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86637 --- Comment #11 from Arseny Solokha --- Can this PR be closed now, or are there some issues left? >>From gcc-bugs-return-625487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 13:37:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118961 invoked by alias); 11 Dec 2018 13:37:38 -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 118686 invoked by uid 48); 11 Dec 2018 13:37:33 -0000 From: "sbence92 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/88450] New: ICE in stage 2 compiler while configuring libgcc Date: Tue, 11 Dec 2018 13:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sbence92 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: 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: 2018-12/txt/msg01603.txt.bz2 Content-length: 2093 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88450 Bug ID: 88450 Summary: ICE in stage 2 compiler while configuring libgcc Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: sbence92 at gmail dot com Target Milestone: --- Created attachment 45206 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45206&action=3Dedit main config.log Bootstrap fails under Win10 at configuring libgcc in stage2 with x86_64-w64-mingw32 host/target. Bootstraps succeeds with 9-20181118 snapshot with same configuration/toolchain and fails at the same point with later snapshots. Host: win10, mingw64 with gcc 8.1 + msys2 configure:3745: checking for suffix of object files configure:3767: /c/data/gcc9_b/./gcc/xgcc -B/c/data/gcc9_b/./gcc/ -L/usr/x86_64-w64-mingw32/lib -L/usr/mingw/lib -isystem /usr/x86_64-w64-mingw32/include -isystem /usr/mingw/include -B/usr/x86_64-w64-mingw32/bin/ -B/usr/x86_64-w64-mingw32/lib/ -isystem /usr/x86_64-w64-mingw32/include -isystem /usr/x86_64-w64-mingw32/sys-includ= e=20=20 -fno-checking -c -g -O2 -pipe -fno-ident conftest.c >&5 conftest.c: In function 'main': conftest.c:15:3: internal compiler error: Segmentation fault 15 | return 0; | ^~~~~~ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. configure:3771: $? =3D 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | /* end confdefs.h. */ |=20 | int | main () | { |=20 | ; | return 0; | } configure:3785: error: in `/c/data/gcc9_b/x86_64-w64-mingw32/libgcc': configure:3787: error: cannot compute suffix of object files: cannot compile >>From gcc-bugs-return-625489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 13:41:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129973 invoked by alias); 11 Dec 2018 13:41:29 -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 129485 invoked by uid 48); 11 Dec 2018 13:41:25 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/86004] [9 regression] Several lto test cases begin failing with r260963 Date: Tue, 11 Dec 2018 13:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01605.txt.bz2 Content-length: 424 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86004 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #14 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-625488-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 13:41:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128638 invoked by alias); 11 Dec 2018 13:41:06 -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 128527 invoked by uid 48); 11 Dec 2018 13:41:02 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88446] __builtin_is_constant_evaluated rejects some converted constant expressions. Date: Tue, 11 Dec 2018 13:41: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: 9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created 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: 2018-12/txt/msg01604.txt.bz2 Content-length: 608 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88446 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #2 from Jakub Jelinek --- Created attachment 45207 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45207&action=3Dedit gcc9-pr88446.patch Untested fix for the array type dimensions. >>From gcc-bugs-return-625490-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 13:43:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1785 invoked by alias); 11 Dec 2018 13:43: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 1698 invoked by uid 48); 11 Dec 2018 13:43:33 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88446] __builtin_is_constant_evaluated rejects some converted constant expressions. Date: Tue, 11 Dec 2018 13:43: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: 9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub 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: 2018-12/txt/msg01606.txt.bz2 Content-length: 164 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88446 --- Comment #3 from Jakub Jelinek --- The static_assert bug is related to PR86524. >>From gcc-bugs-return-625491-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 13:52:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16387 invoked by alias); 11 Dec 2018 13:52:22 -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 16196 invoked by uid 55); 11 Dec 2018 13:52:16 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/88426] [8/9 Regression] Compiler crash if use special code with command line switch -fsanitize=float-cast-overflow Date: Tue, 11 Dec 2018 13:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 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: 2018-12/txt/msg01607.txt.bz2 Content-length: 629 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88426 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Dec 11 13:51:44 2018 New Revision: 267022 URL: https://gcc.gnu.org/viewcvs?rev=3D267022&root=3Dgcc&view=3Drev Log: PR sanitizer/88426 * c-convert.c (convert): Call c_fully_fold before calling ubsan_instrument_float_cast. * c-c++-common/ubsan/float-cast-overflow-11.c: New test. Added: trunk/gcc/testsuite/c-c++-common/ubsan/float-cast-overflow-11.c Modified: trunk/gcc/c/ChangeLog trunk/gcc/c/c-convert.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 13:53:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36853 invoked by alias); 11 Dec 2018 13:53: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 32566 invoked by uid 48); 11 Dec 2018 13:52:57 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/88426] [8 Regression] Compiler crash if use special code with command line switch -fsanitize=float-cast-overflow Date: Tue, 11 Dec 2018 13:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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: 2018-12/txt/msg01608.txt.bz2 Content-length: 688 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88426 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[8/9 Regression] Compiler |[8 Regression] Compiler |crash if use special code |crash if use special code |with command line switch |with command line switch |-fsanitize=3Dfloat-cast-overf |-fsanitize=3Dfloat-cast-= overf |low |low --- Comment #5 from Jakub Jelinek --- Fixed on the trunk so far. >>From gcc-bugs-return-625493-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 13:53:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52443 invoked by alias); 11 Dec 2018 13:53:30 -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 49704 invoked by uid 48); 11 Dec 2018 13:53:26 -0000 From: "mantas.mikaitis at manchester dot ac.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88451] New: No rounding in fixed-point arithmetic (Decimal to fixed-point conversion, multiplication) Date: Tue, 11 Dec 2018 13:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mantas.mikaitis at manchester dot ac.uk 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 Message-ID: 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: 2018-12/txt/msg01609.txt.bz2 Content-length: 1890 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88451 Bug ID: 88451 Summary: No rounding in fixed-point arithmetic (Decimal to fixed-point conversion, multiplication) Product: gcc Version: 6.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: mantas.mikaitis at manchester dot ac.uk Target Milestone: --- Hello, This bug report is about that there is no rounding in various parts of the fixed-point arithmetic. Here are some cases run on ARM968: 1) accum x =3D 0.04k; // This ends up as 0.03997802734375. =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 2) double x =3D 0.04; accum y =3D x; // This ends up as 0.03997802734375. =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 As you can notice, 0.04 is rounded down to 0.03997802734375, however, the nearest accum to the 0.04 is 0.040008544921875. 3) Multiplication of two accums results in a 63-bit value which needs to be shifted right to put the result back to the accum type. Upon a shift, there= is no rounding and 15 bottom bits are truncated. =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 It seems to be doing binary truncation instead of rounding, which is also mathematically legal operation, but introduces a larger error. Looking into= the ISO draft standard for fixed-point arithmetic, it specifies that FX_FULL_PRECISION pragma can be used to obtain full precision: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n968.pdf, but it seems to h= ave no effect when I turn it on. I am working with gcc version 6.3.1 20170620 (release) [ARM/embedded-6-bran= ch revision 249437] (GNU MCU Eclipse ARM Embedded GCC, 64-bits). Many thanks, Mantas M. >>From gcc-bugs-return-625494-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 13:54:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55508 invoked by alias); 11 Dec 2018 13:54:43 -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 55406 invoked by uid 48); 11 Dec 2018 13:54:39 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBpcGEvODc5NTddIFs5IFJlZ3Jlc3Npb25dIElDRSB0cmVlIGNoZWNr?= =?UTF-8?B?OiBleHBlY3RlZCB0cmVlIHRoYXQgY29udGFpbnMg4oCYZGVjbCBtaW5pbWFs?= =?UTF-8?B?4oCZIHN0cnVjdHVyZSwgaGF2ZSDigJhpZGVudGlmaWVyX25vZGXigJkgaW4g?= =?UTF-8?B?d2Fybl9vZHIsIGF0IGlwYS1kZXZpcnQuYzoxMDUxIHNpbmNlIHIyNjU1MTk=?= Date: Tue, 11 Dec 2018 13:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01610.txt.bz2 Content-length: 311 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87957 --- Comment #18 from Jakub Jelinek --- I guess the middle-end relies on TYPE_NAME to have the TYPE_MAIN_VARIANT ty= pe rather than be qualified. The question if just here and it is possible to = cope with that, or elsewhere too. >>From gcc-bugs-return-625495-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 14:00:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86131 invoked by alias); 11 Dec 2018 14:00: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86062 invoked by uid 48); 11 Dec 2018 14:00:52 -0000 From: "jiri.pittner@jh-inst.cas.cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88452] New: gfortran (Gentoo 8.2.0-r5 p1.6) 8.2.0 reports internal error Date: Tue, 11 Dec 2018 14:00: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jiri.pittner@jh-inst.cas.cz 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: 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: 2018-12/txt/msg01611.txt.bz2 Content-length: 943 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88452 Bug ID: 88452 Summary: gfortran (Gentoo 8.2.0-r5 p1.6) 8.2.0 reports internal error Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jiri.pittner@jh-inst.cas.cz Target Milestone: --- Created attachment 45208 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45208&action=3Dedit source file triggering the bug GNU Fortran (Gentoo 8.2.0-r5 p1.6) 8.2.0 reported: > gfortran foo.F f951: internal compiler error: get_mpz(): Not an integer constant Please submit a full bug report, with preprocessed source if appropriate. The stripped source code reproducing the bug is attached. It is due to an equivalence declaration, when commented out the ICE disappears. >>From gcc-bugs-return-625496-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 14:46:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7612 invoked by alias); 11 Dec 2018 14:46:20 -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 7516 invoked by uid 48); 11 Dec 2018 14:46:12 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88416] [8/9 Regression] ICE in in df_uses_record, at df-scan.c:3013 Date: Tue, 11 Dec 2018 14:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created 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: 2018-12/txt/msg01612.txt.bz2 Content-length: 939 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88416 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #3 from Jakub Jelinek --- Created attachment 45209 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45209&action=3Dedit gcc9-pr88416.patch Untested fix. The problem are targets like x86 which are not AUTO_INC_DEC,= but still have some patterns that use those expressions (pushes/pops). As for !AUTO_INC_DEC we just called copy_rtx which does pretty much the same copying/walking as cleanup_auto_inc_dec, except that the latter will handle those properly, I think the best fix is just to never use copy_rtx here. >>From gcc-bugs-return-625497-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 14:50:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16343 invoked by alias); 11 Dec 2018 14:50:58 -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 16261 invoked by uid 55); 11 Dec 2018 14:50:54 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88425] suboptimal code for a 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: 2018-12/txt/msg01613.txt.bz2 Content-length: 607 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88425 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Tue Dec 11 14:50:22 2018 New Revision: 267023 URL: https://gcc.gnu.org/viewcvs?rev=3D267023&root=3Dgcc&view=3Drev Log: PR target/88425 * config/i386/i386.md (*x86_movcc_0_m1_neg_leu): New define_insn_and_split. * gcc.target/i386/pr88425.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr88425.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.md trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 14:57:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26579 invoked by alias); 11 Dec 2018 14:57: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 25899 invoked by uid 48); 11 Dec 2018 14:57:46 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88001] ASMCONS cannot handle properly UNSPEC(CONST) Date: Tue, 11 Dec 2018 14:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: attachments.created 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: 2018-12/txt/msg01614.txt.bz2 Content-length: 240 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88001 --- Comment #3 from Segher Boessenkool --- Created attachment 45210 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45210&action=3Dedit proposed patch >>From gcc-bugs-return-625499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 14:59:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29234 invoked by alias); 11 Dec 2018 14:59:18 -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 29167 invoked by uid 48); 11 Dec 2018 14:59:13 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88001] ASMCONS cannot handle properly UNSPEC(CONST) Date: Tue, 11 Dec 2018 14:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 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: 2018-12/txt/msg01615.txt.bz2 Content-length: 218 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88001 --- Comment #4 from Segher Boessenkool --- Claudiu: could you test that patch please? (On the real thing, not just this testcase :-) ) >>From gcc-bugs-return-625500-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 15:07:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44234 invoked by alias); 11 Dec 2018 15:07:07 -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 44112 invoked by uid 48); 11 Dec 2018 15:07:02 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled Date: Tue, 11 Dec 2018 15:07: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: unknown X-Bugzilla-Keywords: diagnostic, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jason 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: 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: 2018-12/txt/msg01616.txt.bz2 Content-length: 727 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87950 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #14 from Jason Merrill --- It would certainly be possible to recognize this situation (all enumerators handled) and suppress the -Wreturn-type warning even though we can't in gen= eral assume that we can't get other values of the enumeration. With the ability= to explicitly request warnings in this situation with another flag. I don't k= now how much work that would be. >>From gcc-bugs-return-625501-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 15:09:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122230 invoked by alias); 11 Dec 2018 15:09: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 117937 invoked by uid 48); 11 Dec 2018 15:09:29 -0000 From: "tom at kera dot name" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86049] Array bindings are not const when initializer is Date: Tue, 11 Dec 2018 15: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: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tom at kera dot name 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: 2018-12/txt/msg01617.txt.bz2 Content-length: 719 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86049 Tomalak Geret'kal changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tom at kera dot name --- Comment #3 from Tomalak Geret'kal --- I disagree and think that Clang is wrong. The top-level qualifiers of T (the type of One) should be "cv", and cv is "= the cv-qualifiers in the decl-specifier-seq". The decl-specifier-seq is "auto",= not "const auto". That "auto" will infer "const int" doesn't seem to be relevan= t. Discussion on https://stackoverflow.com/q/53726135/560648. >>From gcc-bugs-return-625502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 15:25:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11859 invoked by alias); 11 Dec 2018 15:25:26 -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 11813 invoked by uid 48); 11 Dec 2018 15:25:22 -0000 From: "ldionne.2 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88453] New: GCC pretends that constexpr default-constructible type is nothrow constructible Date: Tue, 11 Dec 2018 15:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ldionne.2 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 Message-ID: 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: 2018-12/txt/msg01618.txt.bz2 Content-length: 1041 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88453 Bug ID: 88453 Summary: GCC pretends that constexpr default-constructible type is nothrow constructible Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ldionne.2 at gmail dot com Target Milestone: --- The following code does not compile with GCC trunk: ------------------------------------------------------------ #include struct Throwing { constexpr Throwing() {} }; static_assert(!std::is_nothrow_default_constructible::value, ""); ------------------------------------------------------------ It seems like GCC assumes that the default constructor is noexcept since it= is constexpr. Clang does not have this behaviour, and I believe Clang to be correct in this case. Live example: https://wandbox.org/permlink/1z1qYQSUDWsYJda1 >>From gcc-bugs-return-625503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 15:31:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54244 invoked by alias); 11 Dec 2018 15:31:14 -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 54187 invoked by uid 48); 11 Dec 2018 15:31:09 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86049] Array bindings are not const when initializer is Date: Tue, 11 Dec 2018 15:31: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: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: 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: 2018-12/txt/msg01619.txt.bz2 Content-length: 175 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86049 --- Comment #4 from Jonathan Wakely --- Richard, do you know if there's an issue for this yet? >>From gcc-bugs-return-625505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 15:50:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126344 invoked by alias); 11 Dec 2018 15:50: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 126275 invoked by uid 48); 11 Dec 2018 15:50:48 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87603] [C++17] noexcept isn't special cased for constant expressions anymore Date: Tue, 11 Dec 2018 15:50: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: 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: 2018-12/txt/msg01621.txt.bz2 Content-length: 443 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87603 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ldionne.2 at gmail dot com --- Comment #4 from Jonathan Wakely --- *** Bug 88453 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-625504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 15:50:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126330 invoked by alias); 11 Dec 2018 15:50: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 126262 invoked by uid 48); 11 Dec 2018 15:50:47 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88453] GCC pretends that constexpr default-constructible type is nothrow constructible Date: Tue, 11 Dec 2018 15:50: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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 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: 2018-12/txt/msg01620.txt.bz2 Content-length: 534 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88453 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Jonathan Wakely --- I think this is another manifestation of PR 87603 *** This bug has been marked as a duplicate of bug 87603 *** >>From gcc-bugs-return-625506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 16:13:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81314 invoked by alias); 11 Dec 2018 16:13:05 -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 78049 invoked by uid 55); 11 Dec 2018 16:12:59 -0000 From: "hubicka at ucw dot cz" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBpcGEvODc5NTddIFs5IFJlZ3Jlc3Npb25dIElDRSB0cmVlIGNoZWNr?= =?UTF-8?B?OiBleHBlY3RlZCB0cmVlIHRoYXQgY29udGFpbnMg4oCYZGVjbCBtaW5pbWFs?= =?UTF-8?B?4oCZIHN0cnVjdHVyZSwgaGF2ZSDigJhpZGVudGlmaWVyX25vZGXigJkgaW4g?= =?UTF-8?B?d2Fybl9vZHIsIGF0IGlwYS1kZXZpcnQuYzoxMDUxIHNpbmNlIHIyNjU1MTk=?= Date: Tue, 11 Dec 2018 16:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at ucw dot cz X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01622.txt.bz2 Content-length: 411 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87957 --- Comment #19 from Jan Hubicka --- Yeap, the warnings was written at the time all C++ types had TYPE_NAMEs and other types used IDENTIFIER_NODE. I have chnaged it for memory use reaosns so only main variants have IDENTIFIER_NODE. Usually we want to just look for main variant and complain about that. I will look into it. Honza >>From gcc-bugs-return-625507-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 16:14:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86954 invoked by alias); 11 Dec 2018 16:14:19 -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 86897 invoked by uid 48); 11 Dec 2018 16:14:15 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88452] gfortran (Gentoo 8.2.0-r5 p1.6) 8.2.0 reports internal error Date: Tue, 11 Dec 2018 16:14: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: 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: 2018-12/txt/msg01623.txt.bz2 Content-length: 952 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88452 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-11 CC| |kargl at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from kargl at gcc dot gnu.org --- Reduced testcase. subroutine tccdenom(n1,n2) implicit none integer n1, n2 real tt1(n1,n2) complex ctt1(n1,n2) equivalence(tt1(1,1), ctt1(1,1)) end Workaround is to remove the dimension in the equivalence statement. This compiles subroutine tccdenom(n1,n2) implicit none integer n1, n2 real tt1(n1,n2) complex ctt1(n1,n2) equivalence(tt1, ctt1) end >>From gcc-bugs-return-625508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 16:46:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45499 invoked by alias); 11 Dec 2018 16:46: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 45421 invoked by uid 48); 11 Dec 2018 16:46:30 -0000 From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88454] New: [9 regression] test case gcc.dg/tree-ssa/split-path-5.c fails after r266971 Date: Tue, 11 Dec 2018 16:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01624.txt.bz2 Content-length: 1619 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88454 Bug ID: 88454 Summary: [9 regression] test case gcc.dg/tree-ssa/split-path-5.c fails after r266971 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/build/gcc-test/gcc/ /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/tree-ssa/split-path-5.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=3Dnever -O2 -fsplit-paths -fdump-tree-split-paths-detai= ls -w -S -o split-path-5.s PASS: gcc.dg/tree-ssa/split-path-5.c (test for excess errors) gcc.dg/tree-ssa/split-path-5.c: pattern found 0 times FAIL: gcc.dg/tree-ssa/split-path-5.c scan-tree-dump-times split-paths "join point for if-convertable half-diamond" 1 testcase /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/tree-ssa/tree-ssa.e= xp completed in 0 seconds =3D=3D=3D gcc Summary =3D=3D=3D # of expected passes 1 # of unexpected failures 1 r266971 | law | 2018-12-10 22:56:54 -0600 (Mon, 10 Dec 2018) | 6 lines PR tree-optimization/80520 * gimple-ssa-split-paths.c (is_feasible_trace): Recognize half diamonds that are likely if convertable. * gcc.dg/tree-ssa/split-path-5.c: Update expected output. * gcc.dg/tree-ssa/split-path-11.c: New test. >>From gcc-bugs-return-625509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 16:51:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69263 invoked by alias); 11 Dec 2018 16:51:43 -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 69178 invoked by uid 48); 11 Dec 2018 16:51:38 -0000 From: "gieseanw+gcc at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88434] operator< should take precedence over template argument in basic.lookup.classref Date: Tue, 11 Dec 2018 16:51: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: 9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: gieseanw+gcc at gmail dot com 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: 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: 2018-12/txt/msg01625.txt.bz2 Content-length: 230 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88434 --- Comment #2 from Andrew Giese --- It appears there is a CWG issue for this: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1835 >>From gcc-bugs-return-625510-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 16:59:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36325 invoked by alias); 11 Dec 2018 16:59:05 -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 34028 invoked by uid 48); 11 Dec 2018 16:59:01 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88375] Vague source location for bad initialization Date: Tue, 11 Dec 2018 16:59: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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to 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: 2018-12/txt/msg01626.txt.bz2 Content-length: 495 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88375 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-12-11 Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot= gnu.org Ever confirmed|0 |1 >>From gcc-bugs-return-625511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 17:07:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3719 invoked by alias); 11 Dec 2018 17:07:45 -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 3641 invoked by uid 48); 11 Dec 2018 17:07:40 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88454] [9 regression] test case gcc.dg/tree-ssa/split-path-5.c fails after r266971 Date: Tue, 11 Dec 2018 17:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 2018-12/txt/msg01627.txt.bz2 Content-length: 543 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88454 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- On i686-linux I get: FAIL: gcc.dg/tree-ssa/split-path-11.c scan-tree-dump-times split-paths "join point for if-convertable half-diamond" 1 on x86_64-linux it passes. >>From gcc-bugs-return-625512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 17:17:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24932 invoked by alias); 11 Dec 2018 17:17: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 24497 invoked by uid 55); 11 Dec 2018 17:17:26 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88444] [9 Regression] ICE: tree check: expected ssa_name, have integer_cst in live_on_edge, at tree-vrp.c:468; or ICE: tree check: expected ssa_name, have integer_cst in get_value_range, at vr-values.c:84 Date: Tue, 11 Dec 2018 17: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: 9.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 9.0 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: 2018-12/txt/msg01628.txt.bz2 Content-length: 598 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88444 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Dec 11 17:16:48 2018 New Revision: 267026 URL: https://gcc.gnu.org/viewcvs?rev=3D267026&root=3Dgcc&view=3Drev Log: PR tree-optimization/88444 * tree-vrp.c (register_edge_assert_for_2): Only register assertions for conversions if rhs1 is a SSA_NAME. * gcc.dg/pr88444.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr88444.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vrp.c >>From gcc-bugs-return-625513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 17:34:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113584 invoked by alias); 11 Dec 2018 17:34:52 -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 113357 invoked by uid 48); 11 Dec 2018 17:34:39 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/88429] Ada bootstrap fails with --disable-shared Date: Tue, 11 Dec 2018 17:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou 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: 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: 2018-12/txt/msg01629.txt.bz2 Content-length: 1203 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88429 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-11 CC| |ebotcazou at gcc dot gnu.o= rg Ever confirmed|0 |1 --- Comment #1 from Eric Botcazou --- > Unlike the default (--enable-shared) case, it seems that the rts directory > for the non-default multilib is created incorrectly: with --enable-shared= , I see >=20 > make THREAD_KIND=3Dnative setup-rts > make[9]: Entering directory > '/var/scratch/gcc/regression/trunk/4.17.3-gcc-gas-gld/build/gcc/ada' > rm -rf rts_32 > mkdir -p rts_32 > chmod u+w rts_32 >=20 > while with --disable-shared, I get the creation of rts twice. >=20 > This may be related to libada/configure.ac referencing a gnatlib-plain > target for --disable-shared, which I couldn't find elsewhere. Yes, but I don't understand why this doesn't fail in the default case too... >>From gcc-bugs-return-625514-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 17:35:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120145 invoked by alias); 11 Dec 2018 17:35:08 -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 117746 invoked by uid 48); 11 Dec 2018 17:35:04 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/88429] Ada bootstrap fails with --disable-shared Date: Tue, 11 Dec 2018 17:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-12/txt/msg01630.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88429 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc do= t gnu.org --- Comment #2 from Eric Botcazou --- Fixing. >>From gcc-bugs-return-625515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 17:58:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114380 invoked by alias); 11 Dec 2018 17:58:06 -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 114137 invoked by uid 48); 11 Dec 2018 17:57:58 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBpcGEvODc5NTddIFs5IFJlZ3Jlc3Npb25dIElDRSB0cmVlIGNoZWNr?= =?UTF-8?B?OiBleHBlY3RlZCB0cmVlIHRoYXQgY29udGFpbnMg4oCYZGVjbCBtaW5pbWFs?= =?UTF-8?B?4oCZIHN0cnVjdHVyZSwgaGF2ZSDigJhpZGVudGlmaWVyX25vZGXigJkgaW4g?= =?UTF-8?B?d2Fybl9vZHIsIGF0IGlwYS1kZXZpcnQuYzoxMDUxIHNpbmNlIHIyNjU1MTk=?= Date: Tue, 11 Dec 2018 17:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01631.txt.bz2 Content-length: 392 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87957 --- Comment #20 from Eric Botcazou --- > I guess the middle-end relies on TYPE_NAME to have the TYPE_MAIN_VARIANT > type rather than be qualified. The question if just here and it is possi= ble > to cope with that, or elsewhere too. Yes, but only here and only for a couple of weeks, i.e. it's a novelty. >>From gcc-bugs-return-625516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 18:17:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72115 invoked by alias); 11 Dec 2018 18:17:08 -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 69681 invoked by uid 48); 11 Dec 2018 18:17:04 -0000 From: "mattis at mattisborgen dot se" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88435] Compiling with optimizations causes the compiler to fail. Date: Tue, 11 Dec 2018 18: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: 8.2.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mattis at mattisborgen dot se X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 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: 2018-12/txt/msg01632.txt.bz2 Content-length: 481 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88435 Mattis Lind changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from Mattis Lind --- I can confirm that latest 9.0 doesn't have this problem. >>From gcc-bugs-return-625517-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 18:44:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27857 invoked by alias); 11 Dec 2018 18:44:15 -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 27788 invoked by uid 48); 11 Dec 2018 18:44:11 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88434] operator< should take precedence over template argument in basic.lookup.classref Date: Tue, 11 Dec 2018 18:44: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: 9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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: 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: 2018-12/txt/msg01633.txt.bz2 Content-length: 473 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88434 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #3 from Marek Polacek --- Since the CWG issue is still "drafting", should we be making any changes at this time? >>From gcc-bugs-return-625518-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 18:46:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39756 invoked by alias); 11 Dec 2018 18:46:54 -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 37308 invoked by uid 48); 11 Dec 2018 18:46:50 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88434] [DR1835] operator< should take precedence over template argument in basic.lookup.classref Date: Tue, 11 Dec 2018 18:46: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: 9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: SUSPENDED 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_status 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: 2018-12/txt/msg01634.txt.bz2 Content-length: 414 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88434 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |SUSPENDED --- Comment #4 from Andrew Pinski --- Suspecting until the Defect report is resolved. >>From gcc-bugs-return-625519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 18:53:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54624 invoked by alias); 11 Dec 2018 18:53:43 -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 54556 invoked by uid 55); 11 Dec 2018 18:53:39 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86608] [7/8/9 Regression] volatile variable is taken as a constexpr Date: Tue, 11 Dec 2018 18:53: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: 8.1.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01635.txt.bz2 Content-length: 907 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86608 --- Comment #6 from Marek Polacek --- Author: mpolacek Date: Tue Dec 11 18:53:03 2018 New Revision: 267030 URL: https://gcc.gnu.org/viewcvs?rev=3D267030&root=3Dgcc&view=3Drev Log: PR c++/86608 - reading constexpr volatile variable. * constexpr.c (potential_constant_expression_1): Check want_rval instead of checking if we have a decl. * decl2.c (decl_maybe_constant_var_p): Don't consider volatile constexpr variables as maybe constant. * g++.dg/cpp0x/constexpr-volatile2.C: New test. * g++.dg/cpp0x/pr65327.C: Add dg-error. Added: trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-volatile2.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/constexpr.c trunk/gcc/cp/decl2.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/cpp0x/pr65327.C >>From gcc-bugs-return-625520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 18:54:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57239 invoked by alias); 11 Dec 2018 18:54:38 -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 57128 invoked by uid 48); 11 Dec 2018 18:54:33 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86608] [7/8 Regression] volatile variable is taken as a constexpr Date: Tue, 11 Dec 2018 18:54: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: 8.1.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution short_desc 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: 2018-12/txt/msg01636.txt.bz2 Content-length: 645 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86608 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Summary|[7/8/9 Regression] volatile |[7/8 Regression] volatile |variable is taken as a |variable is taken as a |constexpr |constexpr --- Comment #7 from Marek Polacek --- Fixed for GCC 9. >>From gcc-bugs-return-625521-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 20:16:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15378 invoked by alias); 11 Dec 2018 20:16:46 -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 14736 invoked by uid 48); 11 Dec 2018 20:16:10 -0000 From: "vlovich at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled Date: Tue, 11 Dec 2018 20:16: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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: vlovich at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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: 2018-12/txt/msg01637.txt.bz2 Content-length: 2538 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87951 --- Comment #17 from Vitali --- I was explicitly asked to open this as a separate bug in comment #7 of 8795= 0. Would be helpful if the GCC devs could coordinate to figure out if they want separate bugs for C/C++ or 1 bug. Jonathan, on this forum your feedback comes off a bit like Skinner where he blames the children. There's clearly a gap between how compiler authors def= ine switches as working & how developers wish to use those enums/wish those enu= ms were actually defined. I appreciate there's a large amount of legacy code t= hat complicates this issue but I don't think that condescending to people tryin= g to communicate the issue in good faith moves the conversation along. I'd argue that clang strikes a much better balance here in terms of the practical implications of the warning even if it's not perfect. In my mind, warnings are most useful when they optimize for a low rate of false positiv= es. The GCC warnings for enums do not in practice have a low rate of false positives and are clearly tuned to minimize false negatives (i.e. accidenta= lly missing a switch statement that doesn't have all enums covered).=20 At the very least it would be useful to give users the power to turn on a warning equivalent to Clang's that minimizes false negatives (or change -Wswitch to be equivalent to Clang & add a -Wpedantic-switch that's part of -pedantic for the current behaviour). You could even provide annotations that let users annotate enums/switches i= n an explicit fashion to indicate that they can be constructed with non-label values/aren't expected to be depending on which flag you choose to use to silence warnings/let the compiler optimize more fully. In practice, definitely in C++, enums ARE intended to be a closed set of all possible paths & the flags/random integer value cases are far less frequent= ly used; even for bitmasks it's a lazy way to do it. In C++ I usually define strongly-typed types that represent the bitmask & overload the bit math operators for the enum to yield that secondary type. I think considering th= at's a technique used by Boost & Qt, it's reasonable to assume that having the e= num double as the storage type for the bitmask is more of a hack technically allowed than one that is considered best practice by large C++ projects. In= C it's more muddled because there's no operator overloading, but the number of enums that exist far outnumber the uses where it's used for bitwise math. >>From gcc-bugs-return-625522-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 20:29:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36815 invoked by alias); 11 Dec 2018 20:29:14 -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 36754 invoked by uid 55); 11 Dec 2018 20:29:09 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/80520] [7/8/9 Regression] Performance regression from missing if-conversion Date: Tue, 11 Dec 2018 20:29: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01638.txt.bz2 Content-length: 487 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80520 --- Comment #13 from Jakub Jelinek --- Author: jakub Date: Tue Dec 11 20:28:35 2018 New Revision: 267031 URL: https://gcc.gnu.org/viewcvs?rev=3D267031&root=3Dgcc&view=3Drev Log: PR tree-optimization/80520 * gcc.dg/tree-ssa/split-path-11.c (foo): Make the test ilp32 target clean. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/tree-ssa/split-path-11.c >>From gcc-bugs-return-625524-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 20:38:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91624 invoked by alias); 11 Dec 2018 20:38: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 89138 invoked by uid 48); 11 Dec 2018 20:38:47 -0000 From: "richard-gccbugzilla at metafoo dot co.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86049] Array bindings are not const when initializer is Date: Tue, 11 Dec 2018 20:38: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: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: richard-gccbugzilla at metafoo dot co.uk 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: 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: 2018-12/txt/msg01640.txt.bz2 Content-length: 735 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86049 --- Comment #5 from Richard Smith --- This was just reported as http://lists.isocpp.org/core/2018/12/5320.php; I don't believe it's on the core issues list yet. [@Tomalak, I think the standard is clear here: "If the assignment-expression in the initializer has array type A and no ref-qualifier is present, e has type cv A" Here, A is the array type 'const int[1]' and cv is empty, so e has type 'co= nst int[1]'. But, as noted in comment#2, that seems like the wrong outcome. It = also contradicts the non-normative note in [dcl.struct.bind]p3, which further suggests that this outcome was probably not the intent of the wording.] >>From gcc-bugs-return-625523-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 20:38:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82166 invoked by alias); 11 Dec 2018 20:38:31 -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 79297 invoked by uid 55); 11 Dec 2018 20:38:27 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87861] [9 regression] ICE in output_constructor_regular_field, at varasm.c:5165 Date: Tue, 11 Dec 2018 20:38: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: 9.0 X-Bugzilla-Keywords: build, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 9.0 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: 2018-12/txt/msg01639.txt.bz2 Content-length: 788 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87861 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Tue Dec 11 20:37:53 2018 New Revision: 267032 URL: https://gcc.gnu.org/viewcvs?rev=3D267032&root=3Dgcc&view=3Drev Log: PR c++/87861 * class.c (build_vtbl_initializer): For TARGET_VTABLE_USES_DESCRIPT= ORS bump index for each added word. * constexpr.c (find_array_ctor_elt): Add forward declaration. (cxx_eval_call_expression): Handle TARGET_VTABLE_USES_DESCRIPTORS vtable calls. (cxx_eval_constant_expression) : Divide token by TARGET_VTABLE_USES_DESCRIPTORS if non-zero. Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/class.c trunk/gcc/cp/constexpr.c >>From gcc-bugs-return-625525-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 21:02:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105858 invoked by alias); 11 Dec 2018 21:02:07 -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 105735 invoked by uid 48); 11 Dec 2018 21:02:02 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87861] [9 regression] ICE in output_constructor_regular_field, at varasm.c:5165 Date: Tue, 11 Dec 2018 21:02: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: 9.0 X-Bugzilla-Keywords: build, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 2018-12/txt/msg01641.txt.bz2 Content-length: 521 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87861 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #12 from Jakub Jelinek --- Should be fixed now. >>From gcc-bugs-return-625526-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 21:03:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109829 invoked by alias); 11 Dec 2018 21:03: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 109720 invoked by uid 48); 11 Dec 2018 21:03:47 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88448] [9 regression] gnat.dg/opt66.adb etc. FAIL Date: Tue, 11 Dec 2018 21:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc 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: 2018-12/txt/msg01642.txt.bz2 Content-length: 591 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88448 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |jakub at gcc dot gnu.org Resolution|--- |FIXED --- Comment #3 from Jakub Jelinek --- -FAIL: gnat.dg/opt66.adb (test for excess errors) -FAIL: gnat.dg/opt66.adb 3 blank line(s) in output >>From gcc-bugs-return-625527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 22:02:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46964 invoked by alias); 11 Dec 2018 22:02: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 46878 invoked by uid 48); 11 Dec 2018 22:01:59 -0000 From: "adam at aphirst dot karoo.co.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88455] New: False positive for allocatable character array of deferred length, ALLOCATE using SOURCE/MOLD [-Wuninitialized] Date: Tue, 11 Dec 2018 22:02: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adam at aphirst dot karoo.co.uk 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 Message-ID: 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: 2018-12/txt/msg01643.txt.bz2 Content-length: 1543 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88455 Bug ID: 88455 Summary: False positive for allocatable character array of deferred length, ALLOCATE using SOURCE/MOLD [-Wuninitialized] Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: adam at aphirst dot karoo.co.uk Target Milestone: --- program test implicit none call F(1, 10, 30) contains subroutine F(i,j,k) integer, intent(in) :: i, j, k character(:), allocatable :: line(:) ! with a hard-coded len, the warning goes away ! similarly if it's deferred-length but scalar !character(k), allocatable :: line(:)=20 allocate( line(i:j), source =3D repeat(" ",k) ) print *, size(line) ! gives 10 print *, len(line) ! gives 30 end subroutine end program test --- Warning: =E2=80=98.line=E2=80=99 is used uninitialized in this function [-W= uninitialized] --- Using a single ALLOCATE statement for an allocatable array of CHARACTER with deferred length (using either SOURCE or MOLD) results in a false positive f= or uninitialised variables. The issue doesn't occur if the variable is ONLY an allocatable array, or respectively if it's ONLY of deferred length. The issue occurs only when bo= th degrees of freedom are present. System: ------- gcc (GCC) 8.2.1 20181127 Arch Linux x86_64 >>From gcc-bugs-return-625528-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 22:03:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48767 invoked by alias); 11 Dec 2018 22:03:53 -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 48727 invoked by uid 48); 11 Dec 2018 22:03:49 -0000 From: "adam at aphirst dot karoo.co.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88455] False positive for allocatable character array of deferred length, ALLOCATE using SOURCE/MOLD [-Wuninitialized] Date: Tue, 11 Dec 2018 22:03: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adam at aphirst dot karoo.co.uk 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: 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: 2018-12/txt/msg01644.txt.bz2 Content-length: 537 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88455 --- Comment #1 from Adam Hirst --- I'm not sure whether they're related, but I found a handful of potentially-similar bugs, which might be worth collating here for quicker reference. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D28660 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D32035 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D46979 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53714 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66459 >>From gcc-bugs-return-625529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 22:04:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49963 invoked by alias); 11 Dec 2018 22:04:40 -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 49921 invoked by uid 48); 11 Dec 2018 22:04:36 -0000 From: "thiago at kde dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83562] broken destructors of thread_local objects on i686 mingw targets Date: Tue, 11 Dec 2018 22:04: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.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: thiago at kde dot 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: 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: 2018-12/txt/msg01645.txt.bz2 Content-length: 194 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83562 --- Comment #3 from Thiago Macieira --- This can easily be fixed by way of a trampoline that adjusts the parameter. >>From gcc-bugs-return-625530-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 22:09:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117140 invoked by alias); 11 Dec 2018 22:09: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 115114 invoked by uid 48); 11 Dec 2018 22:09:34 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88375] Vague source location for bad initialization Date: Tue, 11 Dec 2018 22: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: unknown X-Bugzilla-Keywords: diagnostic, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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: 2018-12/txt/msg01646.txt.bz2 Content-length: 438 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88375 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #1 from David Malcolm --- Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00746.html >>From gcc-bugs-return-625531-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 22:13:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120324 invoked by alias); 11 Dec 2018 22:13:21 -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 120279 invoked by uid 48); 11 Dec 2018 22:13:17 -0000 From: "adam at aphirst dot karoo.co.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88455] False positive for allocatable character array of deferred length, ALLOCATE using SOURCE/MOLD [-Wuninitialized] Date: Tue, 11 Dec 2018 22: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adam at aphirst dot karoo.co.uk 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: 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: 2018-12/txt/msg01647.txt.bz2 Content-length: 1033 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88455 --- Comment #2 from Adam Hirst --- Slightly reduced - the issue occurs even in the MAIN program: program test implicit none integer :: a, b, c character(:), allocatable :: line(:) a =3D 1; b =3D 10; c =3D 30 allocate( line(a:b), source =3D repeat(" ",c) ) end program test ...and also if the integers are declared PARAMETER: program test implicit none integer, parameter :: a=3D1, b=3D10, c=3D30 character(:), allocatable :: line(:) allocate( line(a:b), source =3D repeat(" ",c) ) end program test ...and even if they're hard-coded into the ALLOCATE call: program test implicit none character(:), allocatable :: line(:) allocate( line(1:10), source =3D repeat(" ",30) ) end program test Yet, as far as I understand the Fortran standard, the string `line` here sh= ould be considered fully allocated by the ALLOCATE statement, therefore I think the warning is spurious. >>From gcc-bugs-return-625532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 22:16:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122952 invoked by alias); 11 Dec 2018 22:16:19 -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 122410 invoked by uid 48); 11 Dec 2018 22:15:43 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/86979] [9 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2348 with -m32 on darwin Date: Tue, 11 Dec 2018 22:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 9.0 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: 2018-12/txt/msg01648.txt.bz2 Content-length: 3154 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86979 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |abel at gcc dot gnu.org, | |amonakov at gcc dot gnu.org --- Comment #6 from Jakub Jelinek --- Aha, I had to use -fpic additionally in my cross. Seems like sel-sched bug to me. In *.split4 we still have correct: (insn/f 71 9 72 2 (parallel [ (set (reg/f:SI 7 sp) (plus:SI (reg/f:SI 7 sp) (const_int -12 [0xfffffffffffffff4]))) (clobber (reg:CC 17 flags)) (clobber (mem:BLK (scratch) [0 A8])) ]) "pr69102.c":8:1 954 {pro_epilogue_adjust_stack_si_add} (expr_list:REG_UNUSED (reg:CC 17 flags) (expr_list:REG_CFA_ADJUST_CFA (set (reg/f:SI 7 sp) (plus:SI (reg/f:SI 7 sp) (const_int -12 [0xfffffffffffffff4]))) (nil)))) in prologue at the start of function, then body including a tablejump and finally (insn 48 47 49 5 (parallel [ (set (reg/f:SI 7 sp) (plus:SI (reg/f:SI 7 sp) (const_int -12 [0xfffffffffffffff4]))) (clobber (reg:CC 17 flags)) ]) "pr69102.c":22:3 190 {*addsi_1} (expr_list:REG_UNUSED (reg:CC 17 flags) (expr_list:REG_ARGS_SIZE (const_int 12 [0xc]) (nil)))) (insn 49 48 50 5 (set (mem:SI (pre_dec:SI (reg/f:SI 7 sp)) [1 S4 A32]) (reg/v:SI 0 ax [orig:84 ch ] [84])) "pr69102.c":22:3 43 {*pushsi2} (expr_list:REG_DEAD (reg/v:SI 0 ax [orig:84 ch ] [84]) (expr_list:REG_ARGS_SIZE (const_int 16 [0x10]) (nil)))) (call_insn 50 49 73 5 (call (mem:QI (symbol_ref:SI ("bar") [flags 0x41]=20 ) [0 bar S1 A8]) (const_int 16 [0x10])) "pr69102.c":22:3 663 {*call} (nil) (nil)) (note 73 50 74 5 NOTE_INSN_EPILOGUE_BEG) (insn/f 74 73 75 5 (parallel [ (set (reg/f:SI 7 sp) (plus:SI (reg/f:SI 7 sp) (const_int 28 [0x1c]))) (clobber (reg:CC 17 flags)) (clobber (mem:BLK (scratch) [0 A8])) ]) "pr69102.c":23:1 954 {pro_epilogue_adjust_stack_si_add} (expr_list:REG_ARGS_SIZE (const_int 0 [0]) (expr_list:REG_UNUSED (reg:CC 17 flags) (expr_list:REG_CFA_ADJUST_CFA (set (reg/f:SI 7 sp) (plus:SI (reg/f:SI 7 sp) (const_int 12 [0xc]))) (nil))))) (jump_insn 75 74 78 5 (simple_return) "pr69102.c":23:1 686 {simple_return_internal} (nil) as the only stack-changing instructions. But sel-sched for some reason cop= ies the sp adjustment (insn 48) above to a different basic block before the tablejump and due to that copy there is a basic block reachable from code w= ith different stack depths (i.e. different CFA offset), the initial one from ri= ght after the prologue and the adjusted one due to this sel-sched bug. >>From gcc-bugs-return-625533-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 22:26:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8835 invoked by alias); 11 Dec 2018 22:26:08 -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 8703 invoked by uid 48); 11 Dec 2018 22:26:03 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88455] False positive for allocatable character array of deferred length, ALLOCATE using SOURCE/MOLD [-Wuninitialized] Date: Tue, 11 Dec 2018 22:26: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on version blocked 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: 2018-12/txt/msg01649.txt.bz2 Content-length: 867 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88455 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-11 Version|unknown |9.0 Blocks| |24639 Ever confirmed|0 |1 --- Comment #3 from Dominique d'Humieres --- Confirmed from 5.5.0 up to trunk (9.0). Compiling the code with 4.8 or 4.9 gives an ICE. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D24639 [Bug 24639] [meta-bug] bug to track all Wuninitialized issues >>From gcc-bugs-return-625534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 22:43:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39785 invoked by alias); 11 Dec 2018 22:43:13 -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 39709 invoked by uid 48); 11 Dec 2018 22:43:09 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/53714] false positive for -Wuninitialized Date: Tue, 11 Dec 2018 22:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.7.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 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: 2018-12/txt/msg01650.txt.bz2 Content-length: 518 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53714 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dominique d'Humieres --- Fixed between revisions r232451 (2016-01-15, warning) and r233563 (2016-02-= 19, OK). >>From gcc-bugs-return-625535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 23:05:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7385 invoked by alias); 11 Dec 2018 23:05:26 -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 7185 invoked by uid 55); 11 Dec 2018 23:05:11 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/88429] Ada bootstrap fails with --disable-shared Date: Tue, 11 Dec 2018 23:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou 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: 2018-12/txt/msg01651.txt.bz2 Content-length: 1451 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88429 --- Comment #3 from Eric Botcazou --- Author: ebotcazou Date: Tue Dec 11 23:04:39 2018 New Revision: 267034 URL: https://gcc.gnu.org/viewcvs?rev=3D267034&root=3Dgcc&view=3Drev Log: libada/ PR ada/88429 * configure.ac (default_gnatlib_target): Set to gnatlib instead of gnatlib-plain if --disable-shared. * configure: Regenerate. * Makefile.in (all): Replace gnatlib prerequisite with libada. (ADA_RTS_SUBDIR): Delete. (libada): New target, renamed from... (gnatlib): ...this. Merge with other library targets. (gnatlib-plain): Delete. (install-gnatlib): Rename to... (install-libada): ...this. (install): Replace install-gnatlib prerequisite with install-libada. gcc/ada/ PR ada/88429 * gcc-interface/Makefile.in (./stamp-gnatlib1-$(RTSDIR)): Also pass MULTISUBDIR to sub-make and add quotes around $(THREAD_KIND). (gnatlib-shared-dual): Also pass PICFLAG_FOR_TARGET to sub-make. (gnatlib-sjlj): Also pass MULTISUBDIR to sub-make, but do not pass PICFLAG_FOR_TARGET. (gnatlib-zcx): Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/ada/ChangeLog trunk/gcc/ada/gcc-interface/Makefile.in trunk/libada/ChangeLog trunk/libada/Makefile.in trunk/libada/configure trunk/libada/configure.ac >>From gcc-bugs-return-625536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 23:08:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10685 invoked by alias); 11 Dec 2018 23:08:03 -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 10594 invoked by uid 48); 11 Dec 2018 23:07:58 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/88429] [9 regression] libada build fails with --disable-shared Date: Tue, 11 Dec 2018 23:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone short_desc 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: 2018-12/txt/msg01652.txt.bz2 Content-length: 655 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88429 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |9.0 Summary|Ada bootstrap fails with |[9 regression] libada build |--disable-shared |fails with --disable-shared --- Comment #4 from Eric Botcazou --- This should work again. >>From gcc-bugs-return-625537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 23:13:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18882 invoked by alias); 11 Dec 2018 23:13: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 18837 invoked by uid 55); 11 Dec 2018 23:13:52 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88249] ICE in gfc_resolve_filepos, at fortran/io.c:2853 Date: Tue, 11 Dec 2018 23: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: --- 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: 2018-12/txt/msg01653.txt.bz2 Content-length: 950 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88249 --- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Tue Dec 11 23:13:19 2018 New Revision: 267035 URL: https://gcc.gnu.org/viewcvs?rev=3D267035&root=3Dgcc&view=3Drev Log: 2018-12-11 Steven G. Kargl PR fortran/88249 * gfortran.h: Update prototype for gfc_resolve_filepos(). * io.c (gfc_resolve_filepos): Check for UNIT number if ERR=3D is pr= esent. Use passed in locus for error message. * resolve.c (gfc_resolve_code): Pass locus in gfc_resolve_filepos() call. 2018-12-11 Steven G. Kargl PR fortran/88249 * gfortran.dg/pr88249.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/pr88249.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/gfortran.h trunk/gcc/fortran/io.c trunk/gcc/fortran/resolve.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 11 23:40:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88774 invoked by alias); 11 Dec 2018 23:40:20 -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 88692 invoked by uid 55); 11 Dec 2018 23:40:16 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88249] ICE in gfc_resolve_filepos, at fortran/io.c:2853 Date: Tue, 11 Dec 2018 23:40: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: --- 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: 2018-12/txt/msg01654.txt.bz2 Content-length: 1046 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88249 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Tue Dec 11 23:39:43 2018 New Revision: 267036 URL: https://gcc.gnu.org/viewcvs?rev=3D267036&root=3Dgcc&view=3Drev Log: 2018-12-11 Steven G. Kargl PR fortran/88249 * gfortran.h: Update prototype for gfc_resolve_filepos(). * io.c (gfc_resolve_filepos): Check for UNIT number if ERR=3D is pr= esent. Use passed in locus for error message. * resolve.c (gfc_resolve_code): Pass locus in gfc_resolve_filepos() call. 2018-12-11 Steven G. Kargl PR fortran/88249 * gfortran.dg/pr88249.f90: New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88249.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/gfortran.h branches/gcc-8-branch/gcc/fortran/io.c branches/gcc-8-branch/gcc/fortran/resolve.c branches/gcc-8-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 00:08:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57937 invoked by alias); 12 Dec 2018 00:08:49 -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 57827 invoked by uid 55); 12 Dec 2018 00:08:44 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88249] ICE in gfc_resolve_filepos, at fortran/io.c:2853 Date: Wed, 12 Dec 2018 00:08: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: --- 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: 2018-12/txt/msg01655.txt.bz2 Content-length: 1046 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88249 --- Comment #5 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Dec 12 00:08:12 2018 New Revision: 267037 URL: https://gcc.gnu.org/viewcvs?rev=3D267037&root=3Dgcc&view=3Drev Log: 2018-12-11 Steven G. Kargl PR fortran/88249 * gfortran.h: Update prototype for gfc_resolve_filepos(). * io.c (gfc_resolve_filepos): Check for UNIT number if ERR=3D is pr= esent. Use passed in locus for error message. * resolve.c (gfc_resolve_code): Pass locus in gfc_resolve_filepos() call. 2018-12-11 Steven G. Kargl PR fortran/88249 * gfortran.dg/pr88249.f90: New test. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr88249.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/gfortran.h branches/gcc-7-branch/gcc/fortran/io.c branches/gcc-7-branch/gcc/fortran/resolve.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 00:09:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58763 invoked by alias); 12 Dec 2018 00:09:00 -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 58664 invoked by uid 48); 12 Dec 2018 00:08:55 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88249] ICE in gfc_resolve_filepos, at fortran/io.c:2853 Date: Wed, 12 Dec 2018 00:09: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution assigned_to 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: 2018-12/txt/msg01656.txt.bz2 Content-length: 570 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88249 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gn= u.org Target Milestone|--- |7.5 --- Comment #6 from kargl at gcc dot gnu.org --- Fixed on trunk, branch-8, and branch-7. Closing. >>From gcc-bugs-return-625541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 00:29:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31452 invoked by alias); 12 Dec 2018 00:29: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 31355 invoked by uid 48); 12 Dec 2018 00:29:00 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/77385] "Unclassifiable statement" from gfortran Date: Wed, 12 Dec 2018 00:29: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: 6.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01657.txt.bz2 Content-length: 475 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D77385 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Dominique d'Humieres --- AFAICT everything has been fixed, closing. >>From gcc-bugs-return-625542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 00:53:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118701 invoked by alias); 12 Dec 2018 00:53:45 -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 117431 invoked by uid 55); 12 Dec 2018 00:53:40 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88155] ICE in gfc_format_decoder, at fortran/error.c:947 Date: Wed, 12 Dec 2018 00:53: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: --- 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: 2018-12/txt/msg01658.txt.bz2 Content-length: 857 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88155 --- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Dec 12 00:53:08 2018 New Revision: 267041 URL: https://gcc.gnu.org/viewcvs?rev=3D267041&root=3Dgcc&view=3Drev Log: 2018-12-11 Steven G. Kargl PR fortran/88155 * primary.c (gfc_match_structure_constructor): Set the locus of an expression to avoid a NULL pointer dereference. 2018-12-11 Steven G. Kargl PR fortran/88155 * gfortran.dg/pr70870_1.f90: Update testcase to use -std=3Dgnu. * gfortran.dg/pr88155.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/pr88155.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/primary.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/pr70870_1.f90 >>From gcc-bugs-return-625543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 00:54:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129307 invoked by alias); 12 Dec 2018 00:54:02 -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 128116 invoked by uid 48); 12 Dec 2018 00:53:58 -0000 From: "skunk at iskunk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/65725] Bootstrap errors on Solaris 10 x86-64, including object diffs Date: Wed, 12 Dec 2018 00:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: skunk at iskunk dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro 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: 2018-12/txt/msg01659.txt.bz2 Content-length: 931 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65725 --- Comment #8 from Daniel Richard G. --- Hello Rainer, (In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #7) > That bootstrap (amd64-pc-solaris2.10 with as/ld, --disable-shared > --with-pic) has now completed as well: in addition to libcc1 (PR > other/66955) and ada (cf. PR ada/88429), I also had to disable go > because it uses sendfile without explicitly linking with -lsendfile (in > the shared case, this works because libgo is linked with libsendfile). >=20 > Anyway, the bootstrap has now finished successfully and make check is > running: no comparison failures at all. So unless there's additional > information how to reproduce this, I'll close the PR as WORKSFORME. I tested this again with GCC 8.2.0 on the same system, using as/ld, and am still seeing the object diffs. Would it help if I provided a copy of the objects at issue? >>From gcc-bugs-return-625544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 01:09:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12717 invoked by alias); 12 Dec 2018 01:09:31 -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 12617 invoked by uid 48); 12 Dec 2018 01:09:26 -0000 From: "hoganmeier at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88440] size optimization of memcpy-like code Date: Wed, 12 Dec 2018 01:09: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hoganmeier at gmail dot com 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: 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: 2018-12/txt/msg01660.txt.bz2 Content-length: 202 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88440 --- Comment #3 from krux --- Adding -ftree-loop-distribute-patterns to -Os does not seem to make a difference though. >>From gcc-bugs-return-625545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 01:16:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27509 invoked by alias); 12 Dec 2018 01:16: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 27179 invoked by uid 55); 12 Dec 2018 01:15:46 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88155] ICE in gfc_format_decoder, at fortran/error.c:947 Date: Wed, 12 Dec 2018 01:16: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: --- 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: 2018-12/txt/msg01661.txt.bz2 Content-length: 937 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88155 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Dec 12 01:14:58 2018 New Revision: 267042 URL: https://gcc.gnu.org/viewcvs?rev=3D267042&root=3Dgcc&view=3Drev Log: 2018-12-11 Steven G. Kargl PR fortran/88155 * primary.c (gfc_match_structure_constructor): Set the locus of an expression to avoid a NULL pointer dereference. 2018-12-11 Steven G. Kargl PR fortran/88155 * gfortran.dg/pr70870_1.f90: Update testcase to use -std=3Dgnu. * gfortran.dg/pr88155.f90: New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88155.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/primary.c branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr70870_1.f90 >>From gcc-bugs-return-625546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 01:24:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35840 invoked by alias); 12 Dec 2018 01:23: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35758 invoked by uid 48); 12 Dec 2018 01:23:54 -0000 From: "patrick at motec dot com.au" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/88456] New: __atomic_compare_exchange implementation inconsistently used Date: Wed, 12 Dec 2018 01:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: patrick at motec dot com.au 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 Message-ID: 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: 2018-12/txt/msg01662.txt.bz2 Content-length: 2392 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88456 Bug ID: 88456 Summary: __atomic_compare_exchange implementation inconsistently used Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: patrick at motec dot com.au Target Milestone: --- While implementing atomic support for an embedded target I came across some unexpected behaviour in gcc. In the following example: #include #include #include bool __atomic_compare_exchange_1(uint8_t *p, uint8_t *e, uint8_t d, bool w, int = sm, int fm) { asm volatile("nop"); return false; } int main() { uint8_t x, e, d; atomic_compare_exchange_strong_explicit(&x, &e, d, 0, 0); return 0; } The provided __atomic_compare_exchange_1 implementation is only used at -O2= or greater: % gcc -c -O0 test.c; objdump -d test.o |grep cmpxchg=20=20=20=20=20=20=20= =20=20=20 60: f0 40 0f b0 31 lock cmpxchg %sil,(%rcx) % gcc -c -O1 test.c; objdump -d test.o |grep cmpxchg 20: f0 0f b0 4c 24 07 lock cmpxchg %cl,0x7(%rsp) % gcc -c -O2 test.c; objdump -d test.o |grep cmpxchg % gcc -c -O3 test.c; objdump -d test.o |grep cmpxchg This was observed with gcc 8.2.1: % gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --prefix=3D/usr --libdir=3D/u= sr/lib --libexecdir=3D/usr/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/in= fo --with-bugurl=3Dhttps://bugs.archlinux.org/ --enable-languages=3Dc,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=3Dposix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=3Dgnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=3Dgnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=3Drelease --enable-default-pie --enable-default-ssp --enable-cet=3Dauto Thread model: posix gcc version 8.2.1 20181127 (GCC) >>From gcc-bugs-return-625547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 01:26:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91833 invoked by alias); 12 Dec 2018 01:26:48 -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 91761 invoked by uid 55); 12 Dec 2018 01:26:44 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88155] ICE in gfc_format_decoder, at fortran/error.c:947 Date: Wed, 12 Dec 2018 01:26: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: --- 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: 2018-12/txt/msg01663.txt.bz2 Content-length: 937 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88155 --- Comment #5 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Dec 12 01:26:12 2018 New Revision: 267043 URL: https://gcc.gnu.org/viewcvs?rev=3D267043&root=3Dgcc&view=3Drev Log: 2018-12-11 Steven G. Kargl PR fortran/88155 * primary.c (gfc_match_structure_constructor): Set the locus of an expression to avoid a NULL pointer dereference. 2018-12-11 Steven G. Kargl PR fortran/88155 * gfortran.dg/pr70870_1.f90: Update testcase to use -std=3Dgnu. * gfortran.dg/pr88155.f90: New test. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr88155.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/primary.c branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr70870_1.f90 >>From gcc-bugs-return-625548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 01:27:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92702 invoked by alias); 12 Dec 2018 01:27:10 -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 92641 invoked by uid 48); 12 Dec 2018 01:27:06 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88155] ICE in gfc_format_decoder, at fortran/error.c:947 Date: Wed, 12 Dec 2018 01:27: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution assigned_to 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: 2018-12/txt/msg01664.txt.bz2 Content-length: 560 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88155 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gn= u.org Target Milestone|--- |7.5 --- Comment #6 from kargl at gcc dot gnu.org --- Fixed on trunk, branch-8, and branch-7. >>From gcc-bugs-return-625549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 01:31:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100289 invoked by alias); 12 Dec 2018 01:31:20 -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 100113 invoked by uid 48); 12 Dec 2018 01:31:03 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/59447] --with-dwarf2 should be documented as meaning "DWARF 2 or later" instead of just "DWARF 2" Date: Wed, 12 Dec 2018 01:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 4.8.2 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra 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: 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: 2018-12/txt/msg01665.txt.bz2 Content-length: 588 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59447 sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sandra at gcc dot gnu.org --- Comment #5 from sandra at gcc dot gnu.org --- Actually, this issue is already on my radar, but there are definitely more documentation bugs out there than I have time to fix this release cycle. Of course there's nothing stopping other people from fixing some of these things too. :-) >>From gcc-bugs-return-625550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 01:58:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 686 invoked by alias); 12 Dec 2018 01:58:13 -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 457 invoked by uid 48); 12 Dec 2018 01:58:08 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88116] [8/9 Regression] ICE in gfc_convert_constant(): Unexpected type Date: Wed, 12 Dec 2018 01:58: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: 9.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: 8.3 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: 2018-12/txt/msg01666.txt.bz2 Content-length: 1127 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88116 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #5 from kargl at gcc dot gnu.org --- (In reply to G. Steinmetz from comment #0) > Silently accepted invalid code, produces a wrong result : >=20 >=20 > $ cat z2.f90 > program p > print *, [integer :: 1, [integer(8) :: 2, '3']] > end >=20 >=20 > $ gfortran-9-20181118 z2.f90 -static-libgfortran > $ a.out > 1 2 0 Gerhard, I don't know if you like to keep track of issues that you submit or not. The above is quite strange if=20 integer(8) is replaced with integer or integer(4), I get the expected error message. If it is integer(1), integer(2), or integer(8), it silently compiles. If I do,=20 print *, [integer(8) :: 2, '3'] I et the expected error. Do you want to migrate this to its own PR? If not, I'll do it when I get around to committing the fix for the other issues. >>From gcc-bugs-return-625551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 02:41:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88108 invoked by alias); 12 Dec 2018 02:41:16 -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 88021 invoked by uid 48); 12 Dec 2018 02:41:11 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88457] New: ICE: Max. number of generated reload insns per insn is achieved (90) Date: Wed, 12 Dec 2018 02:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: 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: 2018-12/txt/msg01667.txt.bz2 Content-length: 1856 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88457 Bug ID: 88457 Summary: ICE: Max. number of generated reload insns per insn is achieved (90) Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: powerpc-*-linux-gnu gcc-9.0.0-alpha20181209 snapshot (r266934) ICEs when compiling gcc/testsuite/gcc.target/powerpc/clone1.c w/ -mcpu=3Dpower7 -O1 -fexpensive-optimizations --param ira-max-conflict-table-size=3D0 --param max-cse-insns=3D3: % powerpc-e300c3-linux-gnu-gcc-9.0.0-alpha20181209 -mcpu=3Dpower7 -O1 -fexpensive-optimizations --param ira-max-conflict-table-size=3D0 --param max-cse-insns=3D3 -c gcc/testsuite/gcc.target/powerpc/clone1.c during RTL pass: reload gcc/testsuite/gcc.target/powerpc/clone1.c: In function 'mod_func_or': gcc/testsuite/gcc.target/powerpc/clone1.c:23:1: internal compiler error: Ma= x. number of generated reload insns per insn is achieved (90) 23 | } | ^ 0xba14ee lra_constraints(bool) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181209/wor= k/gcc-9-20181209/gcc/lra-constraints.c:4850 0xb882f8 lra(_IO_FILE*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181209/wor= k/gcc-9-20181209/gcc/lra.c:2446 0xb3e2f4 do_reload =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181209/wor= k/gcc-9-20181209/gcc/ira.c:5475 0xb3e2f4 execute =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181209/wor= k/gcc-9-20181209/gcc/ira.c:5659 >>From gcc-bugs-return-625552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 04:07:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25585 invoked by alias); 12 Dec 2018 04:07:11 -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 25478 invoked by uid 48); 12 Dec 2018 04:07:06 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/26732] different argument type not rejected for K&R style function definitions Date: Wed, 12 Dec 2018 04:07: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.1.1 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager 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: 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: 2018-12/txt/msg01668.txt.bz2 Content-length: 232 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D26732 --- Comment #7 from Eric Gallager --- (In reply to Andrew Pinski from comment #6) > Now we don't even error out at -O3. Why would the -O3 matter? >>From gcc-bugs-return-625553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 04:11:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33662 invoked by alias); 12 Dec 2018 04:11:19 -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 30918 invoked by uid 48); 12 Dec 2018 04:11:08 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/37703] Ada testsuites lack multilib support Date: Wed, 12 Dec 2018 04:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 4.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager 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: see_also 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: 2018-12/txt/msg01669.txt.bz2 Content-length: 482 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D37703 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D37704 --- Comment #5 from Eric Gallager --- Related: bug 37704 >>From gcc-bugs-return-625554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 04:26:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49232 invoked by alias); 12 Dec 2018 04:26:09 -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 46250 invoked by uid 48); 12 Dec 2018 04:26:04 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/81811] missing -Wreturn-local-addr returning strcpy result Date: Wed, 12 Dec 2018 04:26: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: 8.0 X-Bugzilla-Keywords: diagnostic, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager 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 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: 2018-12/txt/msg01670.txt.bz2 Content-length: 1150 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81811 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #4 from Eric Gallager --- (In reply to Martin Sebor from comment #3) > (In reply to Richard Biener from comment #2) > > Wonder whether the memcpy case is because we fold the memcpy away as bo= th > > memcpy and strcpy are marked RET1 (returns arg1). >=20 > The memcpy is eliminated in DSE and turned into a plain 'return a' statem= ent > that the find_explicit_erroneous_behavior() in tree-ssa-isolate-paths.c > that implements the warning knows how to handle. >=20 > DSE doesn't handle strcpy or strncpy so the calls are not eliminated and > because find_explicit_erroneous_behavior() doesn't handle calls, the 'ret= urn > strcpy(a, s)' statement isn't detected. >=20 > This suggests an opportunity to improve not just the warning but also DSE. so, sounds like a missed-optimization too, then >>From gcc-bugs-return-625555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 04:34:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111598 invoked by alias); 12 Dec 2018 04:34:46 -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 111488 invoked by uid 48); 12 Dec 2018 04:34:41 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/51509] Inefficient neon intrinsic code sequence Date: Wed, 12 Dec 2018 04:34: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.7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: cbaylis at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc see_also 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: 2018-12/txt/msg01671.txt.bz2 Content-length: 771 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51509 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.o= rg See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D65375 --- Comment #7 from Eric Gallager --- (In reply to Maxim Kuvyrkov from comment #5) > Oh, sorry, I missed the fact that PR65375 is for aarch64 and this one is = for > armv7. Charles, would you please look at this? Should Charles still remain the assignee for this? >>From gcc-bugs-return-625556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 04:46:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124884 invoked by alias); 12 Dec 2018 04:46:06 -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 124770 invoked by uid 48); 12 Dec 2018 04:46:01 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled Date: Wed, 12 Dec 2018 04:46: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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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: see_also 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: 2018-12/txt/msg01672.txt.bz2 Content-length: 3050 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87951 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D81665 --- Comment #18 from Eric Gallager --- (In reply to Vitali from comment #17) > I was explicitly asked to open this as a separate bug in comment #7 of > 87950. Would be helpful if the GCC devs could coordinate to figure out if > they want separate bugs for C/C++ or 1 bug. >=20 > Jonathan, on this forum your feedback comes off a bit like Skinner where = he > blames the children. There's clearly a gap between how compiler authors > define switches as working & how developers wish to use those enums/wish > those enums were actually defined. I appreciate there's a large amount of > legacy code that complicates this issue but I don't think that condescend= ing > to people trying to communicate the issue in good faith moves the > conversation along. >=20 > I'd argue that clang strikes a much better balance here in terms of the > practical implications of the warning even if it's not perfect. In my min= d, > warnings are most useful when they optimize for a low rate of false > positives. The GCC warnings for enums do not in practice have a low rate = of > false positives and are clearly tuned to minimize false negatives (i.e. > accidentally missing a switch statement that doesn't have all enums > covered).=20 >=20 > At the very least it would be useful to give users the power to turn on a > warning equivalent to Clang's that minimizes false negatives (or change > -Wswitch to be equivalent to Clang & add a -Wpedantic-switch that's part = of > -pedantic for the current behaviour). >=20 > You could even provide annotations that let users annotate enums/switches= in > an explicit fashion to indicate that they can be constructed with non-lab= el > values/aren't expected to be depending on which flag you choose to use to > silence warnings/let the compiler optimize more fully. >=20 > In practice, definitely in C++, enums ARE intended to be a closed set of = all > possible paths & the flags/random integer value cases are far less > frequently used; even for bitmasks it's a lazy way to do it. In C++ I > usually define strongly-typed types that represent the bitmask & overload > the bit math operators for the enum to yield that secondary type. I think > considering that's a technique used by Boost & Qt, it's reasonable to ass= ume > that having the enum double as the storage type for the bitmask is more o= f a > hack technically allowed than one that is considered best practice by lar= ge > C++ projects. In C it's more muddled because there's no operator > overloading, but the number of enums that exist far outnumber the uses wh= ere > it's used for bitwise math. This reminded me of bug 81665 >>From gcc-bugs-return-625557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 05:49:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17477 invoked by alias); 12 Dec 2018 05:49:27 -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 17400 invoked by uid 48); 12 Dec 2018 05:49:21 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/79593] [7/8/9 Regression] Poor/Worse code generation for FPU on versions after 6 Date: Wed, 12 Dec 2018 05:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01673.txt.bz2 Content-length: 2340 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79593 --- Comment #21 from Jeffrey A. Law --- We have this after IRA: (insn 27 26 28 4 (set (reg:DI 101 [ pretmp_22 ]) (zero_extend:DI (subreg:SI (reg:SF 91 [ pretmp_22 ]) 0))) "j.C":20:= 35 114 {*zero_extendsidi2} (expr_list:REG_DEAD (reg:SF 91 [ pretmp_22 ]) (nil))) (insn 28 27 29 4 (set (reg:XF 100) (float:XF (reg:DI 101 [ pretmp_22 ]))) "j.C":20:35 169 {floatdixf2} (expr_list:REG_DEAD (reg:DI 101 [ pretmp_22 ]) (nil))) Where 91 and 101 will get assigned to memory locations because of the 'm' constraint for floatdixf2. r100 gets a hard register. We're going to need= a reload for insn 27. So after LRA we have: (insn 100 26 27 4 (set (reg:SI 0 ax [110]) (mem/c:SI (reg/f:SI 7 sp) [6 %sfp+-8 S4 A64])) "j.C":20:35 67 {*movsi_internal} (nil)) (insn 27 100 28 4 (set (mem/c:DI (reg/f:SI 7 sp) [6 %sfp+-8 S8 A64]) (zero_extend:DI (reg:SI 0 ax [110]))) "j.C":20:35 114 {*zero_extendsidi2} (nil)) [ insn 28 doesn't really play a role here other than requiring the 'm' operand] The x86 backend has a splitter to optimize insn 27. So post LRA splitting generates: (insn 100 26 107 4 (set (reg:SI 0 ax [110]) (mem/c:SI (reg/f:SI 7 sp) [6 %sfp+-8 S4 A64])) "j.C":20:35 67 {*movsi_internal} (nil)) (insn 107 100 108 4 (set (mem/c:SI (reg/f:SI 7 sp) [6 %sfp+-8 S4 A64]) (reg:SI 0 ax [110])) "j.C":20:35 67 {*movsi_internal} (nil)) (insn 108 107 28 4 (set (mem/c:SI (plus:SI (reg/f:SI 7 sp) (const_int 4 [0x4])) [6 %sfp+-4 S4 A32]) (const_int 0 [0])) "j.C":20:35 67 {*movsi_internal} (nil)) Now we've finally exposed the redundancy. This can be addressed in DSE2 which runs after SPLIT2. But it's not all that generally effective. Figure we're getting ~8 hits per stage during a bootstrap -- all in the runtime system. I looked at perhaps trying to detect the partial dead store in postreload-g= cse. THere's a lot of good memory tracking bits in here, but it's still not a g= ood fit.=20=20 It doesn't really feel like an IRA/LRA problem to me. Their decisions are = sane AFAICT. We could try and catch it with a new peephole pattern, but that seems even = less desirable than detecting this in a generic way during DSE. >>From gcc-bugs-return-625558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 06:14:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92992 invoked by alias); 12 Dec 2018 06:14:00 -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 92935 invoked by uid 48); 12 Dec 2018 06:13:56 -0000 From: "vgupta at synopsys dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88001] ASMCONS cannot handle properly UNSPEC(CONST) Date: Wed, 12 Dec 2018 06:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vgupta at synopsys dot com 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: 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: 2018-12/txt/msg01674.txt.bz2 Content-length: 598 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88001 Vineet Gupta changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vgupta at synopsys dot com --- Comment #5 from Vineet Gupta --- Hi, I'm the ARC glibc maintainer (and desperate for this fix). The proposed (one liner) patch seems to fix the compiler assert for sue. I'm still running more tests to make sure it is functional but looks promising. >>From gcc-bugs-return-625559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 06:31:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123339 invoked by alias); 12 Dec 2018 06:31:06 -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 123175 invoked by uid 48); 12 Dec 2018 06:30:59 -0000 From: "claziss at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88001] ASMCONS cannot handle properly UNSPEC(CONST) Date: Wed, 12 Dec 2018 06:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: claziss at gmail dot com 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: 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: 2018-12/txt/msg01675.txt.bz2 Content-length: 183 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88001 --- Comment #6 from Claudiu Zissulescu --- The dejagnu tests for ARC look alright. No extra failures. >>From gcc-bugs-return-625560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 06:54:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115929 invoked by alias); 12 Dec 2018 06:54: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 115846 invoked by uid 48); 12 Dec 2018 06:54:20 -0000 From: "yaghmour.shafik at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88458] New: Conditional expression where the second and third operand are int and nullptr treated as ill-formed Date: Wed, 12 Dec 2018 06:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yaghmour.shafik 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 Message-ID: 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: 2018-12/txt/msg01676.txt.bz2 Content-length: 993 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88458 Bug ID: 88458 Summary: Conditional expression where the second and third operand are int and nullptr treated as ill-formed Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: yaghmour.shafik at gmail dot com Target Milestone: --- Given the following code char* ch4 =3D true ? 0 : nullptr; and compiling with the following flags: -std=3Dc++17 gcc produces the following diagnostic: error: operands to ?: have different types 'int' and 'std::nullptr_t' 4 | char* ch4 =3D true ? 0 : nullptr; | ~~~~~^~~~~~~~~~~~~ Both clang and MSVC accepts this code w/o diagnostic, see godbolt: https://godbolt.org/z/BraaEu I believe according to http://eel.is/c++draft/expr.cond#7.5 this is well-formed. >>From gcc-bugs-return-625561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 07:01:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80570 invoked by alias); 12 Dec 2018 07:01:30 -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 80191 invoked by uid 48); 12 Dec 2018 07:00:53 -0000 From: "sbence92 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/88450] ICE in stage 2 compiler while configuring libgcc Date: Wed, 12 Dec 2018 07:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sbence92 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: 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: 2018-12/txt/msg01677.txt.bz2 Content-length: 205 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88450 --- Comment #1 from Bence Szab=C3=B3 --- Correction: 9-21081118 works after patching with "PR bootstrap/88106" (r266= 309) >>From gcc-bugs-return-625562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 07:02:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81555 invoked by alias); 12 Dec 2018 07:02:08 -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 81487 invoked by uid 48); 12 Dec 2018 07:02:04 -0000 From: "abel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/86979] [9 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2348 with -m32 on darwin Date: Wed, 12 Dec 2018 07:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: abel at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: abel at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-12/txt/msg01678.txt.bz2 Content-length: 468 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86979 Andrey Belevantsev changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |abel at gcc dot gnu= .org --- Comment #7 from Andrey Belevantsev --- Looks like mine. >>From gcc-bugs-return-625563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 07:10:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91775 invoked by alias); 12 Dec 2018 07:10:47 -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 91739 invoked by uid 48); 12 Dec 2018 07:10:43 -0000 From: "jiangning.liu at amperecomputing dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88459] New: vectorization failure for a simple sum reduction loop Date: Wed, 12 Dec 2018 07:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jiangning.liu at amperecomputing 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 Message-ID: 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: 2018-12/txt/msg01679.txt.bz2 Content-length: 1283 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88459 Bug ID: 88459 Summary: vectorization failure for a simple sum reduction loop Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jiangning.liu at amperecomputing dot com Target Milestone: --- For the simple loop below, gcc -O3 fails to vectorize it. unsigned int tmp[1024]; unsigned int test_vec(int n) { int sum =3D 0; for(int i =3D 0; i < 1024; i++) { sum +=3D tmp[i]; } return sum; } The kernel loop is, .L2: ldr w2, [x1], 4 add w0, w0, w2 cmp x3, x1 bne .L2 But if we change the data type of sum from "int" to "unsigned int" as below, unsigned int tmp[1024]; unsigned int test_vec(int n) { unsigned int sum =3D 0; for(int i =3D 0; i < 1024; i++) { sum +=3D tmp[i]; } return sum; } gcc can vectorize it, and the kernel loop is like, .L2: ldr q1, [x0], 16 add v0.4s, v0.4s, v1.4s cmp x1, x0 bne .L2 >>From gcc-bugs-return-625564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 08:02:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105596 invoked by alias); 12 Dec 2018 08:02:03 -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 105438 invoked by uid 48); 12 Dec 2018 08:01:58 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/88318] new test case gcc.dg/independent-cloneids-1.c fails on big endian Date: Wed, 12 Dec 2018 08:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to 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: 2018-12/txt/msg01680.txt.bz2 Content-length: 671 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88318 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-12-12 CC| |segher at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |segher at gcc dot g= nu.org Ever confirmed|0 |1 --- Comment #1 from Segher Boessenkool --- Confirmed. I have a patch. >>From gcc-bugs-return-625565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 08:11:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114954 invoked by alias); 12 Dec 2018 08:11:53 -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 114889 invoked by uid 48); 12 Dec 2018 08:11:48 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88311] mlongcall indirections are optimised away Date: Wed, 12 Dec 2018 08:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 2018-12/txt/msg01681.txt.bz2 Content-length: 613 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88311 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |segher at gcc dot gnu.org --- Comment #1 from Segher Boessenkool --- I don't see this happening. I used: =3D=3D=3D void g(void *); void f(void) { g("abcdef"); } =3D=3D=3D With both -O2 -mlongcall -m32 and -O1 -mlongcall -m32 it all seems to work fine. What are you doing differently? >>From gcc-bugs-return-625566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 08:29:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125645 invoked by alias); 12 Dec 2018 08:29:20 -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 125592 invoked by uid 55); 12 Dec 2018 08:29:15 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88449] __builtin_is_constant_evaluated misbehaves due to constexpr call caching Date: Wed, 12 Dec 2018 08:29: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub 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: 2018-12/txt/msg01682.txt.bz2 Content-length: 1070 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88449 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Wed Dec 12 08:28:43 2018 New Revision: 267044 URL: https://gcc.gnu.org/viewcvs?rev=3D267044&root=3Dgcc&view=3Drev Log: PR c++/88449 * constexpr.c (struct constexpr_call): Add pretend_const_required member. (constexpr_call_hasher::equal): Return false if pretend_const_requi= red members differ. (cxx_eval_call_expression): Adjust new_call initialization. Hash in ctx->pretend_const_required. * g++.dg/cpp2a/is-constant-evaluated1.C: Change from dg-do compile to dg-do run. (e): Adjust comment with correct expected value. (main): Expect e =3D=3D 1. * g++.dg/cpp2a/is-constant-evaluated2.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp2a/is-constant-evaluated2.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/constexpr.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/cpp2a/is-constant-evaluated1.C >>From gcc-bugs-return-625567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 08:31:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130399 invoked by alias); 12 Dec 2018 08:31:46 -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 130271 invoked by uid 55); 12 Dec 2018 08:31:38 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88440] size optimization of memcpy-like code Date: Wed, 12 Dec 2018 08:31: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de 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: 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: 2018-12/txt/msg01683.txt.bz2 Content-length: 589 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88440 --- Comment #4 from rguenther at suse dot de --- On Wed, 12 Dec 2018, hoganmeier at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88440 >=20 > --- Comment #3 from krux --- > Adding -ftree-loop-distribute-patterns to -Os does not seem to make a > difference though. Possibly because of /* Don't distribute multiple exit edges loop, or cold loop. */ if (!single_exit (loop) || !optimize_loop_for_speed_p (loop)) continue; >>From gcc-bugs-return-625568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 08:45:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28378 invoked by alias); 12 Dec 2018 08:45: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 27917 invoked by uid 55); 12 Dec 2018 08:44:59 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88446] __builtin_is_constant_evaluated rejects some converted constant expressions. Date: Wed, 12 Dec 2018 08:45: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: 9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub 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: 2018-12/txt/msg01684.txt.bz2 Content-length: 1482 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88446 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Dec 12 08:44:27 2018 New Revision: 267047 URL: https://gcc.gnu.org/viewcvs?rev=3D267047&root=3Dgcc&view=3Drev Log: PR c++/88446 * cp-tree.h (maybe_constant_value): Add manifestly_const_eval argument. * constexpr.c (struct constexpr_call): Rename pretend_const_required member to manifestly_const_eval. (struct constexpr_ctx): Likewise. (constexpr_call_hasher::equal): Adjust users. (cxx_eval_builtin_function_call): Likewise. Formatting fix. (cxx_eval_call_expression): Adjust users. (cxx_eval_outermost_constant_expr, maybe_constant_init_1, maybe_constant_init): Rename pretend_const_required argument to manifestly_const_eval, adjust function comments. (maybe_constant_value): Add manifestly_const_eval argument. If tru= e, don't cache and call cxx_eval_outermost_constant_expr with true as manifestly_const_eval. * decl.c (compute_array_index_type_loc): Call maybe_constant_value with true as manifestly_const_eval. * g++.dg/cpp2a/is-constant-evaluated3.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp2a/is-constant-evaluated3.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/constexpr.c trunk/gcc/cp/cp-tree.h trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 08:54:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115548 invoked by alias); 12 Dec 2018 08:54:26 -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 115459 invoked by uid 55); 12 Dec 2018 08:54:21 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88343] [7/8/9 Regression] R31 is unconditionally saved/restored on powerpc-darwin even when it's not necessary. Date: Wed, 12 Dec 2018 08:54: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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: iains 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: 9.0 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: 2018-12/txt/msg01685.txt.bz2 Content-length: 916 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88343 --- Comment #6 from Iain Sandoe --- Author: iains Date: Wed Dec 12 08:53:49 2018 New Revision: 267049 URL: https://gcc.gnu.org/viewcvs?rev=3D267049&root=3Dgcc&view=3Drev Log: rs6000 - Fix PR target/88343 The PR is about unnecessary saves of the pic base register, it shows on m32 Linux and m32/m64 Darwin. The fix is to check that we are in a pic mode and that the picbase has actu= ally been used. As a bonus, some #ifdef=E2=80=99d TARGET_MACHO code is no longer required. 2018-12-12 Segher Boessenkool Iain Sandoe PR target/88343 * config/rs6000/rs6000.c (save_reg_p): Do not save the picbase reg unless it has been used. (first_reg_to_save): Remove dead code. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000.c >>From gcc-bugs-return-625570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:01:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122632 invoked by alias); 12 Dec 2018 09:01:17 -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 121538 invoked by uid 48); 12 Dec 2018 09:00:53 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88311] mlongcall indirections are optimised away Date: Wed, 12 Dec 2018 09:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iains 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: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01686.txt.bz2 Content-length: 797 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88311 Iain Sandoe changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-12 Ever confirmed|0 |1 --- Comment #2 from Iain Sandoe --- on gcc110: this fails: $ cat ~/hello.c extern int printf (const char *, ...); int main (int ac, char *av[]) { printf ("here we are"); return 0; } this does not: $ cat ~/foo.c void g (void *); void foo (void) { g ("xyzzy"); } so maybe something happens with the builtin string handling that does not affect regular funcs. >>From gcc-bugs-return-625571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:01:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126544 invoked by alias); 12 Dec 2018 09:01:46 -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 126381 invoked by uid 48); 12 Dec 2018 09:01:37 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/88460] New: [nvptx] FAIL: libgomp.c++/for-24.C (internal compiler error) Date: Wed, 12 Dec 2018 09:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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: 2018-12/txt/msg01687.txt.bz2 Content-length: 2313 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88460 Bug ID: 88460 Summary: [nvptx] FAIL: libgomp.c++/for-24.C (internal compiler error) Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- In more detail: ... lto1: internal compiler error: in input_varpool_node, at lto-cgraph.c:1371^M 0x987a5b input_varpool_node^M /home/vries/oacc/trunk/source-gcc/gcc/lto-cgraph.c:1369^M 0x987a5b input_cgraph_1^M /home/vries/oacc/trunk/source-gcc/gcc/lto-cgraph.c:1491^M 0x987a5b input_symtab()^M /home/vries/oacc/trunk/source-gcc/gcc/lto-cgraph.c:1681^M 0x5bfafc read_cgraph_and_symbols^M /home/vries/oacc/trunk/source-gcc/gcc/lto/lto.c:2878^M 0x5bfafc lto_main()^M /home/vries/oacc/trunk/source-gcc/gcc/lto/lto.c:3362^M Please submit a full bug report,^M with preprocessed source if appropriate.^M Please include the complete backtrace with any bug report.^M See for instructions.^M mkoffload: fatal error: /home/vries/oacc/trunk/install/offload-nvptx-none/bin//x86_64-pc-linux-gnu-= accel-nvptx-no\ ne-gcc returned 1 exit status^M compilation terminated.^M lto-wrapper: fatal error: /home/vries/oacc/trunk/install/offload-nvptx-none/libexec/gcc/x86_64-pc-lin= ux-gnu/9.0.0\ //accel/nvptx-none/mkoffload returned 1 exit status^M compilation terminated.^M /usr/bin/ld.bfd.real: error: lto-wrapper failed^M collect2: error: ld returned 1 exit status^M FAIL: libgomp.c++/for-24.C (internal compiler error) FAIL: libgomp.c++/for-24.C (test for excess errors) ... It's this assert that's failing: ... 1369 gcc_assert (flag_ltrans 1370 || (!node->in_other_partition 1371 && !node->used_from_other_partition)); ... because: ... (gdb) p flag_ltrans No symbol "flag_ltrans" in current context. (gdb) p node->in_other_partition $1 =3D 1 (gdb) p node->used_from_other_partition $2 =3D 0 (gdb) p global_options.x_flag_ltrans $3 =3D 0 ... for node: ... (gdb) call debug_generic_expr (node.decl) results ... >>From gcc-bugs-return-625572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:06:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3731 invoked by alias); 12 Dec 2018 09:06: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 3627 invoked by uid 48); 12 Dec 2018 09:06:37 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88449] __builtin_is_constant_evaluated misbehaves due to constexpr call caching Date: Wed, 12 Dec 2018 09:06: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: 9.0 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: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01688.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88449 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Richard Biener --- Fixed I presume. >>From gcc-bugs-return-625573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:06:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4515 invoked by alias); 12 Dec 2018 09:06:53 -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 4440 invoked by uid 48); 12 Dec 2018 09:06:48 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88343] [7/8/9 Regression] R31 is unconditionally saved/restored on powerpc-darwin even when it's not necessary. Date: Wed, 12 Dec 2018 09:06: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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: iains 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: 9.0 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: 2018-12/txt/msg01689.txt.bz2 Content-length: 144 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88343 --- Comment #7 from Iain Sandoe --- so, fixed on trunk so far. >>From gcc-bugs-return-625574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:08:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6668 invoked by alias); 12 Dec 2018 09:08:56 -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 6613 invoked by uid 48); 12 Dec 2018 09:08:52 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88451] No rounding in fixed-point arithmetic (Decimal to fixed-point conversion, multiplication) Date: Wed, 12 Dec 2018 09:08: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: 6.3.1 X-Bugzilla-Keywords: 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: cf_gcctarget component 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: 2018-12/txt/msg01690.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88451 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |arm Component|c |target --- Comment #1 from Richard Biener --- Note GCC 6 is no longer maintained. please provide compilable testcases. >>From gcc-bugs-return-625575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:09:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7907 invoked by alias); 12 Dec 2018 09:09: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 7819 invoked by uid 48); 12 Dec 2018 09:09:37 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88454] [9 regression] test case gcc.dg/tree-ssa/split-path-5.c fails after r266971 Date: Wed, 12 Dec 2018 09:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: 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: 9.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: 2018-12/txt/msg01691.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88454 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.0 >>From gcc-bugs-return-625576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:13:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11172 invoked by alias); 12 Dec 2018 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 11056 invoked by uid 48); 12 Dec 2018 09:12:56 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88456] __atomic_compare_exchange implementation inconsistently used Date: Wed, 12 Dec 2018 09:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: 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 component 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: 2018-12/txt/msg01692.txt.bz2 Content-length: 687 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88456 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsm28 at gcc dot gnu.org Component|other |middle-end --- Comment #1 from Richard Biener --- I guess your implementation somehow gets picked up by the inliner but eventually code generation will open-code non-inlined "calls" with the internally available implementation. I _think_ that inlining your implementation is the bug. Joseph? >>From gcc-bugs-return-625577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:14:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12799 invoked by alias); 12 Dec 2018 09:14:10 -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 12734 invoked by uid 48); 12 Dec 2018 09:14:05 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88457] ICE: Max. number of generated reload insns per insn is achieved (90) Date: Wed, 12 Dec 2018 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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code, ra 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: keywords cc version 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: 2018-12/txt/msg01693.txt.bz2 Content-length: 560 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88457 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ra CC| |vmakarov at gcc dot gnu.org Version|unknown |9.0 --- Comment #1 from Richard Biener --- ira-max-conflict-table-size=3D0 might be an impossible value - Vlad? >>From gcc-bugs-return-625578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:18:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130239 invoked by alias); 12 Dec 2018 09:18: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 127580 invoked by uid 48); 12 Dec 2018 09:18:37 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88459] vectorization failure for a simple sum reduction loop Date: Wed, 12 Dec 2018 09:18: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: 9.0 X-Bugzilla-Keywords: missed-optimization 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc blocked 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: 2018-12/txt/msg01694.txt.bz2 Content-length: 919 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88459 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-12 CC| |ktkachov at gcc dot gnu.org Blocks| |53947 Ever confirmed|0 |1 Known to fail| |9.0 --- Comment #1 from ktkachov at gcc dot gnu.org --- Confirmed on aarch64 and x86_64. Is it because GCC is afraid of signed over= flow or something? Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53947 [Bug 53947] [meta-bug] vectorizer missed-optimizations >>From gcc-bugs-return-625579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:20:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29361 invoked by alias); 12 Dec 2018 09:20:19 -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 29257 invoked by uid 48); 12 Dec 2018 09:20:14 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88311] mlongcall indirections are optimised away Date: Wed, 12 Dec 2018 09:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 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: 2018-12/txt/msg01695.txt.bz2 Content-length: 964 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88311 --- Comment #3 from Segher Boessenkool --- $ ~/build/tot/gcc/cc1 -quiet -Wall -W -O2 hello2.c -mlongcall -m32 ... main: .LFB0: .cfi_startproc stwu 1,-16(1) .cfi_def_cfa_offset 16 .reloc .+2,R_PPC_PLT16_HA,printf lis 11,0 .reloc .+2,R_PPC_PLT16_LO,printf lwz 11,0(11) mflr 0 lis 3,.LC0@ha la 3,.LC0@l(3) .reloc .,R_PPC_PLTSEQ,printf mtctr 11 stw 0,20(1) .cfi_offset 65, 4 crxor 6,6,6 .reloc .,R_PPC_PLTCALL,printf bctrl lwz 0,20(1) li 3,0 addi 1,1,16 .cfi_def_cfa_offset 0 mtlr 0 .cfi_restore 65 blr .cfi_endproc .LFE0: .size main,.-main .section .rodata.str1.4,"aMS",@progbits,1 .align 2 .LC0: .string "here we are" So that works fine?! >>From gcc-bugs-return-625580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:29:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52787 invoked by alias); 12 Dec 2018 09:29: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 52713 invoked by uid 48); 12 Dec 2018 09:29:21 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88150] Use sections_elf_shared.d on Solaris Date: Wed, 12 Dec 2018 09:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created 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: 2018-12/txt/msg01696.txt.bz2 Content-length: 508 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88150 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #45067|0 |1 is obsolete| | --- Comment #5 from Rainer Orth --- Created attachment 45211 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45211&action=3Dedit Revised patch >>From gcc-bugs-return-625581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:31:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66367 invoked by alias); 12 Dec 2018 09:31:03 -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 66086 invoked by uid 48); 12 Dec 2018 09:30:55 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88459] vectorization failure for a simple sum reduction loop Date: Wed, 12 Dec 2018 09:31: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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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 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: 2018-12/txt/msg01697.txt.bz2 Content-length: 497 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88459 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Richard Biener --- kind-of. *** This bug has been marked as a duplicate of bug 65930 *** >>From gcc-bugs-return-625582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:31:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66547 invoked by alias); 12 Dec 2018 09:31:05 -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 66184 invoked by uid 48); 12 Dec 2018 09:30:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65930] Reduction with sign-change not handled Date: Wed, 12 Dec 2018 09:31: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: 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: 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: 2018-12/txt/msg01698.txt.bz2 Content-length: 504 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65930 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jiangning.liu@amperecomputi | |ng.com --- Comment #6 from Richard Biener --- *** Bug 88459 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-625583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:31:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66739 invoked by alias); 12 Dec 2018 09:31:07 -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 66277 invoked by uid 48); 12 Dec 2018 09:31:01 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations Date: Wed, 12 Dec 2018 09:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: meta-bug, missed-optimization X-Bugzilla-Severity: enhancement 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: bug_status 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: 2018-12/txt/msg01699.txt.bz2 Content-length: 483 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53947 Bug 53947 depends on bug 88459, which changed state. Bug 88459 Summary: vectorization failure for a simple sum reduction loop https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88459 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE >>From gcc-bugs-return-625584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:36:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73933 invoked by alias); 12 Dec 2018 09:36:02 -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 72833 invoked by uid 48); 12 Dec 2018 09:35:57 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88311] mlongcall indirections are optimised away Date: Wed, 12 Dec 2018 09:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iains 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: 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: 2018-12/txt/msg01700.txt.bz2 Content-length: 222 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88311 --- Comment #4 from Iain Sandoe --- hmm strange, my case is repeatable at O2 and with -Wall -W (and without -dp= ). (and with/without fPIC). >>From gcc-bugs-return-625585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:37:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119526 invoked by alias); 12 Dec 2018 09:37:27 -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 119475 invoked by uid 48); 12 Dec 2018 09:37:22 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65930] Reduction with sign-change not handled Date: Wed, 12 Dec 2018 09:37: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: 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: cf_reconfirmed_on 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: 2018-12/txt/msg01701.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65930 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2015-04-29 00:00:00 |2018-12-12 CC| |ktkachov at gcc dot gnu.org --- Comment #7 from ktkachov at gcc dot gnu.org --- Clang vectorises both examples currently (for aarch64 at least) >>From gcc-bugs-return-625586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:39:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121745 invoked by alias); 12 Dec 2018 09:39: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 121653 invoked by uid 48); 12 Dec 2018 09:39:21 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/81665] Please introduce flags attribute for enums which will mimic one from C# Date: Wed, 12 Dec 2018 09:39: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.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi 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: 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: 2018-12/txt/msg01702.txt.bz2 Content-length: 657 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81665 --- Comment #3 from Jonathan Wakely --- (In reply to Daniel Fruzynski from comment #0) > - to eliminate above error, one has to define custom | operator for enum > type. However when it is not marked as a constexpr, it causes another > compilation error when its result is used as a case value: > test-enum-op.c:25:15: error: call to non-constexpr function =E2=80=98Valu= es > operator|(Values, Values)=E2=80=99 > case Val2 | Val3: > ^ So mark it constexpr then. Getting an error for incorrect code is good. (I have no comment on the rest of the report). >>From gcc-bugs-return-625587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:43:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129167 invoked by alias); 12 Dec 2018 09:43:10 -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 128342 invoked by uid 48); 12 Dec 2018 09:43:03 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88458] Conditional expression where the second and third operand are int and nullptr treated as ill-formed Date: Wed, 12 Dec 2018 09:43: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: 9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01703.txt.bz2 Content-length: 519 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88458 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-12 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely --- That wording was added by https://wg21.link/N3624 >>From gcc-bugs-return-625588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:48:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76825 invoked by alias); 12 Dec 2018 09:48: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 76586 invoked by uid 48); 12 Dec 2018 09:47:59 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/51509] Inefficient neon intrinsic code sequence Date: Wed, 12 Dec 2018 09:48: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.7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon 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: 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: 2018-12/txt/msg01704.txt.bz2 Content-length: 729 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51509 Christophe Lyon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|cbaylis at gcc dot gnu.org |unassigned at gcc d= ot gnu.org --- Comment #8 from Christophe Lyon --- (In reply to Eric Gallager from comment #7) > (In reply to Maxim Kuvyrkov from comment #5) > > Oh, sorry, I missed the fact that PR65375 is for aarch64 and this one i= s for > > armv7. Charles, would you please look at this? >=20 > Should Charles still remain the assignee for this? I'm afraid not: Charles no longer works with us. >>From gcc-bugs-return-625589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:54:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100116 invoked by alias); 12 Dec 2018 09:54: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 92288 invoked by uid 48); 12 Dec 2018 09:54:27 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88461] New: AVX512: gcc should keep value in kN registers if possible Date: Wed, 12 Dec 2018 09:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla@poradnik-webmastera.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 Message-ID: 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: 2018-12/txt/msg01705.txt.bz2 Content-length: 1426 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88461 Bug ID: 88461 Summary: AVX512: gcc should keep value in kN registers if possible Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: bugzilla@poradnik-webmastera.com Target Milestone: --- I tried to write piece of code which used new AVX512 logic instructions whi= ch works on kN registers. It turned out that gcc was moving intermediate values back and forth between kN and eax, what resulted in very poor code. Example was compiled using gcc 8.2 with -O3 -march=3Dskylake-avx512 [code] #include #include int test(uint16_t* data, int a) { __m128i v =3D _mm_load_si128((const __m128i*)data); __mmask8 m =3D _mm_testn_epi16_mask(v, v); m =3D _kshiftli_mask16(m, 1); m =3D _kandn_mask16(m, a); return m; } [/code] [asm] test(unsigned short*, int): vmovdqa64 xmm0, XMMWORD PTR [rdi] kmovw k5, esi vptestnmw k1, xmm0, xmm0 kmovb eax, k1 kmovw k2, eax kshiftlw k0, k2, 1 kmovw eax, k0 movzx eax, al kmovw k4, eax kandnw k3, k4, k5 kmovw eax, k3 movzx eax, al ret [/asm] >>From gcc-bugs-return-625590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:57:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123804 invoked by alias); 12 Dec 2018 09:57:38 -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 123737 invoked by uid 55); 12 Dec 2018 09:57:32 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88150] Use sections_elf_shared.d on Solaris Date: Wed, 12 Dec 2018 09:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01706.txt.bz2 Content-length: 7018 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88150 --- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE --- The revised patch (still with loads of hacks) allowed the vast majority of Solaris 11.4/x86 gdc tests to PASS, both 32 and 64-bit: =3D=3D=3D gdc Summary =3D=3D=3D # of expected passes 61178 # of unexpected failures 36 # of unresolved testcases 12 The results are identical on Solaris 11.3/x86 with the patches for PR d/87864 (which provides minfo bracketing if ld doesn't) and https://gcc.gnu.org/ml/gcc-patches/2018-11/msg02248.html (which links with -lsocket -lnsl if need be). Solaris/SPARC is still another issue: I'll report my findings separately. Here are the changes from the previous version of the patch: * Solaris ld doesn't provide __bss_start (and no exact equivalent). Since __bss_start is declared weak in rt/bss_section.c, this won't get noticed at link time, but manifests itself as a SEGV caused by an assertion failure: Thread 2 received signal SIGSEGV, Segmentation fault. [Switching to Thread 1 (LWP 1)] gc_malloc (sz=3D40, ba=3D0,=20 ti=3D0xff051250 ) at /vol/gcc/src/hg/trunk/local/libphobos/libdruntime/gc/proxy.d:117 117 return instance.malloc(sz, ba, ti); (gdb) where #0 gc_malloc (sz=3D40, ba=3D0,=20 ti=3D0xff051250 ) at /vol/gcc/src/hg/trunk/local/libphobos/libdruntime/gc/proxy.d:117 #1 0xfefdd018 in _d_newclass ( ci=3D0xff051250 ) at /vol/gcc/src/hg/trunk/local/libphobos/libdruntime/rt/lifetime.d:96 #2 0xfefaa5cc in onAssertError (file=3D..., line=3D918) at /vol/gcc/src/hg/trunk/local/libphobos/libdruntime/core/exception.d:4= 41 #3 0xfefaaedc in _d_assert (file=3D..., line=3D918) at /vol/gcc/src/hg/trunk/local/libphobos/libdruntime/core/exception.d:6= 41 #4 0xfefe9ff4 in rt.sections_elf_shared.getCopyRelocSection() () at /vol/gcc/src/hg/trunk/local/libphobos/libdruntime/rt/sections_elf_shared.d:= 918 #5 0xfefebfbc in _d_dso_registry (data=3D0xffbfe288) at /vol/gcc/src/hg/trunk/local/libphobos/libdruntime/rt/sections_elf_shared.d:= 402 #6 0xfef968b8 in gdc.dso_ctor () at :1 #7 gdc.dso_ctor () at /vol/gcc/src/hg/trunk/local/libphobos/libdruntime/core/atomic.d:1 #8 global constructors keyed to 4core6atomic () at /vol/gcc/src/hg/trunk/local/libphobos/libdruntime/core/atomic.d:1 #9 0xff1a0ccc in call_array () from /usr/lib/ld.so.1 #10 0xff1a0e4c in call_init () from /usr/lib/ld.so.1 #11 0xff1a015c in setup () from /usr/lib/ld.so.1 #12 0xff1b1d44 in _setup () from /usr/lib/ld.so.1 #13 0xff192738 in _rt_boot () from /usr/lib/ld.so.1 Backtrace stopped: previous frame identical to this frame (corrupt stack?) probably an assertion failure for findDSOInfoForAddr(bss_start, &info) || assert(0); since bss_start will be 0 if __bss_start doesn't exist. I've hacked around this by using _edata instead, which is close, but doesn't account for the alignment of the .bss section. * Solaris currently lacks dlpi_tls_modid. The field will probably be added to struct dl_phdr_info in Solaris 11.5 and perhaps backported to 11.4. I may be able to use the hack (making use of undocumented libc internals) from src/rt/sections_ldc.d in the ldc-developers druntime repo in on github if this turns out to work and be stable across Solaris 10 to 11.3. For now, I'm cheating by always setting _tlsMod to 0 on Solaris and disabling the corresponding assertions. * This allowed the gdc execution tests with -static-libphobos to PASS, but the -shared-libphobos tests would still FAIL, again with a SEGV Thread 2 received signal SIGSEGV, Segmentation fault. [Switching to Thread 1 (LWP 1)] 0xfe5a9559 in gc_malloc (sz=3D40, ba=3D0,=20 ti=3D0xfe5eb180 ) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/gc/proxy.d:117 117 return instance.malloc(sz, ba, ti); (gdb) where #0 0xfe5a9559 in gc_malloc (sz=3D40, ba=3D0,=20 ti=3D0xfe5eb180 ) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/gc/proxy.d:117 #1 0xfe553478 in core.memory.GC.malloc(uint, uint, const(TypeInfo)) (sz=3D= 40,=20 ba=3D0, ti=3D0xfe5eb180 ) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/core/memory.d:380 #2 0xfe576a04 in _d_newclass ( ci=3D0xfe5eb180 ) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/lifetime.d:96 #3 0xfe551994 in onAssertError (file=3D..., line=3D657) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/core/exception.d= :441 #4 0xfe551d12 in _d_assert (file=3D..., line=3D657) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/core/exception.d= :641 #5 0xfe583579 in rt.sections_elf_shared.setDSOForHandle(rt.sections_elf_shared.DSO*, void*) (pdso=3D0x8062420, handle=3D0xfe6d27a8) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/sections_elf_shared.= d:657 #6 0xfe5822f0 in _d_dso_registry (data=3D0xfeffd3d4) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/sections_elf_shared.= d:409 #7 0xfe0c3540 in gdc.dso_ctor () at :1 #8 0xfe0c34b2 in global constructors keyed to 3etc1c4curl () at /vol/gcc/src/hg/trunk/solaris/libphobos/src/etc/c/curl.d:1 #9 0xfe6b05cb in call_array () from /usr/lib/ld.so.1 #10 0xfe6b0777 in call_init () from /usr/lib/ld.so.1 #11 0xfe6af53c in setup () from /usr/lib/ld.so.1 #12 0xfe6c1c80 in _setup () from /usr/lib/ld.so.1 #13 0xfe6a1e7f in _rt_boot () from /usr/lib/ld.so.1 #14 0xfeffd8e4 in ?? () #15 0xfeffda62 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) caused by an assertion failure here: void setDSOForHandle(DSO* pdso, void* handle) nothrow @nogc { !pthread_mutex_lock(&_handleToDSOMutex) || assert(0); assert(handle !in _handleToDSO); Both the first and second times through _d_dso_registry (first for libgdruntime.so.76.0.3, then for libgphobos.so.76.0.3), I'd get the same dlopen handle, leading to the assertion failure above. However, I wonder how this can work at all: going through handleForAddr and then handleForName void* handleForName(const char* name) nothrow @nogc { auto handle =3D .dlopen(name, RTLD_NOLOAD | RTLD_LAZY); if (handle !is null) .dlclose(handle); // drop reference count return handle; } how can one expect that the handle returned for a different DSO the next time through isn't the same after it has first been dlclose'd? I must be missing something here... With the dlclose disabled on Solaris to keep the handle valid on return from handleForName, I'm getting the test results cited above, perhaps an indication that this is not totally wrong ;-) >>From gcc-bugs-return-625592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:58:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125941 invoked by alias); 12 Dec 2018 09:58:40 -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 125804 invoked by uid 48); 12 Dec 2018 09:58:36 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/88460] [nvptx] FAIL: libgomp.c++/for-24.C (internal compiler error) Date: Wed, 12 Dec 2018 09:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: vries 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: 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: 2018-12/txt/msg01708.txt.bz2 Content-length: 711 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88460 --- Comment #1 from Tom de Vries --- > Richard Biener changed: >=20 > What |Removed |Added > -------------------------------------------------------------------------= --- > Keywords| |lto > CC| |hubicka at gcc dot gnu.o= rg >=20 FTR, the gomp4 and openacc-gcc-{7,8}-branch branches contain a patch to emi= t an error "missing " here instead of ICE-ing, submitted as "[PATCH] er= ror on missing LTO symbols" here ( https://gcc.gnu.org/ml/gcc-patches/2016-07/msg00043.html ). >>From gcc-bugs-return-625591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 09:58:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124817 invoked by alias); 12 Dec 2018 09:58:05 -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 124657 invoked by uid 48); 12 Dec 2018 09:57:59 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88454] [9 regression] test case gcc.dg/tree-ssa/split-path-5.c fails after r266971 Date: Wed, 12 Dec 2018 09:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget 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: 2018-12/txt/msg01707.txt.bz2 Content-length: 562 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88454 Christophe Lyon changed: What |Removed |Added ---------------------------------------------------------------------------- Target|powerpc64*-unknown-linux-gn |powerpc64*-unknown-linux-gn |u |u arm aarch64 CC| |clyon at gcc dot gnu.org --- Comment #2 from Christophe Lyon --- I see the same error on arm and aarch64. >>From gcc-bugs-return-625593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 10:00:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28324 invoked by alias); 12 Dec 2018 10:00:50 -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 23006 invoked by uid 48); 12 Dec 2018 10:00:40 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65930] Reduction with sign-change not handled Date: Wed, 12 Dec 2018 10:00: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: 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: 2018-12/txt/msg01709.txt.bz2 Content-length: 822 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65930 --- Comment #8 from Richard Biener --- Note the tricky part is not so much the loop vectorization (teaching reduct= ion path support about the conversion is not difficult with the twist that we need to handle conversions as reduction code...) but the vector epilogue wh= ich does the lane reduction in signed int exposing undefined overflow issues. Of course the vectorizer doesn't seem to care here anyways and vectorizes signed integer reductions without caring for that specific issue... In general feeding the conversion as reduction operation through the vector= izer is a bit awkward so pattern-recognizing this as int tem =3D (int)x[i]; sum +=3D tem; would be easier given we seem to ignore the undefined overflow issues... >>From gcc-bugs-return-625594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 10:04:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77137 invoked by alias); 12 Dec 2018 10:04:46 -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 76082 invoked by uid 48); 12 Dec 2018 10:04:33 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88461] AVX512: gcc should keep value in kN registers if possible Date: Wed, 12 Dec 2018 10:04: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla@poradnik-webmastera.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: 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: 2018-12/txt/msg01710.txt.bz2 Content-length: 788 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88461 --- Comment #1 from Daniel Fruzynski --- For comparison, this is code generated by icc 19.0.1: [asm] test(unsigned short*, int): vmovdqu xmm0, XMMWORD PTR [rdi] #6.48 vptestnmw k0, xmm0, xmm0 #7.18 kmovw k2, esi #11.9 kshiftlw k1, k0, 1 #9.9 kandnw k3, k1, k2 #11.9 kmovb k4, k3 #13.12 kmovw eax, k4 #13.12 ret #13.12 [/asm] >>From gcc-bugs-return-625595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 10:13:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85361 invoked by alias); 12 Dec 2018 10:13:46 -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 85270 invoked by uid 48); 12 Dec 2018 10:13:41 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88462] New: All D execution tests FAIL on Solaris/SPARC Date: Wed, 12 Dec 2018 10:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot 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 cf_gcctarget Message-ID: 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: 2018-12/txt/msg01711.txt.bz2 Content-length: 3855 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88462 Bug ID: 88462 Summary: All D execution tests FAIL on Solaris/SPARC Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ro at gcc dot gnu.org Target Milestone: --- Target: sparc*-sun-solaris2.* Even with the latest patch for PR d/88150 to use sections_elf_shared.d on Solaris, which allows the vast majority of gdc execution tests to PASS on Solaris 11.4/x86, I have no such luck on Solaris 11.5/SPARC: all tests FAIL with Aborting from local/libphobos/libdruntime/core/sync/mutex.d(95) Error: pthread_mutex_init failed. Thread 2 received signal SIGABRT, Aborted. [Switching to Thread 1 (LWP 1)] 0xfec7e044 in __lwp_sigqueue () from /lib/libc.so.1 (gdb) where #0 0xfec7e044 in __lwp_sigqueue () from /lib/libc.so.1 #1 0xfebb9898 in raise () from /lib/libc.so.1 #2 0xfeb8b1d0 in abort () from /lib/libc.so.1 #3 0x000c150c in core.internal.abort.abort(immutable(char)[], immutable(char)[], uint) (msg=3D...,=20 filename=3D,=20 line=3D95) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/core/internal/abort.d:44 #4 0x000fe32c in core.sync.mutex.Mutex.this!(core.sync.mutex.Mutex).this(b= ool) (this=3D0x12de34 , _unused_=3Dtrue) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/core/sync/mutex.= d:94 #5 0x000fdeac in core.sync.mutex.Mutex.this() ( this=3D0x12de34 ) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/core/sync/mutex.= d:63 #6 0x000c64d0 in core.thread.Thread.initLocks() () at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/core/thread.d:17= 26 #7 0x000c69d8 in thread_init () at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/core/thread.d:20= 22 #8 0x000a232c in gc_init () at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/gc/proxy.d:56 #9 0x00080684 in rt_init () at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/dmain2.d:187 #10 0x000810c8 in runAll (this=3D0xffbfe904) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/dmain2.d:485 #11 0x00081020 in tryExec (this=3D0xffbfe904, dg=3D...) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/dmain2.d:461 #12 0x00080f2c in _d_run_main (argc=3D1, argv=3D0xffbfea34,=20 mainFunc=3D0x6b2bc ) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/dmain2.d:494 #13 0x0006b24c in main (argc=3D1, argv=3D0xffbfea34) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/__entrypoint.di:= 44 #14 0x0006b014 in _start () Backtrace stopped: previous frame identical to this frame (corrupt stack?) !pthread_mutex_init(cast(pthread_mutex_t*) &m_hndl, &attr) || abort("Error: pthread_mutex_init failed."); After much digging and head scratching, I found what's wrong: pthread_mutex_init expects the mutex to be long long (i.e. 8 byte) aligned. I'd thought this would happen automatically given the declaration in core/sys/posix/sys/type= s.d with the ulong __pthread_mutex_data field which has a natural alignment of 64 bits. Whatever I do, however, I only end up with the mutex being 4-byte aligned: * apply align(8): at the beginning of the pthread_mutex_t fields, * apply align(8) to the struct pthread_mutex_t declaration, or * apply align(8) to the m_hndl member of Class Mutex in core/sync/mutex.d. To guard against incomplete dependencies that could lead to some parts not being recompiled when they should, I've always recompiled all of libphobos = to be sure I didn't miss something. I've no idea what I'm doing wrong here. >>From gcc-bugs-return-625596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 10:14:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86571 invoked by alias); 12 Dec 2018 10:14:22 -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 86489 invoked by uid 48); 12 Dec 2018 10:14:18 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88462] All D execution tests FAIL on Solaris/SPARC Date: Wed, 12 Dec 2018 10:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: 9.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: 2018-12/txt/msg01712.txt.bz2 Content-length: 285 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88462 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.0 >>From gcc-bugs-return-625597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 10:20:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92465 invoked by alias); 12 Dec 2018 10:20:06 -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 92342 invoked by uid 48); 12 Dec 2018 10:20:02 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/81665] Please introduce flags attribute for enums which will mimic one from C# Date: Wed, 12 Dec 2018 10:20: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.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: bugzilla@poradnik-webmastera.com 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: 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: 2018-12/txt/msg01713.txt.bz2 Content-length: 252 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81665 --- Comment #4 from Daniel Fruzynski --- @Jonathan Wakely: constexpr requires C++11. When I reported this bug, we st= ill were at C++98 with most of out codebase. >>From gcc-bugs-return-625598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 10:22:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94991 invoked by alias); 12 Dec 2018 10:22:20 -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 94393 invoked by uid 48); 12 Dec 2018 10:22:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65930] Reduction with sign-change not handled Date: Wed, 12 Dec 2018 10:22: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: 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: 2018-12/txt/msg01714.txt.bz2 Content-length: 990 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65930 --- Comment #9 from Richard Biener --- (In reply to Richard Biener from comment #8) > Note the tricky part is not so much the loop vectorization (teaching > reduction path support about the conversion is not difficult with the twi= st > that we > need to handle conversions as reduction code...) but the vector epilogue > which > does the lane reduction in signed int exposing undefined overflow issues. >=20 > Of course the vectorizer doesn't seem to care here anyways and vectorizes > signed integer reductions without caring for that specific issue... >=20 > In general feeding the conversion as reduction operation through the > vectorizer > is a bit awkward so pattern-recognizing this as >=20 > int tem =3D (int)x[i]; > sum +=3D tem; >=20 > would be easier given we seem to ignore the undefined overflow issues... but pattern recog runs after reduction detection (and that's not easy to change). >>From gcc-bugs-return-625599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 10:24:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104528 invoked by alias); 12 Dec 2018 10:24: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 104473 invoked by uid 48); 12 Dec 2018 10:24:52 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88247] [8/9 Regression] ICE in get_array_ctor_var_strlen, at fortran/trans-array.c:2068 Date: Wed, 12 Dec 2018 10:24: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01715.txt.bz2 Content-length: 628 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88247 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-12 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres --- I get an ICE with 7.3.0, down to at least 5.5.0, so this does not look as regression. The ICE disappeared in 7.3.1 between r246963 and r266621. >>From gcc-bugs-return-625600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 10:32:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27388 invoked by alias); 12 Dec 2018 10:32:23 -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 27302 invoked by uid 48); 12 Dec 2018 10:32:18 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88461] AVX512: gcc should keep value in kN registers if possible Date: Wed, 12 Dec 2018 10:32: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization 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 cf_gcctarget bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01716.txt.bz2 Content-length: 1929 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88461 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Target|X86_64 |x86_64-*-*, i?86-*-* Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-12 Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- [local count: 1073741824]: _13 =3D MEM[(const __m128i * {ref-all})data_3(D)]; _11 =3D VIEW_CONVERT_EXPR(_13); _12 =3D __builtin_ia32_ptestnmw128 (_11, _11, 255); _1 =3D (int) _12; _10 =3D __builtin_ia32_kshiftlihi (_1, 1); _14 =3D a_6(D) & 65535; _5 =3D _10 & 255; _4 =3D (int) _5; _9 =3D __builtin_ia32_kandnhi (_4, _14); m_7 =3D (__mmask8) _9; _8 =3D (int) m_7; return _8; probably an artifact of C promoting __mmask8 to int: __m128i v =3D _mm_load_si128 ((const __m128i * {ref-all}) data); __mmask8 m =3D _mm_testn_epi16_mask (v, v); __m128i v =3D _mm_load_si128 ((const __m128i * {ref-all}) data); __mmask8 m =3D _mm_testn_epi16_mask (v, v); m =3D (__mmask8) _kshiftli_mask16 ((int) m, 1); m =3D (__mmask8) _mm512_kandn ((int) m, (int) (__mmask16) a); return (int) m; and ;; Function _kshiftli_mask16 (null) ;; enabled by -tree-original { return (__mmask16) __builtin_ia32_kshiftlihi ((int) __A, (int) (unsigned char) __B); btw, why are you using mask16 intrinsics on mask8 types? When using kshiftli_mask8 and kandn_mask8 I get vmovdqa64 (%rdi), %xmm0 kmovb %esi, %k3 vptestnmw %xmm0, %xmm0, %k1 kshiftlb $1, %k1, %k0 kandnb %k3, %k0, %k2 kmovb %k2, %eax >>From gcc-bugs-return-625601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 10:35:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82059 invoked by alias); 12 Dec 2018 10:35:54 -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 75648 invoked by uid 48); 12 Dec 2018 10:35:49 -0000 From: "jiri.pittner@jh-inst.cas.cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88452] gfortran (Gentoo 8.2.0-r5 p1.6) 8.2.0 reports internal error Date: Wed, 12 Dec 2018 10:35: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: 8.2.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jiri.pittner@jh-inst.cas.cz 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: 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: 2018-12/txt/msg01717.txt.bz2 Content-length: 628 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88452 --- Comment #2 from jiri.pittner@jh-inst.cas.cz --- The workaround works only until you try to access the array: subroutine tccdenom(n1,n2) implicit none integer n1, n2,i,j real tt1(n1,n2) complex ctt1(n1,n2) equivalence(tt1, ctt1) do i=3D1,n1 do j=3D1,n2 ctt1(i,j)=3D0 enddo enddo end When compiling this, another ICE occurs: gfortran fi.F fi.F:9:0: ctt1(i,j)=3D0 internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. >>From gcc-bugs-return-625602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 10:37:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125703 invoked by alias); 12 Dec 2018 10:37:08 -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 123218 invoked by uid 48); 12 Dec 2018 10:37:03 -0000 From: "mantas.mikaitis at manchester dot ac.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88451] No rounding in fixed-point arithmetic (Decimal to fixed-point conversion, multiplication) Date: Wed, 12 Dec 2018 10:37: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: 6.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mantas.mikaitis at manchester dot ac.uk 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: attachments.created 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: 2018-12/txt/msg01718.txt.bz2 Content-length: 257 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88451 --- Comment #2 from Mantas Mikaitis --- Created attachment 45212 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45212&action=3Dedit 3 simple testcases >>From gcc-bugs-return-625603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 10:44:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23695 invoked by alias); 12 Dec 2018 10:44:48 -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 23661 invoked by uid 48); 12 Dec 2018 10:44:44 -0000 From: "themos.tsikas at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88463] New: Rejects conforming source, OpenMP Parallel region Default(None) reference to module parameter array, separate source Date: Wed, 12 Dec 2018 10:44: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: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: themos.tsikas 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: 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: 2018-12/txt/msg01719.txt.bz2 Content-length: 1711 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88463 Bug ID: 88463 Summary: Rejects conforming source, OpenMP Parallel region Default(None) reference to module parameter array, separate source Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: themos.tsikas at gmail dot com Target Milestone: --- Created attachment 45213 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45213&action=3Dedit A module source and a source to exhibit the bug Related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63922 Compiler error with OpenMP, default(none) and a parameter array in a module References to a parameter array within an OpenMP parallel region with the=20 default(none) clause fail if the parameter array is defined in a module tha= t is=20 compiled in a separate source file.=20 gfortran -c constants_module.f90=20 gfortran -fopenmp modparm2.f90 constants_module.o -o modparam2 modparm2.f90:40:0: thread_copy(1:4) =3D constants_m(1:4) Error: =E2=80=98constants_m=E2=80=99 not specified in enclosing =E2=80=98pa= rallel=E2=80=99 modparm2.f90:37:0: !$OMP PARALLEL DEFAULT (NONE) PRIVATE(thread_copy,me) Error: enclosing =E2=80=98parallel=E2=80=99 modparm2.f90:51:0: real_thread_copy(1:4) =3D real_constants_m(1:4) Error: =E2=80=98real_constants_m=E2=80=99 not specified in enclosing =E2=80= =98parallel=E2=80=99 modparm2.f90:48:0: !$OMP PARALLEL DEFAULT (NONE) PRIVATE(real_thread_copy,me) Error: enclosing =E2=80=98parallel=E2=80=99 >>From gcc-bugs-return-625604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 10:46:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44886 invoked by alias); 12 Dec 2018 10:46: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42618 invoked by uid 48); 12 Dec 2018 10:46:23 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88379] [7/8/9 Regression] ICE in resolve_assoc_var, at fortran/resolve.c:8750 Date: Wed, 12 Dec 2018 10:46: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority cc cf_known_to_work target_milestone short_desc 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: 2018-12/txt/msg01720.txt.bz2 Content-length: 1059 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88379 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Priority|P3 |P4 CC| |vehre at gcc dot gnu.org Known to work| |5.5.0 Target Milestone|--- |7.5 Summary|ICE in resolve_assoc_var, |[7/8/9 Regression] ICE in |at fortran/resolve.c:8750 |resolve_assoc_var, at | |fortran/resolve.c:8750 Known to fail| |6.4.0, 7.3.0, 8.2.0, 9.0 --- Comment #1 from Dominique d'Humieres --- The test compiles with 5.5.0, and gives an ICE between revisions r224647 (2015-06-19, OK) and r225925 (2015-07-17, ICE), likely r224827 (pr64674). >>From gcc-bugs-return-625605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 10:47:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46096 invoked by alias); 12 Dec 2018 10:47:20 -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 46035 invoked by uid 48); 12 Dec 2018 10:47:16 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88379] [7/8/9 Regression] ICE in resolve_assoc_var, at fortran/resolve.c:8750 Date: Wed, 12 Dec 2018 10:47: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01721.txt.bz2 Content-length: 409 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88379 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-12 Ever confirmed|0 |1 >>From gcc-bugs-return-625606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 11:00:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29387 invoked by alias); 12 Dec 2018 11:00:52 -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 29215 invoked by uid 48); 12 Dec 2018 11:00:39 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88461] AVX512: gcc should keep value in kN registers if possible Date: Wed, 12 Dec 2018 11:00: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla@poradnik-webmastera.com 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: 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: 2018-12/txt/msg01722.txt.bz2 Content-length: 903 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88461 --- Comment #3 from Daniel Fruzynski --- Good catch, mask should be 16-bit. Here is fixed version: [code] #include #include int test(uint16_t* data, int a) { __m128i v =3D _mm_load_si128((const __m128i*)data); __mmask16 m =3D _mm_testn_epi16_mask(v, v); m =3D _kshiftli_mask16(m, 1); m =3D _kandn_mask16(m, a); return m; } [/code] [asm] test(unsigned short*, int): vmovdqa64 xmm0, XMMWORD PTR [rdi] kmovw k4, esi vptestnmw k1, xmm0, xmm0 kmovb eax, k1 kmovw k2, eax kshiftlw k0, k2, 1 kandnw k3, k0, k4 kmovw eax, k3 ret [/asm] This still can be optimized, there is no need to move value from k1 to eax = and then to k2 - vptestnmw zeroes upper bits if k register. >>From gcc-bugs-return-625607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 11:02:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31129 invoked by alias); 12 Dec 2018 11:02:11 -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 31101 invoked by uid 48); 12 Dec 2018 11:02:07 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87334] RFE: Add '__builtin_ms_va_list' support to ARM64 Date: Wed, 12 Dec 2018 11:02: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: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rearnsha 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: bug_severity 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: 2018-12/txt/msg01723.txt.bz2 Content-length: 304 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87334 Richard Earnshaw changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement >>From gcc-bugs-return-625608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 11:07:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105173 invoked by alias); 12 Dec 2018 11:07:38 -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 105118 invoked by uid 48); 12 Dec 2018 11:07:33 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/86264] [ARM] unsupported v2/v3 code remaining Date: Wed, 12 Dec 2018 11:07: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha 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: 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: 2018-12/txt/msg01724.txt.bz2 Content-length: 232 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86264 --- Comment #2 from Richard Earnshaw --- libffi is an upstream project, so they can remove support for older architectures on their own timescales. >>From gcc-bugs-return-625609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 11:16:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130810 invoked by alias); 12 Dec 2018 11:16: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 130721 invoked by uid 48); 12 Dec 2018 11:16:13 -0000 From: "jg at jguk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/64094] "No such file or directory" -> "No such file" Date: Wed, 12 Dec 2018 11:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jg at jguk dot 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: 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: 2018-12/txt/msg01725.txt.bz2 Content-length: 545 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64094 --- Comment #9 from Jonny Grant --- (In reply to Jonny Grant from comment #6) > (2) > $ mkdir testdir.cpp >=20 > $ gcc -o main testdir.cpp > cc1plus: fatal error: testdir.cpp: No such file or directory > compilation terminated. Can files be checked that they are files? a quick stat() on each of them be= fore passing them along? eg. stat() and then S_ISDIR(statbuf.st_mode) and display strerror(EISDIR), = then check if a regular file with S_ISREG(statbuf.st_mode) >>From gcc-bugs-return-625610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 11:17:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3969 invoked by alias); 12 Dec 2018 11:17:23 -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 1246 invoked by uid 48); 12 Dec 2018 11:17:18 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/86264] [ARM] unsupported v2/v3 code remaining Date: Wed, 12 Dec 2018 11: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 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: 2018-12/txt/msg01726.txt.bz2 Content-length: 550 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86264 Richard Earnshaw changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #3 from Richard Earnshaw --- And longlong.h comes from glibc. So neither of the files mentioned is a ma= ster copy in GCC. Rejecting on that basis >>From gcc-bugs-return-625611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 11:18:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23689 invoked by alias); 12 Dec 2018 11:18:53 -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 23666 invoked by uid 48); 12 Dec 2018 11:18:49 -0000 From: "mantas.mikaitis at manchester dot ac.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88451] No rounding in fixed-point arithmetic (Decimal to fixed-point conversion, multiplication) Date: Wed, 12 Dec 2018 11:18: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: 6.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mantas.mikaitis at manchester dot ac.uk 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: 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: 2018-12/txt/msg01727.txt.bz2 Content-length: 175 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88451 --- Comment #3 from Mantas Mikaitis --- Also confirmed on GCC version 7.3.0. >>From gcc-bugs-return-625612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 11:26:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67238 invoked by alias); 12 Dec 2018 11:26:19 -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 67182 invoked by uid 48); 12 Dec 2018 11:26:15 -0000 From: "mantas.mikaitis at manchester dot ac.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88451] No rounding in fixed-point arithmetic (Decimal to fixed-point conversion, multiplication) Date: Wed, 12 Dec 2018 11:26: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: 6.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mantas.mikaitis at manchester dot ac.uk 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 attachments.created 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: 2018-12/txt/msg01728.txt.bz2 Content-length: 657 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88451 Mantas Mikaitis changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mantas.mikaitis@manchester. | |ac.uk --- Comment #4 from Mantas Mikaitis --- Created attachment 45214 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45214&action=3Dedit Fixed testcases Uploaded an update to the testcase - compare as accums not integers. >>From gcc-bugs-return-625613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 11:41:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91301 invoked by alias); 12 Dec 2018 11:41:06 -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 86170 invoked by uid 55); 12 Dec 2018 11:41:01 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/86806] SPARC port needs updating for CVE-2017-5753 Date: Wed, 12 Dec 2018 11:41: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01729.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86806 --- Comment #3 from Eric Botcazou --- Author: ebotcazou Date: Wed Dec 12 11:40:28 2018 New Revision: 267053 URL: https://gcc.gnu.org/viewcvs?rev=3D267053&root=3Dgcc&view=3Drev Log: PR target/86806 * config/sparc/sparc.md (unspecv): Add UNSPECV_SPECULATION_BARRIER. (speculation_barrier): New instruction for V9. Modified: trunk/gcc/ChangeLog trunk/gcc/config/sparc/sparc.md >>From gcc-bugs-return-625614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 11:44:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22941 invoked by alias); 12 Dec 2018 11:44:49 -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 22845 invoked by uid 48); 12 Dec 2018 11:44:46 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/86806] SPARC port needs updating for CVE-2017-5753 Date: Wed, 12 Dec 2018 11:44: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01730.txt.bz2 Content-length: 428 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86806 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Eric Botcazou --- =2E >>From gcc-bugs-return-625615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 11:44:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23097 invoked by alias); 12 Dec 2018 11:44:50 -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 22881 invoked by uid 48); 12 Dec 2018 11:44:46 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/86772] [meta-bug] tracking port status for CVE-2017-5753 Date: Wed, 12 Dec 2018 11:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou 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: bug_status 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: 2018-12/txt/msg01731.txt.bz2 Content-length: 469 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86772 Bug 86772 depends on bug 86806, which changed state. Bug 86806 Summary: SPARC port needs updating for CVE-2017-5753 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86806 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-625616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 11:46:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29233 invoked by alias); 12 Dec 2018 11:46:15 -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 24843 invoked by uid 48); 12 Dec 2018 11:45:37 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88326] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6085 Date: Wed, 12 Dec 2018 11:46: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01732.txt.bz2 Content-length: 666 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88326 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-12 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres --- > Affects versions down to at least gcc-5 : Confirmed down to 4.7.3, compiling with 4.6.4 gives an error Error: Different shape for array assignment at (1) on dimension 1 (1 and 0) >>From gcc-bugs-return-625617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 12:33:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13662 invoked by alias); 12 Dec 2018 12:33:36 -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 13541 invoked by uid 48); 12 Dec 2018 12:33:31 -0000 From: "vinay.m.engg at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83377] Missed optimization (x86): Bit operations should be converted to arithmetic Date: Wed, 12 Dec 2018 12:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: vinay.m.engg 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: 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: 2018-12/txt/msg01733.txt.bz2 Content-length: 329 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83377 --- Comment #4 from Vinay Kumar --- Hi, Above mentioned patch does not work for the pattern "if( x & 2 ) y =3D (x & ~2UL)".=20 >> Probably still easier to fix in combine / simplify-rtx. We are working as per your suggestion. Regards, Vinay >>From gcc-bugs-return-625618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 12:34:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15084 invoked by alias); 12 Dec 2018 12:34: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 14908 invoked by uid 48); 12 Dec 2018 12:34:21 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87727] [9 regression] gcc.target/sparc/overflow-2.c FAILs Date: Wed, 12 Dec 2018 12:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: 2018-12/txt/msg01734.txt.bz2 Content-length: 306 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87727 --- Comment #7 from Eric Botcazou --- Created attachment 45215 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45215&action=3Dedit Tentative fix Or rather tentative kludge because, if someone has a better idea... >>From gcc-bugs-return-625619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 12:42:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40393 invoked by alias); 12 Dec 2018 12:42:27 -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 34182 invoked by uid 48); 12 Dec 2018 12:42:22 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86524] [8/9 Regression] std::less with pointer arguments not usable in static_assert in constexpr function Date: Wed, 12 Dec 2018 12:42: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: 8.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created 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: 2018-12/txt/msg01735.txt.bz2 Content-length: 578 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86524 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #7 from Jakub Jelinek --- Created attachment 45216 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45216&action=3Dedit gcc9-pr86524.patch Untested fix. >>From gcc-bugs-return-625620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 12:43:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115332 invoked by alias); 12 Dec 2018 12:43:34 -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 110381 invoked by uid 48); 12 Dec 2018 12:43:30 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88446] __builtin_is_constant_evaluated rejects some converted constant expressions. Date: Wed, 12 Dec 2018 12:43: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: 9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: 2018-12/txt/msg01736.txt.bz2 Content-length: 281 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88446 --- Comment #5 from Jakub Jelinek --- Created attachment 45217 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45217&action=3Dedit gcc9-pr86524.patch Untested fix for the static_assert issue. >>From gcc-bugs-return-625621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 13:35:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20828 invoked by alias); 12 Dec 2018 13:35:58 -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 20732 invoked by uid 55); 12 Dec 2018 13:35:52 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/65725] Bootstrap errors on Solaris 10 x86-64, including object diffs Date: Wed, 12 Dec 2018 13:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro 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: 2018-12/txt/msg01737.txt.bz2 Content-length: 1016 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65725 --- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #8 from Daniel Richard G. --- Hi Daniel, > I tested this again with GCC 8.2.0 on the same system, using as/ld, and am > still seeing the object diffs. Would it help if I provided a copy of the > objects at issue? it would be helpful to know a bit more about that system: Solaris 10 update release (e.g. from /etc/release), versions of as (as -V) and ld (ld -V), bootstrap compiler used, version of cmp (and do_compare setting in the toplevel Makefile). To investigate comparison failures, it's usually necessary to have both a few of the object pairs failing the comparison and the corresponding .s files from -save-temps. You've to be very careful to rerun the exact compiler invocations from exactly the same directories which can be tricky due to all the shuffling around due to the different stages. Rainer >>From gcc-bugs-return-625622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 13:36:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22012 invoked by alias); 12 Dec 2018 13:36:32 -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 21917 invoked by uid 48); 12 Dec 2018 13:36:27 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83377] Missed optimization (x86): Bit operations should be converted to arithmetic Date: Wed, 12 Dec 2018 13:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 2018-12/txt/msg01738.txt.bz2 Content-length: 1736 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83377 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #5 from Jakub Jelinek --- (In reply to Vinay Kumar from comment #3) > The below mentioned pattern match in match.pd generates the assembly code > similar to subtraction. > =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 > diff --git a/gcc/match.pd b/gcc/match.pd > index fbb4d6f..3cde6a6 100644 > --- a/gcc/match.pd > +++ b/gcc/match.pd > @@ -925,6 +925,11 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT) > (bit_and @0 integer_all_onesp) > (non_lvalue @0)) >=20 > +/*Fold (x & ~CST) into (x - CST)*/ > +(simplify(bit_and:c @0 INTEGER_CST@1) > +(if ((INTEGRAL_TYPE_P (type) || VECTOR_INTEGER_TYPE_P (type))) > + (minus @0 (negate @1)))) > + That is completely invalid transformation. Have you actually tried it? The reason you can do what is in #c0 is because the test guarantees you corresponding bit (has to be a single one) is set and so the subtraction wo= rks like masking off that single bit. In the RTL passes (e.g. combiner) I don't think we have information on guaranteed set bits, we have just information on guaranteed zero bits (thro= ugh nonzero_bits). Not sure if GIMPLE ccp can handle this or not, at least in theory it could because it has a constant and mask for each SSA_NAME. Dunno if it has something similar to VRP assert expressions though or derives something from the edge state. >>From gcc-bugs-return-625623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 13:46:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32660 invoked by alias); 12 Dec 2018 13:46:23 -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 32608 invoked by uid 48); 12 Dec 2018 13:46:18 -0000 From: "mokreutzer at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88464] New: AVX-512 vectorization of masked scatter failing with "not suitable for scatter store" Date: Wed, 12 Dec 2018 13:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mokreutzer 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 Message-ID: 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: 2018-12/txt/msg01739.txt.bz2 Content-length: 2321 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88464 Bug ID: 88464 Summary: AVX-512 vectorization of masked scatter failing with "not suitable for scatter store" Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: mokreutzer at gmail dot com Target Milestone: --- Hi, I have the following simple loop which I want to compile for Skylake (AVX-5= 12): =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 #pragma GCC ivdep for (int i =3D 0; i < n; ++i) { if (b[off1[i]] < b[off2[i]]) a[off1[i]] =3D b[off1[i]]; else a[off2[i]] =3D b[off2[i]]; } =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 Given AVX-512 masked scatter instructions and the absence of data conflicts ("ivdep"), vectorization should be possible along the lines of: 1. gather b[off1[i]] into zmm1 2. gather b[off2[i]] into zmm2 3. compare zmm1 and zmm2 with "<" and store result in mask1 4. compare zmm1 and zmm2 with ">=3D" and store result in mask2 5. scatter zmm1 to a[off1[i]] with mask1 6. scatter zmm2 to a[off2[i]] with mask2 However, GCC is not able to vectorize this loop (failing with "not vectoriz= ed: not suitable for scatter store"). I have tested this with the latest GCC tr= unk but the issue also occurs with all previous versions. If you want to have a look, here's a Godbolt example: https://godbolt.org/z/Is7Zml I understand that this loop is not a trivial case for vectorization and AVX= -512 hasn't been around for too long, so it's likely that it isn't fully support= ed yet. But still, I'm wondering: 1. Am I missing some flags or hints to GCC in order to vectorize this loop?= (I can imagine something related to the cost model, etc..) 2. Or is GCC currently just not capable of vectorizing it? If the answer is "2.": 3. Can we estimate to amount of work needed to support this? 4. Is there any plan on when this kind of pattern will be supported?=20 5. If it's realistic for a non-GCC developer to look into this, is there anything I can do to help? Many thanks in advance, Moritz >>From gcc-bugs-return-625624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 13:49:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36690 invoked by alias); 12 Dec 2018 13:49:07 -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 36527 invoked by uid 48); 12 Dec 2018 13:49:00 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83377] Missed optimization (x86): Bit operations should be converted to arithmetic Date: Wed, 12 Dec 2018 13:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: missed-optimization 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: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01740.txt.bz2 Content-length: 1305 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83377 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-12 Ever confirmed|0 |1 --- Comment #6 from Richard Biener --- CCP does not have conditional information here (given it is based on SSA propagation and doesn't insert ASSERT_EXPRs). The bit-tracking infrastruct= ure would need to be added for example to EVRP where conditional information can be tracked. Still even SSA only has nonzero-bits and not the full lattice the CCP machinery computes. Note since the transform is to combine the and with AGU doing this on RTL looks more appropriate (even if similarly difficult). 0: 40 f6 c7 02 test $0x2,%dil 4: 74 07 je d 6: 48 83 e7 fd and $0xfffffffffffffffd,%rdi a 3-insn peephole could do the trick? Or doesn't that work with control-fl= ow? I fear we have no RTL pass doing sth like VRP or bit tracking conditionally (so even nonzero bits wouldn't work here, no?) >>From gcc-bugs-return-625625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 14:01:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63694 invoked by alias); 12 Dec 2018 14:01:46 -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 63375 invoked by uid 48); 12 Dec 2018 14:01:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store" Date: Wed, 12 Dec 2018 14:01: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization 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 cc component blocked 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: 2018-12/txt/msg01741.txt.bz2 Content-length: 1741 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88464 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-12 CC| |jakub at gcc dot gnu.org, | |rguenth at gcc dot gnu.org Component|c |tree-optimization Blocks| |53947 Ever confirmed|0 |1 Known to fail| |9.0 --- Comment #1 from Richard Biener --- Confirmed. The issue here is the target doesn't advertise scatter: 3901 if (targetm.vectorize.builtin_scatter) (gdb) n 3902 decl =3D targetm.vectorize.builtin_scatter (vectype, of= ftype, scale); (gdb)=20 3905 if (!decl) (gdb) p decl $5 =3D (tree) 0x0 (gdb) p decl $5 =3D (tree) 0x0 (gdb) p debug_generic_expr (vectype) vector(4) double $6 =3D void (gdb) p debug_generic_expr (offtype) int $7 =3D void (gdb) p scale $8 =3D 8 probably because of the "mixup" of 4-byte index and 8 byte store element ty= pe. I'm not sure whether Jakub implemented widening of the index at all. OTOH when using long for idx it doesn't help. Using -march=3Dknl we get a little bit further but ultimately fail the same way. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53947 [Bug 53947] [meta-bug] vectorizer missed-optimizations >>From gcc-bugs-return-625626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 14:04:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91010 invoked by alias); 12 Dec 2018 14:04:36 -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 90156 invoked by uid 48); 12 Dec 2018 14:04:31 -0000 From: "ibuclaw at gdcproject dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88462] All D execution tests FAIL on Solaris/SPARC Date: Wed, 12 Dec 2018 14:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ibuclaw at gdcproject dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01742.txt.bz2 Content-length: 479 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88462 --- Comment #1 from Iain Buclaw --- Does it appear to be the correct alignment at compile-time? This just prints the what the front-end determines. Not discounting these values somehow change during translation to gcc trees. --- import core.sys.posix.sys.types; import core.sync.mutex; pragma(msg, pthread_mutex_t.alignof); pragma(msg, Mutex.alignof); pragma(msg, Mutex.m_hndl.offsetof); >>From gcc-bugs-return-625627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 14:05:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103177 invoked by alias); 12 Dec 2018 14:05:00 -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 100724 invoked by uid 48); 12 Dec 2018 14:04:56 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88326] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6085 Date: Wed, 12 Dec 2018 14:05: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority blocked 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: 2018-12/txt/msg01743.txt.bz2 Content-length: 771 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88326 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code Priority|P3 |P4 Blocks| |31237 --- Comment #3 from Dominique d'Humieres --- The change occurred between revisions r188694 (2012-06-16, error) and r1889= 14 (2012-06-24, ICE). Note that the third test in comment 0 compiles with r188694. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D31237 [Bug 31237] [meta-bug] TRANSFER intrinsic >>From gcc-bugs-return-625628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 14:06:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115623 invoked by alias); 12 Dec 2018 14:06:40 -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 114296 invoked by uid 48); 12 Dec 2018 14:06:35 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store" Date: Wed, 12 Dec 2018 14:06: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01744.txt.bz2 Content-length: 321 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88464 --- Comment #2 from Jakub Jelinek --- I haven't been involved with the scatters, only gathers. So guess the first step would be try something similar with gathers only and see if we vectori= ze that and see what is different for scatters. >>From gcc-bugs-return-625629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 14:10:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122249 invoked by alias); 12 Dec 2018 14:10:15 -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 122048 invoked by uid 48); 12 Dec 2018 14:10:06 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store" Date: Wed, 12 Dec 2018 14:10: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization 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: 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: 2018-12/txt/msg01745.txt.bz2 Content-length: 893 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88464 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kirill.yukhin at intel dot= com --- Comment #3 from Richard Biener --- Looks like there are no scatter patterns with DFmode, only SFmode ones? But even void loop (float * __restrict__ a, float const * __restrict__ b, int const * __restrict__ off1, int const * __restrict__ off2, int n) { #if defined(__clang__) #pragma clang loop vectorize(assume_safety) #elif defined(__GNUC__) #pragma GCC ivdep #endif for (int i =3D 0; i < n; ++i) { if (b[i] < b[i]) a[off1[i]] =3D b[i]; else a[off2[i]] =3D b[i]; } } doesn't work. >>From gcc-bugs-return-625630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 14:13:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63684 invoked by alias); 12 Dec 2018 14:13:11 -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 61726 invoked by uid 55); 12 Dec 2018 14:13:06 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88462] All D execution tests FAIL on Solaris/SPARC Date: Wed, 12 Dec 2018 14:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01746.txt.bz2 Content-length: 489 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88462 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- > pragma(msg, pthread_mutex_t.alignof); > pragma(msg, Mutex.alignof); > pragma(msg, Mutex.m_hndl.offsetof); I get 8u 4u /homes/ro/mutex_align.d:6:13: error: class core.sync.mutex.Mutex member m_h= ndl is not accessible 16u The first is right, but Mutex alignment is off, probably leading to the 4-byte alignment of m_hndl I'm seeing. >>From gcc-bugs-return-625631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 14:19:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64092 invoked by alias); 12 Dec 2018 14:19:11 -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 63970 invoked by uid 48); 12 Dec 2018 14:19:04 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88356] [9 Regression] ICE with -Werror in reduce_binary_ac, at fortran/arith.c:1318 (and others) Date: Wed, 12 Dec 2018 14:19: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: 9.0 X-Bugzilla-Keywords: error-recovery X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cf_known_to_work 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: 2018-12/txt/msg01747.txt.bz2 Content-length: 742 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88356 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |error-recovery Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-12 Known to work| |8.2.0 Ever confirmed|0 |1 Known to fail| |9.0 --- Comment #3 from Dominique d'Humieres --- > This changed between 20180624 and 20180708. Confirmed before 2018-07-03 (r262339). >>From gcc-bugs-return-625632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 14:20:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66066 invoked by alias); 12 Dec 2018 14:20:50 -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 65986 invoked by uid 48); 12 Dec 2018 14:20:45 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88342] Possible bug with IEEE_POSITIVE_INF and -ffpe-trap=overflow Date: Wed, 12 Dec 2018 14:20: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 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 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: 2018-12/txt/msg01748.txt.bz2 Content-length: 512 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88342 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-12-12 Ever confirmed|0 |1 --- Comment #4 from Dominique d'Humieres --- Is it a bug in gfortran? >>From gcc-bugs-return-625633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 14:21:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71940 invoked by alias); 12 Dec 2018 14:21:16 -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 66967 invoked by uid 48); 12 Dec 2018 14:21:10 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88461] AVX512: gcc should keep value in kN registers if possible Date: Wed, 12 Dec 2018 14:21: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01749.txt.bz2 Content-length: 1047 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88461 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek --- What we can do easily, but not sure if it won't lead to worse code for non-= mask code, would be to add either =3Dk, km or =3D*k, *km alternatives to the var= ious zeroextend?i?i2 patterns, all we have right now are the mov?i_internal patterns. Because even the mov?i_internal patterns use *, perhaps best to use just th= at. For this testcase that would still imply a kmov* instruction. If we want to go further, we'd need patterns for the instructions that set masks (comparisons etc.), which would contain zero_extend around the mask to wider modes. That implies two iterators and guess it wouldn't play nicely = with define_subst, so we'd need to do that manually. >>From gcc-bugs-return-625634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 14:53:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54758 invoked by alias); 12 Dec 2018 14:53:45 -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 53756 invoked by uid 48); 12 Dec 2018 14:53:39 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88465] New: AVX512: optimize loading of constant values to kN registers Date: Wed, 12 Dec 2018 14:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla@poradnik-webmastera.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 Message-ID: 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: 2018-12/txt/msg01750.txt.bz2 Content-length: 1454 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88465 Bug ID: 88465 Summary: AVX512: optimize loading of constant values to kN registers Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: bugzilla@poradnik-webmastera.com Target Milestone: --- When constant value is loaded into kN register, gcc puts it into eax first,= and then moved to kN register: [code] #include #include __mmask8 test(__mmask8 m) { __mmask8 m2 =3D _kand_mask8(m, 3); return m2; } [/code] [asm] test(unsigned char): mov eax, 3 kmovb k1, eax kmovb k2, edi kandb k0, k1, k2 kmovb eax, k0 ret [/asm] icc uses one instruction for this. https://godbolt.org/ displayed it as "nu= ll", but most probably this is wrong name: [asm] test(unsigned char): vkmovb k0, edi #6.19 null k1, 3 #6.19 kandb k2, k0, k1 #6.19 vkmovb eax, k2 #6.19 ret #7.12 [/asm] You can also use instructions kxor and kxnor to load 0 and -1. >>From gcc-bugs-return-625635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 14:57:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89562 invoked by alias); 12 Dec 2018 14:57:00 -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 88411 invoked by uid 48); 12 Dec 2018 14:56:54 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88461] AVX512: gcc should keep value in kN registers if possible Date: Wed, 12 Dec 2018 14:57: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: attachments.created 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: 2018-12/txt/msg01751.txt.bz2 Content-length: 475 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88461 --- Comment #5 from Jakub Jelinek --- Created attachment 45218 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45218&action=3Dedit gcc9-pr88461.patch Patch I've tried, but it doesn't change anything on this testcase (not even= if I remove all those *s or use ^s, in the new alternatives as well as in mov?i_internal (only movhi_internal had the alternative just as =3Dk, km be= fore). >>From gcc-bugs-return-625636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 15:16:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123422 invoked by alias); 12 Dec 2018 15:16:20 -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 123216 invoked by uid 48); 12 Dec 2018 15:16:05 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/52869] [DR 1207] "this" not being allowed in noexcept clauses Date: Wed, 12 Dec 2018 15:16: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.7.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-12/txt/msg01752.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52869 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org >>From gcc-bugs-return-625637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 15:25:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16609 invoked by alias); 12 Dec 2018 15:25:26 -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 13740 invoked by uid 48); 12 Dec 2018 15:25:21 -0000 From: "patrickdepinguin at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/86964] Too many debug symbols included, especially for extern globals Date: Wed, 12 Dec 2018 15:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 6.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: patrickdepinguin at gmail dot com 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: 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: 2018-12/txt/msg01753.txt.bz2 Content-length: 530 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86964 --- Comment #4 from Thomas De Schampheleire --- I am suffering from this same problem using gcc 7.3.0 on a Broadcom SDK. Due to this, compiled object files increase from 90 KiB (using gcc 4.9.2) t= o 15 MiB (gcc 7.3.0). This size increase is enormous. Aside from the fact that the disk space need becomes very large (don't know= the total number, but it is definitely larger than 32 GiB), the final link step actually failed due to it. >>From gcc-bugs-return-625639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 15:29:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70713 invoked by alias); 12 Dec 2018 15:29:44 -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 68291 invoked by uid 48); 12 Dec 2018 15:29:40 -0000 From: "ibuclaw at gdcproject dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88462] All D execution tests FAIL on Solaris/SPARC Date: Wed, 12 Dec 2018 15:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ibuclaw at gdcproject dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01755.txt.bz2 Content-length: 683 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88462 --- Comment #3 from Iain Buclaw --- (In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #2) > > pragma(msg, pthread_mutex_t.alignof); > > pragma(msg, Mutex.alignof); > > pragma(msg, Mutex.m_hndl.offsetof); >=20 > I get >=20 > 8u > 4u > /homes/ro/mutex_align.d:6:13: error: class core.sync.mutex.Mutex member > m_hndl is not accessible > 16u >=20 > The first is right, but Mutex alignment is off, probably leading to the > 4-byte alignment of m_hndl I'm seeing. Oh wait, Mutex is a class, so of course the alignment is 4. Classes are reference types, so of course alignof would be the pointer. >>From gcc-bugs-return-625638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 15:29:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45532 invoked by alias); 12 Dec 2018 15:29:09 -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 42991 invoked by uid 48); 12 Dec 2018 15:29:05 -0000 From: "duarte at scylladb dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88466] New: Support std::hardware_destructive_interference_size and std:: hardware_constructive_interference_size Date: Wed, 12 Dec 2018 15:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: duarte at scylladb 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 Message-ID: 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: 2018-12/txt/msg01754.txt.bz2 Content-length: 857 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88466 Bug ID: 88466 Summary: Support std::hardware_destructive_interference_size and std:: hardware_constructive_interference_size Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: duarte at scylladb dot com Target Milestone: --- The following should compile: #include struct x { alignas(std::hardware_destructive_interference_size) int y; alignas(std::hardware_constructive_interference_size) int z; }; It seems, however, that neither std::hardware_destructive_interference_size= nor std::hardware_constructive_interference_size have been included in libstdc+= +. >>From gcc-bugs-return-625640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 16:00:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64006 invoked by alias); 12 Dec 2018 16:00: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 63920 invoked by uid 48); 12 Dec 2018 15:59:56 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88461] AVX512: gcc should keep value in kN registers if possible Date: Wed, 12 Dec 2018 16:00: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: attachments.created 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: 2018-12/txt/msg01756.txt.bz2 Content-length: 341 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88461 --- Comment #6 from Jakub Jelinek --- Created attachment 45219 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45219&action=3Dedit gcc9-pr88461-2.patch Patch that seems to work for me (though, it adjusts just the vptest{,n}m patterns and nothing else. >>From gcc-bugs-return-625641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 16:14:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96346 invoked by alias); 12 Dec 2018 16:14:21 -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 95741 invoked by uid 55); 12 Dec 2018 16:14:15 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/80762] is_constructible gives hard error with clang Date: Wed, 12 Dec 2018 16:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.3.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi 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: 2018-12/txt/msg01757.txt.bz2 Content-length: 1123 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80762 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Wed Dec 12 16:13:43 2018 New Revision: 267056 URL: https://gcc.gnu.org/viewcvs?rev=3D267056&root=3Dgcc&view=3Drev Log: PR libstdc++/80762 avoid ambiguous __constructible_from Ensure we don't try to instantiate __is_constructible_from, because there are two partial specializations that are equally good matches. PR libstdc++/80762 * include/bits/fs_path.h (path::_Path): Use remove_cv_t and is_void. * include/experimental/bits/fs_path.h (path::_Path): Likewise. * testsuite/27_io/filesystem/path/construct/80762.cc: New test. * testsuite/experimental/filesystem/path/construct/80762.cc: New te= st. Added: trunk/libstdc++-v3/testsuite/27_io/filesystem/path/construct/80762.cc =20=20=20 trunk/libstdc++-v3/testsuite/experimental/filesystem/path/construct/80762.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/fs_path.h trunk/libstdc++-v3/include/experimental/bits/fs_path.h >>From gcc-bugs-return-625642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 16:14:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97898 invoked by alias); 12 Dec 2018 16:14: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 96940 invoked by uid 55); 12 Dec 2018 16:14:25 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71044] Optimize std::filesystem implementation Date: Wed, 12 Dec 2018 16:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01758.txt.bz2 Content-length: 1141 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71044 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Wed Dec 12 16:13:49 2018 New Revision: 267057 URL: https://gcc.gnu.org/viewcvs?rev=3D267057&root=3Dgcc&view=3Drev Log: Overload std::distance and std::advance for path::iterator Although filesystem::path::iterator is only a bidirectional iterator, the underlying sequence has random access iterators (specifically, raw pointers). This means std::distance and std::advance can be implemented more efficiently than the generic versions which apply ++ and -- repeatedly. PR libstdc++/71044 (partial) * include/bits/fs_path.h (__path_iter_distance, __path_iter_advance= ): New friend functions to implement std::distance and std::advance mo= re efficiently. (distance, advance): Add overloads for path::iterator. * testsuite/27_io/filesystem/path/itr/components.cc: Test new overload. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/fs_path.h trunk/libstdc++-v3/testsuite/27_io/filesystem/path/itr/traversal.cc >>From gcc-bugs-return-625643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 16:28:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2843 invoked by alias); 12 Dec 2018 16:28:47 -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 2287 invoked by uid 48); 12 Dec 2018 16:28:41 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store" Date: Wed, 12 Dec 2018 16:28: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia 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: bug_severity 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: 2018-12/txt/msg01759.txt.bz2 Content-length: 300 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88464 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement >>From gcc-bugs-return-625644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 16:31:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13695 invoked by alias); 12 Dec 2018 16:31:21 -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 5509 invoked by uid 48); 12 Dec 2018 16:31:06 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88465] AVX512: optimize loading of constant values to kN registers Date: Wed, 12 Dec 2018 16:31: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 2018-12/txt/msg01760.txt.bz2 Content-length: 652 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88465 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl.tools at gmail dot com, | |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- I can't find any instruction that would set a mask register directly to an immediate, besides the 0 and -1 cases you've mentioned (which could be used also for 255, 65535 and 0xffffffff constants). >>From gcc-bugs-return-625645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 16:35:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109047 invoked by alias); 12 Dec 2018 16:35:02 -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 107414 invoked by uid 48); 12 Dec 2018 16:34:58 -0000 From: "samtebbs at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88454] [9 regression] test case gcc.dg/tree-ssa/split-path-5.c fails after r266971 Date: Wed, 12 Dec 2018 16:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: samtebbs 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: 9.0 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: 2018-12/txt/msg01761.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88454 samtebbs at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |samtebbs at gcc dot gnu.org --- Comment #3 from samtebbs at gcc dot gnu.org --- Confirmed on arm and aarch64 >>From gcc-bugs-return-625646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 16:36:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119772 invoked by alias); 12 Dec 2018 16:36:31 -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 115847 invoked by uid 48); 12 Dec 2018 16:36:26 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88466] [C++17] Support std::hardware_destructive_interference_size and std:: hardware_constructive_interference_size Date: Wed, 12 Dec 2018 16:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 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: 2018-12/txt/msg01762.txt.bz2 Content-length: 737 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88466 --- Comment #1 from Andrew Pinski --- Hmm, these are interesting defined on some architures. On AARCH64, there a= re at least two different values that can be defined here (I suspect it should= be the min of the two), 128 and 64 but architurially the min is 16 (IIRC). I think hardware_destructive_interference_size is not well enough document= ed to use correctly. Because if it was defined as the min value, then 64 whi= ch is not correct for targets where 128 bytes cache line size (e.g. OcteonTX a= nd OcteonTX2), because someone would try to use it to align a variable/field t= o be away from another variable/field and it would be incorrect. >>From gcc-bugs-return-625647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 16:36:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127265 invoked by alias); 12 Dec 2018 16:36: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 122683 invoked by uid 48); 12 Dec 2018 16:36:38 -0000 From: "samtebbs at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88454] [9 regression] test case gcc.dg/tree-ssa/split-path-5.c fails after r266971 Date: Wed, 12 Dec 2018 16:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: samtebbs 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: 9.0 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: 2018-12/txt/msg01763.txt.bz2 Content-length: 225 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88454 --- Comment #4 from samtebbs at gcc dot gnu.org --- The split-path-11.c failure isn't happening on aarch64 and arm as of r267031 but the split-path-11.c failure still is. >>From gcc-bugs-return-625648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 16:39:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103303 invoked by alias); 12 Dec 2018 16:39: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 103269 invoked by uid 48); 12 Dec 2018 16:39:38 -0000 From: "duarte at scylladb dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88466] [C++17] Support std::hardware_destructive_interference_size and std:: hardware_constructive_interference_size Date: Wed, 12 Dec 2018 16:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: duarte at scylladb 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: 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: 2018-12/txt/msg01764.txt.bz2 Content-length: 377 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88466 --- Comment #2 from Duarte --- I don't think it should be the min size. For example, architectures with 64= bit cache lines can have prefetchers that immediately fetch adjacent cache line= s, in which case the value should be 128. One option could be to just use whatever values linux uses :) >>From gcc-bugs-return-625649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 16:52:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34708 invoked by alias); 12 Dec 2018 16:52:02 -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 34555 invoked by uid 48); 12 Dec 2018 16:51:56 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88047] [9 Regression] ICE in gfc_find_vtab, at fortran/class.c:2843 Date: Wed, 12 Dec 2018 16:52: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de 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: 9.0 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: 2018-12/txt/msg01765.txt.bz2 Content-length: 1639 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88047 --- Comment #5 from G. Steinmetz --- A related test case, also changed between 20180909 and 20180916 : $ cat z2.f90 program p type t integer :: n end type class(t) :: a, x x =3D a end $ gfortran-9-20180909 -c z2.f90 z2.f90:5:16: 5 | class(t) :: a, x | 1 Error: CLASS variable 'a' at (1) must be dummy, allocatable or pointer z2.f90:5:19: 5 | class(t) :: a, x | 1 Error: CLASS variable 'x' at (1) must be dummy, allocatable or pointer z2.f90:6:3: 6 | x =3D a | 1 Error: Nonallocatable variable must not be polymorphic in intrinsic assignm= ent at (1) - check that there is a matching specific subroutine for '=3D' opera= tor $ gfortran-9-20181209 -c z2.f90 f951: internal compiler error: Segmentation fault 0xb2f31f crash_signal ../../gcc/toplev.c:326 0x5fb831 gfc_find_derived_vtab(gfc_symbol*) ../../gcc/fortran/class.c:2220 0x5ff91b gfc_find_vtab(gfc_typespec*) ../../gcc/fortran/class.c:2847 0x64d572 gfc_match_assignment() ../../gcc/fortran/match.c:1378 0x66f120 match_word ../../gcc/fortran/parse.c:65 0x66f120 decode_statement ../../gcc/fortran/parse.c:361 0x670c7a next_free ../../gcc/fortran/parse.c:1235 0x670c7a next_statement ../../gcc/fortran/parse.c:1467 0x67228b parse_spec ../../gcc/fortran/parse.c:3859 0x674d2c parse_progunit ../../gcc/fortran/parse.c:5674 0x6763a9 gfc_parse_file() ../../gcc/fortran/parse.c:6214 0x6bf27f gfc_be_parse_file ../../gcc/fortran/f95-lang.c:204 >>From gcc-bugs-return-625650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 16:55:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94815 invoked by alias); 12 Dec 2018 16:55: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 94503 invoked by uid 48); 12 Dec 2018 16:54:59 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88467] New: Silently accepts wrong array constructor Date: Wed, 12 Dec 2018 16:55: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de 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 Message-ID: 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: 2018-12/txt/msg01766.txt.bz2 Content-length: 1401 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88467 Bug ID: 88467 Summary: Silently accepts wrong array constructor Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Extracted from pr88116. Silently accepts these array constructors and consequently prints wrong results : $ cat z1.f90 program p print *, [integer :: 1, [integer(1) :: '3', 4]] print *, [integer :: 1, [integer(2) :: '3', 4]] print *, [integer :: 1, [integer(8) :: '3', 4]] print *, [integer :: 1, [integer(16) :: '3', 4]] end $ cat z2.f90 program p print *, [integer :: 1, [integer(1) :: 2, '3']] print *, [integer :: 1, [integer(2) :: 2, '3']] print *, [integer :: 1, [integer(8) :: 2, '3']] print *, [integer :: 1, [integer(16) :: 2, '3']] end $ cat z3.f90 program p print *, [integer(8) :: 1, [integer(4) :: 2, '3']] end $ gfortran-9-20181209 z1.f90 -static-libgfortran $ a.out 1 0 4 1 0 4 1 0 4 1 0 4 $ gfortran-9-20181209 z3.f90 -static-libgfortran $ a.out 1 2 0 $ >>From gcc-bugs-return-625651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 16:55:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96052 invoked by alias); 12 Dec 2018 16:55:47 -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 96006 invoked by uid 48); 12 Dec 2018 16:55:43 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88467] Silently accepts wrong array constructor Date: Wed, 12 Dec 2018 16:55: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de 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: 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: 2018-12/txt/msg01767.txt.bz2 Content-length: 763 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88467 --- Comment #1 from G. Steinmetz --- Detected, as noted in pr88116 comment 5 : $ cat z4.f90 program p print *, [integer :: 1, [integer(4) :: 2, '3']] end $ gfortran-9-20181209 -c z4.f90 z4.f90:2:44: 2 | print *, [integer :: 1, [integer(4) :: 2, '3']] | 1 Error: Can't convert CHARACTER(1) to INTEGER(4) at (1) And also : $ cat z8.f90 program p print *, [integer(8) :: 1, [integer(8) :: 2, '3']] end $ gfortran-9-20181209 -c z8.f90 z8.f90:2:47: 2 | print *, [integer(8) :: 1, [integer(8) :: 2, '3']] | 1 Error: Can't convert CHARACTER(1) to INTEGER(8) at (1) >>From gcc-bugs-return-625652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 16:56:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96973 invoked by alias); 12 Dec 2018 16:56:12 -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 96874 invoked by uid 48); 12 Dec 2018 16:56:05 -0000 From: "jm.feuggelen at orange dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88468] New: Arduino: 1.8.8 (Windows 10) internal compiler error , segmentation fault Date: Wed, 12 Dec 2018 16:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jm.feuggelen at orange dot fr 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 Message-ID: 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: 2018-12/txt/msg01768.txt.bz2 Content-length: 11284 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88468 Bug ID: 88468 Summary: Arduino: 1.8.8 (Windows 10) internal compiler error , segmentation fault Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jm.feuggelen at orange dot fr Target Milestone: --- Arduino: 1.8.8 (Windows 10), Board: "Arduino/Genuino Uno" C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=3Dmachine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries D:\ARDUINO ALLES\TEST ARDUINO\libraries -fqbn=3Darduino:avr:uno -vid-pid=3D0X2341_0X0043 -ide-version=3D10808 -buil= d-path C:\Users\f8voa\AppData\Local\Temp\arduino_build_873918 -warnings=3Ddefault -build-cache C:\Users\f8voa\AppData\Local\Temp\arduino_cache_939549 -prefs=3Dbuild.warn_data_percentage=3D75 -prefs=3Druntime.tools.arduinoOTA.path=3DC:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=3Druntime.tools.arduinoOTA-1.2.1.path=3DC:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=3Druntime.tools.avrdude.path=3DC:\P= rogram Files (x86)\Arduino\hardware\tools\avr -prefs=3Druntime.tools.avrdude-6.3.0-arduino14.path=3DC:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=3Druntime.tools.avr-gcc.path=3DC:\P= rogram Files (x86)\Arduino\hardware\tools\avr -prefs=3Druntime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=3DC:\Program = Files (x86)\Arduino\hardware\tools\avr -verbose D:\ARDUINO ALLES\TEST ARDUINO\drawBitmap_1_kbv\drawBitmap_1_kbv.ino C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=3Dmachine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries D:\ARDUINO ALLES\TEST ARDUINO\libraries -fqbn=3Darduino:avr:uno -vid-pid=3D0X2341_0X0043 -ide-version=3D10808 -buil= d-path C:\Users\f8voa\AppData\Local\Temp\arduino_build_873918 -warnings=3Ddefault -build-cache C:\Users\f8voa\AppData\Local\Temp\arduino_cache_939549 -prefs=3Dbuild.warn_data_percentage=3D75 -prefs=3Druntime.tools.arduinoOTA.path=3DC:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=3Druntime.tools.arduinoOTA-1.2.1.path=3DC:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=3Druntime.tools.avrdude.path=3DC:\P= rogram Files (x86)\Arduino\hardware\tools\avr -prefs=3Druntime.tools.avrdude-6.3.0-arduino14.path=3DC:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=3Druntime.tools.avr-gcc.path=3DC:\P= rogram Files (x86)\Arduino\hardware\tools\avr -prefs=3Druntime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=3DC:\Program = Files (x86)\Arduino\hardware\tools\avr -verbose D:\ARDUINO ALLES\TEST ARDUINO\drawBitmap_1_kbv\drawBitmap_1_kbv.ino Using board 'uno' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr Detecting libraries used... "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g = -Os -w -std=3Dgnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=3Dnarrowing -flto -w -x = c++ -E -CC -mmcu=3Datmega328p -DF_CPU=3D16000000L -DARDUINO=3D10808 -DARDUINO_AVR_= UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "C:\\Users\\f8voa\\AppData\\Local\\Temp\\arduino_build_873918\\sketch\\draw= Bitmap_1_kbv.ino.cpp" -o nul "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g = -Os -w -std=3Dgnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=3Dnarrowing -flto -w -x = c++ -E -CC -mmcu=3Datmega328p -DF_CPU=3D16000000L -DARDUINO=3D10808 -DARDUINO_AVR_= UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\libraries\\MCUFRIEND_kbv-2.9.8" "C:\\Users\\f8voa\\AppData\\Local\\Temp\\arduino_build_873918\\sketch\\draw= Bitmap_1_kbv.ino.cpp" -o nul "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g = -Os -w -std=3Dgnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=3Dnarrowing -flto -w -x = c++ -E -CC -mmcu=3Datmega328p -DF_CPU=3D16000000L -DARDUINO=3D10808 -DARDUINO_AVR_= UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\libraries\\MCUFRIEND_kbv-2.9.8" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Adafruit_GFX_Library" "C:\\Users\\f8voa\\AppData\\Local\\Temp\\arduino_build_873918\\sketch\\draw= Bitmap_1_kbv.ino.cpp" -o nul Using cached library dependencies for file: C:\Program Files (x86)\Arduino\libraries\MCUFRIEND_kbv-2.9.8\MCUFRIEND_kbv.cpp Using cached library dependencies for file: C:\Program Files (x86)\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp Using cached library dependencies for file: C:\Program Files (x86)\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp Using cached library dependencies for file: C:\Program Files (x86)\Arduino\libraries\Adafruit_GFX_Library\glcdfont.c Using cached library dependencies for file: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src\SPI.cpp Generating function prototypes... "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g = -Os -w -std=3Dgnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=3Dnarrowing -flto -w -x = c++ -E -CC -mmcu=3Datmega328p -DF_CPU=3D16000000L -DARDUINO=3D10808 -DARDUINO_AVR_= UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\libraries\\MCUFRIEND_kbv-2.9.8" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\f8voa\\AppData\\Local\\Temp\\arduino_build_873918\\sketch\\draw= Bitmap_1_kbv.ino.cpp" -o "C:\\Users\\f8voa\\AppData\\Local\\Temp\\arduino_build_873918\\preproc\\cta= gs_target_for_gcc_minus_e.cpp" "C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctag= s" -u --language-force=3Dc++ -f - --c++-kinds=3Dsvpf --fields=3DKSTtzns --line-directives "C:\\Users\\f8voa\\AppData\\Local\\Temp\\arduino_build_873918\\preproc\\cta= gs_target_for_gcc_minus_e.cpp" Compiling sketch... "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g = -Os -std=3Dgnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sect= ions -fno-threadsafe-statics -Wno-error=3Dnarrowing -MMD -flto -mmcu=3Datmega328p -DF_CPU=3D16000000L -DARDUINO=3D10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\libraries\\MCUFRIEND_kbv-2.9.8" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\f8voa\\AppData\\Local\\Temp\\arduino_build_873918\\sketch\\draw= Bitmap_1_kbv.ino.cpp" -o "C:\\Users\\f8voa\\AppData\\Local\\Temp\\arduino_build_873918\\sketch\\draw= Bitmap_1_kbv.ino.cpp.o" Compiling libraries... Compiling library "MCUFRIEND_kbv-2.9.8" Using previously compiled file: C:\Users\f8voa\AppData\Local\Temp\arduino_build_873918\libraries\MCUFRIEND_= kbv-2.9.8\MCUFRIEND_kbv.cpp.o Compiling library "Adafruit_GFX_Library" Using previously compiled file: C:\Users\f8voa\AppData\Local\Temp\arduino_build_873918\libraries\Adafruit_G= FX_Library\glcdfont.c.o Using previously compiled file: C:\Users\f8voa\AppData\Local\Temp\arduino_build_873918\libraries\Adafruit_G= FX_Library\Adafruit_GFX.cpp.o Using previously compiled file: C:\Users\f8voa\AppData\Local\Temp\arduino_build_873918\libraries\Adafruit_G= FX_Library\Adafruit_SPITFT.cpp.o Compiling library "SPI" Using previously compiled file: C:\Users\f8voa\AppData\Local\Temp\arduino_build_873918\libraries\SPI\SPI.cp= p.o Compiling core... Using precompiled core: C:\Users\f8voa\AppData\Local\Temp\arduino_cache_939549\core\core_arduino_av= r_uno_0c812875ac70eb4a9b385d8fb077f54c.a Linking everything together... "C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=3Datmega328p -o "C:\\Users\\f8voa\\AppData\\Local\\Temp\\arduino_build_873918/drawBitmap_1_= kbv.ino.elf" "C:\\Users\\f8voa\\AppData\\Local\\Temp\\arduino_build_873918\\sketch\\draw= Bitmap_1_kbv.ino.cpp.o" "C:\\Users\\f8voa\\AppData\\Local\\Temp\\arduino_build_873918\\libraries\\M= CUFRIEND_kbv-2.9.8\\MCUFRIEND_kbv.cpp.o" "C:\\Users\\f8voa\\AppData\\Local\\Temp\\arduino_build_873918\\libraries\\A= dafruit_GFX_Library\\Adafruit_GFX.cpp.o" "C:\\Users\\f8voa\\AppData\\Local\\Temp\\arduino_build_873918\\libraries\\A= dafruit_GFX_Library\\Adafruit_SPITFT.cpp.o" "C:\\Users\\f8voa\\AppData\\Local\\Temp\\arduino_build_873918\\libraries\\A= dafruit_GFX_Library\\glcdfont.c.o" "C:\\Users\\f8voa\\AppData\\Local\\Temp\\arduino_build_873918\\libraries\\S= PI\\SPI.cpp.o" "C:\\Users\\f8voa\\AppData\\Local\\Temp\\arduino_build_873918/..\\arduino_c= ache_939549\\core\\core_arduino_avr_uno_0c812875ac70eb4a9b385d8fb077f54c.a" "-LC:\\Users\\f8voa\\AppData\\Local\\Temp\\arduino_build_873918" -lm D:\ARDUINO ALLES\TEST ARDUINO\drawBitmap_1_kbv\drawBitmap_1_kbv.ino: In function 'msg_time.constprop': D:\ARDUINO ALLES\TEST ARDUINO\drawBitmap_1_kbv\drawBitmap_1_kbv.ino:89:1: internal compiler error: Segmentation fault } ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. lto-wrapper.exe: fatal error: C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc returned 1 exit status compilation terminated. c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/b= in/ld.exe: error: lto-wrapper failed collect2.exe: error: ld returned 1 exit status Using library MCUFRIEND_kbv-2.9.8 at version 2.9.8 in folder: C:\Program Fi= les (x86)\Arduino\libraries\MCUFRIEND_kbv-2.9.8=20 Using library Adafruit_GFX_Library at version 1.3.4 in folder: C:\Program F= iles (x86)\Arduino\libraries\Adafruit_GFX_Library=20 Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI=20 exit status 1 Error compiling for board Arduino/Genuino Uno. >>From gcc-bugs-return-625654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 16:59:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101952 invoked by alias); 12 Dec 2018 16:59: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 101148 invoked by uid 48); 12 Dec 2018 16:59:21 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88116] [8/9 Regression] ICE in gfc_convert_constant(): Unexpected type Date: Wed, 12 Dec 2018 16:59: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: 9.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de 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: 8.3 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: 2018-12/txt/msg01770.txt.bz2 Content-length: 403 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88116 --- Comment #6 from G. Steinmetz --- (In reply to kargl from comment #5) > I don't know if you like to keep track of issues that you submit or not. Maybe I could do better. But for the next couple of weeks,=20 I'm gonna take an absence from Bugzilla. > Do you want to migrate this to its own PR? This is now pr88467. Thanks. >>From gcc-bugs-return-625653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 16:59:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101173 invoked by alias); 12 Dec 2018 16:59:22 -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 101099 invoked by uid 48); 12 Dec 2018 16:59:17 -0000 From: "stefanrin at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88469] New: Unaligned stack access on arm (in particular armv5) Date: Wed, 12 Dec 2018 16:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: stefanrin 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 Message-ID: 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: 2018-12/txt/msg01769.txt.bz2 Content-length: 6251 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88469 Bug ID: 88469 Summary: Unaligned stack access on arm (in particular armv5) Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: stefanrin at gmail dot com Target Milestone: --- The compiler generates unaligned stack accesses for its own code, which cau= ses it to trap on armv5. The disassembly of the offending function looks like t= his: (configure arguments: --build=3Darmv5tel-unknown-linux-gnueabi --prefix=3D$HOME/gcc8 --enable-languages=3Dc,c++ --with-arch=3Darmv5te --with-mode=3Darm --disable-nls) 00398e64 <_ZN11cgraph_node11create_edgeEPS_P5gcall13profile_count>: 398e64: e24dd008 sub sp, sp, #8 398e68: e92d41f0 push {r4, r5, r6, r7, r8, lr} 398e6c: e24dd018 sub sp, sp, #24 398e70: e58d3034 str r3, [sp, #52] ; 0x34 398e74: e1cd63d4 ldrd r6, [sp, #52] ; 0x34 398e78: e28d3018 add r3, sp, #24 398e7c: e1a08000 mov r8, r0 398e80: e1a05001 mov r5, r1 398e84: e59fe068 ldr lr, [pc, #104] ; 398ef4 <_ZN11cgraph_node11create_edgeEPS_P5gcall13profile_count+0x90> 398e88: e1cd61f0 strd r6, [sp, #16] 398e8c: e9130003 ldmdb r3, {r0, r1} 398e90: e3a0c000 mov ip, #0 398e94: e1a03002 mov r3, r2 398e98: e88d0003 stm sp, {r0, r1} 398e9c: e1a02005 mov r2, r5 398ea0: e59e0000 ldr r0, [lr] 398ea4: e1a01008 mov r1, r8 398ea8: e58dc008 str ip, [sp, #8] 398eac: ebffff3c bl 398ba4 <_ZN12symbol_table11create_edgeEP11cgraph_nodeS1_P5gcall13profile_countb> 398eb0: e1a04000 mov r4, r0 398eb4: eb0709d8 bl 55b61c <_Z24initialize_inline_failedP11cgraph_edge> 398eb8: e5953044 ldr r3, [r5, #68] ; 0x44 398ebc: e5843014 str r3, [r4, #20] 398ec0: e3530000 cmp r3, #0 398ec4: 15834010 strne r4, [r3, #16] 398ec8: e5983040 ldr r3, [r8, #64] ; 0x40 398ecc: e1a00004 mov r0, r4 398ed0: e3530000 cmp r3, #0 398ed4: e584301c str r3, [r4, #28] 398ed8: 15834018 strne r4, [r3, #24] 398edc: e5884040 str r4, [r8, #64] ; 0x40 398ee0: e5854044 str r4, [r5, #68] ; 0x44 398ee4: e28dd018 add sp, sp, #24 398ee8: e8bd41f0 pop {r4, r5, r6, r7, r8, lr} 398eec: e28dd008 add sp, sp, #8 398ef0: e12fff1e bx lr 398ef4: 012f41a0 teqeq pc, r0, lsr #3 The ldrd at 398e74 is the problem. To be honest, I don't fully understand understand this code. profile_count seems to be a struct with a 64 bit valu= e as its first element. From my understanding of AAPCS, this should not be store= d in r3, because it is not an even register number. But be that as it may, this seems to store the first part of the 64 bit counter into the stack so that = it can then be loaded into r6/r7 together with its upper part. This can never = be properly aligned. For comparison, the same function in an armv7 hardfloat build looks like th= is: (configure arguments: --build=3Darm-linux-gnueabihf --prefix=3D$HOME/gcc8 --enable-languages=3Dc,c++ --with-arch=3Darmv7-a --with-fpu=3Dvfpv3-d16 --with-mode=3Darm --with-float=3Dhard --disable-nls --enable-multilib) 003c21e0 <_ZN11cgraph_node11create_edgeEPS_P5gcall13profile_count>: 3c21e0: e24dd008 sub sp, sp, #8 3c21e4: e309c130 movw ip, #37168 ; 0x9130 3c21e8: e340c133 movt ip, #307 ; 0x133 3c21ec: e92d4370 push {r4, r5, r6, r8, r9, lr} 3c21f0: e24dd018 sub sp, sp, #24 3c21f4: e1a05001 mov r5, r1 3c21f8: e1a06000 mov r6, r0 3c21fc: e58d3034 str r3, [sp, #52] ; 0x34 3c2200: e1a03002 mov r3, r2 3c2204: e1cd83d4 ldrd r8, [sp, #52] ; 0x34 3c2208: e1a02001 mov r2, r1 3c220c: e28d1018 add r1, sp, #24 3c2210: e3a0e000 mov lr, #0 3c2214: e1cd81f0 strd r8, [sp, #16] 3c2218: e9110003 ldmdb r1, {r0, r1} 3c221c: e58de008 str lr, [sp, #8] 3c2220: e88d0003 stm sp, {r0, r1} 3c2224: e1a01006 mov r1, r6 3c2228: e59c0000 ldr r0, [ip] 3c222c: ebffff43 bl 3c1f40 <_ZN12symbol_table11create_edgeEP11cgraph_nodeS1_P5gcall13profile_countb> 3c2230: e1a04000 mov r4, r0 3c2234: eb071320 bl 586ebc <_Z24initialize_inline_failedP11cgraph_edge> 3c2238: e5953044 ldr r3, [r5, #68] ; 0x44 3c223c: e1a00004 mov r0, r4 3c2240: e3530000 cmp r3, #0 3c2244: e5843014 str r3, [r4, #20] 3c2248: 15834010 strne r4, [r3, #16] 3c224c: e5963040 ldr r3, [r6, #64] ; 0x40 3c2250: e3530000 cmp r3, #0 3c2254: e584301c str r3, [r4, #28] 3c2258: 15834018 strne r4, [r3, #24] 3c225c: e5864040 str r4, [r6, #64] ; 0x40 3c2260: e5854044 str r4, [r5, #68] ; 0x44 3c2264: e28dd018 add sp, sp, #24 3c2268: e8bd4370 pop {r4, r5, r6, r8, r9, lr} 3c226c: e28dd008 add sp, sp, #8 3c2270: e12fff1e bx lr The misaligned ldrd is still there, just arranged in a different way. It ma= y be ok for armv7 (although this would surprise me), but it definitely is not for armv5. This looks very similar to #86555, but it happens in gcc's own code, so it = may not be appropriate to blame the C library in this case. >>From gcc-bugs-return-625655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 16:59:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103075 invoked by alias); 12 Dec 2018 16:59: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103021 invoked by uid 48); 12 Dec 2018 16:59:54 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88466] [C++17] Support std::hardware_destructive_interference_size and std:: hardware_constructive_interference_size Date: Wed, 12 Dec 2018 16:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: 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: 2018-12/txt/msg01771.txt.bz2 Content-length: 580 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88466 --- Comment #3 from Jonathan Wakely --- (In reply to Duarte from comment #0) > It seems, however, that neither std::hardware_destructive_interference_si= ze > nor std::hardware_constructive_interference_size have been included in > libstdc++. As clearly documented: https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2017 The feature is broken by design and it's unclear how we want to proceed. On= ce we pick a value we can never change it, because it becomes an ABI property. >>From gcc-bugs-return-625656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 17:01:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104848 invoked by alias); 12 Dec 2018 17:00: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 104561 invoked by uid 48); 12 Dec 2018 17:00:35 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88465] AVX512: optimize loading of constant values to kN registers Date: Wed, 12 Dec 2018 17:00: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla@poradnik-webmastera.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: 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: 2018-12/txt/msg01772.txt.bz2 Content-length: 265 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88465 --- Comment #2 from Daniel Fruzynski --- I have logged issue for CompileExplorer to clarify this null instruction: https://github.com/mattgodbolt/compiler-explorer/issues/1220 >>From gcc-bugs-return-625658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 17:01:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106657 invoked by alias); 12 Dec 2018 17:01: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 106268 invoked by uid 48); 12 Dec 2018 17:01:32 -0000 From: "duarte at scylladb dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88466] [C++17] Support std::hardware_destructive_interference_size and std:: hardware_constructive_interference_size Date: Wed, 12 Dec 2018 17:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: duarte at scylladb 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: 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: 2018-12/txt/msg01774.txt.bz2 Content-length: 155 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88466 --- Comment #4 from Duarte --- Oh, I see; thanks for pointing that out. >>From gcc-bugs-return-625657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 17:01:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105432 invoked by alias); 12 Dec 2018 17:01: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 104910 invoked by uid 48); 12 Dec 2018 17:01:00 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/80762] is_constructible gives hard error with clang Date: Wed, 12 Dec 2018 17:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.3.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi 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: 2018-12/txt/msg01773.txt.bz2 Content-length: 144 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80762 --- Comment #3 from Jonathan Wakely --- Fixed on trunk for now. >>From gcc-bugs-return-625659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 17:05:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109797 invoked by alias); 12 Dec 2018 17:05: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 109714 invoked by uid 48); 12 Dec 2018 17:05:32 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88469] Unaligned stack access on arm (in particular armv5) Date: Wed, 12 Dec 2018 17:05: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: WAITING 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_status cf_reconfirmed_on 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: 2018-12/txt/msg01775.txt.bz2 Content-length: 522 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88469 Richard Earnshaw changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-12-12 Ever confirmed|0 |1 --- Comment #1 from Richard Earnshaw --- Please upload a pre-processed testcase >>From gcc-bugs-return-625660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 17:11:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125110 invoked by alias); 12 Dec 2018 17:11:00 -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 125047 invoked by uid 48); 12 Dec 2018 17:10:56 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88463] Rejects conforming source, OpenMP Parallel region Default(None) reference to module parameter array, separate source Date: Wed, 12 Dec 2018 17: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: 8.2.1 X-Bugzilla-Keywords: openmp, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01776.txt.bz2 Content-length: 562 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88463 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-12 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- Confirmed from at least 4.8 up to trunk (9.0). Workaround: use a single file. >>From gcc-bugs-return-625661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 17:14:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40927 invoked by alias); 12 Dec 2018 17:14: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 33560 invoked by uid 55); 12 Dec 2018 17:14:46 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87496] ICE in aggregate_value_p at gcc/function.c:2046 Date: Wed, 12 Dec 2018 17: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01777.txt.bz2 Content-length: 1706 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87496 --- Comment #11 from Peter Bergner --- Author: bergner Date: Wed Dec 12 17:14:13 2018 New Revision: 267061 URL: https://gcc.gnu.org/viewcvs?rev=3D267061&root=3Dgcc&view=3Drev Log: gcc/ Backport from mainline 2018-12-07 Peter Bergner PR target/87496 * config/rs6000/rs6000.c (rs6000_option_override_internal): Disallow -mabi=3Dieeelongdouble and -mabi=3Dibmlongdouble without -mlong-dou= ble-128. Do not error for -mabi=3Dibmlongdouble and no ISA 2.06 support. * doc/invoke.texi: Document -mabi=3Dibmlongdouble and -mabi=3Dieeelongdouble require -mlong-double-128. gcc/testsuite/ Backport from mainline 2018-12-07 Peter Bergner PR target/87496 * gcc.target/powerpc/pr87496.c: Rename from this... * gcc.target/powerpc/pr87496-1.c: ...to this. Update comment. * gcc.target/powerpc/pr87496-2.c: New test. * gcc.target/powerpc/pr87496-3.c: New test. Added: branches/gcc-8-branch/gcc/testsuite/gcc.target/powerpc/pr87496-1.c - copied, changed from r267060, branches/gcc-8-branch/gcc/testsuite/gcc.target/powerpc/pr87496.c branches/gcc-8-branch/gcc/testsuite/gcc.target/powerpc/pr87496-2.c branches/gcc-8-branch/gcc/testsuite/gcc.target/powerpc/pr87496-3.c Removed: branches/gcc-8-branch/gcc/testsuite/gcc.target/powerpc/pr87496.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/rs6000/rs6000.c branches/gcc-8-branch/gcc/doc/invoke.texi branches/gcc-8-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 17:21:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76758 invoked by alias); 12 Dec 2018 17:21:17 -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 76655 invoked by uid 55); 12 Dec 2018 17:21:13 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87496] ICE in aggregate_value_p at gcc/function.c:2046 Date: Wed, 12 Dec 2018 17:21: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01778.txt.bz2 Content-length: 1446 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87496 --- Comment #12 from Peter Bergner --- Author: bergner Date: Wed Dec 12 17:20:41 2018 New Revision: 267062 URL: https://gcc.gnu.org/viewcvs?rev=3D267062&root=3Dgcc&view=3Drev Log: gcc/ Backport from mainline 2018-12-07 Peter Bergner PR target/87496 * config/rs6000/rs6000.c (rs6000_option_override_internal): Disallow -mabi=3Dieeelongdouble and -mabi=3Dibmlongdouble without -mlong-dou= ble-128. Do not error for -mabi=3Dibmlongdouble and no ISA 2.06 support. * doc/invoke.texi: Document -mabi=3Dibmlongdouble and -mabi=3Dieeelongdouble require -mlong-double-128. gcc/testsuite/ Backport from mainline 2018-12-07 Peter Bergner PR target/87496 * gcc.target/powerpc/pr87496-1.c: New test. * gcc.target/powerpc/pr87496-2.c: New test. * gcc.target/powerpc/pr87496-3.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/pr87496-1.c branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/pr87496-2.c branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/pr87496-3.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/rs6000/rs6000.c branches/gcc-7-branch/gcc/doc/invoke.texi branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 17:25:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93396 invoked by alias); 12 Dec 2018 17:25:07 -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 93032 invoked by uid 48); 12 Dec 2018 17:25:01 -0000 From: "emsr at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88336] Implement P0595R2, C++20 std::is_constant_evaluated (compiler magic library tool). Date: Wed, 12 Dec 2018 17:25: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: emsr at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 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: 2018-12/txt/msg01779.txt.bz2 Content-length: 421 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88336 emsr at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from emsr at gcc dot gnu.org --- This was added by Jakub Jelinek. W00t! >>From gcc-bugs-return-625664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 17:25:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93852 invoked by alias); 12 Dec 2018 17:25:13 -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 93289 invoked by uid 48); 12 Dec 2018 17:25:03 -0000 From: "emsr at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88323] implement C++20 language features. Date: Wed, 12 Dec 2018 17:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: enhancement X-Bugzilla-Who: emsr 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: bug_status 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: 2018-12/txt/msg01780.txt.bz2 Content-length: 510 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88323 Bug 88323 depends on bug 88336, which changed state. Bug 88336 Summary: Implement P0595R2, C++20 std::is_constant_evaluated (com= piler magic library tool). https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88336 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-625665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 17:26:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102699 invoked by alias); 12 Dec 2018 17:26:40 -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 102650 invoked by uid 48); 12 Dec 2018 17:26:36 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88466] [C++17] Support std::hardware_destructive_interference_size and std:: hardware_constructive_interference_size Date: Wed, 12 Dec 2018 17:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: 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: 2018-12/txt/msg01781.txt.bz2 Content-length: 770 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88466 --- Comment #5 from Jonathan Wakely --- (In reply to Duarte from comment #2) > One option could be to just use whatever values linux uses :) The linux kernel allows the cache line sizes to be set at boot (for some h/= w) which doesn't really map well to a constexpr variable with a fixed value. So far the state of the art seems to be "just set them both to 64" which is= a bit pointless. We don't need two incredibly verbose ways to spell the const= ant 64. We probably want a target hook, so that different target backends can custo= mise the value for different hardware revisions (potentially with target-specific command-line flags to override it). Or we just set them both to 64. >>From gcc-bugs-return-625666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 17:37:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126661 invoked by alias); 12 Dec 2018 17:37:40 -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 125852 invoked by uid 55); 12 Dec 2018 17:37:33 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88456] __atomic_compare_exchange implementation inconsistently used Date: Wed, 12 Dec 2018 17:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery 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: 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: 2018-12/txt/msg01782.txt.bz2 Content-length: 1217 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88456 --- Comment #2 from joseph at codesourcery dot com --- If the implementation were not in this source file at all and no LTO were=20 used, it would be unambiguous that such an out-of-line implementation=20 would not be used when GCC knows how to expand the relevant atomic=20 operation inline - GCC would have to expand it inline, regardless of=20 optimization level, because it couldn't rely on such an out-of-line=20 implementation being linked in at all. Thus, I'd expect GCC not to inline a user-provided implementation either,=20 in the case where it knows how to expand the call through appropriate insn= =20 patterns. It's not clear such inlining is a bug, however; if you provide=20 your own implementations of such libgcc/libatomic functions and they don't= =20 have the required semantics, you're well into undefined behavior. If the call is one GCC can't expand on its own (atomic operations on large= =20 objects needing locks, architecture lacks required atomic operation=20 instructions, etc.), it would be reasonable for GCC to inline a definition= =20 to which it would otherwise generate an out-of-line call. >>From gcc-bugs-return-625667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 17:40:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3149 invoked by alias); 12 Dec 2018 17:40: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 2401 invoked by uid 48); 12 Dec 2018 17:40:26 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store" Date: Wed, 12 Dec 2018 17:40: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01783.txt.bz2 Content-length: 4088 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88464 --- Comment #4 from Jakub Jelinek --- So, let's use a more complete testcase: void f1 (double * __restrict__ a, double const * __restrict__ b, int const * __restrict__ off1, int const * __restrict__ off2, int n) { #pragma GCC ivdep for (int i =3D 0; i < n; ++i) { if (b[off1[i]] < b[off2[i]]) a[off1[i]] =3D b[off1[i]]; else a[off2[i]] =3D b[off2[i]]; } } void f2 (double * __restrict__ a, double const * __restrict__ b, long const * __restrict__ off1, long const * __restrict__ off2, int n) { #pragma GCC ivdep for (int i =3D 0; i < n; ++i) { if (b[off1[i]] < b[off2[i]]) a[off1[i]] =3D b[off1[i]]; else a[off2[i]] =3D b[off2[i]]; } } void f3 (float * __restrict__ a, float const * __restrict__ b, int const * __restrict__ off1, int const * __restrict__ off2, int n) { #pragma GCC ivdep for (int i =3D 0; i < n; ++i) { if (b[off1[i]] < b[off2[i]]) a[off1[i]] =3D b[off1[i]]; else a[off2[i]] =3D b[off2[i]]; } } void f4 (double * __restrict__ a, const double * __restrict__ b, int const * __restrict__ off, int n) { #pragma GCC ivdep for (int i =3D 0; i < n; ++i) a[i] =3D b[off[i]]; } void f5 (double * __restrict__ a, const double * __restrict__ b, long const * __restrict__ off, int n) { #pragma GCC ivdep for (int i =3D 0; i < n; ++i) a[i] =3D b[off[i]]; } void f6 (float * __restrict__ a, const float * __restrict__ b, int const * __restrict__ off, int n) { #pragma GCC ivdep for (int i =3D 0; i < n; ++i) a[i] =3D b[off[i]]; } void f7 (double * __restrict__ a, const double * __restrict__ b, int const * __restrict__ off, int n) { #pragma GCC ivdep for (int i =3D 0; i < n; ++i) a[off[i]] =3D b[i]; } void f8 (double * __restrict__ a, const double * __restrict__ b, long const * __restrict__ off, int n) { #pragma GCC ivdep for (int i =3D 0; i < n; ++i) a[off[i]] =3D b[i]; } void f9 (float * __restrict__ a, const float * __restrict__ b, int const * __restrict__ off, int n) { #pragma GCC ivdep for (int i =3D 0; i < n; ++i) a[off[i]] =3D b[i]; } void f10 (double * __restrict__ a, const double * __restrict__ b, int const * __restrict__ off, int n) { #pragma GCC ivdep for (int i =3D 0; i < n; ++i) if (a[i] > 10) a[i] =3D b[off[i]]; } void f11 (double * __restrict__ a, const double * __restrict__ b, long const * __restrict__ off, int n) { #pragma GCC ivdep for (int i =3D 0; i < n; ++i) if (a[i] > 10) a[i] =3D b[off[i]]; } void f12 (float * __restrict__ a, const float * __restrict__ b, int const * __restrict__ off, int n) { #pragma GCC ivdep for (int i =3D 0; i < n; ++i) if (a[i] > 10) a[i] =3D b[off[i]]; } void f13 (double * __restrict__ a, const double * __restrict__ b, int const * __restrict__ off, int n) { #pragma GCC ivdep for (int i =3D 0; i < n; ++i) if (b[i] > 10) a[off[i]] =3D b[i]; } void f14 (double * __restrict__ a, const double * __restrict__ b, long const * __restrict__ off, int n) { #pragma GCC ivdep for (int i =3D 0; i < n; ++i) if (b[i] > 10) a[off[i]] =3D b[i]; } void f15 (float * __restrict__ a, const float * __restrict__ b, int const * __restrict__ off, int n) { #pragma GCC ivdep for (int i =3D 0; i < n; ++i) if (b[i] > 10) a[off[i]] =3D b[i]; } With -O3 -mavx512{f,bw,dq,vl} -mtune=3Dskylake-avx512 the f4/f5/f6 loops are vectorized for all of -mprefer-vector-width=3D{128,256,512} (though e.g. for -mtune=3Dgeneric not) and f7/f8/f9 are vectorized only with -mprefer-vector-width=3D512 using vscatter*. f10/f11/f12 are vectorized using vgather*, but strangely even in -mprefer-vector-width=3D512 mode using the AVX2 gathers, so that suggests t= hat while unconditional scatters and gathers are properly supported, for conditional ones (both MASK_LOAD and MASK_STORE) the support for the cases when using a mask register rather than a vector register with mask either hasn't been done or doesn't work properly. >>From gcc-bugs-return-625668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 17:41:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6610 invoked by alias); 12 Dec 2018 17:41:31 -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 6536 invoked by uid 48); 12 Dec 2018 17:41:27 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88298] [7/8/9 Regression] Bogus conversion warning for CSHIFT with -fno-range-check -m64 Date: Wed, 12 Dec 2018 17:41: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: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: minor X-Bugzilla-Who: dominiq at lps dot ens.fr 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.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status keywords cf_reconfirmed_on everconfirmed short_desc target_milestone cf_known_to_fail bug_severity 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: 2018-12/txt/msg01784.txt.bz2 Content-length: 1090 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88298 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Keywords| |diagnostic Last reconfirmed| |2018-12-12 Ever confirmed|0 |1 Summary|Bogus conversion warning |[7/8/9 Regression] Bogus |for CSHIFT with |conversion warning for |-fno-range-check -m64 |CSHIFT with | |-fno-range-check -m64 Target Milestone|--- |7.5 Known to fail| |8.2.0 Severity|normal |minor --- Comment #2 from Dominique d'Humieres --- Likely caused by r224190 (no warning before r224160). >>From gcc-bugs-return-625669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 17:44:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10221 invoked by alias); 12 Dec 2018 17:44:11 -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 10171 invoked by uid 48); 12 Dec 2018 17:44:06 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88470] New: [9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2354 Date: Wed, 12 Dec 2018 17:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: 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: 2018-12/txt/msg01785.txt.bz2 Content-length: 1876 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88470 Bug ID: 88470 Summary: [9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2354 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-checking, ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: x86_64-unknown-linux-gnu gcc-9.0.0-alpha20181202 snapshot (r266729) ICEs when compiling gcc/testsuite/gcc.target/i386/pr55686.c w/ -maccumulate-outgoing-args -O2 -ftrapv -fno-ivopts -fno-reorder-blocks-and-partition: % x86_64-unknown-linux-gnu-gcc-9.0.0-alpha20181202 -maccumulate-outgoing-ar= gs -O2 -ftrapv -fno-ivopts -fno-reorder-blocks-and-partition -c gcc/testsuite/gcc.target/i386/pr55686.c during RTL pass: dwarf2 gcc/testsuite/gcc.target/i386/pr55686.c: In function 'foo': gcc/testsuite/gcc.target/i386/pr55686.c:16:1: internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2354 16 | } | ^ 0x5f3d89 maybe_record_trace_start =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= dwarf2cfi.c:2354 0x959746 scan_trace =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= dwarf2cfi.c:2547 0x959ce3 create_cfi_notes =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= dwarf2cfi.c:2700 0x959ce3 execute_dwarf2_frame =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= dwarf2cfi.c:3064 0x959ce3 execute =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/= dwarf2cfi.c:3552 >>From gcc-bugs-return-625670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 17:49:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14891 invoked by alias); 12 Dec 2018 17:49:12 -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 14583 invoked by uid 48); 12 Dec 2018 17:49:01 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87496] ICE in aggregate_value_p at gcc/function.c:2046 Date: Wed, 12 Dec 2018 17:49: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01786.txt.bz2 Content-length: 592 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87496 Peter Bergner changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #13 from Peter Bergner --- Now fixed along with an analogous fix to error out when using -mabi=3D{ibm,ieee}longdouble and -mlong-double-64 at the same time. Commit= ted to trunk and GCC8 and GCC7. >>From gcc-bugs-return-625671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 17:50:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23408 invoked by alias); 12 Dec 2018 17:50:38 -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 22727 invoked by uid 48); 12 Dec 2018 17:50:33 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87096] "Optimised" snprintf is not POSIX conformant Date: Wed, 12 Dec 2018 17:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.4.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor 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: 2018-12/txt/msg01787.txt.bz2 Content-length: 499 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87096 --- Comment #5 from Martin Sebor --- I find the POSIX requirement to fail when n is greater than INT_MAX to be in conflict with C. I've submitted a defect to the Austin Group: http://austingroupbugs.net/view.php?id=3D1219 At the same time, the POSIX requirement makes sense to me since it makes the function safer. So I've also brought this up in WG14 to see if C would be willing to adopt the POSIX requirement. >>From gcc-bugs-return-625672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 17:52:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46526 invoked by alias); 12 Dec 2018 17:52:27 -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 44058 invoked by uid 48); 12 Dec 2018 17:52:22 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88467] Silently accepts wrong array constructor Date: Wed, 12 Dec 2018 17:52: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01788.txt.bz2 Content-length: 1299 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88467 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-12 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres --- Confirmed from 5.5 up to trunk (9.0). Compiling the test with 4.8 or 4.9 gi= ves errors pr88467.f90:2.41: print *, [integer :: 1, [integer(1) :: '3', 4]] 1 Error: Can't convert CHARACTER(1) to INTEGER(1) at (1) pr88467.f90:3.41: print *, [integer :: 1, [integer(2) :: '3', 4]] 1 Error: Can't convert CHARACTER(1) to INTEGER(2) at (1) pr88467.f90:4.41: print *, [integer :: 1, [integer(8) :: '3', 4]] 1 Error: Can't convert CHARACTER(1) to INTEGER(8) at (1) pr88467.f90:5.42: print *, [integer :: 1, [integer(16) :: '3', 4]] 1 Error: Can't convert CHARACTER(1) to INTEGER(16) at (1) >>From gcc-bugs-return-625673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 17:55:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57612 invoked by alias); 12 Dec 2018 17:55:52 -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 57523 invoked by uid 48); 12 Dec 2018 17:55:46 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/87048] [9 Regression] array_constructor_8.f90 failure on armeb Date: Wed, 12 Dec 2018 17:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01789.txt.bz2 Content-length: 531 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87048 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-12-12 Ever confirmed|0 |1 --- Comment #3 from Dominique d'Humieres --- Any progress? It looks like a target issue. >>From gcc-bugs-return-625674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 17:58:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62658 invoked by alias); 12 Dec 2018 17:58:58 -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 62603 invoked by uid 48); 12 Dec 2018 17:58:54 -0000 From: "bugdal at aerifal dot cx" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87096] "Optimised" snprintf is not POSIX conformant Date: Wed, 12 Dec 2018 17:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.4.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bugdal at aerifal dot cx X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor 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: 2018-12/txt/msg01790.txt.bz2 Content-length: 1048 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87096 --- Comment #6 from Rich Felker --- I don't see how the POSIX requirement makes the function safer. On the contrary, it makes it less safe by introducing failure cases (that an application might fail to check for, assuming it knows it has a good implementation, with no spurious failures) for calls that should no fail. F= or example: char foo[3]; snprintf(buf, size, "%d", 42); strcpy(foo, buf); Assuming snprintf succeeds, the strcpy is safe. If snprintf spuriously fail= s, buf contains whatever it previously held, possibly uninitialized data, and = the strcpy produces dangerous undefined behavior/overflows. This is a stupid constructed example, but there are lots of cases where an application might not check the result of snprintf because it's happy with truncation and because the format string lacks anything that could fail (li= ke wchar_t conversions which can fail from EILSEQ), but where it would not be happy/safe with uninitialized or stale data. >>From gcc-bugs-return-625675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 18:00:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64771 invoked by alias); 12 Dec 2018 18:00: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 64667 invoked by uid 48); 12 Dec 2018 18:00:43 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88420] Fortran OpenACC "Clause SEQ conflicts with INDEPENDENT" Date: Wed, 12 Dec 2018 18:00: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: 9.0 X-Bugzilla-Keywords: openacc, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01791.txt.bz2 Content-length: 525 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88420 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-12-12 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres --- Shouldn't this PR be closed as FIXED? >>From gcc-bugs-return-625676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 18:03:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90331 invoked by alias); 12 Dec 2018 18:03: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 88544 invoked by uid 55); 12 Dec 2018 18:03:30 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87096] "Optimised" snprintf is not POSIX conformant Date: Wed, 12 Dec 2018 18:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.4.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor 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: 2018-12/txt/msg01792.txt.bz2 Content-length: 483 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87096 --- Comment #7 from joseph at codesourcery dot com --- On Wed, 12 Dec 2018, msebor at gcc dot gnu.org wrote: > I find the POSIX requirement to fail when n is greater than INT_MAX to be= in > conflict with C. I've submitted a defect to the Austin Group: > http://austingroupbugs.net/view.php?id=3D1219 Should note this is a resubmission of:=20 http://austingroupbugs.net/view.php?id=3D761 >>From gcc-bugs-return-625677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 18:05:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108459 invoked by alias); 12 Dec 2018 18:05:09 -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 108186 invoked by uid 48); 12 Dec 2018 18:05:03 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store" Date: Wed, 12 Dec 2018 18:05: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01793.txt.bz2 Content-length: 838 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88464 --- Comment #5 from Jakub Jelinek --- We have: else if (memory_access_type =3D=3D VMAT_GATHER_SCATTER && gs_info.dec= l) { tree arglist =3D TYPE_ARG_TYPES (TREE_TYPE (gs_info.decl)); tree masktype =3D TREE_VALUE (TREE_CHAIN (TREE_CHAIN (TREE_CHAIN (arglist)))); if (TREE_CODE (masktype) =3D=3D INTEGER_TYPE) { if (dump_enabled_p ()) dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location, "masked gather with integer mask not" " supported."); return false; } }=20=20=20=20=20 and no support for masked scatter stores when not using the aarch64 style i= fns. >>From gcc-bugs-return-625678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 18:10:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41955 invoked by alias); 12 Dec 2018 18:10:29 -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 39111 invoked by uid 48); 12 Dec 2018 18:10:24 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store" Date: Wed, 12 Dec 2018 18:10: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01794.txt.bz2 Content-length: 155 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88464 --- Comment #6 from Jakub Jelinek --- See PR59617 for the masked gathers. >>From gcc-bugs-return-625679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 18:18:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125215 invoked by alias); 12 Dec 2018 18:18:44 -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 121890 invoked by uid 48); 12 Dec 2018 18:18:38 -0000 From: "anlauf at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84779] [7/8/9 Regression] Compiling gfortran.fortran-torture/execute/entry_4.f90 with -O1 or -Os and -fdefault-integer-8/9 gives an ICE Date: Wed, 12 Dec 2018 18:18: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: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gmx dot de 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.5 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: 2018-12/txt/msg01795.txt.bz2 Content-length: 2539 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84779 Harald Anlauf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gmx dot de --- Comment #2 from Harald Anlauf --- (In reply to Dominique d'Humieres from comment #0) > Compiling gfortran.fortran-torture/execute/entry_4.f90 with -O1 or -Os and > -fdefault-integer-8 gives an ICE for gcc4.9 up to trunk (8.0) >=20 > during RTL pass: expand > /opt/gcc/p_work/gcc/testsuite/gfortran.fortran-torture/execute/entry_4.f9= 0: > 14:0: >=20 > logical e2 >=20=20 > internal compiler error: in gen_lowpart_general, at rtlhooks.c:63 Reducing further gives a traceback: complex function f2 (a) implicit none integer(8) a ! logical(4) e2 ! Compiles logical(8) e2 ! ICE entry e2 (a) if (a .gt. 0) then e2 =3D a .lt. 46 else f2 =3D 45 endif end function during RTL pass: expand pr84779.f90:5:0: 5 | logical(8) e2 ! ICE |=20 internal compiler error: in gen_lowpart_general, at rtlhooks.c:63 0xc334a8 gen_lowpart_general(machine_mode, rtx_def*) ../../trunk/gcc/rtlhooks.c:63 0x90b604 extract_bit_field_1 ../../trunk/gcc/expmed.c:1763 0x90c34c extract_bit_field(rtx_def*, poly_int<1u, unsigned long>, poly_int<= 1u, unsigned long>, int, rtx_def*, machine_mode, machine_mode, bool, rtx_def**) ../../trunk/gcc/expmed.c:2097 0x928e5f expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../trunk/gcc/expr.c:11043 0x9283cb expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../trunk/gcc/expr.c:9858 0x7f2193 expand_expr ../../trunk/gcc/expr.h:279 0x7f2193 expand_return ../../trunk/gcc/cfgexpand.c:3588 0x7f2193 expand_gimple_stmt_1 ../../trunk/gcc/cfgexpand.c:3691 0x7f2193 expand_gimple_stmt ../../trunk/gcc/cfgexpand.c:3818 0x7f47ff expand_gimple_basic_block ../../trunk/gcc/cfgexpand.c:5854 0x7fa8ee execute ../../trunk/gcc/cfgexpand.c:6476 Without -fdefault-integer-8 one gets: pr84779.f90:5:15: 5 | logical(8) e2 ! ICE | 1 Error: ENTRY result e2 can't be of type LOGICAL(8) in FUNCTION f2 at (1) I think this is wrong and maybe points to where to look. >>From gcc-bugs-return-625680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 18:21:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54823 invoked by alias); 12 Dec 2018 18:21: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 51674 invoked by uid 48); 12 Dec 2018 18:21:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/60035] [PATCH] make it possible to use OMP on both sides of a fork (without violating standard) Date: Wed, 12 Dec 2018 18:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01796.txt.bz2 Content-length: 217 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60035 --- Comment #10 from Jakub Jelinek --- GCC 9 has omp_pause_resource and omp_pause_resource_all APIs as required by OpenMP 5.0 for this. >>From gcc-bugs-return-625681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 18:30:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60177 invoked by alias); 12 Dec 2018 18:30:58 -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 54115 invoked by uid 48); 12 Dec 2018 18:30:48 -0000 From: "ibuclaw at gdcproject dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88462] All D execution tests FAIL on Solaris/SPARC Date: Wed, 12 Dec 2018 18:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ibuclaw at gdcproject dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01797.txt.bz2 Content-length: 769 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88462 --- Comment #4 from Iain Buclaw --- Stepping through the backtrace, I see the following at Thread.initLocks (core/thread.d around line 1719). --- __gshared align(Mutex.alignof) void[__traits(classInstanceSize, Mutex)][2] _locks; static void initLocks() { foreach (ref lock; _locks) { lock[] =3D typeid(Mutex).initializer[]; (cast(Mutex)lock.ptr).__ctor(); } } --- So there are two things. Firstly, the object instance is type punned from a void[N] array. Secondly it is aligned to pointer size, not the alignment of the underlying record type. So I'm certain that the problem will be fixed if `align(Mutex.alignof)` is replaced with `align(8)`. >>From gcc-bugs-return-625682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 18:34:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31845 invoked by alias); 12 Dec 2018 18:34:30 -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 31774 invoked by uid 48); 12 Dec 2018 18:34:26 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84779] [7/8/9 Regression] Compiling gfortran.fortran-torture/execute/entry_4.f90 with -O1 or -Os and -fdefault-integer-8/9 gives an ICE Date: Wed, 12 Dec 2018 18:34: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: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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.5 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: 2018-12/txt/msg01798.txt.bz2 Content-length: 222 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84779 --- Comment #3 from Dominique d'Humieres --- The code in comment 2 compiles for me with -fdefault-integer-8 (I get the e= rror without it). >>From gcc-bugs-return-625683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 18:37:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95678 invoked by alias); 12 Dec 2018 18:37:38 -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 92727 invoked by uid 55); 12 Dec 2018 18:37:34 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88116] [8/9 Regression] ICE in gfc_convert_constant(): Unexpected type Date: Wed, 12 Dec 2018 18:37: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: 9.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu 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: 8.3 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: 2018-12/txt/msg01799.txt.bz2 Content-length: 1190 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88116 --- Comment #7 from Steve Kargl -= -- On Wed, Dec 12, 2018 at 04:59:21PM +0000, gscfq@t-online.de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88116 >=20 > --- Comment #6 from G. Steinmetz --- >=20 > (In reply to kargl from comment #5) > > I don't know if you like to keep track of issues that you submit or not. > Maybe I could do better. But for the next couple of weeks,=20 > I'm gonna take an absence from Bugzilla. >=20 > > Do you want to migrate this to its own PR? > This is now pr88467. >=20 > Thanks. >=20 I think I know what the problem is. Just don't know how to fix it. Basically, gfortran is inserting type conversions and doing the checking from the outer array constructor inward. Thus, we have [integer :: 1, [integer(8), 2, '3']] Gfortran sees integer and integer(8) and inserts a conversion via convert_i8_i4. When this is done, the=20 checking of the inner array constructor is lost. So, we have something like [integer :: 1, convert_i8_i4([2, '3']) and the internal representation of gfc_expr contains a union of the various types. >>From gcc-bugs-return-625684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 18:41:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46873 invoked by alias); 12 Dec 2018 18:41:52 -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 46822 invoked by uid 48); 12 Dec 2018 18:41:47 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88467] Silently accepts wrong array constructor Date: Wed, 12 Dec 2018 18:41: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: --- 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: 2018-12/txt/msg01800.txt.bz2 Content-length: 408 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88467 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #3 from kargl at gcc dot gnu.org --- See pr88116 for a description of what appears to be happening. >>From gcc-bugs-return-625685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 19:13:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54558 invoked by alias); 12 Dec 2018 19:13:13 -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 54467 invoked by uid 48); 12 Dec 2018 19:13:09 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store" Date: Wed, 12 Dec 2018 19: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub 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: attachments.created 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: 2018-12/txt/msg01801.txt.bz2 Content-length: 323 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88464 --- Comment #7 from Jakub Jelinek --- Created attachment 45220 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45220&action=3Dedit gcc9-pr88464.patch Completely untested patch for the AVX512F conditional gather vectorization support. >>From gcc-bugs-return-625686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 19:21:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120403 invoked by alias); 12 Dec 2018 19:21:54 -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 120343 invoked by uid 48); 12 Dec 2018 19:21:50 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88465] AVX512: optimize loading of constant values to kN registers Date: Wed, 12 Dec 2018 19:21: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla@poradnik-webmastera.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: 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: 2018-12/txt/msg01802.txt.bz2 Content-length: 232 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88465 --- Comment #3 from Daniel Fruzynski --- This "null" ia an icc bug. Matt Godbolt from Compiler Explorer filed a bug = with Intel: ref 03997020 >>From gcc-bugs-return-625687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 19:43:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50375 invoked by alias); 12 Dec 2018 19:43:21 -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 49870 invoked by uid 48); 12 Dec 2018 19:43:17 -0000 From: "trashyankes at wp dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87370] [7/8/9 Regression] Inefficient return code of struct values Date: Wed, 12 Dec 2018 19:43: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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: trashyankes at wp dot pl X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-12/txt/msg01803.txt.bz2 Content-length: 485 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87370 --- Comment #12 from trashyankes at wp dot pl --- (In reply to H.J. Lu from comment #11) > (In reply to trashyankes from comment #10) >=20 > Which GCC are you using? GCC 8.2 generates: GCC Explorer :D g++ (GCC-Explorer-Build) 9.0.0 20181211 (experimental) https://gcc.godbolt.org/z/7AQXiq Code is copy paste of test case. Compiler is x86-64 Important are flags: `-O3 -march=3Dskylake-avx512` Without it compile this code fine. >>From gcc-bugs-return-625688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 19:46:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54640 invoked by alias); 12 Dec 2018 19:46:10 -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 53811 invoked by uid 48); 12 Dec 2018 19:45:43 -0000 From: "jg at jguk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88471] New: GCC suggests variables that are not of the right type Date: Wed, 12 Dec 2018 19:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jg at jguk dot 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01804.txt.bz2 Content-length: 978 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88471 Bug ID: 88471 Summary: GCC suggests variables that are not of the right type Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jg at jguk dot org Target Milestone: --- GCC suggests variables that are not of the right type. 'rename' is actually function, so wouldn't be assigned to an int. $ g++-8 -Wall -o name name.cpp name.cpp: In function =E2=80=98int main()=E2=80=99: name.cpp:6:13: error: =E2=80=98name=E2=80=99 was not declared in this scope int v =3D name; ^~~~ name.cpp:6:13: note: suggested alternative: =E2=80=98rename=E2=80=99 int v =3D name; ^~~~ rename $ // g++-8 -Wall -o name name.cpp #include int main() { int v =3D name; return v; } >>From gcc-bugs-return-625690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 19:46:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56455 invoked by alias); 12 Dec 2018 19:46:34 -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 55778 invoked by uid 48); 12 Dec 2018 19:46:28 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87096] "Optimised" snprintf is not POSIX conformant Date: Wed, 12 Dec 2018 19:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.4.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor 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: 2018-12/txt/msg01806.txt.bz2 Content-length: 1582 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87096 --- Comment #8 from Martin Sebor --- The POSIX requirement prevents buffer overflow when the size of the destina= tion is incorrectly computed. I realize it's common practice to ignore snprintf= =20 return value, but defensively written code should check it. The return val= ue can safely be ignored only when the function can neither fail nor truncate = (in the latter case sprintf is just as safe). Otherwise, the return value shou= ld be tested and either the failure or the more likely truncation should be handled somehow. The -Wstringop-truncation warning is based on this premis= e. GCC can mitigate some of the buffer overflow cases when it can determine the size of the destination on its own, but that's only possible in a subset of cases. That said, I'm not sure how to proceed here. I see three ways forward: 1) disable the folding in this case and call the library function 2) suspend this until C/POSIX have resolved the conflict 3) fold the call to -1 and set errno to EOVERFLOW I have a trivial patch to do (1) but my testing shows that while Solaris 11 implements the POSIX requirement AIX and Glibc don't, so it won't solve the conformance/portability problem. (2) is the easy way out for now, until C = and POSIX have either converged or decided not to. (3) is out of scope for GCC= 9. >>From your comments, Rich, it's not clear to me what you are arguing for. = It sounds like you don't agree with the POSIX requirement but also disapprove = of the GCC optimization. >>From gcc-bugs-return-625689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 19:46:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55769 invoked by alias); 12 Dec 2018 19:46:27 -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 55693 invoked by uid 55); 12 Dec 2018 19:46:23 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/88318] new test case gcc.dg/independent-cloneids-1.c fails on big endian Date: Wed, 12 Dec 2018 19:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher 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: 2018-12/txt/msg01805.txt.bz2 Content-length: 782 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88318 --- Comment #2 from Segher Boessenkool --- Author: segher Date: Wed Dec 12 19:45:45 2018 New Revision: 267063 URL: https://gcc.gnu.org/viewcvs?rev=3D267063&root=3Dgcc&view=3Drev Log: Fix independent-cloneids-1.c testcase (PR88318) The testcase uses REs like {(?n)\m_*bar[.$_]constprop[.$_]0:} to find what functions are defined. But, this also matches lines like .L.bar.constprop.0: (which are used on powerpc64-linux). The "(?n)" doesn't do anything here either. We should use "^" here instead of just "\m". PR testsuite/88318 * gcc.dg/independent-cloneids-1.c: Use ^ not \m. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/independent-cloneids-1.c >>From gcc-bugs-return-625691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 19:50:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95748 invoked by alias); 12 Dec 2018 19:50: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 95681 invoked by uid 48); 12 Dec 2018 19:50:49 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87096] "Optimised" snprintf is not POSIX conformant Date: Wed, 12 Dec 2018 19:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.4.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor 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: 2018-12/txt/msg01807.txt.bz2 Content-length: 215 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87096 --- Comment #9 from Martin Sebor --- (In reply to joseph@codesourcery.com from comment #7) Thanks, that has some useful background. >>From gcc-bugs-return-625692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 19:54:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108822 invoked by alias); 12 Dec 2018 19:54:26 -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 108724 invoked by uid 48); 12 Dec 2018 19:54:22 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88318] new test case gcc.dg/independent-cloneids-1.c fails on big endian Date: Wed, 12 Dec 2018 19:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status component 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: 2018-12/txt/msg01808.txt.bz2 Content-length: 494 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88318 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Component|other |testsuite Resolution|--- |FIXED --- Comment #3 from Segher Boessenkool --- Fixed. >>From gcc-bugs-return-625693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 19:57:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112263 invoked by alias); 12 Dec 2018 19:57: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112234 invoked by uid 48); 12 Dec 2018 19:57:55 -0000 From: "anlauf at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84779] [7/8/9 Regression] Compiling gfortran.fortran-torture/execute/entry_4.f90 with -O1 or -Os and -fdefault-integer-8 gives an ICE Date: Wed, 12 Dec 2018 19:57: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: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gmx dot de 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.5 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: 2018-12/txt/msg01809.txt.bz2 Content-length: 468 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84779 --- Comment #4 from Harald Anlauf --- (In reply to Dominique d'Humieres from comment #3) > The code in comment 2 compiles for me with -fdefault-integer-8 (I get the > error without it). Oh, now I see that the issue is -O1 and/or -Os, whereas -O0, -Og, -O2, -O3 work. I looked also at the dump-tree-optimized for e2 being logical(4) or logical(8) and wondered why this can be so different. >>From gcc-bugs-return-625694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 19:58:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113051 invoked by alias); 12 Dec 2018 19:58:10 -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 112993 invoked by uid 48); 12 Dec 2018 19:58:05 -0000 From: "bugdal at aerifal dot cx" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87096] "Optimised" snprintf is not POSIX conformant Date: Wed, 12 Dec 2018 19:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.4.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bugdal at aerifal dot cx X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor 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: 2018-12/txt/msg01810.txt.bz2 Content-length: 745 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87096 --- Comment #10 from Rich Felker --- Indeed, I think the POSIX requirement is both in conflict with the requirem= ents of the C language and a bad requirement in itself. As for what GCC should do, since there room for debate about which behavior= is correct, and library implementations might even continue to disagree/diverge from one or both of the standards for some time, I do not think GCC should = be overruling the choices made by the library implementation here. The folding= for this case should either happen only for constant size arguments <=3DINT_MAX= , or should produce a runtime check and force a function call for the case where it's >INT_MAX. >>From gcc-bugs-return-625695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 20:01:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8217 invoked by alias); 12 Dec 2018 20:01:03 -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 8044 invoked by uid 48); 12 Dec 2018 20:00:47 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/80676] [DR 2995] basic_stringbuf does not use initial capacity of SSO string Date: Wed, 12 Dec 2018 20:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-12/txt/msg01811.txt.bz2 Content-length: 621 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80676 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|SUSPENDED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu= .org --- Comment #4 from Jonathan Wakely --- The C++2a draft now says: "It is implementation-defined whether the sequence pointers (eback(), gptr(= ), egptr(), pbase(), pptr(), epptr()) are initialized to null pointers." >>From gcc-bugs-return-625696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 20:14:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91763 invoked by alias); 12 Dec 2018 20:14:13 -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 91714 invoked by uid 48); 12 Dec 2018 20:14:07 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86476] Members declared later in a class appear to be unavailable Date: Wed, 12 Dec 2018 20:14: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: 8.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to 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: 2018-12/txt/msg01812.txt.bz2 Content-length: 776 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86476 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-12-12 CC| |mpolacek at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot= gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed, noexcept-specifier is a complete-class context. Simpler test: struct S { void g() noexcept(noexcept(i)) { } int i; }; >>From gcc-bugs-return-625697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 20:14:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92761 invoked by alias); 12 Dec 2018 20:14:27 -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 92065 invoked by uid 48); 12 Dec 2018 20:14:15 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/52869] [DR 1207] "this" not being allowed in noexcept clauses Date: Wed, 12 Dec 2018 20:14: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.7.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek 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: 2018-12/txt/msg01813.txt.bz2 Content-length: 189 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52869 --- Comment #14 from Marek Polacek --- This is actually another problem, one that is tracked in PR86476. >>From gcc-bugs-return-625698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 20:23:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22614 invoked by alias); 12 Dec 2018 20:23:12 -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 22558 invoked by uid 48); 12 Dec 2018 20:23:08 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88001] ASMCONS cannot handle properly UNSPEC(CONST) Date: Wed, 12 Dec 2018 20:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 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: 2018-12/txt/msg01814.txt.bz2 Content-length: 200 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88001 --- Comment #7 from Segher Boessenkool --- Patch posted at https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00865.html . >>From gcc-bugs-return-625699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 20:31:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45590 invoked by alias); 12 Dec 2018 20:31:53 -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 45529 invoked by uid 48); 12 Dec 2018 20:31:46 -0000 From: "skunk at iskunk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/65725] Bootstrap errors on Solaris 10 x86-64, including object diffs Date: Wed, 12 Dec 2018 20:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: skunk at iskunk dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro 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: 2018-12/txt/msg01815.txt.bz2 Content-length: 1685 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65725 --- Comment #10 from Daniel Richard G. --- (In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #9) >=20 > it would be helpful to know a bit more about that system: Solaris 10 > update release (e.g. from /etc/release), versions of as (as -V) and ld > (ld -V), bootstrap compiler used, version of cmp (and do_compare setting > in the toplevel Makefile). Gladly: $ cat /etc/release=20=20=20=20=20 Oracle Solaris 10 8/11 s10x_u10wos_17b X86 Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserv= ed. Assembled 23 August 2011 $ as -V as: SunOS 5.10 119961-13 Patch 08/06/2014 [...] $ ld -V ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.1505 I am bootstrapping with an earlier build of GCC 7.3.0 (itself compiled via a non-bootstrapped build, due to this issue). cmp(1) has no version option; it is simply /usr/bin/cmp: $ cmp usage: cmp [-l] [-s] file1 file2 [skip1] [skip2] $ grep 'do-compare.*=3D' Makefile do-compare =3D cmp $$f1 $$f2 16 16 do-compare3 =3D $(do-compare) > To investigate comparison failures, it's usually necessary to have both > a few of the object pairs failing the comparison and the corresponding > .s files from -save-temps. You've to be very careful to rerun the exact > compiler invocations from exactly the same directories which can be > tricky due to all the shuffling around due to the different stages. Is it feasible to re-run the bootstrap with something like CFLAGS(_FOR_(BUILD|TARGET)) =3D "-save-temps" ? Recreating the compiler invocations manually will be quite tricky. >>From gcc-bugs-return-625700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 20:52:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109968 invoked by alias); 12 Dec 2018 20:52: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 109277 invoked by uid 48); 12 Dec 2018 20:52:30 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/88472] New: attribute documentation poorly structured, lots of duplication Date: Wed, 12 Dec 2018 20:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01816.txt.bz2 Content-length: 796 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88472 Bug ID: 88472 Summary: attribute documentation poorly structured, lots of duplication Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- As discussed in the thread below, the function/type/variable attribute documentation in the manual isn't structured very well and contains quite a= bit of duplication. This makes it both harder to read and understand, and also tedious to maintain and easy to get out of sync. https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00761.html >>From gcc-bugs-return-625701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 21:04:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80251 invoked by alias); 12 Dec 2018 21:04:26 -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 80207 invoked by uid 48); 12 Dec 2018 21:04:22 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88473] New: AVX512: constant folding on mask does not remove unnecessary instructions Date: Wed, 12 Dec 2018 21:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla@poradnik-webmastera.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 Message-ID: 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: 2018-12/txt/msg01817.txt.bz2 Content-length: 1484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88473 Bug ID: 88473 Summary: AVX512: constant folding on mask does not remove unnecessary instructions Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: bugzilla@poradnik-webmastera.com Target Milestone: --- [code] #include void test(void* data, void* data2) { __m128i v =3D _mm_load_si128((__m128i const*)data); __mmask8 m =3D _mm_testn_epi16_mask(v, v); m =3D _kor_mask8(m, 0x0f); m =3D _kor_mask8(m, 0xf0); v =3D _mm_maskz_add_epi16(m, v, v); _mm_store_si128((__m128i*)data2, v); } [/code] Code compiled using gcc 8.2 with -O3 -march=3Dskylake-avx512 . gcc was able= to fold constant expressions and simplify masked vector add to non-masked one. However original version of folded expression is still present in output: [asm] test(void*, void*): vmovdqa64 xmm0, XMMWORD PTR [rdi] mov eax, 15 vptestnmw k1, xmm0, xmm0 kmovb k2, eax vpaddw xmm0, xmm0, xmm0 mov eax, -16 kmovb k3, eax vmovaps XMMWORD PTR [rsi], xmm0 korb k0, k1, k2 korb k0, k0, k3 ret [/asm] clang properly cleaned it up: [asm] test(void*, void*): # @test(void*, void*) vmovdqa xmm0, xmmword ptr [rdi] vpaddw xmm0, xmm0, xmm0 vmovdqa xmmword ptr [rsi], xmm0 ret [/asm] >>From gcc-bugs-return-625702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 21:06:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85235 invoked by alias); 12 Dec 2018 21:06:39 -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 85171 invoked by uid 48); 12 Dec 2018 21:06:34 -0000 From: "anlauf at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85544] [7/8/9 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3385 Date: Wed, 12 Dec 2018 21:06: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gmx dot de 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.5 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: 2018-12/txt/msg01818.txt.bz2 Content-length: 624 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85544 Harald Anlauf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gmx dot de --- Comment #5 from Harald Anlauf --- (In reply to Dominique d'Humieres from comment #2) > The test in comment 0 compiles with -fno-frontend-optimize. It might make sense to update $subject. When gfc_conv_array_ref() is reached with -ffrontend-optimize being set, its arguments are already bad. >>From gcc-bugs-return-625703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 21:08:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87348 invoked by alias); 12 Dec 2018 21:08: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 87266 invoked by uid 48); 12 Dec 2018 21:08:20 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88463] Rejects conforming source, OpenMP Parallel region Default(None) reference to module parameter array, separate source Date: Wed, 12 Dec 2018 21:08: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: 8.2.1 X-Bugzilla-Keywords: openmp, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created 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: 2018-12/txt/msg01819.txt.bz2 Content-length: 578 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88463 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #2 from Jakub Jelinek --- Created attachment 45221 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45221&action=3Dedit gcc9-pr88463.patch Untested fix. >>From gcc-bugs-return-625704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 21:22:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11075 invoked by alias); 12 Dec 2018 21:22: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 7940 invoked by uid 48); 12 Dec 2018 21:22:19 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88471] GCC suggests variables that are not of the right type Date: Wed, 12 Dec 2018 21:22: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: 8.2.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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: keywords 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: 2018-12/txt/msg01820.txt.bz2 Content-length: 664 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88471 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic CC| |dmalcolm at gcc dot gnu.org --- Comment #1 from Martin Sebor --- I agree that ideally GCC would only offer suggestions that can be meaningfu= lly applied. I'm pretty sure David is aware of this limitation based on past discussions and may already be tracking this somewhere. CC'ing him. >>From gcc-bugs-return-625705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 21:29:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54848 invoked by alias); 12 Dec 2018 21:29:08 -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 54759 invoked by uid 48); 12 Dec 2018 21:29:02 -0000 From: "anlauf at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85750] [7/8/9 Regression] Default initialization of derived type array missing Date: Wed, 12 Dec 2018 21:29: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: 8.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gmx dot de 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.5 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: 2018-12/txt/msg01821.txt.bz2 Content-length: 648 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85750 Harald Anlauf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gmx dot de --- Comment #3 from Harald Anlauf --- Looking at the dump-tree and comparing the original code with a variant with the DT component ptr commented out, one wonders where the initialization of the function result got lost in the original variant. Without ptr (either pointer or allocatable), one gets the expected result. >>From gcc-bugs-return-625706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 21:32:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66884 invoked by alias); 12 Dec 2018 21:32:18 -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 65243 invoked by uid 48); 12 Dec 2018 21:32:12 -0000 From: "anlauf at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85750] [7/8/9 Regression] Default initialization of derived type array missing Date: Wed, 12 Dec 2018 21:32: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: 8.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gmx dot de 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.5 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: 2018-12/txt/msg01822.txt.bz2 Content-length: 369 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85750 --- Comment #4 from Harald Anlauf --- (In reply to Stephan Kramer from comment #0) Workaround: > function make_list(i) > integer, intent(in) :: i > type(ilist), dimension(2) :: make_list make_list =3D ilist() > make_list(i)%count =3D 1 >=20 > end function make_list >>From gcc-bugs-return-625707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 21:39:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62502 invoked by alias); 12 Dec 2018 21:39:40 -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 62292 invoked by uid 48); 12 Dec 2018 21:39:36 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88473] AVX512: constant folding on mask does not remove unnecessary instructions Date: Wed, 12 Dec 2018 21:39: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 2018-12/txt/msg01823.txt.bz2 Content-length: 838 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88473 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- Well, if you want this constant folded, why are you using the _k* intrinsic= s at all rather than just normal arithmetics on the __mmask8 etc. types? The intrinsics are handled in GCC in a way to force those to be actually th= ose instructions. We could surely implement those just by doing normal arithme= tics inside of the headers, but then it would be more likely that normal GPR arithmetics would be used for those rather than mask logic etc. operations. >>From gcc-bugs-return-625708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 21:41:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74515 invoked by alias); 12 Dec 2018 21:41:43 -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 74416 invoked by uid 48); 12 Dec 2018 21:41:38 -0000 From: "jsm28 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88474] New: Inline built-in hypot for -ffast-math Date: Wed, 12 Dec 2018 21:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: 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: 2018-12/txt/msg01824.txt.bz2 Content-length: 1542 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88474 Bug ID: 88474 Summary: Inline built-in hypot for -ffast-math Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jsm28 at gcc dot gnu.org Target Milestone: --- Target: i?86-*-* GCC should support inline code generation for hypot functions, under appropriate fast-math conditions. glibc's bits/mathinline.h, for 32-bit non-SSE fast-math x86 only, has: /* The argument range of the inline version of hypotl is slightly reduced. = */ __inline_mathcodeNP2 (hypot, __x, __y, return __libc_sqrtl (__x * __x + __y * __y)) We're moving away from such inlines in glibc, preferring to leave it to the compiler to inline standard functions under appropriate conditions. Althou= gh this is filed as a target issue, inlining hypot functions (given -funsafe-math-optimizations, as it may change results, and -ffinite-math-on= ly, as it won't be correct for Inf, NaN arguments) is actually reasonably gener= ic.=20 There are separate cases for when it's possible to do the * + sqrt operatio= ns on a wider (hardware) type, so avoiding reducing the argument range, and wh= en a wider hardware type is unavailable or inappropriate to use, in which case t= he argument range would be reduced by inlining (although that glibc inline sti= ll does it for long double). >>From gcc-bugs-return-625709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 22:02:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32958 invoked by alias); 12 Dec 2018 22:02:47 -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 32852 invoked by uid 48); 12 Dec 2018 22:02:40 -0000 From: "anlauf at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87764] gfortran crashes with illegal code Date: Wed, 12 Dec 2018 22:02: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gmx dot de 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: 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: 2018-12/txt/msg01825.txt.bz2 Content-length: 1446 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87764 Harald Anlauf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gmx dot de --- Comment #2 from Harald Anlauf --- (In reply to Dominique d'Humieres from comment #1) > Confirmed from 4.8 up to trunk (9.0). An instrumented compiler gives >=20 > f951: Warning: No location in statement > ../../work/gcc/fortran/trans.c:1768:39: runtime error: member access with= in > null pointer of type 'struct gfc_linebuf' > f951: internal compiler error: Segmentation fault: 11 The warning in comment#0 would be restored by the patch: Index: gcc/fortran/trans.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 --- gcc/fortran/trans.c (revision 267065) +++ gcc/fortran/trans.c (working copy) @@ -1765,8 +1765,11 @@ void gfc_set_backend_locus (locus * loc) { - gfc_current_backend_file =3D loc->lb->file; - input_location =3D loc->lb->location; + if (loc->lb) + { + gfc_current_backend_file =3D loc->lb->file; + input_location =3D loc->lb->location; + } } However, this papers over the issue that the locus is not properly set. >>From gcc-bugs-return-625710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 22:06:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38758 invoked by alias); 12 Dec 2018 22:06:23 -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 38687 invoked by uid 48); 12 Dec 2018 22:06:19 -0000 From: "denin at mail dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/52869] [DR 1207] "this" not being allowed in noexcept clauses Date: Wed, 12 Dec 2018 22:06: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.7.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: denin at mail dot ru X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek 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: 2018-12/txt/msg01826.txt.bz2 Content-length: 335 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52869 --- Comment #15 from denin at mail dot ru --- (In reply to Marek Polacek from comment #14) > This is actually another problem, one that is tracked in PR86476. So context closure is unduly greedy: members defined above are available wh= ile those from below are not? Funny indeed. >>From gcc-bugs-return-625711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 22:10:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84551 invoked by alias); 12 Dec 2018 22:10:21 -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 84506 invoked by uid 48); 12 Dec 2018 22:10:16 -0000 From: "thiago at kde dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88475] New: -E -fdirectives-only clashes with raw strings Date: Wed, 12 Dec 2018 22:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: thiago at kde dot 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01827.txt.bz2 Content-length: 1248 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88475 Bug ID: 88475 Summary: -E -fdirectives-only clashes with raw strings Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: thiago at kde dot org Target Milestone: --- Source: $ cat test.cpp extern const char str[] =3D R"(=20 #define FOO 1 #NOSORT )"; Compiles just fine: $ g++ -c test.cpp; echo $?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 0 Preprocessed output looks correct: $ g++ -E test.cpp=20=20=20=20=20=20=20=20=20 # 1 "test.cpp" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "test.cpp" extern const char str[] =3D R"(=20 #define FOO 1 #NOSORT )"; But in the presence of -fdirectives-only (which icecream uses), it produces= an error and incorrectly preprocesses: $ g++ -E -fdirectives-only test.cpp | tail -5 test.cpp:3:2: error: invalid preprocessing directive #NOSORT #NOSORT ^~~~~~ # 1 "test.cpp" extern const char str[] =3D R"(=20 #define FOO 1 )"; According to strace, cc1plus is the preprocessor, not /lib/cpp. >>From gcc-bugs-return-625712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 22:31:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126276 invoked by alias); 12 Dec 2018 22:31: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 126173 invoked by uid 48); 12 Dec 2018 22:31:20 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88347] ICE in begin_move_insn, at sched-ebb.c:175 Date: Wed, 12 Dec 2018 22:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 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: 2018-12/txt/msg01828.txt.bz2 Content-length: 1305 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88347 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-12 CC| |segher at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Segher Boessenkool --- Confirmed. We here have an unconditional branch that is not followed by a barrier: first there is a label and a jump table, after *that* is the barrier. Is this correct RTL? If so, =3D=3D=3D diff --git a/gcc/sched-ebb.c b/gcc/sched-ebb.c index 49ae286..566cb24 100644 --- a/gcc/sched-ebb.c +++ b/gcc/sched-ebb.c @@ -172,7 +172,11 @@ begin_move_insn (rtx_insn *insn, rtx_insn *last) if (e) gcc_checking_assert (NOTE_P (x) || LABEL_P (x)); else - gcc_checking_assert (BARRIER_P (x)); + { + if (LABEL_P (x) && JUMP_TABLE_DATA_P (NEXT_INSN (x))) + x =3D NEXT_INSN (NEXT_INSN (x)); + gcc_checking_assert (BARRIER_P (x)); + } } if (e) =3D=3D=3D fixes it. >>From gcc-bugs-return-625713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 22:41:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106761 invoked by alias); 12 Dec 2018 22:41:31 -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 100126 invoked by uid 48); 12 Dec 2018 22:41:27 -0000 From: "denin at mail dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/52869] [DR 1207] "this" not being allowed in noexcept clauses Date: Wed, 12 Dec 2018 22:41: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.7.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: denin at mail dot ru X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek 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: 2018-12/txt/msg01829.txt.bz2 Content-length: 561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52869 --- Comment #16 from denin at mail dot ru --- (In reply to Marek Polacek from comment #14) > This is actually another problem, one that is tracked in PR86476. Hmm. $ cat wat.cpp=20 struct Omg { void f() {} void g() noexcept(noexcept(f())) {} }; $ g++ wat.cpp=20 wat.cpp:3:31: error: cannot call member function =E2=80=98void Omg::f()=E2= =80=99 without object void g() noexcept(noexcept(f())) {} ^ $ g++ -v |& grep version gcc version 8.2.1 20181127 (GCC) >>From gcc-bugs-return-625714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 22:47:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113924 invoked by alias); 12 Dec 2018 22:47:54 -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 108215 invoked by uid 48); 12 Dec 2018 22:47:50 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88476] New: Optimize expressions which uses vector, mask and general purpose registers Date: Wed, 12 Dec 2018 22:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla@poradnik-webmastera.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 Message-ID: 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: 2018-12/txt/msg01830.txt.bz2 Content-length: 2729 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88476 Bug ID: 88476 Summary: Optimize expressions which uses vector, mask and general purpose registers Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: bugzilla@poradnik-webmastera.com Target Milestone: --- I was playing with Compiler Explorer to see how compilers can optimize vari= ous pieces of code. I found next version of clang (version 8.0.0 (trunk 348905)) can optimize expressions which uses vector, mask and general purpose regist= ers. Such approach opens new optimization possibilities. Here are two example functions which demonstrates this: [code] #include void test1(void* data1, void* data2) { __m128i v1 =3D _mm_load_si128((__m128i const*)data1); __m128i v2 =3D _mm_load_si128((__m128i const*)data2); __mmask8 m1 =3D _mm_testn_epi16_mask(v1, v1); __mmask8 m2 =3D _mm_testn_epi16_mask(v2, v2); __mmask8 m =3D (m1 | 3) & (m2 | 3); v1 =3D _mm_maskz_add_epi16(m, v1, v2); _mm_store_si128((__m128i*)data2, v1); } void test2(void* data1, void* data2) { __m128i v1 =3D _mm_load_si128((__m128i const*)data1); __m128i v2 =3D _mm_load_si128((__m128i const*)data2); __mmask8 m1 =3D _mm_testn_epi16_mask(v1, v1); __mmask8 m2 =3D _mm_testn_epi16_mask(v2, v2); m1 =3D _kor_mask8(m1, 3); m2 =3D _kor_mask8(m2, 3); __mmask8 m =3D _kand_mask8(m1, m2); v1 =3D _mm_maskz_add_epi16(m, v1, v2); _mm_store_si128((__m128i*)data2, v1); } [/code] When compiled using clang with -O3 -march=3Dskylake-avx512, both are optimi= zed to the same code: [asm] test(void*, void*): # @test(void*, void*) vmovdqa xmm0, xmmword ptr [rdi] vmovdqa xmm1, xmmword ptr [rsi] vpor xmm2, xmm1, xmm0 vptestnmw k0, xmm2, xmm2 mov al, 3 kmovd k1, eax korb k1, k0, k1 vpaddw xmm0 {k1} {z}, xmm1, xmm0 vmovdqa xmmword ptr [rsi], xmm0 ret [/asm] gcc 9.0.0 20181211 (experimental) produces this: [asm] test1(void*, void*): vmovdqa64 xmm1, XMMWORD PTR [rsi] vmovdqa64 xmm0, XMMWORD PTR [rdi] vptestnmw k1, xmm1, xmm1 vptestnmw k2{k1}, xmm0, xmm0 kmovb eax, k2 or eax, 3 kmovb k3, eax vpaddw xmm0{k3}{z}, xmm0, xmm1 vmovaps XMMWORD PTR [rsi], xmm0 ret test2(void*, void*): vmovdqa64 xmm0, XMMWORD PTR [rdi] vmovdqa64 xmm1, XMMWORD PTR [rsi] vptestnmw k1, xmm0, xmm0 vptestnmw k3, xmm1, xmm1 mov eax, 3 kmovb k2, eax korb k1, k1, k2 korb k0, k3, k2 kandb k1, k1, k0 vpaddw xmm0{k1}{z}, xmm0, xmm1 vmovaps XMMWORD PTR [rsi], xmm0 ret [/asm] >>From gcc-bugs-return-625715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 22:49:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95484 invoked by alias); 12 Dec 2018 22:49: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 94642 invoked by uid 48); 12 Dec 2018 22:49:30 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/52869] [DR 1207] "this" not being allowed in noexcept clauses Date: Wed, 12 Dec 2018 22:49: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.7.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek 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: 2018-12/txt/msg01831.txt.bz2 Content-length: 727 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52869 --- Comment #17 from Marek Polacek --- (In reply to denin from comment #16) > (In reply to Marek Polacek from comment #14) > > This is actually another problem, one that is tracked in PR86476. >=20 > Hmm. >=20 > $ cat wat.cpp=20 > struct Omg { > void f() {} > void g() noexcept(noexcept(f())) {} > }; > $ g++ wat.cpp=20 > wat.cpp:3:31: error: cannot call member function =E2=80=98void Omg::f()= =E2=80=99 without > object > void g() noexcept(noexcept(f())) {} > ^ > $ g++ -v |& grep version > gcc version 8.2.1 20181127 (GCC) This is what the commit in Comment 10 fixed; it has only been fixed for GCC= 9. >>From gcc-bugs-return-625716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 22:50:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125869 invoked by alias); 12 Dec 2018 22:50:12 -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 118129 invoked by uid 55); 12 Dec 2018 22:50:07 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88463] Rejects conforming source, OpenMP Parallel region Default(None) reference to module parameter array, separate source Date: Wed, 12 Dec 2018 22:50: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: 8.2.1 X-Bugzilla-Keywords: openmp, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub 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: 2018-12/txt/msg01832.txt.bz2 Content-length: 785 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88463 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Wed Dec 12 22:49:35 2018 New Revision: 267069 URL: https://gcc.gnu.org/viewcvs?rev=3D267069&root=3Dgcc&view=3Drev Log: PR fortran/88463 * trans-openmp.c (gfc_omp_predetermined_sharing): Handle TREE_READO= NLY VAR_DECLs with DECL_EXTERNAL like those with TREE_STATIC. * testsuite/libgomp.fortran/pr88463-1.f90: New test. * testsuite/libgomp.fortran/pr88463-2.f90: New test. Added: trunk/libgomp/testsuite/libgomp.fortran/pr88463-1.f90 trunk/libgomp/testsuite/libgomp.fortran/pr88463-2.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-openmp.c trunk/libgomp/ChangeLog >>From gcc-bugs-return-625717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 22:51:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83902 invoked by alias); 12 Dec 2018 22:51:20 -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 76716 invoked by uid 48); 12 Dec 2018 22:51:16 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88213] ICE in change_address_1, at emit-rtl.c:2286 Date: Wed, 12 Dec 2018 22:51: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: cf_gcctarget 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: 2018-12/txt/msg01833.txt.bz2 Content-length: 477 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88213 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Target|powerpc-*-linux-gnu |powerpc*-*-* CC| |segher at gcc dot gnu.org --- Comment #1 from Segher Boessenkool --- This builds fine for me. >>From gcc-bugs-return-625718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 22:52:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58190 invoked by alias); 12 Dec 2018 22:52:40 -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 51337 invoked by uid 48); 12 Dec 2018 22:52:35 -0000 From: "patrick at motec dot com.au" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88456] __atomic_compare_exchange implementation inconsistently used Date: Wed, 12 Dec 2018 22:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: patrick at motec dot com.au 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: 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: 2018-12/txt/msg01834.txt.bz2 Content-length: 1326 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88456 --- Comment #3 from Patrick Oppenlander --- (In reply to joseph@codesourcery.com from comment #2) > If the call is one GCC can't expand on its own (atomic operations on larg= e=20 > objects needing locks, architecture lacks required atomic operation=20 > instructions, etc.), it would be reasonable for GCC to inline a definitio= n=20 > to which it would otherwise generate an out-of-line call. What you describe is the current behaviour when using LTO. gcc happily inli= nes the implementations of atomic library functions for which it can't expand builtins. For context, I came across this problem while implementing atomic support on ARM Cortex-M0. Cortex-M0 doesn't support load/store-exclusive so a full sui= te of functions must be provided. I then built the same project targeting Cortex-M4 for which the Cortex-M0 implementations are not optimal, but should still work. However, the result= ant binary used gcc provided builtins in some places and my Cortex-M0 implementations in others. I think it needs to be consistently one way or the other, or fail to build = in this situation. Personally, I like the concept of being able to provide external implementations, especially when considering bare-metal embedded programmin= g. >>From gcc-bugs-return-625719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 22:56:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19291 invoked by alias); 12 Dec 2018 22:56:54 -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 16619 invoked by uid 48); 12 Dec 2018 22:56:50 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88473] AVX512: constant folding on mask does not remove unnecessary instructions Date: Wed, 12 Dec 2018 22:56: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla@poradnik-webmastera.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: 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: 2018-12/txt/msg01835.txt.bz2 Content-length: 930 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88473 --- Comment #2 from Daniel Fruzynski --- I was playing with Compiler Explorer, to see how compilers optimize various pieces of code. I found that next clang version (currently trunk) will be a= ble to analyze expressions which spans over vectors, masks and GPRs. I logged B= ug 88476 to do something similar in gcc, please take a look. I think such appr= oach as in clang would be more beneficial. In the past I also thought about template-based library, which would wrap vector operations. One of unique concepts was to create separate types to h= old vector with bool values, and another one for int masks. With lazy instantia= tion this should lead to faster resulting code. I did not try to write it yet, b= ut overall this approach look promising for me. With it such cases as in this = bug can=20 appear as a side effect of inlining. >>From gcc-bugs-return-625720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 22:59:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59872 invoked by alias); 12 Dec 2018 22:59: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 59798 invoked by uid 48); 12 Dec 2018 22:59:00 -0000 From: "anders.granlund.0 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88477] New: Variable with type completed in initializer not allowed. Date: Wed, 12 Dec 2018 22:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anders.granlund.0 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 Message-ID: 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: 2018-12/txt/msg01836.txt.bz2 Content-length: 912 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88477 Bug ID: 88477 Summary: Variable with type completed in initializer not allowed. Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anders.granlund.0 at gmail dot com Target Milestone: --- Consider the following program (prog.c): int main() { struct S s =3D (struct S { int x; }) { .x =3D 1 }; } The type of s is completed in the initializer, so this should be legit. I get an unexpected error however when compiling with the following command line: gcc prog.c -std=3Dc11 -pedantic-errors=20 Note that clang compiles this program without any errors. Link to online compiler: https://wandbox.org/permlink/WyMDk6tDyTwORPVp >>From gcc-bugs-return-625721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 23:15:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83018 invoked by alias); 12 Dec 2018 23:15: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 82658 invoked by uid 48); 12 Dec 2018 23:15:28 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88467] Silently accepts wrong array constructor Date: Wed, 12 Dec 2018 23:15: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: --- 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: 2018-12/txt/msg01837.txt.bz2 Content-length: 963 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88467 --- Comment #4 from kargl at gcc dot gnu.org --- (In reply to kargl from comment #3) > See pr88116 for a description of what appears to be happening. So, in array.c (gfc_match_array_constructor), we have this=20 bit of code /* Walk the constructor and ensure type conversion for numeric types.= */ if (gfc_numeric_ts (&ts)) { c =3D gfc_constructor_first (head); for (; c; c =3D gfc_constructor_next (c)) gfc_convert_type (c->expr, &ts, 1); } For a failing example of "[integer :: 1, [integer(8) :: '3', 4]]", ts is integer. The first constructor element is 1 and it has an EXPR_CONSTANT type and integer type. The next constructor has EXPR_ARRAY and the type for the array is integer(8). A conversion=20 is applied to array. What I haven't determined yet is why gfc_match_array_constructor is called recursively or does reach=20 the walk. >>From gcc-bugs-return-625722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 23:31:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33178 invoked by alias); 12 Dec 2018 23:31: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 33040 invoked by uid 48); 12 Dec 2018 23:30:53 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87096] "Optimised" snprintf is not POSIX conformant Date: Wed, 12 Dec 2018 23:31: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: 6.4.0 X-Bugzilla-Keywords: patch, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords component 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: 2018-12/txt/msg01838.txt.bz2 Content-length: 496 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87096 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Component|rtl-optimization |tree-optimization --- Comment #11 from Martin Sebor --- GCC 9 patch: https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00886.html >>From gcc-bugs-return-625723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 12 23:46:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104359 invoked by alias); 12 Dec 2018 23:46:21 -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 98404 invoked by uid 48); 12 Dec 2018 23:45:42 -0000 From: "stefanrin at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88469] Unaligned stack access on arm (in particular armv5) Date: Wed, 12 Dec 2018 23:46: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: stefanrin at gmail dot com X-Bugzilla-Status: WAITING 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: attachments.created 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: 2018-12/txt/msg01839.txt.bz2 Content-length: 728 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88469 --- Comment #2 from Stefan Ring --- Created attachment 45222 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45222&action=3Dedit Preprocessed sample g++ -c -O2 -x c++ prep produces the shown code. $ g++ -v Using built-in specs. COLLECT_GCC=3D/home/sr/gcc8/bin/g++ COLLECT_LTO_WRAPPER=3D/home/sr/gcc8/libexec/gcc/armv5tel-unknown-linux-gnue= abi/8.2.0/lto-wrapper Target: armv5tel-unknown-linux-gnueabi Configured with: ../gcc-8.2.0/configure --build=3Darmv5tel-unknown-linux-gn= ueabi --prefix=3D/home/sr/gcc8 --enable-languages=3Dc,c++ --with-arch=3Darmv5te --with-mode=3Darm --disable-nls Thread model: posix gcc version 8.2.0 (GCC) >>From gcc-bugs-return-625724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 00:12:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88155 invoked by alias); 13 Dec 2018 00:12: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88110 invoked by uid 48); 13 Dec 2018 00:12:24 -0000 From: "xerofoify at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88395] ICE: Segmentation fault signal terminated program cc1plus, with -std=c++2a -fconcepts Date: Thu, 13 Dec 2018 00:12: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: xerofoify 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: 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: 2018-12/txt/msg01840.txt.bz2 Content-length: 1881 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88395 nik changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xerofoify at gmail dot com --- Comment #1 from nik --- (In reply to Emmanuel Le Trong from comment #0) > Both trunk and 8.2.1 segfault on this valid snippet >=20 > $ cat bug_4.cpp > template > concept bool Concept2 =3D requires (T t, U u) > { > { t +=3D u } -> T&; > }; >=20=20=20=20=20 > template > concept bool Concept =3D Concept2 ; >=20=20=20=20=20 > struct S > { > template > constexpr S& operator +=3D (T o); > }; > constexpr S operator * (S a, S b) > { > return a +=3D b; > } >=20 >=20 >=20 > $ g++-9 -std=3Dc++2a -fconcepts -c bug_4.cpp > g++-9: internal compiler error: Segmentation fault signal terminated prog= ram > cc1plus > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. >=20 > $ g++-9 -v > Using built-in specs. > COLLECT_GCC=3Dg++-9 > COLLECT_LTO_WRAPPER=3D/home/manu/system/opt/gcc-9/libexec/gcc/x86_64-pc-l= inux- > gnu/9.0.0/lto-wrapper > Target: x86_64-pc-linux-gnu > Configured with: ../gcc-9/configure --prefix=3D/home/manu/system/opt/gcc-9 > --program-suffix=3D-9 > Thread model: posix > gcc version 9.0.0 20181204 (experimental) (GCC) First off that's just a valid snippet without a class definition so I was unable to build it against gcc itself to even check this is a bug. Further = more can you check this is still happening and if so just report back with the e= xact code that builds but is giving you a segfault on the trunk branch. >>From gcc-bugs-return-625725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 00:50:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90485 invoked by alias); 13 Dec 2018 00:50: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90425 invoked by uid 55); 13 Dec 2018 00:50:54 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88477] Variable with type completed in initializer not allowed. Date: Thu, 13 Dec 2018 00:50: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery 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: 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: 2018-12/txt/msg01841.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88477 --- Comment #1 from joseph at codesourcery dot com --- I'd argue that the constraint "The type of the entity to be initialized=20 shall be an array of unknown size or a complete object type that is not a=20 variable length array type." must be understood to refer to the type=20 before the initializer (because the case of an array of unknown size only=20 applies before the initializer, not after it). >>From gcc-bugs-return-625726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 03:08:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95105 invoked by alias); 13 Dec 2018 03:08:13 -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 95011 invoked by uid 48); 13 Dec 2018 03:08:08 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/44313] g++ no longer warns about private copy constructors Date: Thu, 13 Dec 2018 03:08: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.6.0 X-Bugzilla-Keywords: diagnostic, documentation X-Bugzilla-Severity: minor X-Bugzilla-Who: egallager 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: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01842.txt.bz2 Content-length: 1483 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D44313 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-13 Ever confirmed|0 |1 --- Comment #5 from Eric Gallager --- (In reply to Ian Lance Taylor from comment #0) > Our very own web page has a C++ FAQ about requires that a copy constructor > be visible when initializing a const reference: > http://gcc.gnu.org/bugs/#cxx_rvalbind >=20 > However, current versions of gcc do not give an error for that code, even > when using -pedantic -std=3Dc++98. The last version of gcc to give the e= rror > was gcc 4.2. This seems ironic considering that we say "most popular > compilers do not correctly implement this rule." >=20 > I think we should give that error when -pedantic. Confirmed that there is still no error: $ cat 44313.cc=20 class A { public: A(); private: A(const A&); // private copy ctor }; A makeA(void); void foo(const A&); void bar(void) { foo(A()); // error, copy ctor is not accessible foo(makeA()); // error, copy ctor is not accessible A a1; foo(a1); // OK, a1 is a lvalue } $ /usr/local/bin/gcc -c -Wall -Wextra -pedantic -Weffc++ -std=3Dc++98 44313= .cc $ (silence) >>From gcc-bugs-return-625727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 05:55:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105705 invoked by alias); 13 Dec 2018 05:55:50 -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 98598 invoked by uid 48); 13 Dec 2018 05:55:46 -0000 From: "hoganmeier at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/38658] trivial try/catch statement not eliminated Date: Thu, 13 Dec 2018 05:55: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.3.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: hoganmeier at gmail dot com 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: 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: 2018-12/txt/msg01843.txt.bz2 Content-length: 397 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D38658 krux changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hoganmeier at gmail dot com --- Comment #5 from krux --- https://godbolt.org/z/rnDy8l >>From gcc-bugs-return-625728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 07:12:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111633 invoked by alias); 13 Dec 2018 07:12:22 -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 111600 invoked by uid 48); 13 Dec 2018 07:12:18 -0000 From: "sbence92 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/88450] ICE in stage 2 compiler while configuring libgcc Date: Thu, 13 Dec 2018 07:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: sbence92 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: 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: 2018-12/txt/msg01844.txt.bz2 Content-length: 317 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88450 --- Comment #2 from Bence Szab=C3=B3 --- Bisected, problem starts at r266345 ([PATCH][PR84877]Dynamically align the address for local parameter copy on the stack when required alignment is la= rger than MAX_SUPPORTED_STACK_ALIGNMEN). >>From gcc-bugs-return-625729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 07:58:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115764 invoked by alias); 13 Dec 2018 07:58:40 -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 115677 invoked by uid 48); 13 Dec 2018 07:58:36 -0000 From: "anders.granlund.0 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88477] Variable with type completed in initializer not allowed. Date: Thu, 13 Dec 2018 07:58: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anders.granlund.0 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: 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: 2018-12/txt/msg01845.txt.bz2 Content-length: 306 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88477 --- Comment #2 from Anders Granlund --- To what part of the standard are you refering to? This is what I found and it allows the given program: C11 standard 6.7.7: https://port70.net/~nsz/c/c11/n1570.html#6.7p7 >>From gcc-bugs-return-625730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 07:59:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117102 invoked by alias); 13 Dec 2018 07:59:19 -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 117052 invoked by uid 55); 13 Dec 2018 07:59:14 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88461] AVX512: gcc should keep value in kN registers if possible Date: Thu, 13 Dec 2018 07:59: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01846.txt.bz2 Content-length: 506 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88461 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Thu Dec 13 07:58:42 2018 New Revision: 267076 URL: https://gcc.gnu.org/viewcvs?rev=3D267076&root=3Dgcc&view=3Drev Log: PR target/88461 * config/i386/i386.md (*zero_extendsidi2, zero_extenddi2, *zero_extendsi2, *zero_extendqihi2): Add =3D*k, *km alternati= ves. Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.md >>From gcc-bugs-return-625731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 08:01:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121498 invoked by alias); 13 Dec 2018 08:01:39 -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 120786 invoked by uid 55); 13 Dec 2018 08:01:32 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88461] AVX512: gcc should keep value in kN registers if possible Date: Thu, 13 Dec 2018 08:01: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01847.txt.bz2 Content-length: 1078 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88461 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Thu Dec 13 08:00:42 2018 New Revision: 267077 URL: https://gcc.gnu.org/viewcvs?rev=3D267077&root=3Dgcc&view=3Drev Log: PR target/88461 * config/i386/sse.md (VI1248_AVX512VLBW, AVX512ZEXTMASK): New mode iterators. (_testm3, _testnm3): Merge patterns with VI12_AVX512VL and VI48_AVX512VL iterators into ones with VI1248_AVX512VLBW iterator. (*_testm3_zext, *_testm3_zext_mask, *_testnm3_zext, *_testnm3_zext_mask): New define_insns. * gcc.target/i386/pr88461.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr88461.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/sse.md trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 08:08:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6935 invoked by alias); 13 Dec 2018 08:08:58 -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 6805 invoked by uid 55); 13 Dec 2018 08:08:55 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88465] AVX512: optimize loading of constant values to kN registers Date: Thu, 13 Dec 2018 08:08: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01848.txt.bz2 Content-length: 824 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88465 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Thu Dec 13 08:08:22 2018 New Revision: 267078 URL: https://gcc.gnu.org/viewcvs?rev=3D267078&root=3Dgcc&view=3Drev Log: PR target/88465 * config/i386/i386.md (*movdi_internal, *movsi_internal, *movhi_internal, *movqi_internal): Add alternative(s) to load 0 or -1 into k registers using kxor or kxnoq instructions. * gcc.target/i386/avx512f-pr88465.c: New test. * gcc.target/i386/avx512dq-pr88465.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/avx512dq-pr88465.c trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88465.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.md trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 08:09:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14038 invoked by alias); 13 Dec 2018 08:09:50 -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 13978 invoked by uid 48); 13 Dec 2018 08:09:45 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88461] AVX512: gcc should keep value in kN registers if possible Date: Thu, 13 Dec 2018 08:09: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 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: 2018-12/txt/msg01849.txt.bz2 Content-length: 443 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88461 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #9 from Jakub Jelinek --- Fixed for GCC 9 and later. >>From gcc-bugs-return-625734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 08:10:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15527 invoked by alias); 13 Dec 2018 08:10:46 -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 15433 invoked by uid 48); 13 Dec 2018 08:10:42 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88465] AVX512: optimize loading of constant values to kN registers Date: Thu, 13 Dec 2018 08:10: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 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: 2018-12/txt/msg01850.txt.bz2 Content-length: 443 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88465 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jakub Jelinek --- Fixed for GCC 9 and later. >>From gcc-bugs-return-625735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 08:32:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52093 invoked by alias); 13 Dec 2018 08:32: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 52001 invoked by uid 48); 13 Dec 2018 08:32:33 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88470] [7/8/9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2354 Date: Thu, 13 Dec 2018 08:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc 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: 2018-12/txt/msg01851.txt.bz2 Content-length: 911 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88470 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-13 CC| |jakub at gcc dot gnu.org, | |segher at gcc dot gnu.org Target Milestone|--- |7.5 Summary|[9 Regression] ICE in |[7/8/9 Regression] ICE in |maybe_record_trace_start, |maybe_record_trace_start, |at dwarf2cfi.c:2354 |at dwarf2cfi.c:2354 Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Started with r227775. >>From gcc-bugs-return-625736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 09:07:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52471 invoked by alias); 13 Dec 2018 09:07:16 -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 49954 invoked by uid 48); 13 Dec 2018 09:07:11 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88470] [7/8/9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2354 Date: Thu, 13 Dec 2018 09:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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.5 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: 2018-12/txt/msg01852.txt.bz2 Content-length: 3140 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88470 --- Comment #2 from Jakub Jelinek --- So, we have in *.csa still correct: (note 6 1 4 2 [bb 2] NOTE_INSN_BASIC_BLOCK) (note 4 6 11 2 NOTE_INSN_FUNCTION_BEG) (insn 11 4 12 2 (set (reg:CCNO 17 flags) (compare:CCNO (reg:DI 5 di [orig:91 x ] [91]) (const_int 0 [0]))) "pr88470.c":9:3 8 {*cmpdi_ccno_1} (nil)) (jump_insn 12 11 33 2 (set (pc) (if_then_else (le (reg:CCNO 17 flags) (const_int 0 [0])) (label_ref:DI 62) (pc))) "pr88470.c":9:3 657 {*jcc} (expr_list:REG_DEAD (reg:CCNO 17 flags) (int_list:REG_BR_PROB 7 (nil))) -> 62) ... // prologue that changes CFA, sp etc. ... (note 27 25 28 6 [bb 6] NOTE_INSN_BASIC_BLOCK) (note 28 27 29 6 NOTE_INSN_DELETED) (jump_insn 29 28 30 6 (set (pc) (mem/f:DI (reg:DI 5 di [97]) [2 *c.2_4+0 S8 A64])) "pr88470.c":15:3= 660 {*indirect_jump} (expr_list:REG_DEAD (reg:DI 5 di [97]) (nil))) ;; succ: ;; lr out 7 [sp] ;; live out 7 [sp] (barrier 30 29 41) (note 41 30 62 NOTE_INSN_DELETED) ;; basic block 7, loop depth 0, count 0 (precise), probably never executed ;; prev block 6, next block 1, flags: (REACHABLE, RTL) ;; pred: 2 [never] count:0 (precise) ;; bb 7 artificial_defs: { } ;; bb 7 artificial_uses: { u-1(7){ }} ;; lr in 5 [di] 7 [sp] ;; lr use 5 [di] 7 [sp] ;; lr def ;; live in 5 [di] 7 [sp] ;; live gen ;; live kill (code_label 62 41 59 7 6 (nil) [1 uses]) (note 59 62 58 7 [bb 7] NOTE_INSN_BASIC_BLOCK) (jump_insn 58 59 61 7 (set (pc) (mem/f:DI (reg:DI 5 di [97]) [2 *c.2_4+0 S8 A64])) "pr88470.c":15:3= 660 {*indirect_jump} (expr_list:REG_DEAD (reg:DI 5 di [97]) (nil))) where bb6 is reachable from within the body of the function where the post-prologue CFI state is in effect, and bb7 which is reachable from the start of the function before the prolog= ue, where a different CFI state is in effect. During jump2 pass we decide to crossjump this and turn it into invalid IL. Now, it is completely unclear what should have prevented this, if the crossjumping needs to compute the CFI state to figure this out it would be = bad. The problem here is that because of the UB in the testcase those basic bloc= ks have no successors. In outgoing_edges_match we have: /* If we performed shrink-wrapping, edges to the exit block can only be distinguished for JUMP_INSNs. The two paths may differ in whether they went through the prologue. Sibcalls are fine, we know that we either didn't need or inserted an epilogue before them. */ if (crtl->shrink_wrapped && single_succ_p (bb1) && single_succ (bb1) =3D=3D EXIT_BLOCK_PTR_FOR_FN (cfun) && !JUMP_P (BB_END (bb1)) && !(CALL_P (BB_END (bb1)) && SIBLING_CALL_P (BB_END (bb1)))) return false; That has been introduced in r179553, more details in https://gcc.gnu.org/ml/gcc-patches/2011-09/msg00775.html Maybe we need to do something similar for this case (crtl->shrink_wrapped && EDGE_COUNT (bb1->succs) =3D=3D 0 && JUMP_P (BB_END (bb1))? >>From gcc-bugs-return-625737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 09:23:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22191 invoked by alias); 13 Dec 2018 09:23: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 22089 invoked by uid 48); 13 Dec 2018 09:23:49 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88470] [7/8/9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2354 Date: Thu, 13 Dec 2018 09:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created 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: 2018-12/txt/msg01853.txt.bz2 Content-length: 726 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88470 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #3 from Jakub Jelinek --- Created attachment 45223 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45223&action=3Dedit gcc9-pr88470.patch Actually, this indirect jump has a successor - EXIT. So perhaps this inste= ad? I can gather some statistics on how often such a change would make a difference. >>From gcc-bugs-return-625738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 09:28:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44175 invoked by alias); 13 Dec 2018 09:28:22 -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 44117 invoked by uid 48); 13 Dec 2018 09:28:18 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/83127] Missing overload for operator << of std::stringstream for old ABI Date: Thu, 13 Dec 2018 09:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME 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 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: 2018-12/txt/msg01854.txt.bz2 Content-length: 827 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83127 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |WORKSFORME --- Comment #4 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > What is void Main(void) ? Is this using mingw or something? >=20 > Please provide the missing information as requested by > https://gcc.gnu.org/bugs The requested information was not provided, and this works fine for me on mingw-w64 using gcc version 7.3.0 20180125 (Fedora MinGW 7.3.0-1.fc28) (GCC)=20 and gcc version 9.0.0 20181212 (experimental) (GCC) >>From gcc-bugs-return-625739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 09:40:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23890 invoked by alias); 13 Dec 2018 09:40: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 23498 invoked by uid 48); 13 Dec 2018 09:40:31 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88041] gdc.test tests should include that prefix in test names Date: Thu, 13 Dec 2018 09:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status bug_file_loc cf_reconfirmed_on assigned_to target_milestone 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: 2018-12/txt/msg01855.txt.bz2 Content-length: 821 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88041 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED URL| |https://gcc.gnu.org/ml/gcc- | |patches/2018-12/msg00903.ht | |ml Last reconfirmed| |2018-12-13 Assignee|unassigned at gcc dot gnu.org |ro at gcc dot gnu.o= rg Target Milestone|--- |9.0 Ever confirmed|0 |1 --- Comment #2 from Rainer Orth --- Mine, patch posted. >>From gcc-bugs-return-625740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 09:41:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25084 invoked by alias); 13 Dec 2018 09:41:09 -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 24956 invoked by uid 48); 13 Dec 2018 09:41:04 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/44313] g++ no longer warns about private copy constructors Date: Thu, 13 Dec 2018 09:41: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.6.0 X-Bugzilla-Keywords: diagnostic, documentation X-Bugzilla-Severity: minor X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 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: 2018-12/txt/msg01856.txt.bz2 Content-length: 920 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D44313 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #6 from Jonathan Wakely --- (In reply to Ian Lance Taylor from comment #1) > This was addressed as a DR by the C++ committee: > http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#391 . And of > course the proposed C++0x standard removes this error. So gcc should only > give an error with -std=3Dc++98 -pedantic. This is low priority. Our policy is to implement defect report resolutions in all dialects they a= pply to. We don't implement a buggy standard even if you say -std=3Dc++98 -pedan= tic. So not a bug. >>From gcc-bugs-return-625741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 09:57:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53297 invoked by alias); 13 Dec 2018 09:57:31 -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 53208 invoked by uid 48); 13 Dec 2018 09:57:27 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88454] [9 regression] test case gcc.dg/tree-ssa/split-path-5.c fails after r266971 Date: Thu, 13 Dec 2018 09:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status bug_file_loc cf_reconfirmed_on assigned_to 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: 2018-12/txt/msg01857.txt.bz2 Content-length: 695 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88454 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED URL| |https://gcc.gnu.org/ml/gcc- | |patches/2018-12/msg00898.ht | |ml Last reconfirmed| |2018-12-13 Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org Ever confirmed|0 |1 >>From gcc-bugs-return-625742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 10:01:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57712 invoked by alias); 13 Dec 2018 10:00:56 -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 57440 invoked by uid 48); 13 Dec 2018 10:00:40 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88478] New: valgrind error in cselib_record_sets Date: Thu, 13 Dec 2018 10:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail 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 Message-ID: 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: 2018-12/txt/msg01858.txt.bz2 Content-length: 1563 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88478 Bug ID: 88478 Summary: valgrind error in cselib_record_sets Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For this C++ code: struct a { bool b; int second; template < typename c, typename d > a(c, d) {} }; enum f {}g; a h() { return a(false, g); } compiled by a valgrind version of recent gcc trunk and compiler flag -O2, does this: $ ~/gcc/results/bin/gcc -c -O2 bug490.cc =3D=3D9146=3D=3D Conditional jump or move depends on uninitialised value(s) =3D=3D9146=3D=3D at 0x823414: cselib_record_sets(rtx_insn*) (cselib.c:26= 19) =3D=3D9146=3D=3D by 0x82581F: cselib_process_insn(rtx_insn*) (cselib.c:2= 791) =3D=3D9146=3D=3D by 0x12903FF: dse_step1 (dse.c:2660) =3D=3D9146=3D=3D by 0x12903FF: rest_of_handle_dse (dse.c:3576) $ ~/gcc/results/bin/gcc -v Using built-in specs. COLLECT_GCC=3D/home/dcb/gcc/results/bin/gcc COLLECT_LTO_WRAPPER=3D/home/dcb/gcc/results.267000.valgrind/libexec/gcc/x86= _64-pc-linux-gnu/9.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../trunk/configure --prefix=3D/home/dcb/gcc/results.267000.valgrind --disable-bootstrap --disable-multilib --disable-werror --enable-checking=3Dvalgrind --enable-languages=3Dc,c++,fortran Thread model: posix gcc version 9.0.0 20181211 (experimental) (GCC)=20 $ >>From gcc-bugs-return-625743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 10:07:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89605 invoked by alias); 13 Dec 2018 10:07: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 87165 invoked by uid 48); 13 Dec 2018 10:06:57 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88420] Fortran OpenACC "Clause SEQ conflicts with INDEPENDENT" Date: Thu, 13 Dec 2018 10:07: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: 9.0 X-Bugzilla-Keywords: openacc, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01859.txt.bz2 Content-length: 528 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88420 Thomas Schwinge changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |ASSIGNED --- Comment #3 from Thomas Schwinge --- (In reply to Dominique d'Humieres from comment #2) > Shouldn't this PR be closed as FIXED? No, this will need to be fixed in other release branches, too. >>From gcc-bugs-return-625744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 10:31:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67650 invoked by alias); 13 Dec 2018 10:31:19 -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 54360 invoked by uid 48); 13 Dec 2018 10:31:14 -0000 From: "emmanuel.le-trong@cnrs-orleans.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88395] ICE: Segmentation fault signal terminated program cc1plus, with -std=c++2a -fconcepts Date: Thu, 13 Dec 2018 10:31: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: emmanuel.le-trong@cnrs-orleans.fr 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: 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: 2018-12/txt/msg01860.txt.bz2 Content-length: 658 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88395 --- Comment #2 from Emmanuel Le Trong -= -- (In reply to Nicholas Krause from comment #1) > First off that's just a valid snippet without a class definition so I was > unable to build it against gcc itself to even check this is a bug. Further > more can you check this is still happening and if so just report back with > the exact code that builds but is giving you a segfault on the trunk bran= ch. I'm sorry I don't understand your requests. The compilation of this small p= iece of code causes the compiler (trunk 20181213) to crash, without further information. >>From gcc-bugs-return-625745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 10:33:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86853 invoked by alias); 13 Dec 2018 10:33:20 -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 86676 invoked by uid 48); 13 Dec 2018 10:33:14 -0000 From: "vincent-gcc at vinc17 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/88479] New: sanitizer should provide an option to detect conversion to signed integer that overflows Date: Thu, 13 Dec 2018 10:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vincent-gcc at vinc17 dot net 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 cc target_milestone Message-ID: 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: 2018-12/txt/msg01861.txt.bz2 Content-length: 1801 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88479 Bug ID: 88479 Summary: sanitizer should provide an option to detect conversion to signed integer that overflows Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: vincent-gcc at vinc17 dot net CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxi= n at gcc dot gnu.org Target Milestone: --- The sanitizer should provide an option to detect the case where a conversio= n of an integer to a signed integer overflows, whose behavior is implementation-defined (thus not caught by -fsanitize=3Dundefined) accordin= g to ISO C 6.3.1.3p3. More than for being an implementation-defined behavior, the reason is that = such an overflow may actually be a bug in the program (unnoticed yet, and/or possibly noticeable only on some other platforms where the type sizes would= be different). Such an option would ease bug detection and debugging. Once implemented, the -fsanitize=3Dsigned-integer-overflow description in t= he GCC manual should be updated to mention this new option. It currently says: Note, integer promotion rules must be taken into account. That is, the following is not an overflow: signed char a =3D SCHAR_MAX; a++; as this just yields an overflow when the int SCHAR_MAX+1 is converted back = to signed char (thus this would be detected by this new feature). Note: the addition of a conversion sanitizer has been suggested here: https://gcc.gnu.org/ml/gcc-help/2018-11/msg00078.html >>From gcc-bugs-return-625746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 10:36:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89376 invoked by alias); 13 Dec 2018 10:36:02 -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 89299 invoked by uid 48); 13 Dec 2018 10:35:57 -0000 From: "xerofoify at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88395] ICE: Segmentation fault signal terminated program cc1plus, with -std=c++2a -fconcepts Date: Thu, 13 Dec 2018 10:36: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: xerofoify 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: 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: 2018-12/txt/msg01862.txt.bz2 Content-length: 2108 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88395 --- Comment #3 from Nicholas Krause --- (In reply to Emmanuel Le Trong from comment #2) > (In reply to Nicholas Krause from comment #1) > > First off that's just a valid snippet without a class definition so I w= as > > unable to build it against gcc itself to even check this is a bug. Furt= her > > more can you check this is still happening and if so just report back w= ith > > the exact code that builds but is giving you a segfault on the trunk br= anch. >=20 > I'm sorry I don't understand your requests. The compilation of this small > piece of code causes the compiler (trunk 20181213) to crash, without furt= her > information. test.cpp:2:5: error: =E2=80=98concept=E2=80=99 does not name a type; did yo= u mean =E2=80=98constexpr=E2=80=99? concept bool Concept2 =3D requires (T t, U u) ^~~~~~~ constexpr test.cpp:2:5: note: =E2=80=98concept=E2=80=99 only available with -fconcepts test.cpp:8:5: error: =E2=80=98concept=E2=80=99 does not name a type; did yo= u mean =E2=80=98constexpr=E2=80=99? concept bool Concept =3D Concept2 ; ^~~~~~~ constexpr test.cpp:8:5: note: =E2=80=98concept=E2=80=99 only available with -fconcepts test.cpp:12:19: error: =E2=80=98Concept=E2=80=99 has not been declared template ^~~~~~~ test.cpp:13:35: error: =E2=80=98T=E2=80=99 was not declared in this scope constexpr S& operator +=3D (T o); ^ test.cpp:13:38: error: declaration of =E2=80=98operator+=3D=E2=80=99 as non= -function constexpr S& operator +=3D (T o); ^ test.cpp: In function =E2=80=98constexpr S operator*(S, S)=E2=80=99: test.cpp:17:18: error: no match for =E2=80=98operator+=3D=E2=80=99 (operand= types are =E2=80=98S=E2=80=99 and =E2=80=98S=E2=80=99) return a +=3D b; Is what I am getting because I don't have the class definition. I would like all of the code so that it builds properly and can check against a compiling working program. >>From gcc-bugs-return-625747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 10:49:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78633 invoked by alias); 13 Dec 2018 10:49:30 -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 78372 invoked by uid 48); 13 Dec 2018 10:49:25 -0000 From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/88480] New: libiberty's use of VLAs causing stack overflow Date: Thu, 13 Dec 2018 10:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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: 2018-12/txt/msg01863.txt.bz2 Content-length: 873 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88480 Bug ID: 88480 Summary: libiberty's use of VLAs causing stack overflow Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: tnfchris at gcc dot gnu.org CC: davidledger at live dot com.au Target Milestone: --- Originally reported as a binutils bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D23906 libiberty uses two VLAs when demangling symbols https://github.com/gcc-mirror/gcc/blob/master/libiberty/cp-demangle.c#L4315 These VLAs when linking large C++ code bases with lots of templates cause a stack exhaustion. These should probably just be normal heap allocations so they scale properl= y. >>From gcc-bugs-return-625748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 10:58:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90625 invoked by alias); 13 Dec 2018 10:58:45 -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 90125 invoked by uid 48); 13 Dec 2018 10:58:40 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88470] [7/8/9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2354 Date: Thu, 13 Dec 2018 10:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01864.txt.bz2 Content-length: 256 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88470 --- Comment #4 from Segher Boessenkool --- So the edge is a fake edge? Can you test for that instead, like the code in cfgcleanup.c immediately following this already does? >>From gcc-bugs-return-625749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 11:02:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98243 invoked by alias); 13 Dec 2018 11:02:47 -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 98142 invoked by uid 48); 13 Dec 2018 11:02:43 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88474] Inline built-in hypot for -ffast-math Date: Thu, 13 Dec 2018 11:02: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed attachments.created 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: 2018-12/txt/msg01865.txt.bz2 Content-length: 745 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88474 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-12-13 Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail do= t com Ever confirmed|0 |1 --- Comment #1 from Uro=C5=A1 Bizjak --- Created attachment 45224 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45224&action=3Dedit Proposed patch Patch that implements hypotf and hypot using x87 XFmode arithmetic. >>From gcc-bugs-return-625750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 11:03:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99376 invoked by alias); 13 Dec 2018 11:03:07 -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 99028 invoked by uid 48); 13 Dec 2018 11:02:59 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88470] [7/8/9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2354 Date: Thu, 13 Dec 2018 11:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01866.txt.bz2 Content-length: 388 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88470 --- Comment #5 from Jakub Jelinek --- I've changed that to + && (!JUMP_P (BB_END (bb1)) + /* Punt if the only successor is a fake edge to exit, the jump + must be some weird one. */ + || (single_succ_edge (bb1)->flags & EDGE_FAKE) !=3D 0) shortly after attaching the patch. >>From gcc-bugs-return-625751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 11:18:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14243 invoked by alias); 13 Dec 2018 11:18:03 -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 13000 invoked by uid 48); 13 Dec 2018 11:17:58 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/88450] [9 regression] ICE in stage 2 compiler while configuring libgcc Date: Thu, 13 Dec 2018 11:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: critical X-Bugzilla-Who: ebotcazou 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc cf_gcchost target_milestone short_desc everconfirmed bug_severity 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: 2018-12/txt/msg01867.txt.bz2 Content-length: 933 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88450 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-13 CC| |ebotcazou at gcc dot gnu.o= rg Host|x86_64-w64-mingw32 | Target Milestone|--- |9.0 Summary|ICE in stage 2 compiler |[9 regression] ICE in stage |while configuring libgcc |2 compiler while | |configuring libgcc Ever confirmed|0 |1 Severity|normal |critical --- Comment #3 from Eric Botcazou --- Egad. >>From gcc-bugs-return-625752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 11:19:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32646 invoked by alias); 13 Dec 2018 11:19:43 -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 31762 invoked by uid 48); 13 Dec 2018 11:19:38 -0000 From: "heinrich.seebauer at swistec dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88481] New: -O1 causes optimizer to drop 'then' clause in conditional Date: Thu, 13 Dec 2018 11:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: heinrich.seebauer at swistec dot de 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 Message-ID: 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: 2018-12/txt/msg01868.txt.bz2 Content-length: 4256 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88481 Bug ID: 88481 Summary: -O1 causes optimizer to drop 'then' clause in conditional Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: heinrich.seebauer at swistec dot de Target Milestone: --- Compiling with option -O1 causes the optimizer to drop code for the 'then' branch. Verified for targets gnueabi-linux (host=3Dx86/linux, target=3Darm/linux), and x86 (native) Compilation produces correct results with options -O0, -O2, -O3, -Os. If -O1 options -fdefer-pop=20 -fdelayed-branch=20 -fguess-branch-probability=20 -fcprop-registers=20 -floop-optimize=20 -fif-conversion=20 -fif-conversion2=20 -ftree-ccp=20 -ftree-dce=20 -ftree-dominator-opts=20 -ftree-dse=20 -ftree-ter=20 -ftree-lrs=20 -ftree-sra=20 -ftree-copyrename=20 -ftree-fre=20 -ftree-ch=20 -funit-at-a-time=20 -fmerge-constants are used, the result is correct. However, adding -O1 to this list of options results in the missing code. ------------------------------------------------------------------------- the exact version of GCC: gcc --version gcc (SUSE Linux) 8.2.1 20181108 [gcc-8-branch revision 265914] the options given when GCC was configured/built: unknown the complete command line that triggers the bug: gcc -D_GNU_SOURCE=3D1 -D_POSIX_SOURCE=3D1 -DDEBUG=3D1 -DWITH_MBEDTLS=3D1 -D= TARGET=3DPC -I.././inc -I../modelSource -I../../libiec61850/config -I../../libiec61850/src/logging -I../../libiec61850/src/hal/inc -I../../libiec61850/src/common/inc -I../../libiec61850/src/mms/inc -I../../libiec61850/src/iec61850/inc -I../../libiec61850/src/iec61850/inc_private -I../../libiec61850/src/mms/inc_private -I../../libiec61850/third_party/sql= ite -I../../libiec61850/third_party/mbedtls/include -I../../libiec61850/src/tls -I../../libiec61850/src/tls/mbedtls -I../../libiec61850/src/mms/iso_mms/asn= 1c -O1 -fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations -g -Wal= l -c -fmessage-length=3D0 -MMD -MP -MF"src/runtime/actPow_ggioRt.d" -MT"src/runtime/actPow_ggioRt.o" -o "src/runtime/actPow_ggioRt.o" "../src/runtime/actPow_ggioRt.c" the compiler output (error messages, warnings, etc.): gcc -D_GNU_SOURCE=3D1 -D_POSIX_SOURCE=3D1 -DDEBUG=3D1 -DWITH_MBEDTLS=3D1 -D= TARGET=3DPC -I.././inc -I../modelSource -I../../libiec61850/config -I../../libiec61850/src/logging -I../../libiec61850/src/hal/inc -I../../libiec61850/src/common/inc -I../../libiec61850/src/mms/inc -I../../libiec61850/src/iec61850/inc -I../../libiec61850/src/iec61850/inc_private -I../../libiec61850/src/mms/inc_private -I../../libiec61850/third_party/sql= ite -I../../libiec61850/third_party/mbedtls/include -I../../libiec61850/src/tls -I../../libiec61850/src/tls/mbedtls -I../../libiec61850/src/mms/iso_mms/asn= 1c -O1 -fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations -g -Wal= l -c -fmessage-length=3D0 -MMD -MP -MF"src/iec61850/fsch.d" -MT"src/iec61850/fsc= h.o" -o "src/iec61850/fsch.o" "../src/iec61850/fsch.c" Finished building: ../src/iec61850/fsch.c the preprocessed file: see attachment ------------------------------------------------------------------------- source code snippet: ... fsch.c:423: if (forwardBackwardDiff < 0) fsch.c:427: timeMatchedSec +=3D SECONDS_PER_HOUR; ... if condition (forwardBackwardDiff < 0) is true, the addition is not execute= d. Disassembly shows that no code has been generated for line 427. Debugging s= hows that the code line is effectively skipped, though the condition is true. gdb disassembly: 423 if (forwardBackwardDiff < 0) 0000000000409111: lea 0xe10(%r12),%rax 0000000000409119: pxor %xmm1,%xmm1 000000000040911d: comisd %xmm0,%xmm1 0000000000409121: cmova %rax,%r12 429 strTmRt->nextStartTimeSec=3DtimeMatchedSec; 0000000000409125: mov %r12,0x28(%rbx) 430=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 strTmRt->prevStartTimeSec=3DtimeMatchedSec-SECONDS_PER_HOUR; 0000000000409129: lea -0xe10(%r12),%rdi 0000000000409131: mov %rdi,0x20(%rbx) >>From gcc-bugs-return-625753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 11:23:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72546 invoked by alias); 13 Dec 2018 11:23:05 -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 72470 invoked by uid 48); 13 Dec 2018 11:23:01 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88299] [9 Regression] COMMON in a legacy module produces bogus warnings in dependent code Date: Thu, 13 Dec 2018 11:23: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01869.txt.bz2 Content-length: 494 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88299 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-13 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres --- Confirmed. >>From gcc-bugs-return-625754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 11:25:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80008 invoked by alias); 13 Dec 2018 11:25:52 -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 79951 invoked by uid 48); 13 Dec 2018 11:25:48 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88395] ICE: Segmentation fault signal terminated program cc1plus, with -std=c++2a -fconcepts Date: Thu, 13 Dec 2018 11:25: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01870.txt.bz2 Content-length: 898 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88395 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-13 Ever confirmed|0 |1 --- Comment #4 from Jonathan Wakely --- (In reply to Nicholas Krause from comment #3) > Is what I am getting because I don't have the class definition. I would l= ike > all of the code so that it builds properly and can check against a compil= ing > working program. No, it's what you're getting because you didn't use the -fconcepts flag whi= ch is necessary to enable the language feature. The example is fine, it's not missing anything, so I'm confirming the bug. >>From gcc-bugs-return-625755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 11:26:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81050 invoked by alias); 13 Dec 2018 11:26: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 80965 invoked by uid 48); 13 Dec 2018 11:26:20 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88254] [F18] Support construct name for CHANGE TEAM & END TEAM Date: Thu, 13 Dec 2018 11:26: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: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on short_desc 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: 2018-12/txt/msg01871.txt.bz2 Content-length: 749 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88254 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-13 Summary|Support construct name for |[F18] Support construct |CHANGE TEAM & END TEAM |name for CHANGE TEAM & END | |TEAM Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- Confirmed. >>From gcc-bugs-return-625756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 11:28:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83874 invoked by alias); 13 Dec 2018 11:28:48 -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 83737 invoked by uid 48); 13 Dec 2018 11:28:44 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88299] [F18] COMMON in a legacy module produces bogus warnings in dependent code Date: Thu, 13 Dec 2018 11:28: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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: 2018-12/txt/msg01872.txt.bz2 Content-length: 639 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88299 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[9 Regression] COMMON in a |[F18] COMMON in a legacy |legacy module produces |module produces bogus |bogus warnings in dependent |warnings in dependent code |code | --- Comment #3 from Dominique d'Humieres --- Not really a regression, rather a [F18] problem. >>From gcc-bugs-return-625757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 11:32:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87827 invoked by alias); 13 Dec 2018 11:32:53 -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 87760 invoked by uid 48); 13 Dec 2018 11:32:49 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88395] ICE: Segmentation fault signal terminated program cc1plus, with -std=c++2a -fconcepts Date: Thu, 13 Dec 2018 11:32: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: 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: 2018-12/txt/msg01873.txt.bz2 Content-length: 305 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88395 --- Comment #5 from Jonathan Wakely --- (In reply to Emmanuel Le Trong from comment #0) > Both trunk and 8.2.1 segfault on this valid snippet And 7.4.1 too. The flag -std=3Dc++2a isn't relevant, only -fconcepts is nee= ded. >>From gcc-bugs-return-625759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 11:33:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90570 invoked by alias); 13 Dec 2018 11:33:23 -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 90502 invoked by uid 48); 13 Dec 2018 11:33:19 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/44313] g++ no longer warns about private copy constructors Date: Thu, 13 Dec 2018 11:33: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.6.0 X-Bugzilla-Keywords: diagnostic, documentation X-Bugzilla-Severity: minor X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: 2018-12/txt/msg01875.txt.bz2 Content-length: 590 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D44313 --- Comment #7 from Jonathan Wakely --- And for completeness, the docs have been updated: Starting with GCC 4.3.0, GCC no longer gives an error for this case. This change is based on the intent of the C++ language committee. As of 2010-05-= 28, the final proposed draft of the C++0x standard permits this code without er= ror. I wonder if we should just remove that whole section, nobody cares about GCC 4.2.x now. I think I proposed a patch years ago to rip that whole section o= ut, but it never happened. >>From gcc-bugs-return-625758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 11:33:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88630 invoked by alias); 13 Dec 2018 11:33: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 88511 invoked by uid 48); 13 Dec 2018 11:32:59 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88399] program segmentation faults when out-of-memory Date: Thu, 13 Dec 2018 11:33: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: 5.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING 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_status cf_reconfirmed_on 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: 2018-12/txt/msg01874.txt.bz2 Content-length: 579 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88399 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-12-13 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- The darwin linker does not accept -Wl,--wrap=3Dmalloc: ld: unknown option: --wrap=3Dmalloc >>From gcc-bugs-return-625760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 11:50:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118665 invoked by alias); 13 Dec 2018 11:50:20 -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 118578 invoked by uid 48); 13 Dec 2018 11:50:16 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/88460] [nvptx] FAIL: libgomp.c++/for-24.C (internal compiler error) Date: Thu, 13 Dec 2018 11:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: vries 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: 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: 2018-12/txt/msg01876.txt.bz2 Content-length: 217 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88460 --- Comment #2 from Tom de Vries --- Jakub, Can you tell whether this is a test-case problem or openmp support problem? Thanks, - Tom >>From gcc-bugs-return-625761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 11:55:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128300 invoked by alias); 13 Dec 2018 11:55:26 -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 128212 invoked by uid 48); 13 Dec 2018 11:55:21 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/88460] [nvptx] FAIL: libgomp.c++/for-24.C (internal compiler error) Date: Thu, 13 Dec 2018 11:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01877.txt.bz2 Content-length: 279 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88460 --- Comment #3 from Jakub Jelinek --- That test is huge, can you narrow it to something smaller that still ICEs? Like, bisect to a single omp target in main and corresponding fN function + support? >>From gcc-bugs-return-625762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 12:20:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60238 invoked by alias); 13 Dec 2018 12:20:48 -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 60078 invoked by uid 48); 13 Dec 2018 12:20:39 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88444] [9 Regression] ICE: tree check: expected ssa_name, have integer_cst in live_on_edge, at tree-vrp.c:468; or ICE: tree check: expected ssa_name, have integer_cst in get_value_range, at vr-values.c:84 Date: Thu, 13 Dec 2018 12:20: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: 9.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created 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: 2018-12/txt/msg01878.txt.bz2 Content-length: 814 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88444 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #5 from Jakub Jelinek --- Created attachment 45225 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45225&action=3Dedit gcc9-pr88444-2.patch Untested fix for the inliner bug. It wants to iterate over all newly added basic blocks (i.e. those added during the current inlining), but stopped at n_basic_blocks_for_fn (cfun), which can be smaller if the basic block array= is not compacted. >>From gcc-bugs-return-625763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 12:23:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72258 invoked by alias); 13 Dec 2018 12:23:11 -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 72182 invoked by uid 48); 13 Dec 2018 12:23:07 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88481] -O1 causes optimizer to drop 'then' clause in conditional Date: Thu, 13 Dec 2018 12:23: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: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: WAITING 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_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: 2018-12/txt/msg01879.txt.bz2 Content-length: 896 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88481 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-12-13 CC| |amonakov at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Alexander Monakov --- Without -O, optimization passes are not enabled, even if individual -f opti= ons are passed on the command line. If you want to manually find optimizations = that affect the outcome, you need to start with -O1 and add -fno options to selectively disable optimizations. The attachment is missing, so changing bug status to "waiting". >>From gcc-bugs-return-625764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 12:25:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75524 invoked by alias); 13 Dec 2018 12:25:39 -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 75413 invoked by uid 48); 13 Dec 2018 12:25:34 -0000 From: "He.Hongjun at zte dot com.cn" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/88400] address-sanitizer on the cpu with only one core, may deadlock Date: Thu, 13 Dec 2018 12:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 6.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: He.Hongjun at zte dot com.cn 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: 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: 2018-12/txt/msg01880.txt.bz2 Content-length: 1536 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88400 --- Comment #5 from hhj --- (In reply to Richard Biener from comment #2) > Please provide a testcase to reproduce the issue. Also note that GCC 6 is > no longer supported. This sounds like an issue in the libsanitizer > interceptor > to me, the pthread_create interceptor does >=20 > // Wait until the AsanThread object is initialized and the ThreadRegi= stry > // entry is in "started" state. One reason for this is that after this > // interceptor exits, the child thread's stack may be the only thing > holding > // the |arg| pointer. This may cause LSan to report a leak if leak > checking > // happens at a point when the interceptor has already exited, but the > stack > // range for the child thread is not yet known. > while (atomic_load(¶m.is_registered, memory_order_acquire) =3D=3D= 0) > internal_sched_yield(); >=20 > but sched_yield should allow other threads to do progress. That might not > work if the current thread is realtime of course. But isn't that a > user error (or a kernel bug when explicitely yield()ing)? It isn't user error or a kernel bug. the user's program is normal, and ke= rnel is no bug when explicitely yield()ing. It's address-sanitizer's bug. Adding address-sanitizer, it is deadlock because of parent and child threads wait= of resources from each other. We deal with the bug by raising the priority of parent or child threads. = Then the pthread_create is ok. >>From gcc-bugs-return-625765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 12:31:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99631 invoked by alias); 13 Dec 2018 12:31:18 -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 99541 invoked by uid 48); 13 Dec 2018 12:31:14 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/88460] [nvptx] FAIL: libgomp.c++/for-24.C (internal compiler error) Date: Thu, 13 Dec 2018 12:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: vries 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: 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: 2018-12/txt/msg01881.txt.bz2 Content-length: 647 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88460 --- Comment #4 from Tom de Vries --- (In reply to Jakub Jelinek from comment #3) > That test is huge, can you narrow it to something smaller that still ICEs? > Like, bisect to a single omp target in main and corresponding fN function= + > support? Sure: ... int results[2000]; #pragma omp declare target void baz (int i) { results[i]++; } void f1 () { #pragma omp distribute parallel for default(none) for (int i =3D 0; i < 2000; i++) baz (i); } #pragma omp end declare target int main () { #pragma omp target teams map (tofrom: results) f1 (); } ... >>From gcc-bugs-return-625766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 12:43:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53911 invoked by alias); 13 Dec 2018 12:43:58 -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 53798 invoked by uid 48); 13 Dec 2018 12:43:53 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/88460] [nvptx] FAIL: libgomp.c++/for-24.C (internal compiler error) Date: Thu, 13 Dec 2018 12:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed attachments.created 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: 2018-12/txt/msg01882.txt.bz2 Content-length: 810 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88460 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-12-13 Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org Ever confirmed|0 |1 --- Comment #5 from Jakub Jelinek --- Created attachment 45226 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45226&action=3Dedit gcc9-pr88460.patch Ah, PR86660 reappeared here, copy and tweak from before that testcase has b= een adjusted. Tested just with no offloading configured. >>From gcc-bugs-return-625767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 12:51:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72443 invoked by alias); 13 Dec 2018 12:51:43 -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 72383 invoked by uid 48); 13 Dec 2018 12:51:39 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/88460] [nvptx] FAIL: libgomp.c++/for-24.C (internal compiler error) Date: Thu, 13 Dec 2018 12:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub 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: 2018-12/txt/msg01883.txt.bz2 Content-length: 969 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88460 --- Comment #6 from Tom de Vries --- (In reply to Jakub Jelinek from comment #5) > Created attachment 45226 [details] > gcc9-pr88460.patch >=20 > Ah, PR86660 reappeared here, copy and tweak from before that testcase has > been adjusted. Tested just with no offloading configured. And tested with nvptx offloading configured: ... Test Run By vries on Thu Dec 13 13:49:38 2018 Native configuration is x86_64-pc-linux-gnu =3D=3D=3D libgomp tests =3D=3D=3D Schedule of variations: unix Running target unix Running /home/vries/oacc/trunk/source-gcc/libgomp/testsuite/libgomp.c++/c++= .exp ... PASS: libgomp.c++/for-24.C (test for excess errors) PASS: libgomp.c++/for-24.C execution test Running /home/vries/oacc/trunk/source-gcc/libgomp/testsuite/libgomp.oacc-c++/c++.exp ... =3D=3D=3D libgomp Summary =3D=3D=3D # of expected passes 2 ... >>From gcc-bugs-return-625768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 12:52:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73997 invoked by alias); 13 Dec 2018 12:52:48 -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 73904 invoked by uid 55); 13 Dec 2018 12:52:43 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88454] [9 regression] test case gcc.dg/tree-ssa/split-path-5.c fails after r266971 Date: Thu, 13 Dec 2018 12:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01884.txt.bz2 Content-length: 629 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88454 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Thu Dec 13 12:52:11 2018 New Revision: 267092 URL: https://gcc.gnu.org/viewcvs?rev=3D267092&root=3Dgcc&view=3Drev Log: PR testsuite/88454 * gcc.dg/tree-ssa/split-path-5.c (__ctype_ptr__): Change type from const char * to const signed char *. (bmhi_init): Change pattern parameter's type the same. Use __builtin_strlen instead of undeclared strlen. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/tree-ssa/split-path-5.c >>From gcc-bugs-return-625769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 12:53:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75676 invoked by alias); 13 Dec 2018 12:53: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 75611 invoked by uid 55); 13 Dec 2018 12:53:53 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/88460] [nvptx] FAIL: libgomp.c++/for-24.C (internal compiler error) Date: Thu, 13 Dec 2018 12:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub 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: 2018-12/txt/msg01885.txt.bz2 Content-length: 565 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88460 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Thu Dec 13 12:53:19 2018 New Revision: 267093 URL: https://gcc.gnu.org/viewcvs?rev=3D267093&root=3Dgcc&view=3Drev Log: PR libgomp/88460 * testsuite/libgomp.c++/for-24.C (results): Include it in omp declare target region. (main): Use map (always, tofrom: results) instead of map (tofrom: results). Modified: trunk/libgomp/ChangeLog trunk/libgomp/testsuite/libgomp.c++/for-24.C >>From gcc-bugs-return-625770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 13:03:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123042 invoked by alias); 13 Dec 2018 13:03:16 -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 121770 invoked by uid 48); 13 Dec 2018 13:03:06 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/88479] sanitizer should provide an option to detect conversion to signed integer that overflows Date: Thu, 13 Dec 2018 13:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 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: 2018-12/txt/msg01886.txt.bz2 Content-length: 344 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88479 --- Comment #1 from Andrew Pinski --- NOTE this has been discussed before and turned down IIRC. The reason is because it is implementation defined it needs to be documented and we do document it. Also my bet is even running it on gcc will cause it to happen. >>From gcc-bugs-return-625771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 13:09:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60650 invoked by alias); 13 Dec 2018 13:09:03 -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 60553 invoked by uid 48); 13 Dec 2018 13:08:58 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88456] __atomic_compare_exchange implementation inconsistently used Date: Thu, 13 Dec 2018 13:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon 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: 2018-12/txt/msg01887.txt.bz2 Content-length: 500 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88456 Christophe Lyon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clyon at gcc dot gnu.org --- Comment #4 from Christophe Lyon --- I think this is also related to the discussion that followed: https://gcc.gnu.org/ml/gcc-patches/2018-11/msg02254.html >>From gcc-bugs-return-625772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 13:14:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98941 invoked by alias); 13 Dec 2018 13:14: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 95313 invoked by uid 48); 13 Dec 2018 13:14:44 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/88460] [nvptx] FAIL: libgomp.c++/for-24.C (internal compiler error) Date: Thu, 13 Dec 2018 13:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01888.txt.bz2 Content-length: 428 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88460 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Jakub Jelinek --- Thus fixed. >>From gcc-bugs-return-625773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 13:26:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45024 invoked by alias); 13 Dec 2018 13:26:02 -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 44805 invoked by uid 48); 13 Dec 2018 13:25:58 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/88479] sanitizer should provide an option to detect conversion to signed integer that overflows Date: Thu, 13 Dec 2018 13:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01889.txt.bz2 Content-length: 465 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88479 --- Comment #2 from Jakub Jelinek --- Note, it is no longer implementation-defined behavior in C++20, but well defined: "Otherwise, the result is the unique value of the destination type that is congruent to the source integer modulo 2^N, where N is the range exponent of the destination type.", see wg21.link/p1236 . It wouldn't surprise me if n= ext C standard changes similarly. >>From gcc-bugs-return-625774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 13:32:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57341 invoked by alias); 13 Dec 2018 13:32:50 -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 57082 invoked by uid 48); 13 Dec 2018 13:32:45 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/88460] [nvptx] FAIL: libgomp.c++/for-24.C (internal compiler error) Date: Thu, 13 Dec 2018 13:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub 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: 2018-12/txt/msg01890.txt.bz2 Content-length: 891 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88460 --- Comment #9 from Tom de Vries --- (In reply to Tom de Vries from comment #1) > > Richard Biener changed: > >=20 > > What |Removed |Added > > -----------------------------------------------------------------------= ----- > > Keywords| |lto > > CC| |hubicka at gcc dot gnu= .org > >=20 >=20 > FTR, the gomp4 and openacc-gcc-{7,8}-branch branches contain a patch to e= mit > an error "missing " here instead of ICE-ing, submitted as "[PATC= H] > error on missing LTO symbols" here ( > https://gcc.gnu.org/ml/gcc-patches/2016-07/msg00043.html ). Reposted patch here ( https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00926.h= tml ) with request for feedback. >>From gcc-bugs-return-625775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 13:44:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44378 invoked by alias); 13 Dec 2018 13:44:09 -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 44313 invoked by uid 48); 13 Dec 2018 13:44:04 -0000 From: "rv at rasmusvillemoes dot dk" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88482] New: ICE when wrongly declaring __cxa_allocate_exception Date: Thu, 13 Dec 2018 13:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rv at rasmusvillemoes dot dk 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 Message-ID: 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: 2018-12/txt/msg01891.txt.bz2 Content-length: 835 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88482 Bug ID: 88482 Summary: ICE when wrongly declaring __cxa_allocate_exception Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rv at rasmusvillemoes dot dk Target Milestone: --- This causes an ICE: #include extern "C" void __cxa_allocate_exception(std::size_t size); int f(int x) { if (x > 27) throw 19; return x+3; } Changing to the correct "void*" works as expected. This is arguably a "Don'= t do that then", but perhaps there's some simple way to turn the ICE into a more explicit error, a la Werror=3Dbuiltin-declaration-mismatch. >>From gcc-bugs-return-625776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 13:46:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52210 invoked by alias); 13 Dec 2018 13:46: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 48154 invoked by uid 48); 13 Dec 2018 13:45:37 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87370] [7/8/9 Regression] Inefficient return code of struct values Date: Thu, 13 Dec 2018 13:46: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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-12/txt/msg01892.txt.bz2 Content-length: 602 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87370 --- Comment #13 from H.J. Lu --- (In reply to trashyankes from comment #12) > (In reply to H.J. Lu from comment #11) > > (In reply to trashyankes from comment #10) > >=20 > > Which GCC are you using? GCC 8.2 generates: >=20 > GCC Explorer :D >=20 > g++ (GCC-Explorer-Build) 9.0.0 20181211 (experimental) >=20 > https://gcc.godbolt.org/z/7AQXiq >=20 > Code is copy paste of test case. > Compiler is x86-64 > Important are flags: `-O3 -march=3Dskylake-avx512` > Without it compile this code fine. This is a known issue. >>From gcc-bugs-return-625777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 13:52:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78785 invoked by alias); 13 Dec 2018 13:52:38 -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 78710 invoked by uid 48); 13 Dec 2018 13:52:31 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88311] [9 Regression] mlongcall indirections are optimised away (for binutils versions that don't support AS_PLTSEQ) Date: Thu, 13 Dec 2018 13:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iains 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: cc short_desc 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: 2018-12/txt/msg01893.txt.bz2 Content-length: 1275 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88311 Iain Sandoe changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amodra at gcc dot gnu.org Summary|mlongcall indirections are |[9 Regression] mlongcall |optimised away |indirections are optimised | |away (for binutils versions | |that don't support | |AS_PLTSEQ) --- Comment #5 from Iain Sandoe --- So the reason that Segher and I were seeing different results is that I was using the default BINUTILS on the platform (2.27) and Segher was using 2.31. The salient difference appears to be this (from auto-host.h): 2.27 .... 2.31 /* #undef HAVE_AS_PLTSEQ */ | #define HAVE_AS_PLTSEQ 1 As a second point - I checked r266557 and that produces correct code with: GNU assembler version 2.27 (ppc64-redhat-linux) using BFD version version 2.27-28.base.el7_5.1 It's possible that the patch sequence 266599-266610 could have caused this. >>From gcc-bugs-return-625778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 14:02:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56788 invoked by alias); 13 Dec 2018 14:02:15 -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 56668 invoked by uid 48); 13 Dec 2018 14:02:06 -0000 From: "vincent-gcc at vinc17 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/88479] sanitizer should provide an option to detect conversion to signed integer that overflows Date: Thu, 13 Dec 2018 14:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vincent-gcc at vinc17 dot net 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: 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: 2018-12/txt/msg01894.txt.bz2 Content-length: 977 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88479 --- Comment #3 from Vincent Lef=C3=A8vre --- (In reply to Jakub Jelinek from comment #2) > Note, it is no longer implementation-defined behavior in C++20, but well > defined: >=20 > "Otherwise, the result is the unique value of the destination type that is > congruent to the source integer modulo 2^N, where N is the range exponent= of > the destination type.", see wg21.link/p1236 . It wouldn't surprise me if > next C standard changes similarly. The C standard would have to drop ones' complement and sign-magnitude first. In any case, this is not a good programming practice, and for some projects= , it is reasonable to avoid such cases (a function to do such a conversion explicitly would have been a better choice). So, a new feature in the sanit= izer would be a good thing, just like -Werror=3D... can make the compilation of = valid programs fail but is useful to detect bugs. >>From gcc-bugs-return-625779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 14:11:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65734 invoked by alias); 13 Dec 2018 14:11:10 -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 65687 invoked by uid 48); 13 Dec 2018 14:11:06 -0000 From: "heinrich.seebauer at swistec dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88481] -O1 causes optimizer to drop 'then' clause in conditional Date: Thu, 13 Dec 2018 14:11: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: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: heinrich.seebauer at swistec dot de X-Bugzilla-Status: WAITING 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: attachments.created 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: 2018-12/txt/msg01895.txt.bz2 Content-length: 265 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88481 --- Comment #2 from Heinrich Seebauer = --- Created attachment 45227 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45227&action=3Dedit precompiled source of fsch.c >>From gcc-bugs-return-625780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 14:13:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71548 invoked by alias); 13 Dec 2018 14:13:27 -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 71502 invoked by uid 48); 13 Dec 2018 14:13:23 -0000 From: "heinrich.seebauer at swistec dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88481] -O1 causes optimizer to drop 'then' clause in conditional Date: Thu, 13 Dec 2018 14:13: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: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: heinrich.seebauer at swistec dot de X-Bugzilla-Status: WAITING 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: 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: 2018-12/txt/msg01896.txt.bz2 Content-length: 243 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88481 --- Comment #3 from Heinrich Seebauer = --- Thanks, Alexander, for your advice, I will try to isolate this symptom furt= her. Added the attachment ... >>From gcc-bugs-return-625781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 14:20:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5867 invoked by alias); 13 Dec 2018 14:20: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 5723 invoked by uid 48); 13 Dec 2018 14:20:38 -0000 From: "moritz.kreutzer at siemens dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store" Date: Thu, 13 Dec 2018 14:20: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: moritz.kreutzer at siemens dot com 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: 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: 2018-12/txt/msg01897.txt.bz2 Content-length: 592 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88464 --- Comment #8 from Moritz Kreutzer --- Thanks for the input and for confirming that "for conditional ones (both MASK_LOAD and MASK_STORE) the support for the cases when using a mask regis= ter rather than a vector register with mask either hasn't been done or doesn't = work properly."=20 Any idea about a possible way forward to fix or implement those? As stated above, even though I have no experience with GCC development, I'd be happy = to assist to the best of my resources if at all possible. >>From gcc-bugs-return-625782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 14:21:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14034 invoked by alias); 13 Dec 2018 14:21: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 13971 invoked by uid 55); 13 Dec 2018 14:21:20 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88462] All D execution tests FAIL on Solaris/SPARC Date: Thu, 13 Dec 2018 14:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01898.txt.bz2 Content-length: 1240 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88462 --- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #4 from Iain Buclaw --- > Stepping through the backtrace, I see the following at Thread.initLocks > (core/thread.d around line 1719). [...] > So there are two things. Firstly, the object instance is type punned fro= m a > void[N] array. Secondly it is aligned to pointer size, not the alignment= of > the underlying record type. > > So I'm certain that the problem will be fixed if `align(Mutex.alignof)` is > replaced with `align(8)`. Unfortunately, this doesn't work: the first time through, _locks[0] was already 8-byte aligned and everything worked fine. This remained when using align(8) instead. However, Mutex is 44 bytes on 32-bit Solaris/x86, so again _locks[1] lands on a non-8 byte boundary and pthread_mutex_init fails. I tried rouding up the size of the _locks array members to a multiple of 8, but that let the constructor already fail the first time through where _d_arraycopy checks that the right amount of data is copied: _d_arraycopy -> rt.util.array.enforceRawArraysConformable -> rt.util.array._enforceSameLength >>From gcc-bugs-return-625783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 14:41:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26303 invoked by alias); 13 Dec 2018 14:41:08 -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 366 invoked by uid 48); 13 Dec 2018 14:40:58 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/87048] [9 Regression] array_constructor_8.f90 failure on armeb Date: Thu, 13 Dec 2018 14:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01899.txt.bz2 Content-length: 528 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87048 --- Comment #4 from Christophe Lyon --- Looks like there was a misunderstanding, I was probably not clear. r263082 actually removed the regression I reported, because that commit rev= erts the offending one. So current trunk is OK. I'm looking again at the traces, and the different function names noticed by Thomas seem harmless (it seems to me that the different symbols refer to the same functions, eg _uname is weak alias for uname, etc...) >>From gcc-bugs-return-625784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 14:42:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37597 invoked by alias); 13 Dec 2018 14:42:10 -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 27619 invoked by uid 55); 13 Dec 2018 14:42:06 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88041] gdc.test tests should include that prefix in test names Date: Thu, 13 Dec 2018 14:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01900.txt.bz2 Content-length: 937 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88041 --- Comment #3 from Rainer Orth --- Author: ro Date: Thu Dec 13 14:41:34 2018 New Revision: 267094 URL: https://gcc.gnu.org/viewcvs?rev=3D267094&root=3Dgcc&view=3Drev Log: Include gdc.test prefix in test names (PR testsuite/88041) PR testsuite/88041 * lib/gdc-dg.exp (gdc-dg-test): Strip gdc.test prefix. * gdc.test/gdc-test.exp (gdc-do-test): Create $subdir link. Include $subdir in filename. Cleanup generated source. * gdc.test/compilable/ddoc9676a.d (EXTRA_SOURCES): Don't use absolute path. * gdc.test/compilable/depsOutput9948.d: Likewise. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gdc.test/compilable/ddoc9676a.d trunk/gcc/testsuite/gdc.test/compilable/depsOutput9948.d trunk/gcc/testsuite/gdc.test/gdc-test.exp trunk/gcc/testsuite/lib/gdc-dg.exp >>From gcc-bugs-return-625785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 14:43:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23782 invoked by alias); 13 Dec 2018 14:43:07 -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 10424 invoked by uid 48); 13 Dec 2018 14:43:00 -0000 From: "heinrich.seebauer at swistec dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88481] -O1 causes optimizer to drop 'then' clause in conditional Date: Thu, 13 Dec 2018 14:43: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: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: heinrich.seebauer at swistec dot de X-Bugzilla-Status: WAITING 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: 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: 2018-12/txt/msg01901.txt.bz2 Content-length: 486 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88481 --- Comment #4 from Heinrich Seebauer = --- To isolate the cause, I suppressed several optimization options from thge -= O1 group. Adding -fno-if-conversion to the options got the code correct, other= -O1 options didn't change anything. I think, this is some strong evidence that -fif-conversion causes the bug. Proposed workaround: use option "-fno-if-conversion" in combination with -O= 1. >>From gcc-bugs-return-625786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 14:43:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49819 invoked by alias); 13 Dec 2018 14:43:23 -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 33125 invoked by uid 55); 13 Dec 2018 14:43:15 -0000 From: "hjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87853] _mm_cmpgt_epi8 broken with -funsigned-char Date: Thu, 13 Dec 2018 14:43: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl 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: 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: 2018-12/txt/msg01902.txt.bz2 Content-length: 751 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87853 --- Comment #12 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Dec 13 14:42:43 2018 New Revision: 267095 URL: https://gcc.gnu.org/viewcvs?rev=3D267095&root=3Dgcc&view=3Drev Log: x86: Fix _mm_cmpgt_epi8 with -funsigned-char Backport from mainline 2018-11-05 Xuepeng Guo PR target/87853 * config/i386/emmintrin.h (__v16qs): New to cope with option -funsigned-char. (_mm_cmpeq_epi8): Replace __v16qi with __v16qs. (_mm_cmplt_epi8): Likewise. (_mm_cmpgt_epi8): Likewise. Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/i386/emmintrin.h >>From gcc-bugs-return-625787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 14:44:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62675 invoked by alias); 13 Dec 2018 14:44: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49899 invoked by uid 48); 13 Dec 2018 14:44:23 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/82018] -Wextra should imply -Wconversion-extra Date: Thu, 13 Dec 2018 14:44: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: 6.3.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: janus at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 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: 2018-12/txt/msg01903.txt.bz2 Content-length: 959 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82018 --- Comment #12 from Dominique d'Humieres --- > However, quite honestly, as a volunteer contributor to an open-source pro= ject, > I guess I'm free to choose whether I want to contribute at all, and when > and how to contribute. I'm sure my priorities don't always match yours > or that of other people, but yes, believe it or not, right now this PR he= re > is an issue to me, so I choose to devote some of my spare time to it, > because it scratches a personal itch. Not much more to say. You are indeed free to use your spare time as you like. However contributio= ns to a *reviewed* open-source project involve time from other people (includi= ng bike shedding). For the present PR if -Wconversion-extra is still important for you, why do= n't you add it to your list of options? Note the last post is over a year old, thus I am proposing to close this PR= as WONTFIX. >>From gcc-bugs-return-625788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 14:45:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6432 invoked by alias); 13 Dec 2018 14:45:03 -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 126020 invoked by uid 48); 13 Dec 2018 14:44:58 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88041] gdc.test tests should include that prefix in test names Date: Thu, 13 Dec 2018 14:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01904.txt.bz2 Content-length: 421 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88041 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Rainer Orth --- Fixed for 9.0. >>From gcc-bugs-return-625789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 14:46:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12408 invoked by alias); 13 Dec 2018 14:46:38 -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 12283 invoked by uid 55); 13 Dec 2018 14:46:32 -0000 From: "jeff.science at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/60035] [PATCH] make it possible to use OMP on both sides of a fork (without violating standard) Date: Thu, 13 Dec 2018 14:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jeff.science 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: 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: 2018-12/txt/msg01905.txt.bz2 Content-length: 831 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60035 --- Comment #11 from Jeff Hammond --- Thanks for sharing. I=E2=80=99ve seen that bug or closely related ones befo= re. This is definitely one of the motivating examples for this feature set. The only question is how many years before it gets adopted (which requires everybody to use the latest OpenMP implementations, of course)... Jeff On Wed, Dec 12, 2018 at 7:21 PM jakub at gcc dot gnu.org < gcc-bugzilla@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60035 > > --- Comment #10 from Jakub Jelinek --- > GCC 9 has omp_pause_resource and omp_pause_resource_all APIs as required = by > OpenMP 5.0 for this. > > -- > You are receiving this mail because: > You are on the CC list for the bug. >>From gcc-bugs-return-625790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 14:49:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15129 invoked by alias); 13 Dec 2018 14:49:00 -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 15035 invoked by uid 48); 13 Dec 2018 14:48:54 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88483] New: Unnecessary stack alignment Date: Thu, 13 Dec 2018 14:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools 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 cc target_milestone cf_gcctarget Message-ID: 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: 2018-12/txt/msg01906.txt.bz2 Content-length: 1141 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88483 Bug ID: 88483 Summary: Unnecessary stack alignment Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: ubizjak at gmail dot com Target Milestone: --- Target: x86 [hjl@gnu-cfl-1 tmp]$ cat x.i struct B { char a[12]; int b; }; struct B f2 (void) { struct B x =3D {}; return x; } [hjl@gnu-cfl-1 tmp]$ gcc -S -mavx2 -O2 x.i [hjl@gnu-cfl-1 tmp]$ cat x.s .file "x.i" .text .p2align 4,,15 .globl f2 .type f2, @function f2: .LFB0: .cfi_startproc pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 xorl %eax, %eax xorl %edx, %edx movq %rsp, %rbp .cfi_def_cfa_register 6 andq $-32, %rsp leave .cfi_def_cfa 7, 8 ret .cfi_endproc There is no need to realign stack. >>From gcc-bugs-return-625791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 14:50:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18016 invoked by alias); 13 Dec 2018 14:49: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17925 invoked by uid 55); 13 Dec 2018 14:49:55 -0000 From: "jeff.science at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/60035] [PATCH] make it possible to use OMP on both sides of a fork (without violating standard) Date: Thu, 13 Dec 2018 14:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jeff.science 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: 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: 2018-12/txt/msg01907.txt.bz2 Content-length: 260 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60035 --- Comment #12 from Jeff Hammond --- I apologize for stupidly misinterpreting the automated message as something else. My email client did not show the true sender address. >>From gcc-bugs-return-625793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 15:01:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39854 invoked by alias); 13 Dec 2018 15:01:07 -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 39450 invoked by uid 48); 13 Dec 2018 15:00:44 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/88484] New: OpenACC wait directive without wait argument but with async clause Date: Thu, 13 Dec 2018 15:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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: 2018-12/txt/msg01909.txt.bz2 Content-length: 1299 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88484 Bug ID: 88484 Summary: OpenACC wait directive without wait argument but with async clause Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: openacc Severity: normal Priority: P3 Component: libgomp Assignee: tschwinge at gcc dot gnu.org Reporter: tschwinge at gcc dot gnu.org CC: cltang at gcc dot gnu.org, jakub at gcc dot gnu.org Target Milestone: --- As made evident by this small patch: --- libgomp/oacc-parallel.c +++ libgomp/oacc-parallel.c @@ -632,6 +632,8 @@ GOACC_wait (int async, int num_waits, ...) acc_wait_all (); else if (async =3D=3D acc_async_noval) goacc_thread ()->dev->openacc.async_wait_all_async_func (acc_async_noval); + else + gomp_fatal ("GOACC_wait: unhandled async: %d", async); } int ..., we don't correctly handle "#pragma acc wait async (a)" for "a >=3D 0", handling as a no-op whereas it should enqueue the appropriate wait operatio= ns on "async (a)". The fix might be as simple as calling "acc_wait_all_async (async)" generall= y, not just for "async =3D=3D acc_async_noval". I'll verify. >>From gcc-bugs-return-625792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 15:01:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39776 invoked by alias); 13 Dec 2018 15:01:02 -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 39441 invoked by uid 48); 13 Dec 2018 15:00:44 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87924] OpenACC wait clauses without async-arguments Date: Thu, 13 Dec 2018 15:01: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: 9.0 X-Bugzilla-Keywords: openacc, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: cltang at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to 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: 2018-12/txt/msg01908.txt.bz2 Content-length: 496 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87924 Thomas Schwinge changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-12-13 Assignee|unassigned at gcc dot gnu.org |cltang at gcc dot g= nu.org Ever confirmed|0 |1 >>From gcc-bugs-return-625794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 15:07:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81544 invoked by alias); 13 Dec 2018 15:07:40 -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 81457 invoked by uid 48); 13 Dec 2018 15:07:36 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88478] valgrind error in cselib_record_sets Date: Thu, 13 Dec 2018 15:07: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail 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: 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: 2018-12/txt/msg01910.txt.bz2 Content-length: 241 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88478 --- Comment #1 from David Binderman --- Code seems ok in a valgrind version of gcc trunk revision 266400 from date Nov 25, so problem looks relatively recent. >>From gcc-bugs-return-625795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 15:10:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85827 invoked by alias); 13 Dec 2018 15:10:54 -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 85749 invoked by uid 48); 13 Dec 2018 15:10:49 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/87048] [9 Regression] array_constructor_8.f90 failure on armeb Date: Thu, 13 Dec 2018 15:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: 2018-12/txt/msg01911.txt.bz2 Content-length: 257 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87048 --- Comment #5 from Christophe Lyon --- Created attachment 45228 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45228&action=3Dedit execution trace of OK static binary >>From gcc-bugs-return-625796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 15:11:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86775 invoked by alias); 13 Dec 2018 15:11:20 -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 86706 invoked by uid 48); 13 Dec 2018 15:11:16 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/87048] [9 Regression] array_constructor_8.f90 failure on armeb Date: Thu, 13 Dec 2018 15:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: 2018-12/txt/msg01912.txt.bz2 Content-length: 257 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87048 --- Comment #6 from Christophe Lyon --- Created attachment 45229 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45229&action=3Dedit execution trace of KO static binary >>From gcc-bugs-return-625798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 15:13:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89570 invoked by alias); 13 Dec 2018 15:13:15 -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 89060 invoked by uid 48); 13 Dec 2018 15:13:08 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87436] [7/8/9 Regression] G++ produces >300MB .rodata section to initialize struct with big array Date: Thu, 13 Dec 2018 15:13: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: 8.2.1 X-Bugzilla-Keywords: compile-time-hog, memory-hog, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created 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: 2018-12/txt/msg01914.txt.bz2 Content-length: 3869 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87436 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek --- Created attachment 45230 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45230&action=3Dedit gcc9-pr87436.patch The following patch addresses the memory consumption and to some extent com= pile time issue, but doesn't change what is emitted. Unpatched trunk: Time variable usr sys = wall GGC phase setup : 0.00 ( 0%) 0.00 ( 0%) 0.01 ( = 0%) 1355 kB ( 0%) phase parsing : 0.01 ( 0%) 0.00 ( 0%) 0.00 ( = 0%) 638 kB ( 0%) phase opt and generate : 506.62 (100%) 2.20 (100%) 510.10 (100%)39325772 kB (100%) garbage collection : 4.84 ( 1%) 0.47 ( 21%) 5.36 ( = 1%) 0 kB ( 0%) callgraph construction : 0.01 ( 0%) 0.00 ( 0%) 0.00 ( = 0%) 5 kB ( 0%) ipa dead code removal : 0.01 ( 0%) 0.00 ( 0%) 0.01 ( = 0%) 0 kB ( 0%) ipa icf : 2.06 ( 0%) 0.00 ( 0%) 2.06 ( = 0%) 0 kB ( 0%) parser (global) : 0.01 ( 0%) 0.00 ( 0%) 0.00 ( = 0%) 571 kB ( 0%) integration : 28.56 ( 6%) 0.00 ( 0%) 28.63 ( = 6%) 2621665 kB ( 7%) tree gimplify : 7.33 ( 1%) 1.24 ( 56%) 8.58 ( = 2%) 5244044 kB ( 13%) tree VRP : 0.01 ( 0%) 0.00 ( 0%) 0.01 ( = 0%) 2 kB ( 0%) tree Early VRP : 63.00 ( 12%) 0.00 ( 0%) 63.16 ( = 12%) 5243330 kB ( 13%) tree PTA : 0.01 ( 0%) 0.00 ( 0%) 0.01 ( = 0%) 0 kB ( 0%) tree CCP : 33.00 ( 7%) 0.00 ( 0%) 33.09 ( = 6%) 2621664 kB ( 7%) tree PRE : 43.59 ( 9%) 0.00 ( 0%) 43.70 ( = 9%) 2621665 kB ( 7%) tree FRE : 92.77 ( 18%) 0.00 ( 0%) 93.02 ( = 18%) 7864992 kB ( 20%) tree forward propagate : 200.09 ( 39%) 0.01 ( 0%) 200.62 ( 39%)13108320 kB ( 33%) tree conservative DCE : 0.02 ( 0%) 0.00 ( 0%) 0.01 ( = 0%) 0 kB ( 0%) tree loop optimization : 0.00 ( 0%) 0.00 ( 0%) 0.01 ( = 0%) 0 kB ( 0%) expand : 1.80 ( 0%) 0.00 ( 0%) 1.80 ( = 0%) 5 kB ( 0%) integrated RA : 0.09 ( 0%) 0.00 ( 0%) 0.10 ( = 0%) 24 kB ( 0%) final : 29.41 ( 6%) 0.47 ( 21%) 29.92 ( = 6%) 1 kB ( 0%) rest of compilation : 0.02 ( 0%) 0.01 ( 0%) 0.01 ( = 0%) 2 kB ( 0%) TOTAL : 506.63 2.20 510.11=20= =20=20=20=20=20 39327775 kB Patched trunk: Time variable usr sys = wall GGC phase setup : 0.00 ( 0%) 0.14 ( 15%) 0.14 ( = 0%) 1355 kB ( 64%) phase opt and generate : 27.58 (100%) 0.49 ( 53%) 28.11 ( = 92%) 112 kB ( 5%) phase finalize : 0.01 ( 0%) 0.29 ( 32%) 2.26 ( = 7%) 0 kB ( 0%) final : 27.57 (100%) 0.49 ( 53%) 28.10 ( = 92%) 1 kB ( 0%) initialize rtl : 0.01 ( 0%) 0.00 ( 0%) 0.01 ( = 0%) 12 kB ( 1%) TOTAL : 27.59 0.92 30.51=20= =20=20=20=20=20=20 2116 kB >>From gcc-bugs-return-625797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 15:13:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88838 invoked by alias); 13 Dec 2018 15:13:06 -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 88769 invoked by uid 48); 13 Dec 2018 15:13:02 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/87048] [9 Regression] array_constructor_8.f90 failure on armeb Date: Thu, 13 Dec 2018 15:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01913.txt.bz2 Content-length: 346 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87048 --- Comment #7 from Christophe Lyon --- I've attached the execution traces from PR25829 here for clarity. Looking at them, I've noticed a different execution path in build.4947.constprop.0, starting at line 5477 in the "OK" file, and line 54= 83 in the "KO" file. >>From gcc-bugs-return-625799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 15:18:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2680 invoked by alias); 13 Dec 2018 15:18:52 -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 2554 invoked by uid 48); 13 Dec 2018 15:18:48 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/87824] x86_64-linux multilib issues Date: Thu, 13 Dec 2018 15:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created 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: 2018-12/txt/msg01915.txt.bz2 Content-length: 516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87824 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ro at gcc dot gnu.org --- Comment #16 from Rainer Orth --- Created attachment 45231 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45231&action=3Dedit Patch for cppa.d with non-default multilib failure >>From gcc-bugs-return-625800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 15:23:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10683 invoked by alias); 13 Dec 2018 15:23:30 -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 10576 invoked by uid 48); 13 Dec 2018 15:23:24 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/87824] x86_64-linux multilib issues Date: Thu, 13 Dec 2018 15:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot 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: 2018-12/txt/msg01916.txt.bz2 Content-length: 1867 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87824 --- Comment #17 from Rainer Orth --- (In reply to Iain Buclaw from comment #6) [...] > > Running target unix > > FAIL: runnable/cppa.d execution test > > FAIL: runnable/cppa.d -g execution test > > FAIL: runnable/cppa.d -g -shared-libphobos execution test > > FAIL: runnable/cppa.d -shared-libphobos execution test >=20 > Have now reproduced, the test checks old behaviour that I dropped support > for long ago. The first failed attempt to have a type that maps to C 'lo= ng' > and 'unsigned long' had a 'struct __c_long' type that expected the compil= er > to magically pass it around as the correct integer type. This had > passed/gone unnoticed on x86_64 because 'struct{long}' and 'long' are pas= sed > in the same way. >=20 > Support should have been removed from the dmd front-end when it was dropp= ed > from the library, but it still lives on in the testsuite. I'm seeing the same not only on Linux/x86_64, but also on Solaris/x86, only for the non-default multilib. The failure is the same however: In file included from runnable/extra-files/cppb.cpp:36:^M /vol/gcc/src/hg/trunk/dist/gcc/testsuite/../../libstdc++-v3/libsupc++/excep= tion:37:10: fatal error: bits/c++config.h: No such file or directory^M Looking at the -I flags passed, it's obvious that they are wrong: on Linux/x86_64 there is -I/var/scratch/gcc/regression/trunk/4.17.3-gcc-gas-gld/build/x86_64-pc-linu= x-gnu/32/libstdc++-v3/include/32 while on Solaris/x86 it's -I/var/gcc/regression/trunk/11.3-gcc-gas/build/i386-pc-solaris2.11/amd64/li= bstdc++-v3/include/amd64 neither of which exist: the last component should be $target_triplet instead of $target. Fixing this as in the attached patch lets the test PASS for me on both x86_64-pc-linux-gnu and i386-pc-solaris2.11 (32 and 64-bit each). >>From gcc-bugs-return-625801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 15:38:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41556 invoked by alias); 13 Dec 2018 15:38: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 41485 invoked by uid 48); 13 Dec 2018 15:38:47 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87853] _mm_cmpgt_epi8 broken with -funsigned-char Date: Thu, 13 Dec 2018 15:38: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 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: 2018-12/txt/msg01917.txt.bz2 Content-length: 443 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87853 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #13 from H.J. Lu --- Fixed for GCC 9 and 7/8 branches. >>From gcc-bugs-return-625802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 15:54:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104565 invoked by alias); 13 Dec 2018 15:54:07 -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 104508 invoked by uid 48); 13 Dec 2018 15:54:02 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88481] -O1 causes optimizer to drop 'then' clause in conditional Date: Thu, 13 Dec 2018 15:54: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: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: 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: 2018-12/txt/msg01918.txt.bz2 Content-length: 785 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88481 --- Comment #5 from Alexander Monakov --- The code shown in the opening comment looks fine to me, so please isolate t= he issue further using debug counters. Add -fdbg-cnt=3Dif_conversion:99,if_after_combine:99 to -O1. This should le= ad to broken code as with plain -O1. Add -fdbg-cnt=3Dif_conversion:0,if_after_combine:0 to -O1. This should lead= to correct code as with -O1 -fno-if-conversion. Then you can try 99/0 and 0/99 combinations to find which of two passes is broken. After that you can bisect by the value of debug counter to find exa= ct threshold at which it becomes broken (e.g. 0/42 works, 0/43 breaks). Please attach the two resulting assembly dumps obtained with -S after that. >>From gcc-bugs-return-625803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 15:58:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122591 invoked by alias); 13 Dec 2018 15:58: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 122432 invoked by uid 55); 13 Dec 2018 15:57:56 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87531] [8/9 Regression] assignment operator does nothing if performed as a call via operator= Date: Thu, 13 Dec 2018 15:58: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: 8.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 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: 2018-12/txt/msg01919.txt.bz2 Content-length: 979 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87531 --- Comment #10 from Nathan Sidwell --- Author: nathan Date: Thu Dec 13 15:57:24 2018 New Revision: 267096 URL: https://gcc.gnu.org/viewcvs?rev=3D267096&root=3Dgcc&view=3Drev Log: [PR c++/87531] Fix second bug https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00929.html PR c++/87531 * class.c (finish_struct): Set DECL_CONTEXT of template assign op. * name-lookup.c (get_class_binding_direct): Don't strip using-decl of overload here. * parser.c (cp_parser_postfix_expression): Cope with using decl in overload set. * semantics.c (finish_id_expr): Likewise. * g++.dg/lookup/pr87531-2.C: New. Added: trunk/gcc/testsuite/g++.dg/lookup/pr87531-2.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/class.c trunk/gcc/cp/name-lookup.c trunk/gcc/cp/parser.c trunk/gcc/cp/semantics.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 16:18:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44231 invoked by alias); 13 Dec 2018 16:18: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 44093 invoked by uid 48); 13 Dec 2018 16:17:53 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88481] -O1 causes optimizer to drop 'then' clause in conditional Date: Thu, 13 Dec 2018 16:18: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: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: 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: 2018-12/txt/msg01920.txt.bz2 Content-length: 437 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88481 --- Comment #6 from Alexander Monakov --- And just to be sure, can you confirm that -fno-if-conversion changes program behavior (the testcase is not executable so I cannot check), and the issue = is not about debug info quality (i.e. that single-stepping in the debugger does not behave as you expect, but overall the function computes correct values)? >>From gcc-bugs-return-625805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 16:22:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49204 invoked by alias); 13 Dec 2018 16:22: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49163 invoked by uid 48); 13 Dec 2018 16:22:24 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88469] Unaligned stack access on arm (in particular armv5) Date: Thu, 13 Dec 2018 16:22: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: 8.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha 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 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: 2018-12/txt/msg01921.txt.bz2 Content-length: 947 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88469 Richard Earnshaw changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Status|WAITING |NEW --- Comment #3 from Richard Earnshaw --- Sigh, this is a PCS layout bug for argument marshalling. I think it can on= ly happen when a struct inherits 64-bit alignment from a bit-field. In this c= ase, the alignment on the bit-field is 1, but it's real alignment for the purpos= es of type-layout is derived from the bit-field's type. I have a simple fix, but I need to think a bit more about how we might need= to warn about this change occurring - made more complicated by the fact that we already have code to warn about a previous ABI bug in this area. >>From gcc-bugs-return-625806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 16:23:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86290 invoked by alias); 13 Dec 2018 16:23:50 -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 86212 invoked by uid 48); 13 Dec 2018 16:23:46 -0000 From: "anlauf at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88399] program segmentation faults when out-of-memory Date: Thu, 13 Dec 2018 16:23: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: 5.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gmx dot de X-Bugzilla-Status: WAITING 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: 2018-12/txt/msg01922.txt.bz2 Content-length: 632 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88399 Harald Anlauf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gmx dot de --- Comment #2 from Harald Anlauf --- AFAICT the problem seems fixed since 7.1, it is still present at 6.1. Looking at the tree dump, one can see that gfortran <=3D 6 initialized the derived type even when the malloc failed. It is now protected by an appropriate if/goto. I recommend to update to 7.1+ >>From gcc-bugs-return-625807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 16:27:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9778 invoked by alias); 13 Dec 2018 16:27:54 -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 6943 invoked by uid 48); 13 Dec 2018 16:27:50 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88425] suboptimal code for a 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: 2018-12/txt/msg01923.txt.bz2 Content-length: 170 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88425 --- Comment #4 from Alexander Monakov --- Thanks! Should this be closed as fixed now? >>From gcc-bugs-return-625808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 16:28:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33097 invoked by alias); 13 Dec 2018 16:28: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 30646 invoked by uid 48); 13 Dec 2018 16:28:33 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88425] suboptimal code for a 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: 2018-12/txt/msg01924.txt.bz2 Content-length: 420 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88425 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jakub Jelinek --- =2E >>From gcc-bugs-return-625809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 16:35:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119582 invoked by alias); 13 Dec 2018 16:34: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119447 invoked by uid 48); 13 Dec 2018 16:34:47 -0000 From: "sss@li-snyder.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88485] New: [9 regression] parse error on explicitly specialized assignment call Date: Thu, 13 Dec 2018 16:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sss@li-snyder.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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01925.txt.bz2 Content-length: 2115 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88485 Bug ID: 88485 Summary: [9 regression] parse error on explicitly specialized assignment call Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sss@li-snyder.org Target Milestone: --- hi - gcc9 rejects the following code: ------------------------------------------------------------- template class Base {}; class Block : public Base {}; template class Foo { template Block& operator=3D(const Base& other); Block& operator=3D(const Block& other) { return operator=3D(other); } }; ------------------------------------------------------------- $ cc1plus -quiet -version x.cc GNU C++14 (GCC) version 9.0.0 20181212 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 9.0.0 20181212 (experimental), GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.0.2, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU C++14 (GCC) version 9.0.0 20181212 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 9.0.0 20181212 (experimental), GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.0.2, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: c0eebf4a7781166f39f275d6d099325f x.cc: In member function =E2=80=98Block& Foo::operator=3D(const Block&)= =E2=80=99: x.cc:12:27: error: expected primary-expression before =E2=80=98>=E2=80=99 t= oken 12 | return operator=3D(other); | ^ ------------------------------------------------------------- The same code is accepted by both gcc 8.2.1 and clang 6.0.1. The error also goes away if the class `Foo' is changed to be a non-template class, or if `operator=3D' is changed to a named method. >>From gcc-bugs-return-625810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 16:38:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11619 invoked by alias); 13 Dec 2018 16:38:12 -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 11513 invoked by uid 48); 13 Dec 2018 16:38:08 -0000 From: "vmakarov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88457] ICE: Max. number of generated reload insns per insn is achieved (90) Date: Thu, 13 Dec 2018 16:38: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: vmakarov 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: 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: 2018-12/txt/msg01926.txt.bz2 Content-length: 401 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88457 --- Comment #2 from Vladimir Makarov --- (In reply to Richard Biener from comment #1) > ira-max-conflict-table-size=3D0 might be an impossible value - Vlad? Any size is possible. Simply in this case conflict table is not built and simple RA (kind of linear scan) is used and this algorithm uses only live ranges. >>From gcc-bugs-return-625811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 16:41:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17062 invoked by alias); 13 Dec 2018 16:41:07 -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 17008 invoked by uid 48); 13 Dec 2018 16:41:03 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88485] [9 regression] parse error on explicitly specialized assignment call Date: Thu, 13 Dec 2018 16:41: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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: 2018-12/txt/msg01927.txt.bz2 Content-length: 413 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88485 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #1 from Marek Polacek --- This compiles fine for me. >>From gcc-bugs-return-625812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 16:44:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24678 invoked by alias); 13 Dec 2018 16:44:03 -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 24601 invoked by uid 48); 13 Dec 2018 16:43:59 -0000 From: "heinrich.seebauer at swistec dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88481] -O1 causes optimizer to drop 'then' clause in conditional Date: Thu, 13 Dec 2018 16:44: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: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: heinrich.seebauer at swistec dot de X-Bugzilla-Status: WAITING 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: attachments.created 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: 2018-12/txt/msg01928.txt.bz2 Content-length: 269 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88481 --- Comment #7 from Heinrich Seebauer = --- Created attachment 45232 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45232&action=3Dedit zipped asm files for three cases >>From gcc-bugs-return-625813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 16:52:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48970 invoked by alias); 13 Dec 2018 16:52:49 -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 45906 invoked by uid 48); 13 Dec 2018 16:52:44 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87436] [7/8/9 Regression] G++ produces >300MB .rodata section to initialize struct with big array Date: Thu, 13 Dec 2018 16:52: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: 8.2.1 X-Bugzilla-Keywords: compile-time-hog, memory-hog, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created 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: 2018-12/txt/msg01929.txt.bz2 Content-length: 721 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87436 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #5 from Jakub Jelinek --- Created attachment 45233 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45233&action=3Dedit gcc9-pr87436-2.patch Incremental patch to gimplify assignments from ctors with largish RANGE_EXP= Rs using runtime loops rather than copying object from huge .rodata constant. >>From gcc-bugs-return-625814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 16:53:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90540 invoked by alias); 13 Dec 2018 16:53: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 88420 invoked by uid 48); 13 Dec 2018 16:53:53 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82294] Array of objects with constexpr constructors initialized from space-inefficient memory image Date: Thu, 13 Dec 2018 16:53: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: 7.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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 cc 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: 2018-12/txt/msg01930.txt.bz2 Content-length: 677 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82294 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |jakub at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #2 from Jakub Jelinek --- See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87436#c4 and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87436#c5. *** This bug has been marked as a duplicate of bug 87436 *** >>From gcc-bugs-return-625815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 16:53:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91022 invoked by alias); 13 Dec 2018 16:53: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89054 invoked by uid 48); 13 Dec 2018 16:53:54 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87436] [7/8/9 Regression] G++ produces >300MB .rodata section to initialize struct with big array Date: Thu, 13 Dec 2018 16:53: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: 8.2.1 X-Bugzilla-Keywords: compile-time-hog, memory-hog, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01931.txt.bz2 Content-length: 438 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87436 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |headch at gmail dot com --- Comment #6 from Jakub Jelinek --- *** Bug 82294 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-625816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 16:56:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54196 invoked by alias); 13 Dec 2018 16:56:47 -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 51700 invoked by uid 48); 13 Dec 2018 16:56:42 -0000 From: "heinrich.seebauer at swistec dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88481] -O1 causes optimizer to drop 'then' clause in conditional Date: Thu, 13 Dec 2018 16:56: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: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: heinrich.seebauer at swistec dot de X-Bugzilla-Status: WAITING 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: 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: 2018-12/txt/msg01932.txt.bz2 Content-length: 733 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88481 --- Comment #8 from Heinrich Seebauer = --- Sorry, my comment was lost completely after uploading the attachment. Try again... So I hope, I got this right. -fdbg-cnt=3Dif_conversion:xx,if_after_combine:yy xx yy result ----------------------- 20 20 success 20 21 fail 0 21 fail 21 20 fail tested with -fdbg-cnt=3Dif_conversion:20,if_after_combine:21 -fno-if-conver= sion and got functioning code. I did gdb stepping in the source file where I observed, that the condition = was true, but the branch was not executed. Same with the tests here - they were= all strepped via source code. >>From gcc-bugs-return-625817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:02:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83512 invoked by alias); 13 Dec 2018 17:02:31 -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 83355 invoked by uid 55); 13 Dec 2018 17:02:22 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store" Date: Thu, 13 Dec 2018 17:02: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01933.txt.bz2 Content-length: 868 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88464 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Thu Dec 13 17:01:50 2018 New Revision: 267097 URL: https://gcc.gnu.org/viewcvs?rev=3D267097&root=3Dgcc&view=3Drev Log: PR tree-optimization/88464 * tree-vect-stmts.c (vect_build_gather_load_calls): Handle INTEGER_= TYPE masktype if mask is non-NULL. (vectorizable_load): Don't reject masked gather loads if masktype in the decl is INTEGER_TYPE. * gcc.target/i386/avx512f-pr88462-1.c: New test. * gcc.target/i386/avx512f-pr88462-2.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88462-1.c trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88462-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-stmts.c >>From gcc-bugs-return-625819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:03:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86163 invoked by alias); 13 Dec 2018 17:03: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 86099 invoked by uid 48); 13 Dec 2018 17:03:50 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88486] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3401 Date: Thu, 13 Dec 2018 17:03: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de 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: 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: 2018-12/txt/msg01935.txt.bz2 Content-length: 388 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88486 --- Comment #1 from G. Steinmetz --- Compiles and runs when wrapped in a program : $ cat z2.f90 program p character(:), allocatable :: x(:) x =3D ['bcd'] x =3D ['a'//x//'e'] print *, size(x), len(x), x end $ gfortran-9-20181209 z2.f90 -static-libgfortran $ a.out 1 5 abcde $ >>From gcc-bugs-return-625818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:03:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85198 invoked by alias); 13 Dec 2018 17:03: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 85133 invoked by uid 48); 13 Dec 2018 17:03:29 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88486] New: ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3401 Date: Thu, 13 Dec 2018 17:03: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de 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 Message-ID: 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: 2018-12/txt/msg01934.txt.bz2 Content-length: 2467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88486 Bug ID: 88486 Summary: ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3401 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Affects versions down to at least gfortran-5. Under the hood related to pr85686. $ cat z1.f90 subroutine s(x) character(:), allocatable :: x(:) x =3D ['bcd'] x =3D ['a'//x//'e'] print *, x end $ gfortran-9-20181209 -c z1.f90 z1.f90:4:0: 4 | x =3D ['a'//x//'e'] | internal compiler error: Segmentation fault 0xb2f31f crash_signal ../../gcc/toplev.c:326 0x6caa5d gfc_conv_scalarized_array_ref ../../gcc/fortran/trans-array.c:3401 0x6cb82c gfc_conv_array_ref(gfc_se*, gfc_array_ref*, gfc_expr*, locus*) ../../gcc/fortran/trans-array.c:3554 0x6f468e gfc_conv_variable ../../gcc/fortran/trans-expr.c:2773 0x6f130a gfc_conv_expr(gfc_se*, gfc_expr*) ../../gcc/fortran/trans-expr.c:8047 0x6f5039 gfc_conv_string_length(gfc_charlen*, gfc_expr*, stmtblock_t*) ../../gcc/fortran/trans-expr.c:2243 0x6c69f6 get_array_charlen ../../gcc/fortran/trans-array.c:6979 0x6c6b07 get_array_charlen ../../gcc/fortran/trans-array.c:6922 0x6c698e get_array_charlen ../../gcc/fortran/trans-array.c:6911 0x6d400c gfc_conv_expr_descriptor(gfc_se*, gfc_expr*) ../../gcc/fortran/trans-array.c:7296 0x6d480e get_array_ctor_all_strlen ../../gcc/fortran/trans-array.c:2025 0x6d4916 get_array_ctor_strlen(stmtblock_t*, splay_tree_s*, tree_node**) ../../gcc/fortran/trans-array.c:2142 0x6d25e7 trans_array_constructor ../../gcc/fortran/trans-array.c:2473 0x6d25e7 gfc_add_loop_ss_code ../../gcc/fortran/trans-array.c:2835 0x6d2e65 gfc_conv_loop_setup(gfc_loopinfo*, locus*) ../../gcc/fortran/trans-array.c:5129 0x6ff8db gfc_trans_assignment_1 ../../gcc/fortran/trans-expr.c:10208 0x6c278f trans_code ../../gcc/fortran/trans.c:1822 0x73084f gfc_trans_block_construct(gfc_code*) ../../gcc/fortran/trans-stmt.c:2066 0x6c2937 trans_code ../../gcc/fortran/trans.c:1918 0x6ea054 gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.c:6509 >>From gcc-bugs-return-625820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:04:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87857 invoked by alias); 13 Dec 2018 17:04:49 -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 87823 invoked by uid 48); 13 Dec 2018 17:04:45 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88487] New: union prevents autovectorization Date: Thu, 13 Dec 2018 17:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla@poradnik-webmastera.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 Message-ID: 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: 2018-12/txt/msg01936.txt.bz2 Content-length: 2167 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88487 Bug ID: 88487 Summary: union prevents autovectorization Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: bugzilla@poradnik-webmastera.com Target Milestone: --- When pointer to data is inside union, loops are not autovectorized. This al= so happen when I removed "i" field from union, so it had only one field. Code compiled with -O3 -mavx [code] struct S1 { union { double* __restrict__ * __restrict__ d; int* __restrict__ * __restrict__ i; } u; }; struct S2 { double* __restrict__ * __restrict__ d; }; void test1(S1* __restrict__ s1, S1* __restrict__ s2) { for (int n =3D 0; n < 2; ++n) { s1->u.d[n][0] =3D s2->u.d[n][0]; s1->u.d[n][1] =3D s2->u.d[n][1]; } } void test2(S2* __restrict__ s1, S2* __restrict__ s2) { for (int n =3D 0; n < 2; ++n) { s1->d[n][0] =3D s2->d[n][0]; s1->d[n][1] =3D s2->d[n][1]; } } [/code] [asm] test1(S1*, S1*): mov rdx, QWORD PTR [rsi] mov rax, QWORD PTR [rdi] mov rsi, QWORD PTR [rdx] mov rcx, QWORD PTR [rax] mov rdx, QWORD PTR [rdx+8] mov rax, QWORD PTR [rax+8] vmovsd xmm0, QWORD PTR [rsi] vmovsd QWORD PTR [rcx], xmm0 vmovsd xmm0, QWORD PTR [rsi+8] vmovsd QWORD PTR [rcx+8], xmm0 vmovsd xmm0, QWORD PTR [rdx] vmovsd QWORD PTR [rax], xmm0 vmovsd xmm0, QWORD PTR [rdx+8] vmovsd QWORD PTR [rax+8], xmm0 ret test2(S2*, S2*): mov rdx, QWORD PTR [rsi] mov rax, QWORD PTR [rdi] mov rcx, QWORD PTR [rdx] mov rdx, QWORD PTR [rdx+8] vmovupd xmm0, XMMWORD PTR [rcx] mov rcx, QWORD PTR [rax] mov rax, QWORD PTR [rax+8] vmovups XMMWORD PTR [rcx], xmm0 vmovupd xmm0, XMMWORD PTR [rdx] vmovups XMMWORD PTR [rax], xmm0 ret [/asm] >>From gcc-bugs-return-625821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:05:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89271 invoked by alias); 13 Dec 2018 17:05: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 89218 invoked by uid 48); 13 Dec 2018 17:05:46 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88488] New: ICE in gfc_trans_array_constructor_subarray, at fortran/trans-array.c:1646 Date: Thu, 13 Dec 2018 17:05: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de 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 Message-ID: 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: 2018-12/txt/msg01937.txt.bz2 Content-length: 1703 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88488 Bug ID: 88488 Summary: ICE in gfc_trans_array_constructor_subarray, at fortran/trans-array.c:1646 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Affects versions down to at least gfortran-5 : $ cat z1.f90 program p type t integer :: n =3D 789 end type type(t), parameter :: a(2) =3D t() type(t) :: b(2) b =3D [a] end $ gfortran-9-20181209 -c z1.f90 z1.f90:7:0: 7 | b =3D [a] | internal compiler error: in gfc_trans_array_constructor_subarray, at fortran/trans-array.c:1646 0x6daccd gfc_trans_array_constructor_subarray ../../gcc/fortran/trans-array.c:1646 0x6daccd gfc_trans_array_constructor_value ../../gcc/fortran/trans-array.c:1774 0x6d279c trans_array_constructor ../../gcc/fortran/trans-array.c:2558 0x6d279c gfc_add_loop_ss_code ../../gcc/fortran/trans-array.c:2835 0x6d2e65 gfc_conv_loop_setup(gfc_loopinfo*, locus*) ../../gcc/fortran/trans-array.c:5129 0x6ff8db gfc_trans_assignment_1 ../../gcc/fortran/trans-expr.c:10208 0x6c278f trans_code ../../gcc/fortran/trans.c:1822 0x6ea054 gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.c:6509 0x6765c6 translate_all_program_units ../../gcc/fortran/parse.c:6128 0x6765c6 gfc_parse_file() ../../gcc/fortran/parse.c:6331 0x6bf27f gfc_be_parse_file ../../gcc/fortran/f95-lang.c:204 >>From gcc-bugs-return-625822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:06:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90206 invoked by alias); 13 Dec 2018 17:06:05 -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 90053 invoked by uid 48); 13 Dec 2018 17:06:00 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67288] [7/8/9 regression] non optimal simple function (useless additional shift/remove/shift/add) Date: Thu, 13 Dec 2018 17:06: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.3 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01938.txt.bz2 Content-length: 266 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67288 --- Comment #17 from Jeffrey A. Law --- Yea, I was pretty sure our current structure wasn't well suited for doing combinations in an EBB, but I was much less sure about the analysis side. >>From gcc-bugs-return-625823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:06:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90974 invoked by alias); 13 Dec 2018 17:06:17 -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 90890 invoked by uid 48); 13 Dec 2018 17:06:12 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88488] ICE in gfc_trans_array_constructor_subarray, at fortran/trans-array.c:1646 Date: Thu, 13 Dec 2018 17:06: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de 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: 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: 2018-12/txt/msg01939.txt.bz2 Content-length: 420 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88488 --- Comment #1 from G. Steinmetz --- Compiles and runs without attribute "parameter" : $ cat z2.f90 program p type t integer :: n =3D 789 end type type(t) :: a(2) =3D t() type(t) :: b(2) b =3D [a] print *, size(b), b end $ gfortran-9-20181209 z2.f90 -static-libgfortran $ a.out 2 789 789 $ >>From gcc-bugs-return-625824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:07:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96783 invoked by alias); 13 Dec 2018 17:07:48 -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 96724 invoked by uid 48); 13 Dec 2018 17:07:44 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88481] -O1 causes optimizer to drop 'then' clause in conditional Date: Thu, 13 Dec 2018 17:07: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: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: 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: 2018-12/txt/msg01940.txt.bz2 Content-length: 386 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88481 --- Comment #9 from Alexander Monakov --- Thanks. I still don't see what's wrong. Are you testing only by single-step= ping in gdb, or does your program overall behave differently with/without if-conversion? In other words, do you see if-conversion causing wrong code, or only worse debug experience? >>From gcc-bugs-return-625825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:11:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100452 invoked by alias); 13 Dec 2018 17:11:52 -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 100404 invoked by uid 48); 13 Dec 2018 17:11:48 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88487] union prevents autovectorization Date: Thu, 13 Dec 2018 17:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla@poradnik-webmastera.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: 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: 2018-12/txt/msg01941.txt.bz2 Content-length: 531 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88487 --- Comment #1 from Daniel Fruzynski --- Update: when pointers to data are copied to local variables like below, autovectorization starts working again. [code] void test3(S2* __restrict__ s1, S2* __restrict__ s2) { double* __restrict__ * __restrict__ d1 =3D s1->d; double* __restrict__ * __restrict__ d2 =3D s2->d; for (int n =3D 0; n < 2; ++n) { d1[n][0] =3D d2[n][0]; d1[n][1] =3D d2[n][1]; } } [/code] >>From gcc-bugs-return-625826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:13:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102564 invoked by alias); 13 Dec 2018 17: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 102447 invoked by uid 48); 13 Dec 2018 17:13:20 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88486] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3401 Date: Thu, 13 Dec 2018 17: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: bug_status cf_reconfirmed_on blocked 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: 2018-12/txt/msg01942.txt.bz2 Content-length: 737 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88486 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-13 Blocks| |68241 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres --- > Affects versions down to at least gfortran-5. Down to at least 4.8. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D68241 [Bug 68241] [meta-bug] [F03] Deferred-length character >>From gcc-bugs-return-625827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:14:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106573 invoked by alias); 13 Dec 2018 17:14: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 106525 invoked by uid 48); 13 Dec 2018 17:14:37 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88487] union prevents autovectorization Date: Thu, 13 Dec 2018 17:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla@poradnik-webmastera.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: 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: 2018-12/txt/msg01943.txt.bz2 Content-length: 317 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88487 --- Comment #2 from Daniel Fruzynski --- I spotted that test3 in previous comment uses structure S2 which does not h= ave union inside. When I changes it to use S1, I got non-vectorized code. So th= is workaround does not work. >>From gcc-bugs-return-625829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:20:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112707 invoked by alias); 13 Dec 2018 17:20:27 -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 112668 invoked by uid 48); 13 Dec 2018 17:20:23 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88469] AAPCS - Struct with 64-bit bitfield may be passed in wrong registers Date: Thu, 13 Dec 2018 17:20: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: 8.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha 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: 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: 2018-12/txt/msg01945.txt.bz2 Content-length: 878 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88469 --- Comment #4 from Richard Earnshaw --- Simpler test-case. struct x { long long a : 61; }; void bar (int, struct x); int foo (int a, int b, int c, struct x d) { bar (a, d); return 2; } This does not seem to generate ldrd, but does show that 'd' is passed parti= ally in r3 and partially on the stack, when it should be entirely on the stack. Correct code should be something like: push {r4, lr} ldrd r2, [sp, #8] bl bar mov r0, #2 pop {r4, pc} But we currently generate: sub sp, sp, #8 push {r4, lr} ldr r2, [sp, #16] mov r1, r3 str r3, [sp, #12] bl bar pop {r4, lr} mov r0, #2 add sp, sp, #8 bx lr >>From gcc-bugs-return-625828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:20:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112017 invoked by alias); 13 Dec 2018 17:20:16 -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 111975 invoked by uid 48); 13 Dec 2018 17:20:12 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88488] ICE in gfc_trans_array_constructor_subarray, at fortran/trans-array.c:1646 Date: Thu, 13 Dec 2018 17:20: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg01944.txt.bz2 Content-length: 553 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88488 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-13 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres --- > Affects versions down to at least gfortran-5 Down to at least 4.8. >>From gcc-bugs-return-625830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:26:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4914 invoked by alias); 13 Dec 2018 17:26:30 -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 4841 invoked by uid 48); 13 Dec 2018 17:26:25 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88485] [9 regression] parse error on explicitly specialized assignment call Date: Thu, 13 Dec 2018 17:26: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 2018-12/txt/msg01946.txt.bz2 Content-length: 480 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88485 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |nathan at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- Maybe dup of PR87531 then. >>From gcc-bugs-return-625832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:34:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23295 invoked by alias); 13 Dec 2018 17:34:15 -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 22973 invoked by uid 48); 13 Dec 2018 17:34:10 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87531] [8/9 Regression] assignment operator does nothing if performed as a call via operator= Date: Thu, 13 Dec 2018 17:34: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: 8.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 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: 2018-12/txt/msg01948.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87531 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sss@li-snyder.org --- Comment #11 from Marek Polacek --- *** Bug 88485 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-625831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:34:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23013 invoked by alias); 13 Dec 2018 17:34:13 -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 22902 invoked by uid 48); 13 Dec 2018 17:34:08 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88485] [9 regression] parse error on explicitly specialized assignment call Date: Thu, 13 Dec 2018 17:34: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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 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: 2018-12/txt/msg01947.txt.bz2 Content-length: 505 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88485 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #3 from Marek Polacek --- Seems plausible. *** This bug has been marked as a duplicate of bug 87531 *** >>From gcc-bugs-return-625833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:37:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29378 invoked by alias); 13 Dec 2018 17:37:17 -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 29300 invoked by uid 48); 13 Dec 2018 17:37:13 -0000 From: "vmakarov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88414] [9 Regression] ICE in lra_assign, at lra-assigns.c:1624 Date: Thu, 13 Dec 2018 17:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vmakarov 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: 9.0 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: 2018-12/txt/msg01949.txt.bz2 Content-length: 598 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88414 --- Comment #4 from Vladimir Makarov --- (In reply to Jakub Jelinek from comment #3) > Started with r257077. In any case, it seems to be a LRA error-recovery b= ug. > We first properly diagnose that the inline asm has constraints that are > impossible to resolve ("=3Dd" on two different variables). Vlad, do you = think > you could have a look? Yes, constraints are impossible and LRA should generate error "operand has impossible constraints". I am working on it and the fix will be ready today or tomorrow. >>From gcc-bugs-return-625834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:40:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33006 invoked by alias); 13 Dec 2018 17:40: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32973 invoked by uid 48); 13 Dec 2018 17:40:24 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88489] New: [9 Regression] FAIL: gcc.target/i386/avx512f-vfixupimmss-2.c execution test Date: Thu, 13 Dec 2018 17:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools 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 cc target_milestone cf_gcctarget Message-ID: 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: 2018-12/txt/msg01950.txt.bz2 Content-length: 642 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88489 Bug ID: 88489 Summary: [9 Regression] FAIL: gcc.target/i386/avx512f-vfixupimmss-2.c execution test Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: wei3.xiao at intel dot com Target Milestone: --- Target: x86 On AVX512 machine, r265827 caused FAIL: gcc.target/i386/avx512f-vfixupimmsd-2.c execution test >>From gcc-bugs-return-625835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:49:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93754 invoked by alias); 13 Dec 2018 17:49:05 -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 93108 invoked by uid 55); 13 Dec 2018 17:48:53 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87531] [8/9 Regression] assignment operator does nothing if performed as a call via operator= Date: Thu, 13 Dec 2018 17:49: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: 8.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 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: 2018-12/txt/msg01951.txt.bz2 Content-length: 1090 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87531 --- Comment #12 from Nathan Sidwell --- Author: nathan Date: Thu Dec 13 17:47:52 2018 New Revision: 267099 URL: https://gcc.gnu.org/viewcvs?rev=3D267099&root=3Dgcc&view=3Drev Log: [PR c++/87531] Fix second bug https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00929.html PR c++/87531 * class.c (finish_struct): Set DECL_CONTEXT of template assign op. * name-lookup.c (get_class_binding_direct): Don't strip using-decl of overload here. * parser.c (cp_parser_postfix_expression): Cope with using decl in overload set. * semantics.c (finish_id_expr): Likewise. * g++.dg/lookup/pr87531-2.C: New. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/lookup/pr87531-2.C Modified: branches/gcc-8-branch/gcc/cp/ChangeLog branches/gcc-8-branch/gcc/cp/class.c branches/gcc-8-branch/gcc/cp/name-lookup.c branches/gcc-8-branch/gcc/cp/parser.c branches/gcc-8-branch/gcc/cp/semantics.c branches/gcc-8-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:52:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115110 invoked by alias); 13 Dec 2018 17:52:17 -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 115028 invoked by uid 48); 13 Dec 2018 17:52:13 -0000 From: "njs at pobox dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/60035] [PATCH] make it possible to use OMP on both sides of a fork (without violating standard) Date: Thu, 13 Dec 2018 17:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: njs at pobox 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: 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: 2018-12/txt/msg01952.txt.bz2 Content-length: 1322 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60035 --- Comment #13 from Nathaniel J. Smith --- Unfortunately, AFAICT, the omp_pause_resource APIs don't actually solve the problem. They're fine and useful if you have a single piece of code that wants to use both omp and fork(). But, this was never a *huge* issue, because if you knew you were using omp then you also knew that fork() wasn't going to work, and could use some workaround. The really nasty case is when the code using omp and the code using fork() = are in entirely different pieces of code, that don't know about each other (e.g= ., different shared libraries). That's the motivating use case for this patch.= I don't see how the omp_pause_resource APIs help with this. The best you coul= d do is to set up a pre-fork hook to call omp_pause_resource_all, but that would= be equivalent to my first patch that got rejected for breaking standards-compl= iant programs. (In practice, the effect of this issue has been that the whole scientific python ecosystem simply avoids omp where-ever possible. That's why no one's been nagging about this patch. It still seems like a shame to me that all t= his work goes into the omp runtime and then it gets ruled out for so many users= for such a trivial thing, but so it goes I guess.) >>From gcc-bugs-return-625837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 17:57:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74317 invoked by alias); 13 Dec 2018 17:57:52 -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 73719 invoked by uid 48); 13 Dec 2018 17:57:46 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/42778] Superfluous stack management code is generated Date: Thu, 13 Dec 2018 17:57: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.5.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 2018-12/txt/msg01953.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D42778 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |4.8.0 --- Comment #4 from H.J. Lu --- Fixed for 4.8. >>From gcc-bugs-return-625838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 18:04:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31968 invoked by alias); 13 Dec 2018 18:04: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 31919 invoked by uid 48); 13 Dec 2018 18:04:47 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/38658] trivial try/catch statement not eliminated Date: Thu, 13 Dec 2018 18:04: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.3.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor 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: 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: 2018-12/txt/msg01954.txt.bz2 Content-length: 592 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D38658 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |4.3.5, 4.4.7, 4.8.5, 4.9.4, | |5.4.0, 6.4.0, 7.3.0, 8.2.0, | |9.0 --- Comment #6 from Martin Sebor --- The optimization is not implemented yet/still. No compiler on Godbolt does= it. >>From gcc-bugs-return-625839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 18:06:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34057 invoked by alias); 13 Dec 2018 18:06: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34015 invoked by uid 48); 13 Dec 2018 18:06:54 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88490] New: Missed autovectorization when indices are different Date: Thu, 13 Dec 2018 18:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla@poradnik-webmastera.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 Message-ID: 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: 2018-12/txt/msg01955.txt.bz2 Content-length: 1519 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88490 Bug ID: 88490 Summary: Missed autovectorization when indices are different Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: bugzilla@poradnik-webmastera.com Target Milestone: --- Code below reads and writes data using different indices what is checked by "if" above loop. This can be autovectorized, as both memory areas do not overlap. Code compiled with -O3 -march=3Dskylake-avx512 [code] struct S { double* __restrict__ * __restrict__ d; }; void test(S* __restrict__ s, int n, int k) { if (n > k) { for (int n =3D 0; n < 2; ++n) { s->d[n][0] =3D s->d[k][0]; s->d[n][1] =3D s->d[k][1]; } } } [/code] [asm] test(S*, int, int): cmp esi, edx jle .L3 mov rcx, QWORD PTR [rdi] movsx rdx, edx mov rax, QWORD PTR [rcx+rdx*8] mov rdx, QWORD PTR [rcx] vmovsd xmm0, QWORD PTR [rax] vmovsd QWORD PTR [rdx], xmm0 vmovsd xmm0, QWORD PTR [rax+8] vmovsd QWORD PTR [rdx+8], xmm0 vmovsd xmm0, QWORD PTR [rax] mov rdx, QWORD PTR [rcx+8] vmovsd QWORD PTR [rdx], xmm0 vmovsd xmm0, QWORD PTR [rax+8] vmovsd QWORD PTR [rdx+8], xmm0 .L3: ret [/asm] >>From gcc-bugs-return-625840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 18:10:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41377 invoked by alias); 13 Dec 2018 18:10:43 -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 41335 invoked by uid 48); 13 Dec 2018 18:10:38 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88490] Missed autovectorization when indices are different Date: Thu, 13 Dec 2018 18:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla@poradnik-webmastera.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: 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: 2018-12/txt/msg01956.txt.bz2 Content-length: 1058 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88490 --- Comment #1 from Daniel Fruzynski --- Ehh, small typo. This is correct version, also not vectorized: [code] struct S { double* __restrict__ * __restrict__ d; }; void test(S* __restrict__ s, int n, int k) { if (n > k) { for (int i =3D 0; i < 2; ++i) { s->d[n][0] =3D s->d[k][0]; s->d[n][1] =3D s->d[k][1]; } } } [/code] [asm] test(S*, int, int): cmp esi, edx jle .L3 mov rax, QWORD PTR [rdi] movsx rdx, edx mov rdx, QWORD PTR [rax+rdx*8] movsx rsi, esi vmovsd xmm0, QWORD PTR [rdx] mov rax, QWORD PTR [rax+rsi*8] vmovsd QWORD PTR [rax], xmm0 vmovsd xmm0, QWORD PTR [rdx+8] vmovsd QWORD PTR [rax+8], xmm0 vmovsd xmm0, QWORD PTR [rdx] vmovsd QWORD PTR [rax], xmm0 vmovsd xmm0, QWORD PTR [rdx+8] vmovsd QWORD PTR [rax+8], xmm0 .L3: ret [/asm] >>From gcc-bugs-return-625841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 18:12:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45031 invoked by alias); 13 Dec 2018 18:12: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 44972 invoked by uid 48); 13 Dec 2018 18:12:54 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87531] [8/9 Regression] assignment operator does nothing if performed as a call via operator= Date: Thu, 13 Dec 2018 18:12: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: 8.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01957.txt.bz2 Content-length: 443 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87531 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #13 from Nathan Sidwell --- Refixed trunk & gcc-8 >>From gcc-bugs-return-625842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 19:18:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67622 invoked by alias); 13 Dec 2018 19:18:16 -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 67541 invoked by uid 48); 13 Dec 2018 19:18:11 -0000 From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88491] New: new test case allocfail.sh in r267054 fails if dash is the default shell (/bin/sh) Date: Thu, 13 Dec 2018 19:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg01958.txt.bz2 Content-length: 877 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88491 Bug ID: 88491 Summary: new test case allocfail.sh in r267054 fails if dash is the default shell (/bin/sh) Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- FAIL: allocfail.sh =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D /home/seurer/gcc/gcc-trunk/libbacktrace/allocfail.sh: 35: set: Illegal opti= on -o pipefail FAIL allocfail.sh (exit status: 2) This fails on all our newer systems running Ubuntu 18.04 which link /bin/sh= to dash. The failing line is: set -o pipefail If I try that under dash on other systems it fails there, too. >>From gcc-bugs-return-625843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 19:43:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122904 invoked by alias); 13 Dec 2018 19:43:08 -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 120167 invoked by uid 48); 13 Dec 2018 19:43:03 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88482] ICE when wrongly declaring __cxa_allocate_exception Date: Thu, 13 Dec 2018 19:43: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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed attachments.created 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: 2018-12/txt/msg01959.txt.bz2 Content-length: 689 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88482 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-12-13 Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Created attachment 45234 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45234&action=3Dedit gcc9-pr88482.patch Untested fix. >>From gcc-bugs-return-625844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 19:46:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125913 invoked by alias); 13 Dec 2018 19:46:12 -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 125731 invoked by uid 55); 13 Dec 2018 19:46:00 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88416] [8/9 Regression] ICE in in df_uses_record, at df-scan.c:3013 Date: Thu, 13 Dec 2018 19:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 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: 2018-12/txt/msg01960.txt.bz2 Content-length: 599 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88416 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Thu Dec 13 19:44:50 2018 New Revision: 267105 URL: https://gcc.gnu.org/viewcvs?rev=3D267105&root=3Dgcc&view=3Drev Log: PR rtl-optimization/88416 * valtrack.c (cleanup_auto_inc_dec): Handle pre/post-inc/dec/modify even if !AUTO_INC_DEC. * gcc.target/i386/pr88416.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr88416.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/valtrack.c >>From gcc-bugs-return-625845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 20:02:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71968 invoked by alias); 13 Dec 2018 20:02:05 -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 66322 invoked by uid 48); 13 Dec 2018 20:02:00 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88416] [8 Regression] ICE in in df_uses_record, at df-scan.c:3013 Date: Thu, 13 Dec 2018 20:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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: 2018-12/txt/msg01961.txt.bz2 Content-length: 536 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88416 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[8/9 Regression] ICE in in |[8 Regression] ICE in in |df_uses_record, at |df_uses_record, at |df-scan.c:3013 |df-scan.c:3013 --- Comment #5 from Jakub Jelinek --- Fixed on the trunk so far. >>From gcc-bugs-return-625846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 20:02:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83582 invoked by alias); 13 Dec 2018 20:02: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 83478 invoked by uid 48); 13 Dec 2018 20:02:47 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store" Date: Thu, 13 Dec 2018 20:02: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01962.txt.bz2 Content-length: 216 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88464 --- Comment #10 from Jakub Jelinek --- For masked gathers it is now fixed on the trunk, for masked stores I'll hav= e a look tomorrow. >>From gcc-bugs-return-625847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 20:34:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48154 invoked by alias); 13 Dec 2018 20:34: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 48091 invoked by uid 55); 13 Dec 2018 20:34:27 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71044] Optimize std::filesystem implementation Date: Thu, 13 Dec 2018 20:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01963.txt.bz2 Content-length: 4863 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71044 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Thu Dec 13 20:33:55 2018 New Revision: 267106 URL: https://gcc.gnu.org/viewcvs?rev=3D267106&root=3Dgcc&view=3Drev Log: PR libstdc++/71044 optimize std::filesystem::path construction This new implementation has a smaller footprint than the previous implementation, due to replacing std::vector<_Cmpt> with a custom pimpl type that only needs a single pointer. The _M_type enumeration is also combined with the pimpl type, by using a tagged pointer, reducing sizeof(path) further still. Construction and modification of paths is now done more efficiently, by splitting the input into a stack-based buffer of string_view objects instead of a dynamically-allocated vector containing strings. Once the final size is known only a single allocation is needed to reserve space for it. The append and concat operations no longer require constructing temporary path objects, nor re-parsing the entire native pathname. This results in algorithmic improvements to path construction, and working with large paths is much faster. PR libstdc++/71044 * include/bits/fs_path.h (path::path(path&&)): Add noexcept when appropriate. Move _M_cmpts instead of reparsing the native pathname. (path::operator=3D(const path&)): Do not define as defaulted. (path::operator/=3D, path::append): Call _M_append. (path::concat): Call _M_concat. (path::path(string_type, _Type): Change type of first parameter to basic_string_view. (path::_M_append(basic_string_view)): New member functi= on. (path::_M_concat(basic_string_view)): New member functi= on. (_S_convert(value_type*, __null_terminated)): Return string view. (_S_convert(const value_type*, __null_terminated)): Return string v= iew. (_S_convert(value_type*, value_type*)) (_S_convert(const value_type*, const value_type*)): Add overloads f= or pairs of pointers. (_S_convert(_InputIterator, __null_terminated)): Construct string_t= ype explicitly, for cases where _S_convert returns a string view. (path::_S_is_dir_sep): Replace with non-member is_dir_sep. (path::_M_trim, path::_M_add_root_name, path::_M_add_root_dir) (path::_M_add_filename): Remove. (path::_M_type()): New member function to replace _M_type data memb= er. (path::_List): Define new struct type instead of using std::vector. (path::_Cmpt::_Cmpt(string_type, _Type, size_t)): Change type of first parameter to basic_string_view. (path::operator+=3D(const path&)): Do not define inline. (path::operator+=3D(const string_type&)): Call _M_concat. (path::operator+=3D(const value_type*)): Likewise. (path::operator+=3D(value_type)): Likewise. (path::operator+=3D(basic_string_view)): Likewise. (path::operator/=3D(const path&)): Do not define inline. (path::_M_append(path)): Remove. * python/libstdcxx/v6/printers.py (StdPathPrinter): New printer that understands the new path::_List type. * src/filesystem/std-path.cc (is_dir_sep): New function to replace path::_S_is_dir_sep. (path::_Parser): New helper class to parse strings as paths. (path::_List::_Impl): Define container type for path components. (path::_List): Define members. (path::operator=3D(const path&)): Define explicitly, to provide the strong exception safety guarantee. (path::operator/=3D(const path&)): Implement manually by processing each component of the argument, rather than using _M_split_cmpts to parse the entire string again. (path::_M_append(string_type)): Likewise. (path::operator+=3D(const path&)): Likewise. (path::_M_concat(string_type)): Likewise. (path::remove_filename()): Perform trim directly instead of calling _M_trim(). (path::_M_split_cmpts()): Rewrite in terms of _Parser class. (path::_M_trim, path::_M_add_root_name, path::_M_add_root_dir) (path::_M_add_filename): Remove. * testsuite/27_io/filesystem/path/append/source.cc: Test appending a string view that aliases the path. testsuite/27_io/filesystem/path/concat/strings.cc: Test concatenati= ng a string view that aliases the path. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/fs_path.h trunk/libstdc++-v3/python/libstdcxx/v6/printers.py trunk/libstdc++-v3/src/filesystem/std-path.cc trunk/libstdc++-v3/testsuite/27_io/filesystem/path/append/source.cc trunk/libstdc++-v3/testsuite/27_io/filesystem/path/concat/strings.cc >>From gcc-bugs-return-625849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 20:41:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68224 invoked by alias); 13 Dec 2018 20:41: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68177 invoked by uid 48); 13 Dec 2018 20:41:52 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71044] Optimize std::filesystem implementation Date: Thu, 13 Dec 2018 20:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01965.txt.bz2 Content-length: 3063 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71044 --- Comment #6 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #0) > Before the code is moved from std::experimental::filesystem to > std::filesystem (and into the shared library) there are a few improvements > that should be made. >=20 > http://wg21.link/lwg2674 relaxes requirements on path::iterator so that a > path is no longer required to embed a container of paths. The components > could be stored as string_view objects, and only converted to path objects > as needed (generally that means when a path::iterator is dereferenced). I've decided against this. The current implementation avoid the need for synchronization to make sure lazy init doesn't have data races, and avoids lifetime problems due to paths being stashed in the iterators e.g. filesystem::path p =3D "foo/bar"; basic_string_view s =3D std::next(p->begin())->native(); This creates a dangling string view if the path "bar" and its native string only have the lifetime of the iterator. > Parsing and splitting a path into components could be done lazily, so that > it isn't done for intermediate temporary copies of a path, only the final > value that is manipulated. Move semantics might mean this is unnecessary, > since performance-sensitive code can usually move values instead of copyi= ng > them. Parsing and copying paths is now much faster (but still performs a lot of allocations). > Directory iterators currently construct a path object on every increment. > This means that incrementing a directory iterator five times then > dereferencing it constructs five paths which are never used (and each one= is > eagerly split into components, allocating a container of paths!). > Construction of the path could be postponed so that it's only done on > dereference, so that the five increments are cheap. This has thread-safety > consequences, as the dereference is a const operation and could be perfor= med > concurrently, so the lazy construction of the path needs to be synchroniz= ed. This has not been done. (In reply to Jonathan Wakely from comment #2) > Created attachment 38463 [details] > Add assertions to directory iterator functions >=20 > Also consider replacing non-inline functions such as > directory_iterator::increment() with inline ones with assertions. Maybe not necessary. Building with --enable-libstdcxx-debug and then linkin= g to $libdir/debug/libstdc++s.a gives a version of the library with assertions enabled. > This would allow those functions to check preconditions at runtime, and m= ore > functions could be noexcept. (In reply to Jonathan Wakely from comment #3) > Several member functions of path construct a path from their argument, but > could be done without any allocations, e.g. path::compare(string_view) This has not been done, but would be trivial with the new path::_Parser hel= per type, which splits a string into components with no allocations, so that ea= ch component could be compared to [this->begin(),this->end()). >>From gcc-bugs-return-625848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 20:41:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66632 invoked by alias); 13 Dec 2018 20:41:00 -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 66572 invoked by uid 55); 13 Dec 2018 20:40:55 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88477] Variable with type completed in initializer not allowed. Date: Thu, 13 Dec 2018 20:41: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery 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: 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: 2018-12/txt/msg01964.txt.bz2 Content-length: 211 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88477 --- Comment #3 from joseph at codesourcery dot com --- I'm referring to C17 6.7.9#3, in the constraints for initializers. >>From gcc-bugs-return-625850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 20:42:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75822 invoked by alias); 13 Dec 2018 20:42:56 -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 75756 invoked by uid 48); 13 Dec 2018 20:42:52 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88467] Silently accepts wrong array constructor Date: Thu, 13 Dec 2018 20:42: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-12/txt/msg01966.txt.bz2 Content-length: 1506 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88467 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gn= u.org --- Comment #5 from kargl at gcc dot gnu.org --- (In reply to kargl from comment #4) > (In reply to kargl from comment #3) > > See pr88116 for a description of what appears to be happening. >=20 > So, in array.c (gfc_match_array_constructor), we have this=20 > bit of code >=20 >=20 > /* Walk the constructor and ensure type conversion for numeric type= s.=20 > */ > if (gfc_numeric_ts (&ts)) > { > c =3D gfc_constructor_first (head); > for (; c; c =3D gfc_constructor_next (c)) > gfc_convert_type (c->expr, &ts, 1); > } >=20 > For a failing example of "[integer :: 1, [integer(8) :: '3', 4]]", > ts is integer. The first constructor element is 1 and it has > an EXPR_CONSTANT type and integer type. The next constructor has > EXPR_ARRAY and the type for the array is integer(8). A conversion=20 > is applied to array. What I haven't determined yet is why > gfc_match_array_constructor is called recursively or does reach=20 > the walk. Well, that was a fun debugging session. In fact, gfortran does queue an error message, but issuing the error does not occur because of an idiotic error caused by the person who wrote the above code. I'll have a patch ready shortly. >>From gcc-bugs-return-625851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 20:44:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77909 invoked by alias); 13 Dec 2018 20:44:26 -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 77786 invoked by uid 48); 13 Dec 2018 20:44:16 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85544] [7/8/9 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3385 Date: Thu, 13 Dec 2018 20:44: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-12/txt/msg01967.txt.bz2 Content-length: 2018 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85544 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot = gnu.org --- Comment #6 from Thomas Koenig --- Index: frontend-passes.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 --- frontend-passes.c (Revision 266251) +++ frontend-passes.c (Arbeitskopie) @@ -1880,15 +1880,14 @@ optimize_power (gfc_expr *e) if (op1 =3D=3D NULL || op1->expr_type !=3D EXPR_CONSTANT) return false; + op2 =3D e->value.op.op2; + if (op2 =3D=3D NULL || op2->rank > 0) + return false; + if (mpz_cmp_si (op1->value.integer, -1L) =3D=3D 0) { gfc_free_expr (op1); - op2 =3D e->value.op.op2; - - if (op2 =3D=3D NULL) - return false; - iand =3D gfc_build_intrinsic_call (current_ns, GFC_ISYM_IAND, "_internal_iand", e->where, 2, op2, gfc_get_int_expr (e->ts.kind, @@ -1908,10 +1907,6 @@ optimize_power (gfc_expr *e) { gfc_free_expr (op1); - op2 =3D e->value.op.op2; - if (op2 =3D=3D NULL) - return false; - ishft =3D gfc_build_intrinsic_call (current_ns, GFC_ISYM_ISHFT, "_internal_ishft", e->where, 2, gfc_get_int_expr (e->ts.kind, @@ -1923,10 +1918,6 @@ optimize_power (gfc_expr *e) else if (mpz_cmp_si (op1->value.integer, 1L) =3D=3D 0) { - op2 =3D e->value.op.op2; - if (op2 =3D=3D NULL) - return false; - gfc_free_expr (op1); gfc_free_expr (op2); >>From gcc-bugs-return-625852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 20:49:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129957 invoked by alias); 13 Dec 2018 20:48: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120259 invoked by uid 55); 13 Dec 2018 20:48:21 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88216] [9 Regression] ICE (-std=c++2a) in cxx_eval_constant_expression, at cp/constexpr.c:4602 Date: Thu, 13 Dec 2018 20:48: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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: 9.0 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: 2018-12/txt/msg01968.txt.bz2 Content-length: 782 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88216 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Thu Dec 13 20:47:32 2018 New Revision: 267108 URL: https://gcc.gnu.org/viewcvs?rev=3D267108&root=3Dgcc&view=3Drev Log: PR c++/88216 - ICE with class type in non-type template parameter. * mangle.c (write_expression): Handle TARGET_EXPR and VIEW_CONVERT_EXPR. * pt.c (convert_nontype_argument): Don't call get_template_parm_object for value-dependent expressions. * g++.dg/cpp2a/nontype-class9.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp2a/nontype-class9.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/mangle.c trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 20:49:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 342 invoked by alias); 13 Dec 2018 20:49: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 131059 invoked by uid 48); 13 Dec 2018 20:49:31 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88216] [9 Regression] ICE (-std=c++2a) in cxx_eval_constant_expression, at cp/constexpr.c:4602 Date: Thu, 13 Dec 2018 20:49: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01969.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88216 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Marek Polacek --- Should be fixed. >>From gcc-bugs-return-625854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 20:52:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13733 invoked by alias); 13 Dec 2018 20:52:05 -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 13651 invoked by uid 55); 13 Dec 2018 20:52:01 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/88479] sanitizer should provide an option to detect conversion to signed integer that overflows Date: Thu, 13 Dec 2018 20:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery 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: 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: 2018-12/txt/msg01970.txt.bz2 Content-length: 820 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88479 --- Comment #4 from joseph at codesourcery dot com --- On Thu, 13 Dec 2018, vincent-gcc at vinc17 dot net wrote: > The C standard would have to drop ones' complement and sign-magnitude fir= st. And there's substantial support for doing so. > In any case, this is not a good programming practice, and for some projec= ts, it If you want to do modulo arithmetic on signed values, the idiom (in=20 common-usage C which supports conversions to signed integer types as being= =20 modulo) is to convert to unsigned, do arithmetic on unsigned and convert=20 back to signed. I don't think that's a bad practice. (Unintentional=20 overflows on conversion to signed would be bad, but the problem is=20 determining what's intentional.) >>From gcc-bugs-return-625855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 20:55:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31787 invoked by alias); 13 Dec 2018 20:55:03 -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 31497 invoked by uid 55); 13 Dec 2018 20:54:59 -0000 From: "vmakarov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88414] [9 Regression] ICE in lra_assign, at lra-assigns.c:1624 Date: Thu, 13 Dec 2018 20:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vmakarov 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: 9.0 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: 2018-12/txt/msg01971.txt.bz2 Content-length: 1079 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88414 --- Comment #5 from Vladimir Makarov --- Author: vmakarov Date: Thu Dec 13 20:54:27 2018 New Revision: 267109 URL: https://gcc.gnu.org/viewcvs?rev=3D267109&root=3Dgcc&view=3Drev Log: 2018-12-13 Vladimir Makarov PR rtl-optimization/88414 * lra-int.h (lra_asm_error_p): New. * lra-assigns.c (lra_assign): Check lra_asm_error_p for checking call crossed pseudo assignment correctness. (lra_split_hard_reg_for): Set up lra_asm_error_p. * lra-constraints.c (curr_insn_transform): Ditto. * lra.c (lra_asm_error_p): New. (lra): Reset lra_asm_error_p. 2018-12-13 Vladimir Makarov PR rtl-optimization/88414 * gcc.target/i386/pr88414.c: New. Added: trunk/gcc/testsuite/gcc.target/i386/pr88414.c Modified: trunk/gcc/ChangeLog trunk/gcc/lra-assigns.c trunk/gcc/lra-constraints.c trunk/gcc/lra-int.h trunk/gcc/lra.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 22:19:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127275 invoked by alias); 13 Dec 2018 22:19:11 -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 124291 invoked by uid 48); 13 Dec 2018 22:19:07 -0000 From: "ibuclaw at gdcproject dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88462] All D execution tests FAIL on Solaris/SPARC Date: Thu, 13 Dec 2018 22:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ibuclaw at gdcproject dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01972.txt.bz2 Content-length: 1092 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88462 --- Comment #6 from Iain Buclaw --- (In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #5) >=20 > Unfortunately, this doesn't work: the first time through, _locks[0] was > already 8-byte aligned and everything worked fine. This remained when > using align(8) instead. However, Mutex is 44 bytes on 32-bit > Solaris/x86, so again _locks[1] lands on a non-8 byte boundary and > pthread_mutex_init fails. >=20 Oh, yeah. I didn't consider that size of Mutex would be a problem. > I tried rouding up the size of the _locks array members to a multiple of > 8, but that let the constructor already fail the first time through > where _d_arraycopy checks that the right amount of data is copied: >=20 > _d_arraycopy -> rt.util.array.enforceRawArraysConformable -> > rt.util.array._enforceSameLength What you're doing rounding up the array size is correct. The bit you're missing is fixing up the slice assignment as well. lock[0 .. __traits(classInstanceSize, Mutex)] =3D typeid(Mutex).initializer= []; >>From gcc-bugs-return-625857-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 22:49:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130685 invoked by alias); 13 Dec 2018 22:49:05 -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 130525 invoked by uid 48); 13 Dec 2018 22:48:58 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88414] [9 Regression] ICE in lra_assign, at lra-assigns.c:1624 Date: Thu, 13 Dec 2018 22:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc 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: 2018-12/txt/msg01973.txt.bz2 Content-length: 506 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88414 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |law at redhat dot com Resolution|--- |FIXED --- Comment #6 from Jeffrey A. Law --- Resolved on the trunk. >>From gcc-bugs-return-625858-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 22:51:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15480 invoked by alias); 13 Dec 2018 22:51:12 -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 15398 invoked by uid 48); 13 Dec 2018 22:51:08 -0000 From: "amodra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88311] [9 Regression] mlongcall indirections are optimised away (for binutils versions that don't support AS_PLTSEQ) Date: Thu, 13 Dec 2018 22:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gmail dot com 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: 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: 2018-12/txt/msg01974.txt.bz2 Content-length: 477 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88311 Alan Modra changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amodra at gmail dot com --- Comment #6 from Alan Modra --- I can reproduce the problem with current gcc and auto-host.h edited to undef HAVE_AS_PLTSEQ. Investigating. >>From gcc-bugs-return-625859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 22:52:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16822 invoked by alias); 13 Dec 2018 22:52:02 -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 16706 invoked by uid 48); 13 Dec 2018 22:51:56 -0000 From: "amodra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88311] [9 Regression] mlongcall indirections are optimised away (for binutils versions that don't support AS_PLTSEQ) Date: Thu, 13 Dec 2018 22:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc 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: 2018-12/txt/msg01975.txt.bz2 Content-length: 487 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88311 Alan Modra changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC|amodra at gcc dot gnu.org, | |amodra at gmail dot com | Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot= com >>From gcc-bugs-return-625860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 22:53:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21505 invoked by alias); 13 Dec 2018 22:53: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 21448 invoked by uid 48); 13 Dec 2018 22:53:33 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug demangler/87241] A hang problem for c++filt Date: Thu, 13 Dec 2018 22:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: demangler X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager 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: cc component 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: 2018-12/txt/msg01976.txt.bz2 Content-length: 482 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87241 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.o= rg Component|c++ |demangler --- Comment #4 from Eric Gallager --- changing component to demangler >>From gcc-bugs-return-625861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 22:54:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22526 invoked by alias); 13 Dec 2018 22:54:05 -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 22428 invoked by uid 48); 13 Dec 2018 22:54:01 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88470] [7/8/9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2354 Date: Thu, 13 Dec 2018 22:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01977.txt.bz2 Content-length: 589 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88470 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |law at redhat dot com --- Comment #6 from Jeffrey A. Law --- Note we've got 8 obvious bugs in BZ where we're ICE-ing in maybe_record_trace_start, 3 of which are marked as gcc-9 regressions. It's probably worth reviewing all of them to see if any others are fixed by your change. >>From gcc-bugs-return-625862-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 23:02:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36960 invoked by alias); 13 Dec 2018 23:02:02 -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 36832 invoked by uid 48); 13 Dec 2018 23:01:57 -0000 From: "amodra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88311] [9 Regression] mlongcall indirections are optimised away (for binutils versions that don't support AS_PLTSEQ) Date: Thu, 13 Dec 2018 23:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amodra at gmail dot com 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: 2018-12/txt/msg01978.txt.bz2 Content-length: 2343 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88311 --- Comment #7 from Alan Modra --- Hmm, it looks like combine is removing the long call. hello2.c.262r.ud_dce: (insn 10 9 11 2 (set (reg/f:SI 127) (high:SI (symbol_ref:SI ("printf") [flags 0x41] ))) "hello2.c":5:3 651 {elf_high} (nil)) (insn 11 10 12 2 (set (reg/f:SI 126) (lo_sum:SI (reg/f:SI 127) (symbol_ref:SI ("printf") [flags 0x41] ))) "hello2.c":5:3 652 {elf_low} (expr_list:REG_DEAD (reg/f:SI 127) (expr_list:REG_EQUAL (symbol_ref:SI ("printf") [flags 0x41]=20 ) (nil)))) (insn 12 11 13 2 (set (reg:SI 66 ctr) (reg/f:SI 126)) "hello2.c":5:3 491 {*movsi_internal1} (expr_list:REG_DEAD (reg/f:SI 126) (expr_list:REG_EQUAL (symbol_ref:SI ("printf") [flags 0x41]=20 ) (nil)))) (call_insn 13 12 18 2 (parallel [ (set (reg:SI 3 3) (call (mem:SI (reg:SI 66 ctr) [0 __builtin_printf S4 A8]) (const_int 0 [0]))) (use (const_int 4 [0x4])) (clobber (reg:SI 65 lr)) ]) "hello2.c":5:3 658 {*call_value_indirect_nonlocal_sysvsi} (expr_list:REG_DEAD (reg:SI 66 ctr) (expr_list:REG_UNUSED (reg:SI 3 3) (expr_list:REG_CALL_DECL (symbol_ref:SI ("printf") [flags 0x41]= =20 ) (nil)))) (expr_list:SI (use (reg:SI 3 3)) (nil))) hello2.c.263r.combine: (note 10 9 11 2 NOTE_INSN_DELETED) (note 11 10 12 2 NOTE_INSN_DELETED) (note 12 11 13 2 NOTE_INSN_DELETED) (call_insn 13 12 18 2 (parallel [ (set (reg:SI 3 3) (call (mem:SI (symbol_ref:SI ("printf") [flags 0x41]=20 ) [0 __builtin_printf S4 A8]) (const_int 0 [0]))) (use (const_int 4 [0x4])) (clobber (reg:SI 65 lr)) ]) "hello2.c":5:3 659 {*call_value_nonlocal_sysvsi} (expr_list:REG_CALL_DECL (symbol_ref:SI ("printf") [flags 0x41]=20 ) (expr_list:REG_UNUSED (reg:SI 3 3) (nil))) (expr_list:SI (use (reg:SI 3 3)) (nil))) >>From gcc-bugs-return-625863-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 23:19:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69489 invoked by alias); 13 Dec 2018 23:19:49 -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 69408 invoked by uid 55); 13 Dec 2018 23:19:44 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88462] All D execution tests FAIL on Solaris/SPARC Date: Thu, 13 Dec 2018 23:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01979.txt.bz2 Content-length: 3311 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88462 --- Comment #7 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #6 from Iain Buclaw --- >> 8, but that let the constructor already fail the first time through >> where _d_arraycopy checks that the right amount of data is copied: >>=20 >> _d_arraycopy -> rt.util.array.enforceRawArraysConformable -> >> rt.util.array._enforceSameLength > > What you're doing rounding up the array size is correct. The bit you're > missing is fixing up the slice assignment as well. > > lock[0 .. __traits(classInstanceSize, Mutex)] =3D typeid(Mutex).initializ= er[]; That got me over this issue indeed, thanks. However, I now hit the next issue: a SIGBUS (which gdb incorrectly reports as SIGSEGV) due to an alignement issue: Thread 2 received signal SIGSEGV, Segmentation fault. [Switching to Thread 1 (LWP 1)] 0x0007c970 in object.ModuleInfo.flags() const (this=3D...) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/object.d:1541 1541 @property uint flags() nothrow pure @nogc { return _flags; } (gdb) where #0 0x0007c970 in object.ModuleInfo.flags() const (this=3D...) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/object.d:1541 #1 0x0007d118 in object.ModuleInfo.importedModules() const (this=3D...) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/object.d:1580 #2 0x0008ed74 in rt.minfo.ModuleGroup.sortCtors(immutable(char)[]) (this= =3D...,=20 cycleHandling=3D...) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/minfo.d:259 #3 0x00091110 in rt.minfo.ModuleGroup.sortCtors() (this=3D...) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/minfo.d:533 #4 0x00092d24 in __foreachbody1 (this=3D0x0, sg=3D...) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/minfo.d:795 #5 0x00097a08 in rt.sections_elf_shared.DSO.opApply(scope int(ref rt.sections_elf_shared.DSO) delegate) (dg=3D...) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/sections_elf_shared.= d:68 #6 0x00092ce8 in rt_moduleCtor () at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/minfo.d:793 #7 0x00085dbc in rt_init () at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/dmain2.d:190 #8 0x000867e8 in runAll (this=3D0xffbfe78c) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/dmain2.d:485 #9 0x00086740 in tryExec (this=3D0xffbfe78c, dg=3D...) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/dmain2.d:461 #10 0x0008664c in _d_run_main (argc=3D1, argv=3D0xffbfe8bc,=20 mainFunc=3D0x6c164 ) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/dmain2.d:494 #11 0x0006b7e4 in main (argc=3D1, argv=3D0xffbfe8bc) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/__entrypoint.di:= 44 #12 0x0006b5d4 in _start () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) p this $5 =3D (const object.ModuleInfo &) @0x12ab33: {_flags =3D 4100, _index =3D = 0} (gdb) x/i $pc =3D> 0x7c970 <_D6object10ModuleInfo5flagsMxFNaNbNdNiZk+152>:=20=20=20=20=20= =20 ld [ %g1 ], %g1 (gdb) p/x $g1 $6 =3D 0x12ab33 Trying to load 32 bits from a non-4 byte aligned pointer is a no-no on a strict-alignment target like sparc... >>From gcc-bugs-return-625864-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 23:32:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93228 invoked by alias); 13 Dec 2018 23:32:02 -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 92599 invoked by uid 48); 13 Dec 2018 23:31:57 -0000 From: "ibuclaw at gdcproject dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88462] All D execution tests FAIL on Solaris/SPARC Date: Thu, 13 Dec 2018 23:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ibuclaw at gdcproject dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01980.txt.bz2 Content-length: 3731 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88462 --- Comment #8 from Iain Buclaw --- (In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #7) > > --- Comment #6 from Iain Buclaw --- > >> 8, but that let the constructor already fail the first time through > >> where _d_arraycopy checks that the right amount of data is copied: > >>=20 > >> _d_arraycopy -> rt.util.array.enforceRawArraysConformable -> > >> rt.util.array._enforceSameLength > > > > What you're doing rounding up the array size is correct. The bit you're > > missing is fixing up the slice assignment as well. > > > > lock[0 .. __traits(classInstanceSize, Mutex)] =3D typeid(Mutex).initial= izer[]; >=20 > That got me over this issue indeed, thanks. >=20 > However, I now hit the next issue: a SIGBUS (which gdb incorrectly > reports as SIGSEGV) due to an alignement issue: >=20 > Thread 2 received signal SIGSEGV, Segmentation fault. > [Switching to Thread 1 (LWP 1)] > 0x0007c970 in object.ModuleInfo.flags() const (this=3D...) > at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/object.d:1541 > 1541 @property uint flags() nothrow pure @nogc { return _flags; } > (gdb) where > #0 0x0007c970 in object.ModuleInfo.flags() const (this=3D...) > at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/object.d:1541 > #1 0x0007d118 in object.ModuleInfo.importedModules() const (this=3D...) > at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/object.d:1580 > #2 0x0008ed74 in rt.minfo.ModuleGroup.sortCtors(immutable(char)[]) > (this=3D...,=20 > cycleHandling=3D...) > at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/minfo.d:259 > #3 0x00091110 in rt.minfo.ModuleGroup.sortCtors() (this=3D...) > at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/minfo.d:533 > #4 0x00092d24 in __foreachbody1 (this=3D0x0, sg=3D...) > at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/minfo.d:795 > #5 0x00097a08 in rt.sections_elf_shared.DSO.opApply(scope int(ref > rt.sections_elf_shared.DSO) delegate) (dg=3D...) > at > /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/sections_elf_share= d.d: > 68 > #6 0x00092ce8 in rt_moduleCtor () > at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/minfo.d:793 > #7 0x00085dbc in rt_init () > at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/dmain2.d:190 > #8 0x000867e8 in runAll (this=3D0xffbfe78c) > at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/dmain2.d:485 > #9 0x00086740 in tryExec (this=3D0xffbfe78c, dg=3D...) > at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/dmain2.d:461 > #10 0x0008664c in _d_run_main (argc=3D1, argv=3D0xffbfe8bc,=20 > mainFunc=3D0x6c164 ) > at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/dmain2.d:494 > #11 0x0006b7e4 in main (argc=3D1, argv=3D0xffbfe8bc) > at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/__entrypoint.d= i:44 > #12 0x0006b5d4 in _start () > Backtrace stopped: previous frame identical to this frame (corrupt stack?) > (gdb) p this > $5 =3D (const object.ModuleInfo &) @0x12ab33: {_flags =3D 4100, _index = =3D 0} > (gdb) x/i $pc > =3D> 0x7c970 <_D6object10ModuleInfo5flagsMxFNaNbNdNiZk+152>:=09 > ld [ %g1 ], %g1 > (gdb) p/x $g1 > $6 =3D 0x12ab33 >=20 > Trying to load 32 bits from a non-4 byte aligned pointer is a no-no on a > strict-alignment target like sparc... I saw that on HPPA as well when testing under QEMU. ModuleInfo is a variably-sized packed struct - what is in the variable part= is determined by the value of _flags. This is compiler generated, so I'll have a look into giving it proper align= ment on the compiler side. >>From gcc-bugs-return-625865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 23:34:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103929 invoked by alias); 13 Dec 2018 23:34:34 -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 103146 invoked by uid 55); 13 Dec 2018 23:34:30 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88470] [7/8/9 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2354 Date: Thu, 13 Dec 2018 23:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg01981.txt.bz2 Content-length: 668 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88470 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Thu Dec 13 23:33:57 2018 New Revision: 267112 URL: https://gcc.gnu.org/viewcvs?rev=3D267112&root=3Dgcc&view=3Drev Log: PR rtl-optimization/88470 * cfgcleanup.c (outgoing_edges_match): If the function is shrink-wrapped and bb1 ends with a JUMP_INSN with a single fake edge to EXIT, return false. * gcc.target/i386/pr88470.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr88470.c Modified: trunk/gcc/ChangeLog trunk/gcc/cfgcleanup.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625866-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 23:35:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108327 invoked by alias); 13 Dec 2018 23:35:52 -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 107682 invoked by uid 55); 13 Dec 2018 23:35:46 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88444] [9 Regression] ICE: tree check: expected ssa_name, have integer_cst in live_on_edge, at tree-vrp.c:468; or ICE: tree check: expected ssa_name, have integer_cst in get_value_range, at vr-values.c:84 Date: Thu, 13 Dec 2018 23:35: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: 9.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg01982.txt.bz2 Content-length: 627 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88444 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Thu Dec 13 23:35:10 2018 New Revision: 267113 URL: https://gcc.gnu.org/viewcvs?rev=3D267113&root=3Dgcc&view=3Drev Log: PR tree-optimization/88444 * tree-inline.c (fold_marked_statements): Iterate up to last_basic_block_for_fn rather than n_basic_blocks_for_fn. * gcc.dg/tree-ssa/pr88444.c: New test. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/pr88444.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-inline.c >>From gcc-bugs-return-625867-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 23:40:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116701 invoked by alias); 13 Dec 2018 23:40: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 116635 invoked by uid 48); 13 Dec 2018 23:40:51 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88444] [9 Regression] ICE: tree check: expected ssa_name, have integer_cst in live_on_edge, at tree-vrp.c:468; or ICE: tree check: expected ssa_name, have integer_cst in get_value_range, at vr-values.c:84 Date: Thu, 13 Dec 2018 23:40: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: 9.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01983.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88444 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-625868-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Dec 13 23:41:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117688 invoked by alias); 13 Dec 2018 23:41: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 117591 invoked by uid 48); 13 Dec 2018 23:41:19 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88470] [7/8 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2354 Date: Thu, 13 Dec 2018 23:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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: 2018-12/txt/msg01984.txt.bz2 Content-length: 547 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88470 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[7/8/9 Regression] ICE in |[7/8 Regression] ICE in |maybe_record_trace_start, |maybe_record_trace_start, |at dwarf2cfi.c:2354 |at dwarf2cfi.c:2354 --- Comment #8 from Jakub Jelinek --- Fixed on the trunk so far. >>From gcc-bugs-return-625869-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 00:02:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54220 invoked by alias); 14 Dec 2018 00:01:52 -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 53237 invoked by uid 48); 14 Dec 2018 00:00:46 -0000 From: "vincent-gcc at vinc17 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/88479] sanitizer should provide an option to detect conversion to signed integer that overflows Date: Fri, 14 Dec 2018 00:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vincent-gcc at vinc17 dot net 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: 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: 2018-12/txt/msg01985.txt.bz2 Content-length: 636 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88479 --- Comment #5 from Vincent Lef=C3=A8vre --- (In reply to joseph@codesourcery.com from comment #4) > If you want to do modulo arithmetic on signed values, the idiom (in=20 > common-usage C which supports conversions to signed integer types as bein= g=20 > modulo) is to convert to unsigned, do arithmetic on unsigned and convert= =20 > back to signed. The conversion back to signed can be done without involving the implementation-defined behavior, e.g. with a macro that consider the two ca= ses. This is much better as the conversion is explicit. >>From gcc-bugs-return-625870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 00:12:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89951 invoked by alias); 14 Dec 2018 00:12:10 -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 89854 invoked by uid 48); 14 Dec 2018 00:12:06 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88311] [9 Regression] mlongcall indirections are optimised away (for binutils versions that don't support AS_PLTSEQ) Date: Fri, 14 Dec 2018 00:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amodra at gmail dot com 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: 2018-12/txt/msg01986.txt.bz2 Content-length: 358 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88311 --- Comment #8 from Iain Sandoe --- I don't profess to grok the intracecies of combine, but ISTM that the stored indirection needs the moral equivalent of "used", or else it should surely = be a candidate for removal. After all, that's a useful optimisation in other ca= ses. >>From gcc-bugs-return-625871-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 04:29:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11035 invoked by alias); 14 Dec 2018 04:29: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 10959 invoked by uid 48); 14 Dec 2018 04:28:57 -0000 From: "amodra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88311] [9 Regression] mlongcall indirections are optimised away (for binutils versions that don't support AS_PLTSEQ) Date: Fri, 14 Dec 2018 04:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: 2018-12/txt/msg01987.txt.bz2 Content-length: 548 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88311 --- Comment #9 from Alan Modra --- Created attachment 45235 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45235&action=3Dedit fix r266604, git 0a4b5c66df9, "[RS6000] Use standard call patterns for __tls_get_addr calls" is the patch that regressed the long calls. The uplo= aded patch has been regression tested powerpc64le-linux with HAVE_AS_PLTCALL set= .=20 I'm waiting on the results of a powerpc64-linux biarch bootstrap with HAVE_AS_PLTCALL undefined. >>From gcc-bugs-return-625872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 04:43:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79135 invoked by alias); 14 Dec 2018 04:43: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 79045 invoked by uid 48); 14 Dec 2018 04:42:56 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87292] Warnings with Bit Fields Date: Fri, 14 Dec 2018 04:43: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: 8.2.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager 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: see_also 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: 2018-12/txt/msg01988.txt.bz2 Content-length: 519 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87292 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D39170 --- Comment #7 from Eric Gallager --- Besides bug 61414 this bug also reminds me of bug 39170 >>From gcc-bugs-return-625873-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 05:12:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59759 invoked by alias); 14 Dec 2018 05:12: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 59682 invoked by uid 48); 14 Dec 2018 05:12:32 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88261] [9 Regression] ICE: verify_gimple failed (error: non-trivial conversion at assignment) Date: Fri, 14 Dec 2018 05:12: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: 9.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com 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: 9.0 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: 2018-12/txt/msg01989.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88261 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |law at redhat dot com --- Comment #5 from Jeffrey A. Law --- Right, but we're not supposed to ICE, even on invalid code. >>From gcc-bugs-return-625874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 05:17:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65830 invoked by alias); 14 Dec 2018 05:17:00 -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 65775 invoked by uid 48); 14 Dec 2018 05:16:55 -0000 From: "jiangning.liu at amperecomputing dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88492] New: SLP optimization generates ugly code Date: Fri, 14 Dec 2018 05:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jiangning.liu at amperecomputing 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 Message-ID: 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: 2018-12/txt/msg01990.txt.bz2 Content-length: 4970 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88492 Bug ID: 88492 Summary: SLP optimization generates ugly code Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jiangning.liu at amperecomputing dot com Target Milestone: --- For aarch64, SLP optimization generates ugly code for the case below, int test_slp( unsigned char *b ) { unsigned int tmp[4][4]; int sum =3D 0; for( int i =3D 0; i < 4; i++, b +=3D 4 ) { tmp[i][0] =3D b[0]; tmp[i][2] =3D b[1]; tmp[i][1] =3D b[2]; tmp[i][3] =3D b[3]; } for( int i =3D 0; i < 4; i++ ) { sum +=3D tmp[0][i] + tmp[1][i] + tmp[2][i] + tmp[3][i]; } return sum; } With command line "gcc -O3", the following code is generated, 0000000000000000 : 0: 90000001 adrp x1, 0 4: d10103ff sub sp, sp, #0x40 8: 3dc00001 ldr q1, [x0] c: 3dc00020 ldr q0, [x1] 10: 4e000021 tbl v1.16b, {v1.16b}, v0.16b 14: 2f08a422 uxtl v2.8h, v1.8b 18: 6f08a421 uxtl2 v1.8h, v1.16b 1c: 2f10a443 uxtl v3.4s, v2.4h 20: 6f10a442 uxtl2 v2.4s, v2.8h 24: 2f10a420 uxtl v0.4s, v1.4h 28: 6f10a421 uxtl2 v1.4s, v1.8h 2c: 9e660060 fmov x0, d3 30: ad000be3 stp q3, q2, [sp] 34: b9401be8 ldr w8, [sp, #24] 38: ad0107e0 stp q0, q1, [sp, #32] 3c: 9e660022 fmov x2, d1 40: d360fc01 lsr x1, x0, #32 44: 9e660040 fmov x0, d2 48: 294117e6 ldp w6, w5, [sp, #8] 4c: d360fc43 lsr x3, x2, #32 50: b9402be2 ldr w2, [sp, #40] 54: d360fc07 lsr x7, x0, #32 58: 9e660000 fmov x0, d0 5c: 0ea18400 add v0.2s, v0.2s, v1.2s 60: 0b0100e7 add w7, w7, w1 64: 0b0800c6 add w6, w6, w8 68: b9401fe8 ldr w8, [sp, #28] 6c: d360fc00 lsr x0, x0, #32 70: 1e260001 fmov w1, s0 74: 0ea28460 add v0.2s, v3.2s, v2.2s 78: 0b000063 add w3, w3, w0 7c: 0b070063 add w3, w3, w7 80: 29471fe0 ldp w0, w7, [sp, #56] 84: 1e260004 fmov w4, s0 88: 0b000042 add w2, w2, w0 8c: b9402fe0 ldr w0, [sp, #44] 90: 0b060042 add w2, w2, w6 94: 0b040021 add w1, w1, w4 98: 0b070000 add w0, w0, w7 9c: 0b030021 add w1, w1, w3 a0: 0b0800a3 add w3, w5, w8 a4: 0b020021 add w1, w1, w2 a8: 0b030000 add w0, w0, w3 ac: 0b000020 add w0, w1, w0 b0: 910103ff add sp, sp, #0x40 b4: d65f03c0 ret In the code, vectorization code is generated, but there are ugly instructio= ns generated as well, e.g. memory store and register copy from SIMD register to general purpose register. With command line "gcc -O3 -fno-tree-slp-vectorize", the following code can= be generated, and it looks pretty clean. Usually, this code sequence is friend= ly to hardware prefetch. 0000000000000000 : 0: 39402004 ldrb w4, [x0, #8] 4: 39401002 ldrb w2, [x0, #4] 8: 39403001 ldrb w1, [x0, #12] c: 39400003 ldrb w3, [x0] 10: 39402806 ldrb w6, [x0, #10] 14: 0b040021 add w1, w1, w4 18: 39401805 ldrb w5, [x0, #6] 1c: 0b020063 add w3, w3, w2 20: 39403804 ldrb w4, [x0, #14] 24: 0b030021 add w1, w1, w3 28: 39400802 ldrb w2, [x0, #2] 2c: 39400403 ldrb w3, [x0, #1] 30: 0b060084 add w4, w4, w6 34: 39402407 ldrb w7, [x0, #9] 38: 0b050042 add w2, w2, w5 3c: 39401406 ldrb w6, [x0, #5] 40: 0b020084 add w4, w4, w2 44: 39403405 ldrb w5, [x0, #13] 48: 0b040021 add w1, w1, w4 4c: 0b060063 add w3, w3, w6 50: 39400c02 ldrb w2, [x0, #3] 54: 0b0700a5 add w5, w5, w7 58: 39403c04 ldrb w4, [x0, #15] 5c: 0b050063 add w3, w3, w5 60: 39401c06 ldrb w6, [x0, #7] 64: 39402c05 ldrb w5, [x0, #11] 68: 0b030021 add w1, w1, w3 6c: 0b060040 add w0, w2, w6 70: 0b050082 add w2, w4, w5 74: 0b020000 add w0, w0, w2 78: 0b000020 add w0, w1, w0 7c: d65f03c0 ret Anyway, it looks the heuristic rule to enable SLP optimization needs to be improved. >>From gcc-bugs-return-625875-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 07:39:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34113 invoked by alias); 14 Dec 2018 07:39:00 -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 34048 invoked by uid 48); 14 Dec 2018 07:38:55 -0000 From: "schorkl72 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88399] program segmentation faults when out-of-memory Date: Fri, 14 Dec 2018 07:39: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: 5.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schorkl72 at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 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: 2018-12/txt/msg01991.txt.bz2 Content-length: 465 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88399 Lukas Schork changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #3 from Lukas Schork --- Tested with 8.2.0, where it works correctly. >>From gcc-bugs-return-625876-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 08:31:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42396 invoked by alias); 14 Dec 2018 08:31:05 -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 35640 invoked by uid 55); 14 Dec 2018 08:30:38 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88001] ASMCONS cannot handle properly UNSPEC(CONST) Date: Fri, 14 Dec 2018 08:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 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: 2018-12/txt/msg01992.txt.bz2 Content-length: 567 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88001 --- Comment #8 from Segher Boessenkool --- Author: segher Date: Fri Dec 14 08:29:34 2018 New Revision: 267122 URL: https://gcc.gnu.org/viewcvs?rev=3D267122&root=3Dgcc&view=3Drev Log: match_asm_constraints: Use copy_rtx where needed (PR88001) The new insn here (temporarily) illegally shares RTL. This fixes it. PR rtl-optimization/88001 * function.c (match_asm_constraints_1): Don't invalidly share RTL. Modified: trunk/gcc/ChangeLog trunk/gcc/function.c >>From gcc-bugs-return-625877-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 08:41:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109673 invoked by alias); 14 Dec 2018 08:41: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 105815 invoked by uid 48); 14 Dec 2018 08:41:45 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88280] missing folding of logical and bitwise AND Date: Fri, 14 Dec 2018 08:41: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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01993.txt.bz2 Content-length: 1360 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88280 --- Comment #3 from Jakub Jelinek --- (In reply to Richard Biener from comment #1) > Confirmed. g and h end up like this before RTL expansion (initial folding > produces this): >=20 > j_6 =3D i_4(D) & a_5(D); > _1 =3D i_4(D) !=3D 0; > _2 =3D j_6 !=3D 0; > _3 =3D _1 & _2; > _7 =3D (int) _3; > return _7; >=20 > and for e we do not combine the i !=3D 0 check. >=20 > [local count: 1073741824]: > if (i_3(D) !=3D 0) > goto ; [50.00%] > else > goto ; [50.00%] >=20 > [local count: 536870913]: > _1 =3D i_3(D) & a_4(D); > _6 =3D _1 !=3D 0; > _7 =3D (int) _6; >=20 > [local count: 1073741824]: > # iftmp.0_2 =3D PHI <_7(3), i_3(D)(2)> > return iftmp.0_2; Yeah, with f we are just lucky that (i & a) !=3D 0 test is in a different b= asic block and dominates the i !=3D 0 test; EVRP then adds assertions from that = (i & a) !=3D 0 that i !=3D 0 as well as a !=3D 0 and optimizes the second redund= ant check out. For g and h we could in theory handle that through some match.pd pattern, b= ut dunno if it wouldn't be way too much specialized. If we wanted to do something about e, it would need to be done in reassoc r= ange handling, but again, not really sure how often it would trigger on real-wor= ld code. >>From gcc-bugs-return-625878-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 08:49:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12787 invoked by alias); 14 Dec 2018 08:49: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 12719 invoked by uid 48); 14 Dec 2018 08:49:36 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65496] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2318 with -O3 -fsched2-use-superblocks -mavx512dq --param=max-pending-list-length=0 Date: Fri, 14 Dec 2018 08:49: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: 5.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg01994.txt.bz2 Content-length: 363 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65496 --- Comment #6 from Jakub Jelinek --- #c0 got fixed or made latent with r235905. The #c4 testcase went latent with r249450 (though no idea why it hasn't been filed separately). In any case, not sure if it is worth keeping this open when it is either la= tent or fixed on the trunk. >>From gcc-bugs-return-625879-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 08:50:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13922 invoked by alias); 14 Dec 2018 08:50: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13816 invoked by uid 48); 14 Dec 2018 08:50:24 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88454] [9 regression] test case gcc.dg/tree-ssa/split-path-5.c fails after r266971 Date: Fri, 14 Dec 2018 08:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg01995.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88454 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-625880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 08:51:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26392 invoked by alias); 14 Dec 2018 08:51: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 26025 invoked by uid 48); 14 Dec 2018 08:51:38 -0000 From: "heinrich.seebauer at swistec dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88481] -O1 causes optimizer to drop 'then' clause in conditional Date: Fri, 14 Dec 2018 08:51: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: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: heinrich.seebauer at swistec dot de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 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: 2018-12/txt/msg01996.txt.bz2 Content-length: 1176 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88481 Heinrich Seebauer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #10 from Heinrich Seebauer --- Alexander, you are right, it is only strange behaviour. Using -O1 drops the 'then' clause, but the results are the same, if one takes a broader view. The program deals with controlling schedules using actual time. Each test r= un has different input values (current UTC time). I set up a situation where I= was able to control system time, and the outcomes were consistent, either using= -O0 oe -O1. What confused me was the fact that -O2/-Os did NOT drop the then clause. So= -O2 ist not just optimizing the -O1 outcome, but different from the beginning of the optimizer pass. I apologize for not getting this point quickly. Thank you very much for your support and your work for the commuinty, kind regards Heinrich >>From gcc-bugs-return-625881-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 09:04:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111241 invoked by alias); 14 Dec 2018 09:04:27 -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 110919 invoked by uid 55); 14 Dec 2018 09:04:22 -0000 From: "amodra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88311] [9 Regression] mlongcall indirections are optimised away (for binutils versions that don't support AS_PLTSEQ) Date: Fri, 14 Dec 2018 09:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amodra at gmail dot com 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: 2018-12/txt/msg01997.txt.bz2 Content-length: 1221 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88311 --- Comment #10 from Alan Modra --- Author: amodra Date: Fri Dec 14 09:03:50 2018 New Revision: 267123 URL: https://gcc.gnu.org/viewcvs?rev=3D267123&root=3Dgcc&view=3Drev Log: [RS6000] PR88311, mlongcall indirections are optimised away Masking CALL_LONG from the cookie was done in order to simplify and correct length attribute calculations for indirect calls at one point in my call series tidy when the indirect patterns used alternatives "0,n" on the cookie operand. (Leaving the CALL_LONG in place calculated the wrong length for long calls without fp args.) This is no longer necessary now that the indirect sysv call patterns explicitly test for the fp arg bits in their length attribute expressions. And without the CALL_LONG to disable insns like call_value_local_svsv, combine merrily replaces the indirect long call sequence with a direct call. As it should. This patch reinstates the CALL_LONG bit. PR rtl-optimization/88311 * config/rs6000/rs6000.c (rs6000_call_sysv): Do not mask cookie. (rs6000_sibcall_sysv): Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000.c >>From gcc-bugs-return-625882-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 09:05:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116649 invoked by alias); 14 Dec 2018 09:05: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 116564 invoked by uid 55); 14 Dec 2018 09:04:56 -0000 From: "avieira at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88224] Wrong Cortex-R7 and Cortex-R8 FPU configuration Date: Fri, 14 Dec 2018 09:05: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: avieira at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: avieira 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: 2018-12/txt/msg01998.txt.bz2 Content-length: 894 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88224 --- Comment #3 from avieira at gcc dot gnu.org --- Author: avieira Date: Fri Dec 14 09:04:24 2018 New Revision: 267124 URL: https://gcc.gnu.org/viewcvs?rev=3D267124&root=3Dgcc&view=3Drev Log: PR target/88224: Fix FPU configuration of Cortex-R7 and Cortex-R8 gcc/ 2018-12-14 Andre Vieira Backport from mainline PR target/88224 * config/arm/arm-cpus.in (armv7-r): Add FP16conv configurations. (cortex-r7, cortex-r8): Update fpu and add new configuration. * doc/invoke.texi (armv7-r): Add two new vfp options. (nofp.dp): Add cortex-r7 and cortex-r8 to the list of targets that support this option. Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/arm/arm-cpus.in branches/gcc-8-branch/gcc/doc/invoke.texi >>From gcc-bugs-return-625883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 09:16:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2585 invoked by alias); 14 Dec 2018 09:16:58 -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 2509 invoked by uid 48); 14 Dec 2018 09:16:54 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65496] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2318 with -O3 -fsched2-use-superblocks -mavx512dq --param=max-pending-list-length=0 Date: Fri, 14 Dec 2018 09:16: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: 5.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz 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: 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: 2018-12/txt/msg01999.txt.bz2 Content-length: 208 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65496 --- Comment #7 from Zdenek Sojka --- Please feel free to close this one; I might open another PR if I trigger th= is ICE again. >>From gcc-bugs-return-625884-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 09:18:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6295 invoked by alias); 14 Dec 2018 09:18:40 -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 6228 invoked by uid 48); 14 Dec 2018 09:18:36 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65496] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2318 with -O3 -fsched2-use-superblocks -mavx512dq --param=max-pending-list-length=0 Date: Fri, 14 Dec 2018 09:18: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: 5.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 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: 2018-12/txt/msg02000.txt.bz2 Content-length: 420 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65496 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #8 from Jakub Jelinek --- =2E >>From gcc-bugs-return-625885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 09:26:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20283 invoked by alias); 14 Dec 2018 09:26:05 -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 20135 invoked by uid 48); 14 Dec 2018 09:25:56 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88492] SLP optimization generates ugly code Date: Fri, 14 Dec 2018 09:26: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: 9.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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status cf_reconfirmed_on cc blocked 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: 2018-12/txt/msg02001.txt.bz2 Content-length: 883 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88492 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |aarch64 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-14 CC| |ktkachov at gcc dot gnu.org Blocks| |53947 Ever confirmed|0 |1 --- Comment #1 from ktkachov at gcc dot gnu.org --- Confirmed. Don't know if the vectoriser can do anything better here, but we= if not the cost models should be disabling it. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53947 [Bug 53947] [meta-bug] vectorizer missed-optimizations >>From gcc-bugs-return-625886-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 09:31:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34279 invoked by alias); 14 Dec 2018 09:31:08 -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 32396 invoked by uid 55); 14 Dec 2018 09:30:38 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88462] All D execution tests FAIL on Solaris/SPARC Date: Fri, 14 Dec 2018 09:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg02002.txt.bz2 Content-length: 848 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88462 --- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #8 from Iain Buclaw --- >> Trying to load 32 bits from a non-4 byte aligned pointer is a no-no on a >> strict-alignment target like sparc... > > I saw that on HPPA as well when testing under QEMU. > > ModuleInfo is a variably-sized packed struct - what is in the variable pa= rt is > determined by the value of _flags. > > This is compiler generated, so I'll have a look into giving it proper ali= gnment > on the compiler side. An alternative might be to leave the on-disk representation as is and only handle alignment on input/startup. However, that's probably a bad tradeoff of some on-disk space savings vs. the runtime cost at every startup. >>From gcc-bugs-return-625887-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 09:39:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63913 invoked by alias); 14 Dec 2018 09:39:13 -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 63848 invoked by uid 48); 14 Dec 2018 09:39:09 -0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88013] can't vectorize rgb to grayscale conversion code Date: Fri, 14 Dec 2018 09:39: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.2.1 X-Bugzilla-Keywords: missed-optimization 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: 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: 2018-12/txt/msg02003.txt.bz2 Content-length: 794 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88013 Ramana Radhakrishnan changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-14 CC| |ramana at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #8 from Ramana Radhakrishnan --- > vshr.u16 q9, q9, #8 > vshr.u16 q8, q8, #8 > vmovn.i16 d20, q9 > vmovn.i16 d21, q8 Isn't that "just" a missing combine pattern to get us vshrn in both backend= s ?=20 Ramana >>From gcc-bugs-return-625888-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 09:43:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68698 invoked by alias); 14 Dec 2018 09:43:44 -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 68370 invoked by uid 48); 14 Dec 2018 09:43:38 -0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87871] [9 Regression] testcases fail after r265398 on arm Date: Fri, 14 Dec 2018 09:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ramana 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: 9.0 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: 2018-12/txt/msg02004.txt.bz2 Content-length: 1333 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87871 Ramana Radhakrishnan changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ramana at gcc dot gnu.org --- Comment #6 from Ramana Radhakrishnan --- (In reply to Segher Boessenkool from comment #5) > The first one just needs an xfail. I don't know if it should be *-*-* th= ere > or only arm*-*-* should be added. >=20 > The other two need some debugging by someone who knows the target and/or > these tests. for the addr-modes-float.c case there are additional vmov's being generated= and thus is certainly a regression.=20 --- 8.s 2018-12-14 09:41:04.367843079 +0000 +++ addr-modes-float.s 2018-12-14 09:40:39.907980812 +0000 @@ -139,10 +139,13 @@ @ args =3D 0, pretend =3D 0, frame =3D 0 @ frame_needed =3D 0, uses_anonymous_args =3D 0 @ link register save eliminated. + vmov q8, q0 @ ti mov r3, r0 + vmov q9, q1 @ ti add r0, r0, #48 - vst3.8 {d0, d2, d4}, [r3]! - vst3.8 {d1, d3, d5}, [r3] + vmov q10, q2 @ ti + vst3.8 {d16, d18, d20}, [r3]! + vst3.8 {d17, d19, d21}, [r3] >>From gcc-bugs-return-625889-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 09:44:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69893 invoked by alias); 14 Dec 2018 09:44:23 -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 69696 invoked by uid 48); 14 Dec 2018 09:44:05 -0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87871] [9 Regression] testcases fail after r265398 on arm Date: Fri, 14 Dec 2018 09:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg02005.txt.bz2 Content-length: 494 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87871 Ramana Radhakrishnan changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-14 Ever confirmed|0 |1 --- Comment #7 from Ramana Radhakrishnan --- Confirmed. >>From gcc-bugs-return-625890-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 09:44:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70436 invoked by alias); 14 Dec 2018 09:44:29 -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 69890 invoked by uid 55); 14 Dec 2018 09:44:22 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88491] new test case allocfail.sh in r267054 fails if dash is the default shell (/bin/sh) Date: Fri, 14 Dec 2018 09:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries 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: 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: 2018-12/txt/msg02006.txt.bz2 Content-length: 779 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88491 --- Comment #1 from Tom de Vries --- Author: vries Date: Fri Dec 14 09:43:41 2018 New Revision: 267127 URL: https://gcc.gnu.org/viewcvs?rev=3D267127&root=3Dgcc&view=3Drev Log: [testsuite] Remove bashism from libbacktrace/allocfail.sh Test-case libbacktrace/allocfail.sh contains bashism "set -o pipefail", whi= ch makes the script fail on ubuntu 18.04, which links /bin/sh to /bin/dash. Fix this by removing the "set -o pipefail". Tested by running the test-case with dash on x86_64-linux. 2018-12-14 Tom de Vries PR testsuite/88491 * allocfail.sh: Remove "set -o pipefail". Modified: trunk/libbacktrace/ChangeLog trunk/libbacktrace/allocfail.sh >>From gcc-bugs-return-625891-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 09:50:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114186 invoked by alias); 14 Dec 2018 09:50:36 -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 114148 invoked by uid 48); 14 Dec 2018 09:50:32 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/88491] new test case allocfail.sh in r267054 fails if dash is the default shell (/bin/sh) Date: Fri, 14 Dec 2018 09:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution 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: 2018-12/txt/msg02007.txt.bz2 Content-length: 594 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88491 Tom de Vries changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |ian at airs dot com Resolution|--- |FIXED Target Milestone|--- |9.0 --- Comment #2 from Tom de Vries --- Patch fixing test-case committed, marking resolved-fixed. >>From gcc-bugs-return-625892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 10:03:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2468 invoked by alias); 14 Dec 2018 10:03: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 2380 invoked by uid 48); 14 Dec 2018 10:03:25 -0000 From: "amodra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88311] [9 Regression] mlongcall indirections are optimised away (for binutils versions that don't support AS_PLTSEQ) Date: Fri, 14 Dec 2018 10:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amodra at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 2018-12/txt/msg02008.txt.bz2 Content-length: 469 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88311 Alan Modra changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |9.0 --- Comment #11 from Alan Modra --- Fixed. >>From gcc-bugs-return-625893-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 10:06:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7319 invoked by alias); 14 Dec 2018 10:06:14 -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 7267 invoked by uid 48); 14 Dec 2018 10:06:09 -0000 From: "petschy at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88493] New: Inconsistent error messages for unknown types Date: Fri, 14 Dec 2018 10:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: petschy 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 Message-ID: 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: 2018-12/txt/msg02009.txt.bz2 Content-length: 3167 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88493 Bug ID: 88493 Summary: Inconsistent error messages for unknown types Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: petschy at gmail dot com Target Milestone: --- When compiling: ----8<----8<----8<---- struct Foo; struct Bar { explicit Bar(Fooo* foo_) : m_foo{foo_} { } void Baz(Fooo* foo_); Fooo* m_foo; }; ----8<----8<----8<---- Foo is forward declared, Fooo is not declared/defined, simulating a typo. $ g++-8.2.1 -Wall -c 20181213-bad_type_name_diag.cpp=20 20181213-bad_type_name_diag.cpp:5:19: error: expected =E2=80=98)=E2=80=99 b= efore =E2=80=98*=E2=80=99 token explicit Bar(Fooo* foo_) : ~ ^ ) 20181213-bad_type_name_diag.cpp:7:2: error: expected unqualified-id before = =E2=80=98{=E2=80=99 token { ^ 20181213-bad_type_name_diag.cpp:10:11: error: =E2=80=98Fooo=E2=80=99 has no= t been declared void Baz(Fooo* foo_); ^~~~ 20181213-bad_type_name_diag.cpp:12:2: error: =E2=80=98Fooo=E2=80=99 does no= t name a type; did you mean =E2=80=98Foo=E2=80=99? Fooo* m_foo; ^~~~ Foo The first error is not really helping, the second one is a cascade from tha= t. The third one is OK, but there is no suggestion. The fourth one is the most useful. For the three cases of Foo vs Fooo mismatch, three different error messages= was printed. If I follow the suggestion of the first error msg, and put a ): after Fooo = and comment out the rest of the line: $ g++-8.2.1 -Wall -c 20181213-bad_type_name_diag.cpp=20 20181213-bad_type_name_diag.cpp:5:19: error: function definition does not declare parameters explicit Bar(Fooo) : //* foo_) : ^ However, mentioning only the type of the parameter and not name it should be accepted. Then, report an error because Fooo is unknown, possibly suggesting Foo instead. GCC 6/7/8/9 report the same errors, with minor formatting/coloring differen= ces. $ g++-8.2.1 -v Using built-in specs. COLLECT_GCC=3Dg++-8.2.1 COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc/x86_64-pc-linux-gnu/8.2.1/lto-= wrapper Target: x86_64-pc-linux-gnu Configured with: ../configure CC=3Dgcc-8.2.1 CXX=3Dg++-8.2.1 --enable-languages=3Dc,c++ --disable-multilib --program-suffix=3D-8.2.1 --disable-bootstrap CFLAGS=3D'-O2 -march=3Dnative -mtune=3Dnative' CXXFLAGS= =3D'-O2 -march=3Dnative -mtune=3Dnative' Thread model: posix gcc version 8.2.1 20181213 (GCC)=20 $ g++-9.0.0 -v Using built-in specs. COLLECT_GCC=3Dg++-9.0.0 COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc/x86_64-pc-linux-gnu/9.0.0/lto-= wrapper Target: x86_64-pc-linux-gnu Configured with: ../configure CC=3Dgcc-8.2.1 CXX=3Dg++-8.2.1 --enable-languages=3Dc,c++ --disable-multilib --program-suffix=3D-9.0.0 --disable-bootstrap CFLAGS=3D'-O2 -march=3Dnative -mtune=3Dnative' CXXFLAGS= =3D'-O2 -march=3Dnative -mtune=3Dnative' Thread model: posix gcc version 9.0.0 20181213 (experimental) (GCC) >>From gcc-bugs-return-625894-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 10:08:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12273 invoked by alias); 14 Dec 2018 10:08:39 -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 12239 invoked by uid 48); 14 Dec 2018 10:08:35 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88468] Arduino: 1.8.8 (Windows 10) internal compiler error , segmentation fault Date: Fri, 14 Dec 2018 10:08: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: cf_gcctarget bug_status cf_reconfirmed_on 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: 2018-12/txt/msg02010.txt.bz2 Content-length: 656 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88468 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |avr Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-12-14 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Please provide preprocessed source as a testcase. Note that GCC 5 is no lo= nger supported, please update to at least GCC 7. >>From gcc-bugs-return-625895-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 10:08:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13075 invoked by alias); 14 Dec 2018 10:08:58 -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 13033 invoked by uid 48); 14 Dec 2018 10:08:53 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88469] [7/8/9 regression] AAPCS - Struct with 64-bit bitfield may be passed in wrong registers Date: Fri, 14 Dec 2018 10:08: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: 8.2.0 X-Bugzilla-Keywords: ABI, 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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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: 2018-12/txt/msg02011.txt.bz2 Content-length: 346 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88469 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ABI Target Milestone|--- |7.5 >>From gcc-bugs-return-625896-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 10:09:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13809 invoked by alias); 14 Dec 2018 10:09:08 -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 13763 invoked by uid 48); 14 Dec 2018 10:09:04 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88253] Inlining of function incorrectly deletes volatile register access when using XOR in avr-gcc Date: Fri, 14 Dec 2018 10:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 5.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status cf_reconfirmed_on cc cf_gcchost assigned_to 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: 2018-12/txt/msg02012.txt.bz2 Content-length: 773 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88253 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Target|avr |avr-*-* Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-12-14 CC| |segher at gcc dot gnu.org Host|Macos, Windows | Assignee|unassigned at gcc dot gnu.org |segher at gcc dot g= nu.org Ever confirmed|0 |1 --- Comment #3 from Segher Boessenkool --- Mine. I have a patch. >>From gcc-bugs-return-625897-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 10:13:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33424 invoked by alias); 14 Dec 2018 10:13:05 -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 28277 invoked by uid 48); 14 Dec 2018 10:12:56 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88473] AVX512: constant folding on mask does not remove unnecessary instructions Date: Fri, 14 Dec 2018 10: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization 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 cf_gcctarget bug_status cf_reconfirmed_on 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: 2018-12/txt/msg02013.txt.bz2 Content-length: 623 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88473 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Target| |x86_64-*-*, i?86-*-* Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-14 Ever confirmed|0 |1 --- Comment #3 from Richard Biener --- Confirmed. >>From gcc-bugs-return-625898-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 10:16:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49894 invoked by alias); 14 Dec 2018 10:16:11 -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 49707 invoked by uid 48); 14 Dec 2018 10:15:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88478] [9 Regression] valgrind error in cselib_record_sets Date: Fri, 14 Dec 2018 10:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component version target_milestone short_desc 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: 2018-12/txt/msg02014.txt.bz2 Content-length: 611 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88478 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c++ |rtl-optimization Version|8.0 |9.0 Target Milestone|--- |9.0 Summary|valgrind error in |[9 Regression] valgrind |cselib_record_sets |error in | |cselib_record_sets >>From gcc-bugs-return-625899-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 10:18:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105312 invoked by alias); 14 Dec 2018 10:18:38 -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 105261 invoked by uid 48); 14 Dec 2018 10:18:33 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88489] [9 Regression] FAIL: gcc.target/i386/avx512f-vfixupimmss-2.c execution test Date: Fri, 14 Dec 2018 10:18: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 2018-12/txt/msg02015.txt.bz2 Content-length: 440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88489 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- Can't reproduce, the test passes for me just fine on i9-7960X. >>From gcc-bugs-return-625900-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 10:21:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111829 invoked by alias); 14 Dec 2018 10:21:13 -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 111767 invoked by uid 48); 14 Dec 2018 10:21:08 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88478] [9 Regression] valgrind error in cselib_record_sets Date: Fri, 14 Dec 2018 10:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail 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: 9.0 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: 2018-12/txt/msg02016.txt.bz2 Content-length: 519 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88478 David Binderman changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aoliva at gcc dot gnu.org --- Comment #2 from David Binderman --- svn blame says 266873 aoliva && sets[i].src_elt Revision number is in the correct range, so adding to distribution list. >>From gcc-bugs-return-625901-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 10:31:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128680 invoked by alias); 14 Dec 2018 10:31:09 -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 127292 invoked by uid 48); 14 Dec 2018 10:30:27 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88487] union prevents autovectorization Date: Fri, 14 Dec 2018 10:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: 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: keywords bug_status cf_reconfirmed_on blocked assigned_to 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: 2018-12/txt/msg02017.txt.bz2 Content-length: 2210 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88487 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-12-14 Blocks| |49774 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #3 from Richard Biener --- t.c:22:1: note: can't determine dependence between MEM[(double *)_28 clique= 1 base 0] and MEM[(double *)_25 + 8B clique 1 base 0] t.c:22:1: note: removing SLP instance operations starting from: MEM[(double *)_28 clique 1 base 0] =3D _29; t.c:22:1: note: can't determine dependence between MEM[(double *)_43 clique= 1 base 0] and MEM[(double *)_40 + 8B clique 1 base 0] t.c:22:1: note: removing SLP instance operations starting from: MEM[(double *)_43 clique 1 base 0] =3D _44; # PT =3D nonlocal escaped null _25 =3D MEM[(double * restrict *)_21 clique 1 base 0]; # PT =3D nonlocal escaped null _28 =3D MEM[(double * restrict *)_26 clique 1 base 0]; .. MEM[(double *)_28 clique 1 base 0] =3D _29; _31 =3D MEM[(double *)_25 + 8B clique 1 base 0]; while w/o unions we have # PT =3D null { D.2686 } (nonlocal, restrict) _25 =3D MEM[(double * restrict *)_21 clique 1 base 1]; .. _29 =3D MEM[(double *)_25 clique 1 base 2]; that is, the indirect loads from non-union members produce restricted pointers while those from union members not. The reason for this is that points-to analysis doesn't handle unions in field-sensitive analysis and thus the restrict code doesn't apply. This can probably be fixed in a reasonable manner in push_fields_onto_fieldstack by initializing only_restrict_pointers appropriately for the UNION case. Not really my top-priority though. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49774 [Bug 49774] [meta-bug] restrict qualification aliasing issues >>From gcc-bugs-return-625902-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 10:39:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80957 invoked by alias); 14 Dec 2018 10:39:46 -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 80431 invoked by uid 48); 14 Dec 2018 10:39:41 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88489] [9 Regression] FAIL: gcc.target/i386/avx512f-vfixupimmss-2.c execution test Date: Fri, 14 Dec 2018 10:39: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: 9.0 X-Bugzilla-Keywords: 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget 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: 2018-12/txt/msg02018.txt.bz2 Content-length: 363 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88489 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target|x86 |x86_64-*-*, i?86-*-* Target Milestone|--- |9.0 >>From gcc-bugs-return-625903-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 10:43:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107604 invoked by alias); 14 Dec 2018 10:43:31 -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 107492 invoked by uid 48); 14 Dec 2018 10:43:26 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88473] AVX512: constant folding on mask does not remove unnecessary instructions Date: Fri, 14 Dec 2018 10:43: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg02019.txt.bz2 Content-length: 1424 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88473 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyukhin at gcc dot gnu.org, | |uros at gcc dot gnu.org, | |vmakarov at gcc dot gnu.org --- Comment #4 from Jakub Jelinek --- The *s on the =3Dk, km *mov{di,si}_internal patterns (which I've copied to = the *zero_extend?i?i2 patterns) were introduced in https://gcc.gnu.org/ml/gcc-patches/2014-08/msg01113.html but there wasn't any discussion on why that has been introduced. Was that a fear that the register allocator will start using the mask registers for ca= ses like memory1 =3D memory2 | memory3; instead of the GPRs? I'd say it would be useful to slightly disparage transfers from GPRs to mask registers and back and perhaps also slightly disparate mask stores into memory if needed to prevent using mask registers= for the logical ops or shifts with only memory arguments and keep the rest of t= he alternative constaints (like =3Dk, km) without any modifiers. And if that = works, change the mask intrinsics to be normal arithmetics instead of special buil= tins with UNSPECs at RTL. Thoughts on that? >>From gcc-bugs-return-625904-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 10:46:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111953 invoked by alias); 14 Dec 2018 10:46:48 -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 111846 invoked by uid 48); 14 Dec 2018 10:46:42 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88490] Missed autovectorization when indices are different Date: Fri, 14 Dec 2018 10:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: 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: bug_status cf_reconfirmed_on cc blocked 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: 2018-12/txt/msg02020.txt.bz2 Content-length: 1575 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88490 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-14 CC| |rguenth at gcc dot gnu.org Blocks| |49774 Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- Confirmed. _33 =3D MEM[(double *)_28 clique 1 base 2]; MEM[(double *)_32 clique 1 base 2] =3D _33; _35 =3D MEM[(double *)_28 + 8B clique 1 base 2]; MEM[(double *)_32 + 8B clique 1 base 2] =3D _35; _49 =3D MEM[(double *)_28 clique 1 base 2]; MEM[(double *)_32 clique 1 base 2] =3D _49; _51 =3D MEM[(double *)_28 + 8B clique 1 base 2]; MEM[(double *)_32 + 8B clique 1 base 2] =3D _51; t.c:13:24: note: can't determine dependence between MEM[(double *)_32 cliqu= e 1 base 2] and MEM[(double *)_28 + 8B clique 1 base 2] As you can see we do not exploit that n !=3D k when assigning restrict tags to the indirect loaded pointers. Nor would we do that when you load those in an unrolled loop. Our restrict machinery is simply not set up for this. I don't see how a compiler could reliably and reasonably implement this. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49774 [Bug 49774] [meta-bug] restrict qualification aliasing issues >>From gcc-bugs-return-625905-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 10:52:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20281 invoked by alias); 14 Dec 2018 10:52: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 20253 invoked by uid 48); 14 Dec 2018 10:52:33 -0000 From: "avieira at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88224] Wrong Cortex-R7 and Cortex-R8 FPU configuration Date: Fri, 14 Dec 2018 10:52: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: avieira at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: avieira at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg02021.txt.bz2 Content-length: 414 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88224 avieira at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from avieira at gcc dot gnu.org --- Fixed on trunk and gcc-8. >>From gcc-bugs-return-625906-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 10:58:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31750 invoked by alias); 14 Dec 2018 10:58:00 -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 31694 invoked by uid 48); 14 Dec 2018 10:57:55 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88492] SLP optimization generates ugly code Date: Fri, 14 Dec 2018 10:58: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: 9.0 X-Bugzilla-Keywords: missed-optimization 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 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: 2018-12/txt/msg02022.txt.bz2 Content-length: 2258 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88492 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization CC| |rguenth at gcc dot gnu.org --- Comment #2 from Richard Biener --- IIRC we have a duplicate for this. The issue is the SLP vectorizer doesn't handle reductions (not implemented) and thus the vector results need to be decomposed for the scalar reduction tail. On x86 we get with -mavx2 vmovdqu (%rdi), %xmm0 vpshufb .LC0(%rip), %xmm0, %xmm0 vpmovzxbw %xmm0, %xmm1 vpsrldq $8, %xmm0, %xmm0 vpmovzxwd %xmm1, %xmm2 vpsrldq $8, %xmm1, %xmm1 vpmovzxbw %xmm0, %xmm0 vpmovzxwd %xmm1, %xmm1 vmovaps %xmm2, -72(%rsp) movl -68(%rsp), %eax vmovaps %xmm1, -56(%rsp) vpmovzxwd %xmm0, %xmm1 vpsrldq $8, %xmm0, %xmm0 addl -52(%rsp), %eax vpmovzxwd %xmm0, %xmm0 vmovaps %xmm1, -40(%rsp) movl -56(%rsp), %edx addl -36(%rsp), %eax vmovaps %xmm0, -24(%rsp) addl -72(%rsp), %edx addl -20(%rsp), %eax addl -40(%rsp), %edx addl -24(%rsp), %edx addl %edx, %eax movl -48(%rsp), %edx addl -64(%rsp), %edx addl -32(%rsp), %edx addl -16(%rsp), %edx addl %edx, %eax movl -44(%rsp), %edx addl -60(%rsp), %edx addl -28(%rsp), %edx addl -12(%rsp), %edx addl %edx, %eax ret the main issue of course that we fail to elide the stack temporary. Re-running FRE after loop opts might help here but of course SLP vectorization handling the reduction would be best (though the tail loop is structured badly, not matching up with the head one). Whether vectorizing this specific testcases head loop is profitable or not is questionable on its own of course (but you can easily make it so and still get similar ugly code in the tail). >>From gcc-bugs-return-625907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 11:06:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45585 invoked by alias); 14 Dec 2018 11:06:44 -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 45527 invoked by uid 48); 14 Dec 2018 11:06:40 -0000 From: "saaadhu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88253] Inlining of function incorrectly deletes volatile register access when using XOR in avr-gcc Date: Fri, 14 Dec 2018 11:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 5.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: saaadhu at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher 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: 2018-12/txt/msg02023.txt.bz2 Content-length: 483 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88253 Senthil Kumar Selvaraj changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |saaadhu at gcc dot gnu.org --- Comment #4 from Senthil Kumar Selvaraj --- Oh shoot, just sent https://gcc.gnu.org/ml/gcc-patches/2018-12/msg01028.htm= l :) >>From gcc-bugs-return-625908-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 11:27:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50834 invoked by alias); 14 Dec 2018 11:27:36 -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 50744 invoked by uid 48); 14 Dec 2018 11:27:29 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88473] AVX512: constant folding on mask does not remove unnecessary instructions Date: Fri, 14 Dec 2018 11:27: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg02024.txt.bz2 Content-length: 233 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88473 --- Comment #5 from Jakub Jelinek --- The rationale for doing it the way it currently is done: https://gcc.gnu.org/ml/gcc-patches/2016-11/msg02612.html >>From gcc-bugs-return-625909-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 11:44:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10916 invoked by alias); 14 Dec 2018 11:44:40 -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 9191 invoked by uid 48); 14 Dec 2018 11:44:29 -0000 From: "moritz.kreutzer at siemens dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store" Date: Fri, 14 Dec 2018 11:44: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: moritz.kreutzer at siemens dot com 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: 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: 2018-12/txt/msg02025.txt.bz2 Content-length: 306 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88464 --- Comment #11 from Moritz Kreutzer -= -- Jakub, I can confirm it's working for masked gathers (we have a similar pat= tern elsewhere in our code) with the latest trunk. Thanks for looking at the scatters as well! >>From gcc-bugs-return-625910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 12:01:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68530 invoked by alias); 14 Dec 2018 12:01:06 -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 59339 invoked by uid 48); 14 Dec 2018 12:00:36 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88490] Missed autovectorization when indices are different Date: Fri, 14 Dec 2018 12:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla@poradnik-webmastera.com 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: 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: 2018-12/txt/msg02026.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88490 --- Comment #3 from Daniel Fruzynski --- In this case s->d is pointer to pointer to double, and both pointer levels = have restrict qualifier. I wonder if you could add some tag that s->d[n] and s->= d[k] points to separate memory areas. This tag could be later used to determine = that s->d[n][0] and s->d[k][0] also do not overlap. >>From gcc-bugs-return-625911-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 12:12:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53602 invoked by alias); 14 Dec 2018 12:12:40 -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 53517 invoked by uid 55); 14 Dec 2018 12:12:30 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88490] Missed autovectorization when indices are different Date: Fri, 14 Dec 2018 12:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de 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: 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: 2018-12/txt/msg02027.txt.bz2 Content-length: 924 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88490 --- Comment #4 from rguenther at suse dot de --- On Fri, 14 Dec 2018, bugzilla@poradnik-webmastera.com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88490 >=20 > --- Comment #3 from Daniel Fruzynski -= -- > In this case s->d is pointer to pointer to double, and both pointer level= s have > restrict qualifier. I wonder if you could add some tag that s->d[n] and s= ->d[k] > points to separate memory areas. This tag could be later used to determin= e that > s->d[n][0] and s->d[k][0] also do not overlap. Not easily. Consider the loads being hoisted before the if (k > n) check for example. Note I do not think the C standard is sufficiently clear with regarding to restrict qualified pointers loaded from memory. Clearly s->d[n][0] and s->d[n][0] alias but they are not based on each other. >>From gcc-bugs-return-625912-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 12:38:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7895 invoked by alias); 14 Dec 2018 12:38: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 7794 invoked by uid 55); 14 Dec 2018 12:38:37 -0000 From: "hjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88483] Unnecessary stack alignment Date: Fri, 14 Dec 2018 12:38: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl 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: 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: 2018-12/txt/msg02028.txt.bz2 Content-length: 1122 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88483 --- Comment #1 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Dec 14 12:38:04 2018 New Revision: 267133 URL: https://gcc.gnu.org/viewcvs?rev=3D267133&root=3Dgcc&view=3Drev Log: x86: Don't use get_frame_size when finalizing stack frame get_frame_size () returns used stack slots during compilation, which may be optimized out later. Since ix86_find_max_used_stack_alignment is called by ix86_finalize_stack_frame_flags to check if stack frame is required, there is no need to call get_frame_size () which may give inaccurate final stack frame size. Tested on AVX512 machine configured with --with-arch=3Dnative --with-cpu=3Dnative gcc/ PR target/88483 * config/i386/i386.c (ix86_finalize_stack_frame_flags): Don't use get_frame_size (). gcc/testsuite/ PR target/88483 * gcc.target/i386/stackalign/pr88483.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/stackalign/pr88483.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625913-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 12:41:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9914 invoked by alias); 14 Dec 2018 12:41:17 -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 9858 invoked by uid 48); 14 Dec 2018 12:41:12 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87370] [7/8/9 Regression] Inefficient return code of struct values Date: Fri, 14 Dec 2018 12:41: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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-12/txt/msg02029.txt.bz2 Content-length: 618 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87370 --- Comment #14 from H.J. Lu --- (In reply to trashyankes from comment #12) > (In reply to H.J. Lu from comment #11) > > (In reply to trashyankes from comment #10) > >=20 > > Which GCC are you using? GCC 8.2 generates: >=20 > GCC Explorer :D >=20 > g++ (GCC-Explorer-Build) 9.0.0 20181211 (experimental) >=20 > https://gcc.godbolt.org/z/7AQXiq >=20 > Code is copy paste of test case. > Compiler is x86-64 > Important are flags: `-O3 -march=3Dskylake-avx512` > Without it compile this code fine. It has been fixed in GCC 9 by r267133. >>From gcc-bugs-return-625914-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 12:44:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20219 invoked by alias); 14 Dec 2018 12:44: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 19506 invoked by uid 48); 14 Dec 2018 12:44:30 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88483] Unnecessary stack alignment Date: Fri, 14 Dec 2018 12:44: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 2018-12/txt/msg02030.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88483 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |9.0 --- Comment #2 from H.J. Lu --- Fixed for GCC 9. >>From gcc-bugs-return-625915-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 13:28:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13026 invoked by alias); 14 Dec 2018 13:28:49 -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 12997 invoked by uid 48); 14 Dec 2018 13:28:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88494] New: [9 Regression] polyhedron 10% mdbx runtime regression Date: Fri, 14 Dec 2018 13:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg02031.txt.bz2 Content-length: 806 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88494 Bug ID: 88494 Summary: [9 Regression] polyhedron 10% mdbx runtime regression Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- Between r266526 (good) and r266587 (bad) polyhedron mdbx runtime regressed = from 6s to 6.7s on a Haswell machine with -Ofast -march=3Dnative -funroll-loops. https://gcc.opensuse.org/gcc-old/c++bench-czerny/pb11/pb11-summary.txt-2-0.= html There are not many interesting changes in the revision range but I sofar di= dn't reproduce elsewhere nor bisected the above revs. >>From gcc-bugs-return-625916-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 13:29:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13757 invoked by alias); 14 Dec 2018 13:29:00 -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 13691 invoked by uid 48); 14 Dec 2018 13:28:56 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88494] [9 Regression] polyhedron 10% mdbx runtime regression Date: Fri, 14 Dec 2018 13:29: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: 9.0 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cf_gcctarget 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: 2018-12/txt/msg02032.txt.bz2 Content-length: 422 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88494 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Target| |x86_64-*-* Target Milestone|--- |9.0 >>From gcc-bugs-return-625917-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 13:46:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42819 invoked by alias); 14 Dec 2018 13:46:56 -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 42740 invoked by uid 48); 14 Dec 2018 13:46:52 -0000 From: "edlinger at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88261] [9 Regression] ICE: verify_gimple failed (error: non-trivial conversion at assignment) Date: Fri, 14 Dec 2018 13:46: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: 9.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: edlinger 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: 9.0 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: 2018-12/txt/msg02033.txt.bz2 Content-length: 1439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88261 --- Comment #6 from Bernd Edlinger --- (In reply to Jeffrey A. Law from comment #5) > Right, but we're not supposed to ICE, even on invalid code. Yes, ideed. I think what would be needed is adding this C-error to the C++FE: array-6.c: In function 'foo': array-6.c:12:23: error: non-static initialization of a flexible array member 12 | struct str b =3D { 2, "b" }; | ^~~ array-6.c:12:23: note: (near initialization for 'b') the error depends on TREE_STATIC (decl); the data flow in the C-FE is just weird, see "require_constant_value", a global value holds that bit... I believe the right place to add in the C++ FE is probably at where this C++ -Wpedantic warning is emitted, array-6.c:12:27: warning: initialization of a flexible array member [-Wpedantic] 12 | struct str b =3D { 2, "b" }; | ^ unfortunately that is in digest_init_r and that does not have access to TREE_STATIC (decl); In case the object is static, that should be a warning, but in case of an automatic object it should be a error, that would prevent the ICE. Either one need to a static variable like the C-FE or pass the decl from store_init_value and probably other places too into the digest_init and digest_init_flags. Well, it will probably be better to add an additional decl parameter. Thoughts? >>From gcc-bugs-return-625919-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 13:52:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91399 invoked by alias); 14 Dec 2018 13:52: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 91294 invoked by uid 48); 14 Dec 2018 13:52:38 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/88495] New: An OpenACC async queue is always synchronized with itself Date: Fri, 14 Dec 2018 13:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: openacc, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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: 2018-12/txt/msg02035.txt.bz2 Content-length: 825 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88495 Bug ID: 88495 Summary: An OpenACC async queue is always synchronized with itself Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: openacc, patch Severity: normal Priority: P3 Component: libgomp Assignee: tschwinge at gcc dot gnu.org Reporter: tschwinge at gcc dot gnu.org CC: cltang at gcc dot gnu.org, jakub at gcc dot gnu.org Target Milestone: --- An OpenACC async queue is always synchronized with itself, so invocations l= ike "#pragma acc wait(0) async(0)", or "acc_wait_async(0, 0)" don't make a lot = of sense, but are still valid. This will need to be fixed on all release branches. I have a patch. >>From gcc-bugs-return-625918-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 13:52:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89419 invoked by alias); 14 Dec 2018 13:52:02 -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 89297 invoked by uid 48); 14 Dec 2018 13:51:58 -0000 From: "samtebbs at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88044] [9 regression] gfortran.dg/transfer_intrinsic_3.f90 hangs after r266171 Date: Fri, 14 Dec 2018 13:52: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: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: samtebbs at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created 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: 2018-12/txt/msg02034.txt.bz2 Content-length: 504 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88044 samtebbs at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |samtebbs at gcc dot gnu.org --- Comment #6 from samtebbs at gcc dot gnu.org --- Created attachment 45236 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45236&action=3Dedit arm-none-linux-gnueabihf with cpu and fpu options >>From gcc-bugs-return-625920-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 13:54:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93189 invoked by alias); 14 Dec 2018 13:54:19 -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 92949 invoked by uid 48); 14 Dec 2018 13:54:06 -0000 From: "samtebbs at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88044] [9 regression] gfortran.dg/transfer_intrinsic_3.f90 hangs after r266171 Date: Fri, 14 Dec 2018 13:54: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: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: samtebbs at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg02036.txt.bz2 Content-length: 279 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88044 --- Comment #7 from samtebbs at gcc dot gnu.org --- I can confirm this test fails on arm-none-linux-gnueabihf when invoking with "-mcpu=3Dcortex-a5 -mfpu=3Dvfpv3-d16-fp16", as Christophe wrote. Please see= the attached log. >>From gcc-bugs-return-625921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 13:57:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97570 invoked by alias); 14 Dec 2018 13:57:20 -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 97497 invoked by uid 48); 14 Dec 2018 13:57:15 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88496] New: Unnecessary stack adjustment with -mavx512f Date: Fri, 14 Dec 2018 13:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools 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 cc target_milestone cf_gcctarget Message-ID: 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: 2018-12/txt/msg02037.txt.bz2 Content-length: 1787 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88496 Bug ID: 88496 Summary: Unnecessary stack adjustment with -mavx512f Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: ubizjak at gmail dot com, wei3.xiao at intel dot com, xuepeng.guo at intel dot com Target Milestone: --- Target: i386,x86-64 [hjl@gnu-cfl-1 gcc]$ cat /tmp/x.i struct B { char a[12]; int b; }; struct B f2 (void) { struct B x =3D {}; return x; } [hjl@gnu-cfl-1 gcc]$ ./xgcc -B./ -O2 -S /tmp/x.i -mavx2 [hjl@gnu-cfl-1 gcc]$ cat x.s .file "x.i" .text .p2align 4 .globl f2 .type f2, @function f2: .LFB0: .cfi_startproc xorl %eax, %eax xorl %edx, %edx ret .cfi_endproc .LFE0: .size f2, .-f2 .ident "GCC: (GNU) 9.0.0 20181214 (experimental)" .section .note.GNU-stack,"",@progbits [hjl@gnu-cfl-1 gcc]$ ./xgcc -B./ -O2 -S /tmp/x.i -mavx512f [hjl@gnu-cfl-1 gcc]$ cat x.s .file "x.i" .text .p2align 4 .globl f2 .type f2, @function f2: .LFB0: .cfi_startproc subq $16, %rsp .cfi_def_cfa_offset 24 xorl %eax, %eax xorl %edx, %edx addq $16, %rsp .cfi_def_cfa_offset 8 ret .cfi_endproc .LFE0: .size f2, .-f2 .ident "GCC: (GNU) 9.0.0 20181214 (experimental)" .section .note.GNU-stack,"",@progbits [hjl@gnu-cfl-1 gcc]$=20 subq and addq aren't necessary. >>From gcc-bugs-return-625922-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 13:58:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115781 invoked by alias); 14 Dec 2018 13:58:10 -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 113140 invoked by uid 48); 14 Dec 2018 13:58:05 -0000 From: "kelvin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88497] New: Improve Accumulation in Auto-Vectorized Code Date: Fri, 14 Dec 2018 13:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kelvin 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg02038.txt.bz2 Content-length: 426 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88497 Bug ID: 88497 Summary: Improve Accumulation in Auto-Vectorized Code Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: kelvin at gcc dot gnu.org Target Milestone: --- >>From gcc-bugs-return-625923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 14:12:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11183 invoked by alias); 14 Dec 2018 14:12:15 -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 11093 invoked by uid 48); 14 Dec 2018 14:12:09 -0000 From: "kelvin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88497] Improve Accumulation in Auto-Vectorized Code Date: Fri, 14 Dec 2018 14:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kelvin 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: 2018-12/txt/msg02039.txt.bz2 Content-length: 13529 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88497 kelvin at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kelvin at gcc dot gnu.org, | |rguenther at suse dot de, | |segher at gcc dot gnu.org, | |wschmidt at gcc dot gnu.org --- Comment #1 from kelvin at gcc dot gnu.org --- Consider the following loop: double sacc =3D 0.00; extern double x[], y[]; for (unsigned long long int i =3D 0; i < N; i++) sacc +=3D x[i] * y[i]; Auto-vectorization turns the body of the loop into something close to the following function foo: double foo (double accumulator, vector double arg2[], vector double arg3[]) { vector double temp; temp =3D arg2[0] * arg3[0]; accumulator +=3D temp[0] + temp[1]; temp =3D arg2[1] * arg3[1]; accumulator +=3D temp[0] + temp[1]; temp =3D arg2[2] * arg3[2]; accumulator +=3D temp[0] + temp[1]; temp =3D arg2[3] * arg3[3]; accumulator +=3D temp[0] + temp[1]; return accumulator; } Compiled with -O3 -mcpu=3Dpower9 -ffast-math, this translates into 25 instructions: foo: .LFB11: .cfi_startproc lxv 6,0(5) lxv 10,0(4) lxv 7,16(5) lxv 11,16(4) lxv 8,32(5) lxv 12,32(4) lxv 9,48(5) lxv 0,48(4) xvmuldp 10,10,6 xvmuldp 11,11,7 xvmuldp 12,12,8 xvmuldp 0,0,9 xxpermdi 7,10,10,3 xxpermdi 8,11,11,3 fadd 10,7,10 xxpermdi 9,12,12,3 fadd 11,8,11 xxpermdi 6,0,0,3 fadd 12,9,12 fadd 0,6,0 fadd 10,10,1 fadd 11,11,10 fadd 1,12,11 fadd 1,0,1 blr If auto-vectorization were to transform this loop into the following equiva= lent code, the resulting translation is only 18 instructions: double foo (double accumulator, vector double arg2[], vector double arg3[]) { vector double temp; temp[0] =3D accumulator; temp[1] =3D 0.0; temp +=3D arg2[0] * arg3[0]; temp +=3D arg2[1] * arg3[1]; temp +=3D arg2[2] * arg3[2]; temp +=3D arg2[3] * arg3[3]; return temp[0] + temp[1]; } foo:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 .LFB11:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 .cfi_startproc=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 li 9,0=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 lxv 10,0(4)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 lxv 6,0(5)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 lxv 11,16(4)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 lxv 7,16(5)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 mtvsrd 0,9=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 lxv 12,32(4)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 lxv 8,32(5)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 lxv 9,48(5)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 xxpermdi 1,0,1,0=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 lxv 0,48(4)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 xvmaddadp 1,10,6=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 xvmaddadp 1,11,7=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 xvmaddadp 1,12,8=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 xvmaddadp 1,0,9=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 xxpermdi 0,1,1,3=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 fadd 1,0,1=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 blr=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 I have also experimented with trunk's treatment of x86 targets, and the same optimization is relevant there: x86 -O3 -ffast-math optimized translation of the "original" source is: _foo: LFB1: ;; 17 insns in original code=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 ;; movadp: 4=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 ;; mulpd: 4=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 ;; addsd: 4=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 ;; haddpd: 4=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 ;; ret: 1=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 ;; total: 17=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 movapd 32(%rdi), %xmm2 ; load arg2[2]=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 mulpd 32(%rsi), %xmm2 ; multiply arg2[2] * arg3[2]=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 movapd (%rdi), %xmm1 ; load arg2[0]=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 movapd 16(%rdi), %xmm3 ; load arg2[1]=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 mulpd (%rsi), %xmm1 ; multiply arg2[0] * arg3[0]=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 mulpd 16(%rsi), %xmm3 ; multiply arg2[1] * arg3[1]=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 haddpd %xmm2, %xmm2 ; sum args[2] products=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 haddpd %xmm1, %xmm1 ; sum args[0] products=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 haddpd %xmm3, %xmm3 ; sum args[1] products=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 addsd %xmm0, %xmm2 ; add args[2] sum into accumulator=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 movapd 48(%rdi), %xmm0 ; load arg2[3]=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 mulpd 48(%rsi), %xmm0 ; multiply arg2[3] * arg3[3]=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 addsd %xmm3, %xmm1 ; add args[0] and args[1] products=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 addsd %xmm2, %xmm1 ; accumulate args[0..2] products=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 haddpd %xmm0, %xmm0 ; sum args[3] products=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 addsd %xmm1, %xmm0 ; accumulate args[0..3]=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ret The optimized translation of the "improved" source on x86 is: _foo: LFB1: ;; 15 insns in translation of improved source code=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ;; movq: 1=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 ;; movadp: 4 (load vector=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 ;; mulpd: 4=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 ;; addpd: 4=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 ;; haddpd: 1=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 ;; ret: 1=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 ;; total: 15=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 movapd (%rdi), %xmm1 ; load arg2[0]=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 movq %xmm0, %xmm0 ; move quad word: i don't understand this.= =20=20=20=20=20=20 mulpd (%rsi), %xmm1 ; multiply arg2[0] * arg3[0]=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 movapd 16(%rdi), %xmm2 ; load arg2[1]=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 mulpd 16(%rsi), %xmm2 ; multiply arg2[1] * arg3[1]=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 movapd 48(%rdi), %xmm3 ; load arg2[3]=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 mulpd 48(%rsi), %xmm3 ; multiply arg2[3] * arg3[3]=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 addpd %xmm2, %xmm1 ; add args[0] and args[1] products=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 movapd 32(%rdi), %xmm2 ; load arg2 [2]=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 mulpd 32(%rsi), %xmm2 ; multiply arg2[2] * arg3[2]=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 addpd %xmm3, %xmm2 ; add args[2] and args[3] products=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 addpd %xmm2, %xmm1 ; adds all args products=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 addpd %xmm1, %xmm0 ; Add sums to accumulator=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 haddpd %xmm0, %xmm0 ; add double elements of vector=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 ret >>From gcc-bugs-return-625924-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 14:19:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41265 invoked by alias); 14 Dec 2018 14:19: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 41183 invoked by uid 48); 14 Dec 2018 14:19:38 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/87835] nvptx offloading: libgomp.oacc-c-c++-common/asyncwait-1.c execution test intermittently fails at -O2 Date: Fri, 14 Dec 2018 14:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: vries 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: 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: 2018-12/txt/msg02040.txt.bz2 Content-length: 594 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87835 --- Comment #1 from Tom de Vries --- (In reply to Thomas Schwinge from comment #0) > After r264397 "[nvptx] Remove use of CUDA unified memory in libgomp", I'm > seeing (intermittently only, and only on some systems): >=20 I see the failure reproduced consistently with a Quadro M1200. > I have not yet analyzed what's causing this, but I have some ideas about > pending patches that might cure it. OK, let's see if those make it. If not, we may want to investigate and deci= de if we want to revert the patch. >>From gcc-bugs-return-625925-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 14:32:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70800 invoked by alias); 14 Dec 2018 14:32:21 -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 70714 invoked by uid 48); 14 Dec 2018 14:32:15 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88489] [9 Regression] FAIL: gcc.target/i386/avx512f-vfixupimmss-2.c execution test Date: Fri, 14 Dec 2018 14:32: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg02041.txt.bz2 Content-length: 1519 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88489 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-14 Ever confirmed|0 |1 --- Comment #2 from H.J. Lu --- [hjl@gnu-skx-1 gcc]$ /export/ssd/git/gcc-test-native/bld/gcc/xgcc -B/export/ssd/git/gcc-test-native/bld/gcc/ /export/ssd/git/gcc-test-native/src-trunk/gcc/testsuite/gcc.target/i386/avx= 512f-vfixupimmss-2.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=3Dnever -mavx512f -march=3Dskylake-avx512 [hjl@gnu-skx-1 gcc]$ ./a.out=20 Aborted [hjl@gnu-skx-1 gcc]$ /export/ssd/git/gcc-test-native/bld/gcc/xgcc -v Using built-in specs. COLLECT_GCC=3D/export/ssd/git/gcc-test-native/bld/gcc/xgcc Target: x86_64-pc-linux-gnu Configured with: ../src-trunk/configure --with-arch=3Dnative --with-cpu=3Dn= ative --prefix=3D/usr/9.0.0 --enable-clocale=3Dgnu --with-system-zlib --enable-sh= ared --enable-cet --with-demangler-in-ld --enable-libmpx --with-multilib-list=3Dm32,m64,mx32 --with-fpmath=3Dsse Thread model: posix gcc version 9.0.0 20181214 (experimental) [trunk revision 267123] (GCC)=20 [hjl@gnu-skx-1 gcc]$=20 --with-arch=3Dnative --with-cpu=3Dnative is equivalent to -march=3Dskylake-= avx512. It used to pass before r265827. >>From gcc-bugs-return-625926-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 14:46:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120748 invoked by alias); 14 Dec 2018 14:46:06 -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 120638 invoked by uid 48); 14 Dec 2018 14:46:00 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88498] New: [9 Regression] FAIL: gcc.target/i386/avx512vl-pr79299-1.c (internal compiler error) Date: Fri, 14 Dec 2018 14:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools 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 cf_gcctarget Message-ID: 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: 2018-12/txt/msg02042.txt.bz2 Content-length: 2613 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88498 Bug ID: 88498 Summary: [9 Regression] FAIL: gcc.target/i386/avx512vl-pr79299-1.c (internal compiler error) Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: i386,x86-64 On x86-64, r267123 has [hjl@gnu-cfl-1 gcc]$ /export/build/gnu/tools-build/gcc-debug/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/tools-build/gcc-debug/build-x86_64-linux/gcc/ -march=3D= corei7 -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=3Dnever -Ofast -mavx512vl -masm=3Dintel -c -o avx512vl-pr79299-1.o /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/avx512vl-p= r79299-1.c during GIMPLE pass: vect /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/avx512vl-p= r79299-1.c: In function \u2018f1\u2019: /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/avx512vl-p= r79299-1.c:15:1: internal compiler error: in vect_gen_perm_mask_checked, at tree-vect-stmts.c:7269 0x14c4956 vect_gen_perm_mask_checked(tree_node*, vec_perm_indices const&) /export/gnu/import/git/sources/gcc/gcc/tree-vect-stmts.c:7269 0x14b3759 vect_build_gather_load_calls /export/gnu/import/git/sources/gcc/gcc/tree-vect-stmts.c:2698 0x14c5c2f vectorizable_load /export/gnu/import/git/sources/gcc/gcc/tree-vect-stmts.c:7629 0x14ccb75 vect_transform_stmt(_stmt_vec_info*, gimple_stmt_iterator*, _slp_tree*, _slp_instance*) /export/gnu/import/git/sources/gcc/gcc/tree-vect-stmts.c:9655 0x14f157a vect_transform_loop_stmt /export/gnu/import/git/sources/gcc/gcc/tree-vect-loop.c:8139 0x14f224f vect_transform_loop(_loop_vec_info*) /export/gnu/import/git/sources/gcc/gcc/tree-vect-loop.c:8358 0x151d21e try_vectorize_loop_1 /export/gnu/import/git/sources/gcc/gcc/tree-vectorizer.c:969 0x151d4b5 try_vectorize_loop /export/gnu/import/git/sources/gcc/gcc/tree-vectorizer.c:1019 0x151d685 vectorize_loops() /export/gnu/import/git/sources/gcc/gcc/tree-vectorizer.c:1101 0x1389785 execute /export/gnu/import/git/sources/gcc/gcc/tree-ssa-loop.c:414 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. [hjl@gnu-cfl-1 gcc]$ >>From gcc-bugs-return-625927-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 14:48:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124779 invoked by alias); 14 Dec 2018 14:48:32 -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 124237 invoked by uid 48); 14 Dec 2018 14:48:00 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88498] [9 Regression] FAIL: gcc.target/i386/avx512vl-pr79299-1.c (internal compiler error) Date: Fri, 14 Dec 2018 14:48: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com 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: 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: 2018-12/txt/msg02043.txt.bz2 Content-length: 2669 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88498 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-14 CC| |wei3.xiao at intel dot com, | |xuepeng.guo at intel dot c= om Ever confirmed|0 |1 --- Comment #1 from H.J. Lu --- Also: FAIL: gcc.target/i386/pr81225.c (internal compiler error) /export/build/gnu/tools-build/gcc-debug/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/tools-build/gcc-debug/build-x86_64-linux/gcc/ /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/pr81225.c -march=3Dcorei7 -fno-diagnostics-show-caret -fno-diagnostics-show-line-numb= ers -fdiagnostics-color=3Dnever -mavx512ifma -O3 -ffloat-store -S -o pr81225.s during GIMPLE pass: vect /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/pr81225.c:= In function \u2018foo\u2019: /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/pr81225.c:= 10:1: internal compiler error: in vect_gen_perm_mask_checked, at tree-vect-stmts.c:7269 0x14c4956 vect_gen_perm_mask_checked(tree_node*, vec_perm_indices const&) /export/gnu/import/git/sources/gcc/gcc/tree-vect-stmts.c:7269 0x14b3759 vect_build_gather_load_calls /export/gnu/import/git/sources/gcc/gcc/tree-vect-stmts.c:2698 0x14c5c2f vectorizable_load /export/gnu/import/git/sources/gcc/gcc/tree-vect-stmts.c:7629 0x14ccb75 vect_transform_stmt(_stmt_vec_info*, gimple_stmt_iterator*, _slp_tree*, _slp_instance*) /export/gnu/import/git/sources/gcc/gcc/tree-vect-stmts.c:9655 0x14f157a vect_transform_loop_stmt /export/gnu/import/git/sources/gcc/gcc/tree-vect-loop.c:8139 0x14f224f vect_transform_loop(_loop_vec_info*) /export/gnu/import/git/sources/gcc/gcc/tree-vect-loop.c:8358 0x151d21e try_vectorize_loop_1 /export/gnu/import/git/sources/gcc/gcc/tree-vectorizer.c:969 0x151d4b5 try_vectorize_loop /export/gnu/import/git/sources/gcc/gcc/tree-vectorizer.c:1019 0x151d685 vectorize_loops() /export/gnu/import/git/sources/gcc/gcc/tree-vectorizer.c:1101 0x1389785 execute /export/gnu/import/git/sources/gcc/gcc/tree-ssa-loop.c:414 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. [hjl@gnu-cfl-1 gcc]$ >>From gcc-bugs-return-625928-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 15:02:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44363 invoked by alias); 14 Dec 2018 15:02:10 -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 44314 invoked by uid 48); 14 Dec 2018 15:02:06 -0000 From: "johannespfau at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88462] All D execution tests FAIL on Solaris/SPARC Date: Fri, 14 Dec 2018 15:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: johannespfau at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg02044.txt.bz2 Content-length: 850 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88462 Johannes Pfau changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |johannespfau at gmail dot = com --- Comment #10 from Johannes Pfau --- I guess the proper fix to the alignment problem is using 'https://dlang.org/phobos/std_traits.html#classInstanceAlignment' (or rather the druntime equivalent) instead of Mutex.alignof + the rounding / slice assignment fixes? Regarding the ModuleInfo problem: Although ModuleInfo does have a variable size, _flags ist the first field in the struct. So the whole struct instance has to be misaligned for some reason? Is the minfo section aligned properly? >>From gcc-bugs-return-625929-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 15:26:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33942 invoked by alias); 14 Dec 2018 15:26:46 -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 32086 invoked by uid 48); 14 Dec 2018 15:26:42 -0000 From: "fuscated at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/88499] New: Check for less than zero removed before floating point division causes division by zero (fast-math mode) Date: Fri, 14 Dec 2018 15:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fuscated 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: 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: 2018-12/txt/msg02045.txt.bz2 Content-length: 738 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88499 Bug ID: 88499 Summary: Check for less than zero removed before floating point division causes division by zero (fast-math mode) Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: fuscated at gmail dot com Target Milestone: --- Created attachment 45237 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45237&action=3Dedit minimal source to reproduce the problem See the attached file. I've tried 4.8.2 and 8.2.0. on x86-64 Linux. Both failed with SIGFPE. >>From gcc-bugs-return-625930-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 15:29:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47875 invoked by alias); 14 Dec 2018 15:29:34 -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 33808 invoked by uid 48); 14 Dec 2018 15:29:30 -0000 From: "fuscated at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/88499] Check for less than zero removed before floating point division causes division by zero (fast-math mode) Date: Fri, 14 Dec 2018 15:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fuscated 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: 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: 2018-12/txt/msg02046.txt.bz2 Content-length: 543 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88499 --- Comment #1 from Teodor Petrov --- Here are the commands used to reproduce the bug: $ g++ -g -fPIC -Ofast -msse4.2 -std=3Dc++11 -ffunction-sections -fdata-sec= tions -ffast-math -fvisibility=3Dhidden -fexceptions -Wno-c++11-extensions gcc_division.cpp=20 $ ./a.out=20 p=3D0.000; i=3D0 Floating point exception (core dumped) If I move the if-else which sets the y0 outside of the loop just after the printf call it works as expected and there is no SIGFPE. >>From gcc-bugs-return-625931-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 15:30:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41099 invoked by alias); 14 Dec 2018 15:30:48 -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 8933 invoked by uid 55); 14 Dec 2018 15:30:02 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88462] All D execution tests FAIL on Solaris/SPARC Date: Fri, 14 Dec 2018 15:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg02047.txt.bz2 Content-length: 3191 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88462 --- Comment #11 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #10 from Johannes Pfau --- > I guess the proper fix to the alignment problem is using > 'https://dlang.org/phobos/std_traits.html#classInstanceAlignment' (or rat= her > the druntime equivalent) instead of Mutex.alignof + the rounding / slice > assignment fixes? Seems plausible: the current situation is nothing more than a hack to get me further along, and I've only just started reading up on D. > Regarding the ModuleInfo problem: Although ModuleInfo does have a variable > size, _flags ist the first field in the struct. So the whole struct insta= nce > has to be misaligned for some reason? Is the minfo section aligned proper= ly? It is: both minfo sections on libgdruntime.so and libgphobos.so are: libdruntime/.libs/libgdruntime.so: Section Header[28]: sh_name: minfo sh_addr: 0x17b834 sh_flags: [ SHF_WRITE SHF_ALLOC ] sh_size: 0x344 sh_type: [ SHT_PROGBITS ] sh_offset: 0x16b834 sh_entsize: 0 sh_link: 0 sh_info: 0 sh_addralign: 0x4=20=20=20=20=20=20=20 src/.libs/libgphobos.so: Section Header[28]: sh_name: minfo sh_addr: 0x6ff014 sh_flags: [ SHF_WRITE SHF_ALLOC ] sh_size: 0x224 sh_type: [ SHT_PROGBITS ] sh_offset: 0x6ef014 sh_entsize: 0 sh_link: 0 sh_info: 0 sh_addralign: 0x4=20=20=20=20=20=20=20 And looking at a statically linked test program (gdc283.exe), I see Thread 2 received signal SIGSEGV, Segmentation fault. [Switching to Thread 1 (LWP 1)] 0x0007c970 in object.ModuleInfo.flags() const (this=3D...) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/object.d:1541 1541 @property uint flags() nothrow pure @nogc { return _flags; } (gdb) p this $1 =3D (const object.ModuleInfo &) @0x12ab33: {_flags =3D 4100, _index =3D = 0} (gdb) up #1 0x0007d118 in object.ModuleInfo.importedModules() const (this=3D...) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/object.d:1580 1580 if (flags & MIimportedModules) (gdb) up #2 0x0008ed74 in rt.minfo.ModuleGroup.sortCtors(immutable(char)[]) (this= =3D...,=20 cycleHandling=3D...) at /vol/gcc/src/hg/trunk/solaris/libphobos/libdruntime/rt/minfo.d:259 259 foreach (imp; m.importedModules) (gdb) p this $2 =3D (rt.minfo.ModuleGroup &) @0x12f228: {_modules =3D { 0x12932c ,=20 0x1297ac ,=20 0x129acc ,=20 0x129ae4 ,=20 0x12a99c , 0x12aafc ,=20 0x12ab33 , 0x12ab42 ,=20 0x12ab56 , 0x12ab67 ,= =20 0x12ab77 ,=20 0x12ab89 ,=20 i.e. everything starts off alright, but goes astray from 0x12ab33 onwards. >>From gcc-bugs-return-625932-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 16:35:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26670 invoked by alias); 14 Dec 2018 16:35: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 26605 invoked by uid 48); 14 Dec 2018 16:35:47 -0000 From: "glaubitz at physik dot fu-berlin.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/88500] New: [SH]: SETCONTEXT_CLOBBERS_TLS needs to be handled in libgo Date: Fri, 14 Dec 2018 16:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glaubitz at physik dot fu-berlin.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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 cc target_milestone cf_gcctarget Message-ID: 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: 2018-12/txt/msg02048.txt.bz2 Content-length: 2421 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88500 Bug ID: 88500 Summary: [SH]: SETCONTEXT_CLOBBERS_TLS needs to be handled in libgo Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: glaubitz at physik dot fu-berlin.de CC: cmang at google dot com, ian at airs dot com, jrtc27 at= jrtc27 dot com, kkojima at gcc dot gnu.org, olegendo at gcc dot gnu.org Target Milestone: --- Target: sh*-*-* Trying to build gcc-8 with gccgo enabled fails on sh4 now with: libtool: compile: /<>/build/./gcc/xgcc -B/<>/build/./gcc/ -B/usr/sh4-linux-gnu/bin/ -B/usr/sh4-linux-gnu/lib/ -isystem /usr/sh4-linux-gnu/include -isystem /usr/sh4-linux-gnu/sys-include -isystem /<>/build/sys-include -DHAVE_CONFIG_H -I. -I../../../src/libgo -I ../../../src/libgo/runtime -I../../../src/libgo/../libffi/include -I../libffi/include -pthread -L../libatomic/.libs -fexceptions -fnon-call-exceptions -fno-stack-protector -Wall -Wextra -Wwrite-strings -Wcast-qual -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -I ../../../src/libgo/../libgcc -I ../../../src/libgo/../libbacktrace -I ../../gcc/include -g -O2 -MT go-unsafe-pointer.lo -MD -MP -MF .deps/go-unsafe-pointer.Tpo -c ../../../src/libgo/runtime/go-unsafe-pointer.c -o go-unsafe-pointer.o >/dev/null 2>&1 ../../../src/libgo/runtime/proc.c:171:4: error: #error unknown case for SETCONTEXT_CLOBBERS_TLS # error unknown case for SETCONTEXT_CLOBBERS_TLS ^~~~~ ../../../src/libgo/runtime/proc.c: In function 'runtime_gogo': ../../../src/libgo/runtime/proc.c:289:2: warning: implicit declaration of function 'fixcontext'; did you mean 'setcontext'? [-Wimplicit-function-declaration] fixcontext(ucontext_arg(&newg->context[0])); ^~~~~~~~~~ setcontext ../../../src/libgo/runtime/proc.c: In function 'runtime_mstart': ../../../src/libgo/runtime/proc.c:492:2: warning: implicit declaration of function 'initcontext'; did you mean 'setcontext'? [-Wimplicit-function-declaration] initcontext(); ^~~~~~~~~~~ setcontext Looking at libgo/runtime/proc.c, it looks like this is because sh*-*-* defi= nes SETCONTEXT_CLOBBERS_TLS and it needs to be handled in libgo/runtime/proc.c. >>From gcc-bugs-return-625933-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 16:43:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82132 invoked by alias); 14 Dec 2018 16:43: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 82070 invoked by uid 48); 14 Dec 2018 16:43:28 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/88499] Check for less than zero removed before floating point division causes division by zero (fast-math mode) Date: Fri, 14 Dec 2018 16:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse 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: 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: 2018-12/txt/msg02049.txt.bz2 Content-length: 180 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88499 --- Comment #2 from Marc Glisse --- I don't think using fenv.h with -ffast-math makes much sense. >>From gcc-bugs-return-625934-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 16:44:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85428 invoked by alias); 14 Dec 2018 16:44:44 -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 85301 invoked by uid 48); 14 Dec 2018 16:44:39 -0000 From: "edlinger at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88261] [9 Regression] ICE: verify_gimple failed (error: non-trivial conversion at assignment) Date: Fri, 14 Dec 2018 16:44: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: 9.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: edlinger 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: 2018-12/txt/msg02050.txt.bz2 Content-length: 238 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88261 --- Comment #7 from Bernd Edlinger --- Created attachment 45238 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45238&action=3Dedit untested patch >>From gcc-bugs-return-625935-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 17:05:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18825 invoked by alias); 14 Dec 2018 17:05: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 18729 invoked by uid 55); 14 Dec 2018 17:05:20 -0000 From: "uros at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88474] Inline built-in hypot for -ffast-math Date: Fri, 14 Dec 2018 17:05: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: uros at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com 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: 2018-12/txt/msg02051.txt.bz2 Content-length: 531 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88474 --- Comment #2 from uros at gcc dot gnu.org --- Author: uros Date: Fri Dec 14 17:04:48 2018 New Revision: 267137 URL: https://gcc.gnu.org/viewcvs?rev=3D267137&root=3Dgcc&view=3Drev Log: PR target/88474 * internal-fn.def (HYPOT): New. * optabs.def (hypot_optab): New. * config/i386/i386.md (hypot3): New expander. Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.md trunk/gcc/internal-fn.def trunk/gcc/optabs.def >>From gcc-bugs-return-625936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 17:16:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47732 invoked by alias); 14 Dec 2018 17:16: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 47623 invoked by uid 48); 14 Dec 2018 17:16:40 -0000 From: "bugzilla@poradnik-webmastera.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88487] union prevents autovectorization Date: Fri, 14 Dec 2018 17:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla@poradnik-webmastera.com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: 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: 2018-12/txt/msg02052.txt.bz2 Content-length: 333 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88487 --- Comment #4 from Daniel Fruzynski --- OK, I see. Is there any workaround for this? I tried to assign pointer to l= ocal variable directly and with intermediate casting via void*, but it did not h= elp. Casting S1* to S2* also does not work. >>From gcc-bugs-return-625937-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 17:28:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78947 invoked by alias); 14 Dec 2018 17:28:11 -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 78817 invoked by uid 48); 14 Dec 2018 17:28:07 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store" Date: Fri, 14 Dec 2018 17:28: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created 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: 2018-12/txt/msg02053.txt.bz2 Content-length: 1096 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88464 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #12 from Jakub Jelinek --- Created attachment 45239 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45239&action=3Dedit gcc9-pr88464-2.patch Incremental untested patch. First of all, I've missed an important case for gathers in the testsuite coverage, float with long index type on -m64, that actually ICEd due to multiple issues. The rest of the patch implements masked scatters, though at least for now o= nly for 512-bit vectors. The problem for 128-bit and 256-bit is that the vectorizer computes the comparisons in an integral vector rather than bool vector (i.e. int); perhaps we could just emit an instruction that sets masks from the MSB bits of such a vector. >>From gcc-bugs-return-625938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 17:34:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91414 invoked by alias); 14 Dec 2018 17:34:26 -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 91341 invoked by uid 48); 14 Dec 2018 17:34:22 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88489] [9 Regression] FAIL: gcc.target/i386/avx512f-vfixupimmss-2.c execution test Date: Fri, 14 Dec 2018 17:34: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 9.0 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: 2018-12/txt/msg02054.txt.bz2 Content-length: 226 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88489 --- Comment #3 from Jakub Jelinek --- The test FAILs even at -O0 when built with -mavx512vl, when built e.g. with -mavx512{bw,dq} it works fine. >>From gcc-bugs-return-625939-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 17:37:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11402 invoked by alias); 14 Dec 2018 17:37:49 -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 11374 invoked by uid 48); 14 Dec 2018 17:37:44 -0000 From: "jg at jguk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88501] New: Improve suggested alternative to be closer to typo Date: Fri, 14 Dec 2018 17:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jg at jguk dot 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg02055.txt.bz2 Content-length: 1214 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88501 Bug ID: 88501 Summary: Improve suggested alternative to be closer to typo Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jg at jguk dot org Target Milestone: --- "string" spelt as "stting" gives suggestion "stdin" which is 2 characters different than the expected suggestion to "string". I imagine it is difficult to get suggestions right, but ideally same length chars would be considered a closer match. $ g++ -Wall -o string string.cpp string.cpp: In function =E2=80=98int main()=E2=80=99: string.cpp:8:5: error: =E2=80=98stting=E2=80=99 was not declared in this sc= ope stting buf; ^~~~~~ string.cpp:8:5: note: suggested alternative: =E2=80=98stdin=E2=80=99 stting buf; ^~~~~~ stdin string.cpp:10:5: error: =E2=80=98buf=E2=80=99 was not declared in this scope buf =3D "hello"; ^~~ // g++ -Wall -o string string.cpp #include using namespace std; int main() { stting buf; buf =3D "hello"; } >>From gcc-bugs-return-625940-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 17:46:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18554 invoked by alias); 14 Dec 2018 17:46:22 -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 18515 invoked by uid 48); 14 Dec 2018 17:46:17 -0000 From: "fuscated at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/88499] Check for less than zero removed before floating point division causes division by zero (fast-math mode) Date: Fri, 14 Dec 2018 17:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fuscated 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: 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: 2018-12/txt/msg02056.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88499 --- Comment #3 from Teodor Petrov --- @Marc Glisse: Would it be possible to give an explanation why this is not a good idea? Link to some kind of a documentation which explains that this behaviour is expected? >>From gcc-bugs-return-625941-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 17:58:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30576 invoked by alias); 14 Dec 2018 17:58:36 -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 30482 invoked by uid 48); 14 Dec 2018 17:58:29 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88489] [9 Regression] FAIL: gcc.target/i386/avx512f-vfixupimmss-2.c execution test Date: Fri, 14 Dec 2018 17:58: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created 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: 2018-12/txt/msg02057.txt.bz2 Content-length: 690 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88489 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #4 from Jakub Jelinek --- Created attachment 45240 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45240&action=3Dedit gcc9-pr88489.patch Untested fix. The problem was that the sd pattern had the same RTL as the = pd for 128-bit vectors, but behaved differently. >>From gcc-bugs-return-625942-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 18:26:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13544 invoked by alias); 14 Dec 2018 18:26: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13502 invoked by uid 48); 14 Dec 2018 18:26:54 -0000 From: "bernd.edlinger at hotmail dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88261] [9 Regression] ICE: verify_gimple failed (error: non-trivial conversion at assignment) Date: Fri, 14 Dec 2018 18:26: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: 9.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bernd.edlinger at hotmail dot de 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: 9.0 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: 2018-12/txt/msg02058.txt.bz2 Content-length: 3311 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88261 Bernd Edlinger changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernd.edlinger at hotmail = dot de --- Comment #8 from Bernd Edlinger --- Interesting: above patch adds an error in=20 gcc/testsuite/g++.dg/warn/Wplacement-new-size-1.C where this is no ICE but only wrong code (I modified the test case a bit to demonstrate the Problem): $ cat Wplacement-new-size-1.C // PR c++/69662 - -Wplacement-new on allocated one element array members // Exercising the more permissive -Wplacement-new=3D1. The difference // between -Wplacement-new=3D1 is denoted by "no warning at level 1" in // the comments below. // { dg-do compile } // { dg-options "-Wno-pedantic -Wplacement-new=3D1" } typedef __typeof__ (sizeof 0) size_t; void* operator new (size_t, void *p) { return p; } void* operator new[] (size_t, void *p) { return p; } struct Ax { char n, a []; }; typedef __INT16_TYPE__ Int16; char xx[3]; void fAx2 () { Ax ax2 =3D { 1, { 2, 3 } }; new (ax2.a) Int16(123); __builtin_memcpy(xx, &ax2, 3); } int main() { fAx2 (); } $ g++ -O2 Wplacement-new-size-1.C $ ./a.out Segmentation fault (core dumped) $ g++ -S -O2 Wplacement-new-size-1.C $ cat Wplacement-new-size-1.s .file "Wplacement-new-size-1.C" .text .p2align 4 .globl _ZnwmPv .type _ZnwmPv, @function _ZnwmPv: .LFB0: .cfi_startproc movq %rsi, %rax ret .cfi_endproc .LFE0: .size _ZnwmPv, .-_ZnwmPv .p2align 4 .globl _ZnamPv .type _ZnamPv, @function _ZnamPv: .LFB5: .cfi_startproc movq %rsi, %rax ret .cfi_endproc .LFE5: .size _ZnamPv, .-_ZnamPv .section .rodata .LC0: .byte 1 .byte 2 .byte 3 .text .p2align 4 .globl _Z4fAx2v .type _Z4fAx2v, @function _Z4fAx2v: .LFB2: .cfi_startproc movzbl .LC0(%rip), %eax movb %al, -1(%rsp) movl $123, %eax movw %ax, (%rsp) movzwl -1(%rsp), %eax movw %ax, xx(%rip) movzbl 1(%rsp), %eax movb %al, xx+2(%rip) ret .cfi_endproc .LFE2: .size _Z4fAx2v, .-_Z4fAx2v .section .text.startup,"ax",@progbits .p2align 4 .globl main .type main, @function main: .LFB3: .cfi_startproc movzbl .LC0(%rip), %eax movb %al, -1(%rsp) movl $123, %eax movw %ax, (%rsp) movzwl -1(%rsp), %eax movw %ax, xx(%rip) movzbl 1(%rsp), %eax movb %al, xx+2(%rip) xorl %eax, %eax ret .cfi_endproc .LFE3: .size main, .-main .globl xx .bss .type xx, @object .size xx, 3 xx: .zero 3 .ident "GCC: (GNU) 9.0.0 20181209 (experimental)" .section .note.GNU-stack,"",@progbits So Ax2 has actually only 1 Byte space on the stack, and "new (ax2.a) Int16(123);" overwrites the return stack >>From gcc-bugs-return-625943-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 18:29:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15855 invoked by alias); 14 Dec 2018 18:29:54 -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 15793 invoked by uid 55); 14 Dec 2018 18:29:49 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88490] Missed autovectorization when indices are different Date: Fri, 14 Dec 2018 18:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com 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: 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: 2018-12/txt/msg02059.txt.bz2 Content-length: 833 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88490 --- Comment #5 from joseph at codesourcery dot com --- On Fri, 14 Dec 2018, rguenther at suse dot de wrote: > Note I do not think the C standard is sufficiently clear with regarding=20 > to restrict qualified pointers loaded from memory. I think this is where "Every access that modifies X shall be considered=20 also to modify P, for the purposes of this subclause." comes in. (See=20 what I said at .)=20= =20 Modifying s->d[n][0] is considered to modify s->d[n], and so considered to= =20 modify s->d, and so considered to modify s. (It's still perfectly valid=20 to have n =3D=3D k; what's not valid is aliasing between objects accessed v= ia=20 s->d[0] and s->d[1], for example.) >>From gcc-bugs-return-625944-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 19:02:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129329 invoked by alias); 14 Dec 2018 19:02: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129260 invoked by uid 48); 14 Dec 2018 19:02:55 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/88499] Check for less than zero removed before floating point division causes division by zero (fast-math mode) Date: Fri, 14 Dec 2018 19:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 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: 2018-12/txt/msg02060.txt.bz2 Content-length: 555 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88499 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #4 from Andrew Pinski --- You need to turn back on trapping math, -ftrapping-math for this to work correctly. -ftrapping-math is turned off with -ffast-math. >>From gcc-bugs-return-625945-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 19:21:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24390 invoked by alias); 14 Dec 2018 19:21:27 -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 24316 invoked by uid 48); 14 Dec 2018 19:21:22 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88501] Improve suggested alternative to be closer to typo Date: Fri, 14 Dec 2018 19:21: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: 8.2.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager 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: keywords 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: 2018-12/txt/msg02061.txt.bz2 Content-length: 635 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88501 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic CC| |dmalcolm at gcc dot gnu.or= g, | |egallager at gcc dot gnu.o= rg --- Comment #1 from Eric Gallager --- Another heuristic besides length chars would be that "string" is a typename= and "stdin" isn't. David? >>From gcc-bugs-return-625947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 19:37:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104677 invoked by alias); 14 Dec 2018 19:37:13 -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 104513 invoked by uid 55); 14 Dec 2018 19:37:05 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82294] Array of objects with constexpr constructors initialized from space-inefficient memory image Date: Fri, 14 Dec 2018 19:37: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: 7.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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: 2018-12/txt/msg02063.txt.bz2 Content-length: 536 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82294 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Fri Dec 14 19:36:33 2018 New Revision: 267142 URL: https://gcc.gnu.org/viewcvs?rev=3D267142&root=3Dgcc&view=3Drev Log: PR c++/82294 PR c++/87436 * init.c (build_vec_init): Change num_initialized_elts type from int to HOST_WIDE_INT. Build a RANGE_EXPR if e needs to be repeated more than once. Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/init.c >>From gcc-bugs-return-625946-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 19:37:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104660 invoked by alias); 14 Dec 2018 19:37:13 -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 104549 invoked by uid 55); 14 Dec 2018 19:37:09 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87436] [7/8/9 Regression] G++ produces >300MB .rodata section to initialize struct with big array Date: Fri, 14 Dec 2018 19:37: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: 8.2.1 X-Bugzilla-Keywords: compile-time-hog, memory-hog, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg02062.txt.bz2 Content-length: 536 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87436 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Fri Dec 14 19:36:33 2018 New Revision: 267142 URL: https://gcc.gnu.org/viewcvs?rev=3D267142&root=3Dgcc&view=3Drev Log: PR c++/82294 PR c++/87436 * init.c (build_vec_init): Change num_initialized_elts type from int to HOST_WIDE_INT. Build a RANGE_EXPR if e needs to be repeated more than once. Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/init.c >>From gcc-bugs-return-625948-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 19:38:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107026 invoked by alias); 14 Dec 2018 19:38:16 -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 106909 invoked by uid 55); 14 Dec 2018 19:38:10 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82294] Array of objects with constexpr constructors initialized from space-inefficient memory image Date: Fri, 14 Dec 2018 19:38: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: 7.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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: 2018-12/txt/msg02064.txt.bz2 Content-length: 1365 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82294 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Fri Dec 14 19:37:38 2018 New Revision: 267143 URL: https://gcc.gnu.org/viewcvs?rev=3D267143&root=3Dgcc&view=3Drev Log: PR c++/82294 PR c++/87436 * expr.h (categorize_ctor_elements): Add p_unique_nz_elts argument. * expr.c (categorize_ctor_elements_1): Likewise. Compute it like p_nz_elts, except don't multiply it by mult. Adjust recursive call. Fix up COMPLEX_CST handling. (categorize_ctor_elements): Add p_unique_nz_elts argument, initiali= ze it and pass it through to categorize_ctor_elements_1. (mostly_zeros_p, all_zeros_p): Adjust categorize_ctor_elements call= ers. * gimplify.c (gimplify_init_constructor): Likewise. Don't force ctor into readonly data section if num_unique_nonzero_elements is smaller or equal to 1/8 of num_nonzero_elements and size is >=3D 64 bytes. * g++.dg/tree-ssa/pr82294.C: New test. * g++.dg/tree-ssa/pr87436.C: New test. Added: trunk/gcc/testsuite/g++.dg/tree-ssa/pr82294.C trunk/gcc/testsuite/g++.dg/tree-ssa/pr87436.C Modified: trunk/gcc/ChangeLog trunk/gcc/expr.c trunk/gcc/expr.h trunk/gcc/gimplify.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625949-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 19:38:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107116 invoked by alias); 14 Dec 2018 19:38:16 -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 106939 invoked by uid 55); 14 Dec 2018 19:38:12 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87436] [7/8/9 Regression] G++ produces >300MB .rodata section to initialize struct with big array Date: Fri, 14 Dec 2018 19:38: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: 8.2.1 X-Bugzilla-Keywords: compile-time-hog, memory-hog, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg02065.txt.bz2 Content-length: 1365 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87436 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Fri Dec 14 19:37:38 2018 New Revision: 267143 URL: https://gcc.gnu.org/viewcvs?rev=3D267143&root=3Dgcc&view=3Drev Log: PR c++/82294 PR c++/87436 * expr.h (categorize_ctor_elements): Add p_unique_nz_elts argument. * expr.c (categorize_ctor_elements_1): Likewise. Compute it like p_nz_elts, except don't multiply it by mult. Adjust recursive call. Fix up COMPLEX_CST handling. (categorize_ctor_elements): Add p_unique_nz_elts argument, initiali= ze it and pass it through to categorize_ctor_elements_1. (mostly_zeros_p, all_zeros_p): Adjust categorize_ctor_elements call= ers. * gimplify.c (gimplify_init_constructor): Likewise. Don't force ctor into readonly data section if num_unique_nonzero_elements is smaller or equal to 1/8 of num_nonzero_elements and size is >=3D 64 bytes. * g++.dg/tree-ssa/pr82294.C: New test. * g++.dg/tree-ssa/pr87436.C: New test. Added: trunk/gcc/testsuite/g++.dg/tree-ssa/pr82294.C trunk/gcc/testsuite/g++.dg/tree-ssa/pr87436.C Modified: trunk/gcc/ChangeLog trunk/gcc/expr.c trunk/gcc/expr.h trunk/gcc/gimplify.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625950-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 19:55:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108199 invoked by alias); 14 Dec 2018 19:55:56 -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 108101 invoked by uid 48); 14 Dec 2018 19:55:51 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88498] [9 Regression] FAIL: gcc.target/i386/avx512vl-pr79299-1.c (internal compiler error) Date: Fri, 14 Dec 2018 19:55: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg02066.txt.bz2 Content-length: 445 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88498 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- Please try https://gcc.gnu.org/ml/gcc-patches/2018-12/msg01085.html >>From gcc-bugs-return-625951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 20:01:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126217 invoked by alias); 14 Dec 2018 20:01:46 -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 126133 invoked by uid 48); 14 Dec 2018 20:01:42 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88497] Improve Accumulation in Auto-Vectorized Code Date: Fri, 14 Dec 2018 20:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 2018-12/txt/msg02067.txt.bz2 Content-length: 539 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88497 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- Is that though something the vectorizer should do, or better something some post-vectorization pass like reassoc which already has such infrastructure should do? >>From gcc-bugs-return-625952-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 20:02:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127184 invoked by alias); 14 Dec 2018 20:02:16 -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 127096 invoked by uid 48); 14 Dec 2018 20:02:12 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88497] Improve Accumulation in Auto-Vectorized Code Date: Fri, 14 Dec 2018 20:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg02068.txt.bz2 Content-length: 167 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88497 --- Comment #3 from Jakub Jelinek --- Obviously, in either case for -ffast-math only. >>From gcc-bugs-return-625953-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 20:06:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2727 invoked by alias); 14 Dec 2018 20:06:54 -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 2596 invoked by uid 55); 14 Dec 2018 20:06:49 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86823] [7/8/9 Regression] private member template struct/class is publicly accessible Date: Fri, 14 Dec 2018 20:06: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: 8.2.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg02069.txt.bz2 Content-length: 1091 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86823 --- Comment #7 from Alexandre Oliva --- Author: aoliva Date: Fri Dec 14 20:06:15 2018 New Revision: 267144 URL: https://gcc.gnu.org/viewcvs?rev=3D267144&root=3Dgcc&view=3Drev Log: [PR86823] retain deferred access checks from outside firewall We used to preserve deferred access check along with resolved template ids, but a tentative parsing firewall introduced additional layers of deferred access checks, so that we don't preserve the checks we want to any more. This patch moves the deferred access checks from outside the firewall into it. From: Jason Merrill for gcc/cp/ChangeLog PR c++/86823 * parser.c (cp_parser_template_id): Rearrange deferred access checks into the firewall. From: Alexandre Oliva for gcc/testsuite/ChangeLog PR c++/86823 * g++.dg/pr86823.C: New. Added: trunk/gcc/testsuite/g++.dg/pr86823.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625954-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 20:36:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58068 invoked by alias); 14 Dec 2018 20:36:38 -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 57996 invoked by uid 48); 14 Dec 2018 20:36:33 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88261] [9 Regression] ICE: verify_gimple failed (error: non-trivial conversion at assignment) Date: Fri, 14 Dec 2018 20:36: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: 9.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bernd.edlinger at hotmail dot de X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg02070.txt.bz2 Content-length: 533 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88261 --- Comment #9 from Jeffrey A. Law --- Thanks for running with this Bernd. My brain was too mushy last night to g= et anywhere. I agree that digest_init_r seems like the right place to try and address this problem. ISTM we could either add the DECL as a parameter or pass in some kind of st= ate to indicate if it's automatic or static. I've got no strong opinion on whi= ch of those two approaches is best -- but Jason will have the final call here. >>From gcc-bugs-return-625955-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 20:42:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68048 invoked by alias); 14 Dec 2018 20:42:47 -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 67562 invoked by uid 55); 14 Dec 2018 20:42:43 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/88370] acc_get_cuda_stream/acc_set_cuda_stream: acc_async_sync, acc_async_noval Date: Fri, 14 Dec 2018 20:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: openacc, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tschwinge 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: 2018-12/txt/msg02071.txt.bz2 Content-length: 1735 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88370 --- Comment #1 from Thomas Schwinge --- Author: tschwinge Date: Fri Dec 14 20:42:08 2018 New Revision: 267147 URL: https://gcc.gnu.org/viewcvs?rev=3D267147&root=3Dgcc&view=3Drev Log: [PR88370] acc_get_cuda_stream/acc_set_cuda_stream: acc_async_sync, acc_async_noval Per my reading of the OpenACC specification (and as supported by secondary documentation, such as code examples, or presentations), it's valid to call "acc_get_cuda_stream"/"acc_set_cuda_stream" also with "acc_async_sync", "acc_async_noval" arguments, not just with the nonnegative values as curren= tly implemented. libgomp/ PR libgomp/88370 * libgomp.texi (acc_get_current_cuda_context, acc_get_cuda_stream) (acc_set_cuda_stream): Clarify. * oacc-cuda.c (acc_get_cuda_stream, acc_set_cuda_stream): Use "async_valid_p". * plugin/plugin-nvptx.c (nvptx_set_cuda_stream): Refuse "async =3D= =3D acc_async_sync". * testsuite/libgomp.oacc-c-c++-common/acc_set_cuda_stream-1.c: New file. * testsuite/libgomp.oacc-c-c++-common/async_queue-1.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-84.c: Update. * testsuite/libgomp.oacc-c-c++-common/lib-85.c: Likewise. Added: trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/acc_set_cuda_stream-1= .c trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/async_queue-1.c Modified: trunk/libgomp/ChangeLog trunk/libgomp/libgomp.texi trunk/libgomp/oacc-cuda.c trunk/libgomp/plugin/plugin-nvptx.c trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-84.c trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-85.c >>From gcc-bugs-return-625956-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 20:43:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69695 invoked by alias); 14 Dec 2018 20:43:16 -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 69393 invoked by uid 55); 14 Dec 2018 20:43:12 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/88407] [OpenACC] Correctly handle unseen async-arguments Date: Fri, 14 Dec 2018 20:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: openacc, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tschwinge 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: 2018-12/txt/msg02072.txt.bz2 Content-length: 1829 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88407 --- Comment #1 from Thomas Schwinge --- Author: tschwinge Date: Fri Dec 14 20:42:40 2018 New Revision: 267150 URL: https://gcc.gnu.org/viewcvs?rev=3D267150&root=3Dgcc&view=3Drev Log: [PR88407] [OpenACC] Correctly handle unseen async-arguments ... which turn the operation into a no-op. libgomp/ PR libgomp/88407 * plugin/plugin-nvptx.c (nvptx_async_test, nvptx_wait) (nvptx_wait_async): Unseen async-argument is a no-op. * testsuite/libgomp.oacc-c-c++-common/async_queue-1.c: Update. * testsuite/libgomp.oacc-c-c++-common/data-2-lib.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/data-2.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-79.c: Likewise. * testsuite/libgomp.oacc-fortran/lib-12.f90: Likewise. * testsuite/libgomp.oacc-c-c++-common/lib-71.c: Merge into... * testsuite/libgomp.oacc-c-c++-common/lib-69.c: ... this. Update. * testsuite/libgomp.oacc-c-c++-common/lib-77.c: Merge into... * testsuite/libgomp.oacc-c-c++-common/lib-74.c: ... this. Update Removed: trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-71.c trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-77.c Modified: trunk/libgomp/ChangeLog trunk/libgomp/plugin/plugin-nvptx.c trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/async_queue-1.c trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/data-2-lib.c trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/data-2.c trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-69.c trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-74.c trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-79.c trunk/libgomp/testsuite/libgomp.oacc-fortran/lib-12.f90 >>From gcc-bugs-return-625958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 20:43:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71231 invoked by alias); 14 Dec 2018 20:43:40 -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 71154 invoked by uid 55); 14 Dec 2018 20:43:36 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/88495] An OpenACC async queue is always synchronized with itself Date: Fri, 14 Dec 2018 20:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: openacc, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tschwinge 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: 2018-12/txt/msg02074.txt.bz2 Content-length: 1028 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88495 --- Comment #1 from Thomas Schwinge --- Author: tschwinge Date: Fri Dec 14 20:43:02 2018 New Revision: 267152 URL: https://gcc.gnu.org/viewcvs?rev=3D267152&root=3Dgcc&view=3Drev Log: [PR88495] An OpenACC async queue is always synchronized with itself An OpenACC async queue is always synchronized with itself, so invocations l= ike "#pragma acc wait(0) async(0)", or "acc_wait_async (0, 0)" don't make a lot= of sense, but are still valid. libgomp/ PR libgomp/88495 * plugin/plugin-nvptx.c (nvptx_wait_async): Don't refuse "identical parameters". * testsuite/libgomp.oacc-c-c++-common/asyncwait-nop-1.c: Update. * testsuite/libgomp.oacc-c-c++-common/lib-80.c: Remove. Removed: trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-80.c Modified: trunk/libgomp/ChangeLog trunk/libgomp/plugin/plugin-nvptx.c trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/asyncwait-nop-1.c >>From gcc-bugs-return-625957-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 20:43:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70454 invoked by alias); 14 Dec 2018 20:43: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70379 invoked by uid 55); 14 Dec 2018 20:43:23 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/88484] OpenACC wait directive without wait argument but with async clause Date: Fri, 14 Dec 2018 20:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tschwinge 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: 2018-12/txt/msg02073.txt.bz2 Content-length: 861 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88484 --- Comment #1 from Thomas Schwinge --- Author: tschwinge Date: Fri Dec 14 20:42:50 2018 New Revision: 267151 URL: https://gcc.gnu.org/viewcvs?rev=3D267151&root=3Dgcc&view=3Drev Log: [PR88484] OpenACC wait directive without wait argument but with async clause We don't correctly handle "#pragma acc wait async (a)" for "a >=3D 0", hand= ling as a no-op whereas it should enqueue the appropriate wait operations on "async (a)". libgomp/ PR libgomp/88484 * oacc-parallel.c (GOACC_wait): Correct handling for "async >=3D 0". * testsuite/libgomp.oacc-c-c++-common/asyncwait-nop-1.c: New file. Added: trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/asyncwait-nop-1.c Modified: trunk/libgomp/ChangeLog trunk/libgomp/oacc-parallel.c >>From gcc-bugs-return-625959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 20:54:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78883 invoked by alias); 14 Dec 2018 20:54:32 -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 74042 invoked by uid 48); 14 Dec 2018 20:54:28 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88497] Improve Accumulation in Auto-Vectorized Code Date: Fri, 14 Dec 2018 20:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: 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: 2018-12/txt/msg02075.txt.bz2 Content-length: 185 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88497 --- Comment #4 from Bill Schmidt --- Yes, reassociation sounds like the right place to look at this. >>From gcc-bugs-return-625960-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 20:58:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125843 invoked by alias); 14 Dec 2018 20:58:16 -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 118542 invoked by uid 48); 14 Dec 2018 20:58:10 -0000 From: "balakrishnan.erode at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/78986] [7/8/9 Regression] template inner classes are not affected by access specifiers Date: Fri, 14 Dec 2018 20:58: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: 7.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: balakrishnan.erode at gmail dot com 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.5 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: 2018-12/txt/msg02076.txt.bz2 Content-length: 907 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78986 Balakrishnan B changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |balakrishnan.erode at gmai= l dot co | |m --- Comment #2 from Balakrishnan B --- This has nothing to do with inheritance. If the inner class is template, ac= cess specifiers are ignored. Simpler example: class A { struct B1 {}; template struct B2 {}; }; void foo() {=20=20=20=20 //A::B1 b1; //This doesn't compile (GOOD) A::B2 b2; // This compiles (BAD) } Explorer: https://gcc.godbolt.org/z/S0YBPu Bug is present in all versions between GCC 6.1 to trunk. GCC5 and earlier a= re good. >>From gcc-bugs-return-625961-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 21:09:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61500 invoked by alias); 14 Dec 2018 21:09:20 -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 60683 invoked by uid 48); 14 Dec 2018 21:09:15 -0000 From: "vgupta at synopsys dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88001] ASMCONS cannot handle properly UNSPEC(CONST) Date: Fri, 14 Dec 2018 21:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vgupta at synopsys dot com 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: 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: 2018-12/txt/msg02077.txt.bz2 Content-length: 280 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88001 --- Comment #9 from Vineet Gupta --- Can this be stable backported to gcc-8-branch as well. glibc folks use that branch for their regular smoke testing and without that ARC tools don't even build. >>From gcc-bugs-return-625962-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 21:24:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12509 invoked by alias); 14 Dec 2018 21:24:29 -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 119997 invoked by uid 48); 14 Dec 2018 21:24:01 -0000 From: "jsm28 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88502] New: Inline built-in asinh, acosh, atanh for -ffast-math Date: Fri, 14 Dec 2018 21:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: 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: 2018-12/txt/msg02078.txt.bz2 Content-length: 1743 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88502 Bug ID: 88502 Summary: Inline built-in asinh, acosh, atanh for -ffast-math Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jsm28 at gcc dot gnu.org Target Milestone: --- Target: i?86-*-* GCC should support inline code generation for asinh, acosh, atanh functions, under appropriate fast-math conditions. glibc's bits/mathinline.h, for 32-bit non-SSE fast-math x86 only, has: /* The argument range of the inline version of asinhl is slightly reduced. = */ __inline_mathcodeNP (asinh, __x, \ register long double __y =3D __fabsl (__x); = \ return (log1pl (__y * __y / (__libc_sqrtl (__y * __y + 1.0) + 1.0) + __y)= \ * __sgn1l (__x))) __inline_mathcodeNP (acosh, __x, \ return logl (__x + __libc_sqrtl (__x - 1.0) * __libc_sqrtl (__x + 1.0))) __inline_mathcodeNP (atanh, __x, \ register long double __y =3D __fabsl (__x); = \ return -0.5 * log1pl (-(__y + __y) / (1.0 + __y)) * __sgn1l (__x)) We're moving away from such inlines in glibc, preferring to leave it to the compiler to inline standard functions under appropriate conditions. This inlining probably only makes sense when logl / log1pl are themselves expand= ed inline (but in principle it's otherwise generic; note this x86 code uses lo= ng double, so avoiding reducing the argument range for built-in functions for narrower types). (__sgn1l is another inline function, copying the sign of = x to the value 1.0L.) >>From gcc-bugs-return-625963-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 21:39:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39888 invoked by alias); 14 Dec 2018 21:39:27 -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 37360 invoked by uid 48); 14 Dec 2018 21:39:22 -0000 From: "petschy at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88503] New: 'invalid static_cast' error message could be more helpful Date: Fri, 14 Dec 2018 21:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: petschy 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 Message-ID: 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: 2018-12/txt/msg02079.txt.bz2 Content-length: 1641 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88503 Bug ID: 88503 Summary: 'invalid static_cast' error message could be more helpful Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: petschy at gmail dot com Target Milestone: --- class Parent; class Derived; Derived* foo(Parent* p) { return static_cast(p); } $ g++-9.0.0 -Wall -Wextra -c 20181214-fwddecl_vs_static_cast.cpp=20 20181214-fwddecl_vs_static_cast.cpp: In function =E2=80=98Derived* foo(Pare= nt*)=E2=80=99: 20181214-fwddecl_vs_static_cast.cpp:6:32: error: invalid static_cast from t= ype =E2=80=98Parent*=E2=80=99 to type =E2=80=98Derived*=E2=80=99 6 | return static_cast(p); | ^ Now imagine that your project is somewhat more complex than the above examp= le, and Derived derives from Parent. You know it, you are used to it. However, = some code needs only the forward declarations, at other places the full definiti= on is needed. When I bumped into this error, it caused me quite some time to figure out w= hat is going on. I double/triple/quad checked the names of the classes, no typo, yet the error. It turned out of course that only the forward declarations w= ere available in that TU. It would be really useful if the error message was a bit more verbose, mentioning the fact if either types were forward declared, and if no parent-child relationship info is available. >>From gcc-bugs-return-625964-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 21:46:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81148 invoked by alias); 14 Dec 2018 21:46:31 -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 80855 invoked by uid 48); 14 Dec 2018 21:46:21 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88501] Improve suggested alternative to be closer to typo Date: Fri, 14 Dec 2018 21:46: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: 8.2.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to 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: 2018-12/txt/msg02080.txt.bz2 Content-length: 854 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88501 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-12-14 Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot= gnu.org Ever confirmed|0 |1 --- Comment #2 from David Malcolm --- Confirmed. "string" vs "stting" has edit distance of 1, closer than "stdin= ".=20 I think the issue here is that it's not considering names that would be fou= nd via using-directives. I have a work-in-progress patch to do so, which make= s it successfully suggest "string" for this case. >>From gcc-bugs-return-625965-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 21:57:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94432 invoked by alias); 14 Dec 2018 21:57:44 -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 94345 invoked by uid 55); 14 Dec 2018 21:57:40 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87814] [9 Regression] ICE in in tsubst_copy, at cp/pt.c:15962 with range-v3 Date: Fri, 14 Dec 2018 21:57: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg02081.txt.bz2 Content-length: 1176 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87814 --- Comment #8 from Alexandre Oliva --- Author: aoliva Date: Fri Dec 14 21:57:07 2018 New Revision: 267155 URL: https://gcc.gnu.org/viewcvs?rev=3D267155&root=3Dgcc&view=3Drev Log: [PR c++/87814] undefer deferred noexcept on tsubst if request tsubst_expr and tsubst_copy_and_build are not expected to handle DEFERRED_NOEXCEPT exprs, but if tsubst_exception_specification takes a DEFERRED_NOEXCEPT expr with !defer_ok, it just passes the expr on for tsubst_copy_and_build to barf. This patch arranges for tsubst_exception_specification to combine the incoming args with those already stored in a DEFERRED_NOEXCEPT, and then substitute them into the pattern, when retaining a deferred noexcept is unacceptable. for gcc/cp/ChangeLog PR c++/87814 * pt.c (tsubst_exception_specification): Handle DEFERRED_NOEXCEPT with !defer_ok. for gcc/testsuite/ChangeLog PR c++/87814 * g++.dg/cpp1z/pr87814.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp1z/pr87814.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625966-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 22:17:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97001 invoked by alias); 14 Dec 2018 22:17: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 84821 invoked by uid 55); 14 Dec 2018 22:17:16 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/79738] Documentation for __attribute__((const)) slightly misleading Date: Fri, 14 Dec 2018 22:17: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: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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: 2018-12/txt/msg02082.txt.bz2 Content-length: 473 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79738 --- Comment #6 from Martin Sebor --- Author: msebor Date: Fri Dec 14 22:16:43 2018 New Revision: 267156 URL: https://gcc.gnu.org/viewcvs?rev=3D267156&root=3Dgcc&view=3Drev Log: PR 79738 - Documentation for __attribute__((const)) slightly misleading gcc/ChangeLog: * doc/extend.texi (attribute const, pure): Clarify. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/extend.texi >>From gcc-bugs-return-625967-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 22:19:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114618 invoked by alias); 14 Dec 2018 22:19:15 -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 114559 invoked by uid 48); 14 Dec 2018 22:19:10 -0000 From: "petschy at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88504] New: Inconsistent error message notes when using forward-declared type as value Date: Fri, 14 Dec 2018 22:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: petschy 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 Message-ID: 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: 2018-12/txt/msg02083.txt.bz2 Content-length: 3063 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88504 Bug ID: 88504 Summary: Inconsistent error message notes when using forward-declared type as value Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: petschy at gmail dot com Target Milestone: --- struct Foo; struct Bar { Bar(Foo f_) : m_foo(f_) { } Foo m_foo; }; Foo baz1() { } void baz2(Foo f_) { } void baz3() { Foo foo; } Foo g_foo; $ g++-9.0.0 -Wall -Wextra -c 20181214-fwddecl_value.cpp=20 20181214-fwddecl_value.cpp:10:6: error: field =E2=80=98m_foo=E2=80=99 has i= ncomplete type =E2=80=98Foo=E2=80=99 10 | Foo m_foo; | ^~~~~ 20181214-fwddecl_value.cpp:1:8: note: forward declaration of =E2=80=98struc= t Foo=E2=80=99 1 | struct Foo; | ^~~ 20181214-fwddecl_value.cpp:5:10: error: =E2=80=98f_=E2=80=99 has incomplete= type 5 | Bar(Foo f_) : | ~~~~^~ 20181214-fwddecl_value.cpp:1:8: note: forward declaration of =E2=80=98struc= t Foo=E2=80=99 1 | struct Foo; | ^~~ 20181214-fwddecl_value.cpp:13:10: error: return type =E2=80=98struct Foo=E2= =80=99 is incomplete 13 | Foo baz1() | ^ 20181214-fwddecl_value.cpp:17:15: error: =E2=80=98f_=E2=80=99 has incomplet= e type 17 | void baz2(Foo f_) | ~~~~^~ 20181214-fwddecl_value.cpp:1:8: note: forward declaration of =E2=80=98struc= t Foo=E2=80=99 1 | struct Foo; | ^~~ 20181214-fwddecl_value.cpp: In function =E2=80=98void baz2(Foo)=E2=80=99: 20181214-fwddecl_value.cpp:17:15: warning: unused parameter =E2=80=98f_=E2= =80=99 [-Wunused-parameter] 17 | void baz2(Foo f_) | ~~~~^~ 20181214-fwddecl_value.cpp: In function =E2=80=98void baz3()=E2=80=99: 20181214-fwddecl_value.cpp:23:6: error: aggregate =E2=80=98Foo foo=E2=80=99= has incomplete type and cannot be defined 23 | Foo foo; | ^~~ 20181214-fwddecl_value.cpp: At global scope: 20181214-fwddecl_value.cpp:26:5: error: aggregate =E2=80=98Foo g_foo=E2=80= =99 has incomplete type and cannot be defined 26 | Foo g_foo; | ^~~~~ Most messages contain the note where the forward decl occured, but some don= 't: - returning from baz1() - local variable 'foo' in baz3() - global variable 'g_foo' Mentioning it everywhere would be helpful. Quite a minor issue, but the wording of the error messages also varies somewhat: - inside the class: field =E2=80=98m_foo=E2=80=99 has incomplete type =E2= =80=98Foo=E2=80=99 - as fn param, the name of the type is omitted : =E2=80=98f_=E2=80=99 has i= ncomplete type - when returning, 'struct Foo' is mentioned: return type =E2=80=98struct Fo= o=E2=80=99 is incomplete - but when defining a variable, Foo is not a struct, but an aggregate: aggregate =E2=80=98Foo foo=E2=80=99 has incomplete type and cannot be defin= ed >>From gcc-bugs-return-625968-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 22:38:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80496 invoked by alias); 14 Dec 2018 22:38:46 -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 80449 invoked by uid 55); 14 Dec 2018 22:38:40 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87096] "Optimised" snprintf is not POSIX conformant Date: Fri, 14 Dec 2018 22:38: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: 6.4.0 X-Bugzilla-Keywords: patch, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor 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: 2018-12/txt/msg02084.txt.bz2 Content-length: 866 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87096 --- Comment #12 from Martin Sebor --- Author: msebor Date: Fri Dec 14 22:38:08 2018 New Revision: 267157 URL: https://gcc.gnu.org/viewcvs?rev=3D267157&root=3Dgcc&view=3Drev Log: PR tree-optimization/87096 - Optimised snprintf is not POSIX conformant gcc/ChangeLog: PR rtl-optimization/87096 * gimple-ssa-sprintf.c (sprintf_dom_walker::handle_gimple_call): Av= oid folding calls whose bound may exceed INT_MAX. Diagnose bound ranges that exceed the limit. gcc/testsuite/ChangeLog: PR tree-optimization/87096 * gcc.dg/tree-ssa/builtin-snprintf-4.c: New test. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/builtin-snprintf-4.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-ssa-sprintf.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625969-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 22:39:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81338 invoked by alias); 14 Dec 2018 22:39:14 -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 81287 invoked by uid 48); 14 Dec 2018 22:39:09 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87096] "Optimised" snprintf is not POSIX conformant Date: Fri, 14 Dec 2018 22:39: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: 6.4.0 X-Bugzilla-Keywords: patch, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg02085.txt.bz2 Content-length: 445 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87096 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #13 from Martin Sebor --- Fixed for GCC 9 in r267157. >>From gcc-bugs-return-625970-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 22:46:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76248 invoked by alias); 14 Dec 2018 22:46:43 -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 68858 invoked by uid 55); 14 Dec 2018 22:46:31 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88372] alloc_size attribute is ignored on function pointers Date: Fri, 14 Dec 2018 22:46: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: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor 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: 2018-12/txt/msg02086.txt.bz2 Content-length: 1193 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88372 --- Comment #5 from Martin Sebor --- Author: msebor Date: Fri Dec 14 22:45:55 2018 New Revision: 267158 URL: https://gcc.gnu.org/viewcvs?rev=3D267158&root=3Dgcc&view=3Drev Log: PR tree-optimization/88372 - alloc_size attribute is ignored on function pointers gcc/ChangeLog: PR tree-optimization/88372 * calls.c (maybe_warn_alloc_args_overflow): Handle function pointer= s. * tree-object-size.c (alloc_object_size): Same. Simplify. * doc/extend.texi (Object Size Checking): Update. (Other Builtins): Add __builtin_object_size. (Common Type Attributes): Add alloc_size. (Common Variable Attributes): Ditto. gcc/testsuite/ChangeLog: PR tree-optimization/88372 * gcc.dg/Walloc-size-larger-than-18.c: New test. * gcc.dg/builtin-object-size-19.c: Same. Added: trunk/gcc/testsuite/gcc.dg/Walloc-size-larger-than-18.c trunk/gcc/testsuite/gcc.dg/builtin-object-size-19.c Modified: trunk/gcc/ChangeLog trunk/gcc/calls.c trunk/gcc/doc/extend.texi trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-object-size.c >>From gcc-bugs-return-625971-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 22:49:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13250 invoked by alias); 14 Dec 2018 22:49: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 13136 invoked by uid 48); 14 Dec 2018 22:49:18 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88372] alloc_size attribute is ignored on function pointers Date: Fri, 14 Dec 2018 22:49: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: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg02087.txt.bz2 Content-length: 600 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88372 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Martin Sebor --- Fixed for GCC 9 in r267158. A warning when a function without the attribut= e is assigned to a pointer with it should also be implemented to help detect bugs that this might lead to. >>From gcc-bugs-return-625972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 23:06:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53404 invoked by alias); 14 Dec 2018 23:06:26 -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 53302 invoked by uid 48); 14 Dec 2018 23:06:22 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87436] [7/8 Regression] G++ produces >300MB .rodata section to initialize struct with big array Date: Fri, 14 Dec 2018 23:06: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: 8.2.1 X-Bugzilla-Keywords: compile-time-hog, memory-hog, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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: 2018-12/txt/msg02088.txt.bz2 Content-length: 608 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87436 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[7/8/9 Regression] G++ |[7/8 Regression] G++ |produces >300MB .rodata |produces >300MB .rodata |section to initialize |section to initialize |struct with big array |struct with big array --- Comment #9 from Jakub Jelinek --- Fixed on the trunk. >>From gcc-bugs-return-625973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 23:17:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65015 invoked by alias); 14 Dec 2018 23:17:32 -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 64966 invoked by uid 48); 14 Dec 2018 23:17:27 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88505] New: missing -Wbuiltin-declaration-mismatch on a declaration with incompatible attributes Date: Fri, 14 Dec 2018 23:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg02089.txt.bz2 Content-length: 1988 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88505 Bug ID: 88505 Summary: missing -Wbuiltin-declaration-mismatch on a declaration with incompatible attributes Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- -Wbuiltin-declaration-mismatch diagnoses declarations of built-in functions whose type conflicts with the type of the built-in. This includes the retu= rn type and argument types, but does not include incompatible attributes. For example, the C11 aligned_alloc() function is declared like so: void *aligned_alloc (size_t alignment, size_t size); but GCC silently accepts the declarations that specify attributes in the opposite order, and in some cases (in g() below) even relies on the conflic= ting attributes to make optimization decisions. The -Wbuiltin-declaration-mismatch warning should be enhanced to also detect mismatches in function attributes. $ cat u.c && gcc -O2 -S -Wall -Wextra -fdump-tree-optimized=3D/dev/stdout u= .c typedef __SIZE_TYPE__ size_t; extern __attribute__ ((alloc_align (2), alloc_size (1))) void* aligned_alloc (size_t, size_t); size_t f (void) { size_t align =3D 16; void *p =3D aligned_alloc (48, align); return __builtin_object_size (p, 0); // bad alloc_size ignored here } void g (void) { size_t align =3D 32; void *p =3D aligned_alloc (4, align);=20 if ((long)p & (align - 1)) // bad alloc_align used here __builtin_abort (); } ;; Function f (f, funcdef_no=3D0, decl_uid=3D1910, cgraph_uid=3D1, symbol_o= rder=3D0) f () { [local count: 1073741824]: return 16; } ;; Function g (g, funcdef_no=3D1, decl_uid=3D1915, cgraph_uid=3D2, symbol_o= rder=3D1) g () { [local count: 1073741824]: return; } >>From gcc-bugs-return-625974-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 23:17:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65731 invoked by alias); 14 Dec 2018 23: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 65664 invoked by uid 55); 14 Dec 2018 23:17:38 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88478] [9 Regression] valgrind error in cselib_record_sets Date: Fri, 14 Dec 2018 23:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 9.0 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: 2018-12/txt/msg02090.txt.bz2 Content-length: 581 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88478 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Fri Dec 14 23:17:03 2018 New Revision: 267159 URL: https://gcc.gnu.org/viewcvs?rev=3D267159&root=3Dgcc&view=3Drev Log: PR rtl-optimization/88478 * cselib.c (cselib_record_sets): Move sets[i].src_elt tests after REG_P (dest) test. * g++.dg/opt/pr88478.C: New test. Added: trunk/gcc/testsuite/g++.dg/opt/pr88478.C Modified: trunk/gcc/ChangeLog trunk/gcc/cselib.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625975-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 23:20:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69526 invoked by alias); 14 Dec 2018 23:20:23 -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 69460 invoked by uid 48); 14 Dec 2018 23:20:19 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87992] ICE in resolve_fl_variable, at fortran/resolve.c:12314 Date: Fri, 14 Dec 2018 23:20: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority cc assigned_to 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: 2018-12/txt/msg02091.txt.bz2 Content-length: 621 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87992 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 CC| |kargl at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gn= u.org Target Milestone|--- |9.0 --- Comment #1 from kargl at gcc dot gnu.org --- Don't know if code is valid, but I have a patch that fixes the ICE. The code compiles. >>From gcc-bugs-return-625976-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 23:21:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71190 invoked by alias); 14 Dec 2018 23:21:46 -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 71125 invoked by uid 55); 14 Dec 2018 23:21:42 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88489] [9 Regression] FAIL: gcc.target/i386/avx512f-vfixupimmss-2.c execution test Date: Fri, 14 Dec 2018 23:21: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg02092.txt.bz2 Content-length: 828 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88489 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Dec 14 23:21:10 2018 New Revision: 267160 URL: https://gcc.gnu.org/viewcvs?rev=3D267160&root=3Dgcc&view=3Drev Log: PR target/88489 * config/i386/sse.md (UNSPEC_SFIXUPIMM): New unspec enumerator. (avx512f_sfixupimm): Use it instead of UNSPEC_FIXUPIMM. * gcc.target/i386/avx512vl-vfixupimmsd-2.c: New test. * gcc.target/i386/avx512vl-vfixupimmss-2.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/avx512vl-vfixupimmsd-2.c trunk/gcc/testsuite/gcc.target/i386/avx512vl-vfixupimmss-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/sse.md trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-625977-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 23:21:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71985 invoked by alias); 14 Dec 2018 23:21: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71899 invoked by uid 48); 14 Dec 2018 23:21:54 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88478] [9 Regression] valgrind error in cselib_record_sets Date: Fri, 14 Dec 2018 23:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution 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: 2018-12/txt/msg02093.txt.bz2 Content-length: 580 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88478 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |jakub at gcc dot gnu.org Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org --- Comment #4 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-625978-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 23:22:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72821 invoked by alias); 14 Dec 2018 23:22:19 -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 72777 invoked by uid 48); 14 Dec 2018 23:22:15 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88489] [9 Regression] FAIL: gcc.target/i386/avx512f-vfixupimmss-2.c execution test Date: Fri, 14 Dec 2018 23:22: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg02094.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88489 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-625979-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 23:25:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114445 invoked by alias); 14 Dec 2018 23:25:20 -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 104883 invoked by uid 48); 14 Dec 2018 23:24:58 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88506] New: missing warning assigning to a pointer with incompatible attributes Date: Fri, 14 Dec 2018 23:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg02095.txt.bz2 Content-length: 2030 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88506 Bug ID: 88506 Summary: missing warning assigning to a pointer with incompatible attributes Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- Similar to bug 88505, GCC silently accepts assignments of addresses of functions to pointers declared with incompatible attributes. See the test = case below. GCC should check the attributes on pointer initialization and assignment for compatibility and issue a warning if the destination is more restrictive th= an the source. $ cat u.c && gcc -O2 -S -Wall -Wextra -fdump-tree-optimized=3D/dev/stdout u= .c #include __attribute__ ((alloc_align (2), alloc_size (1))) void* (*paligned_alloc)(size_t, size_t) =3D aligned_alloc; size_t f (void) { size_t align =3D 16; void *p =3D paligned_alloc (48, align); return __builtin_object_size (p, 0); // bad alloc_size used } void g (void) { size_t align =3D 32; void *p =3D paligned_alloc (4, align);=20 if ((long)p & (align - 1)) // bad alloc_align used __builtin_abort (); } ;; Function f (f, funcdef_no=3D10, decl_uid=3D2495, cgraph_uid=3D11, symbol= _order=3D11) f () { void * (*) (size_t, size_t) paligned_alloc.0_1; [local count: 1073741824]: paligned_alloc.0_1 =3D paligned_alloc; paligned_alloc.0_1 (48, 16); return 48; } ;; Function g (g, funcdef_no=3D11, decl_uid=3D2500, cgraph_uid=3D12, symbol= _order=3D12) g () { void * (*) (size_t, size_t) paligned_alloc.1_1; [local count: 1073741824]: paligned_alloc.1_1 =3D paligned_alloc; paligned_alloc.1_1 (4, 32); [tail call] return; } tmp$ cat u.c && /ssd/build/gcc-svn/gcc/xgcc -B /ssd/build/gcc-svn/gcc -O2 -S -Wall -Wextra -fdump-tree-optimized=3D/dev/stdout u.c >>From gcc-bugs-return-625980-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 23:31:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29018 invoked by alias); 14 Dec 2018 23:31:56 -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 28962 invoked by uid 48); 14 Dec 2018 23:31:51 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88372] alloc_size attribute is ignored on function pointers Date: Fri, 14 Dec 2018 23:31: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: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also 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: 2018-12/txt/msg02096.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88372 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D88506 --- Comment #7 from Martin Sebor --- Bug 88506 tracks the missing warning. >>From gcc-bugs-return-625981-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 23:49:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92515 invoked by alias); 14 Dec 2018 23:49: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 92401 invoked by uid 48); 14 Dec 2018 23:48:56 -0000 From: "jg at jguk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88501] Improve suggested alternative to be closer to typo Date: Fri, 14 Dec 2018 23:49: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: 8.2.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jg at jguk dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm 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: 2018-12/txt/msg02097.txt.bz2 Content-length: 993 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88501 --- Comment #3 from Jonny Grant --- (In reply to David Malcolm from comment #2) > Confirmed. "string" vs "stting" has edit distance of 1, closer than > "stdin". I think the issue here is that it's not considering names that > would be found via using-directives. I have a work-in-progress patch to = do > so, which makes it successfully suggest "string" for this case. Great! I wonder, for typos if a simple byte compare would be enough? Vary each cha= r by 1 letter, or length. This starts to get complicated I know.. A few that still work "st4ing" "st$ing" "st%ing" A few that do not work (I did think gcc could output UTF-8) but it would se= em not - I'll file a separate ticket "st!ing" "st=C2=A3ing" string.cpp:8:7: error: stray =E2=80=98\302=E2=80=99 in program st=EF=BF=BD=EF=BF=BDing buf; ^ string.cpp:8:8: error: stray =E2=80=98\243=E2=80=99 in program st=EF=BF=BD=EF=BF=BDing buf; >>From gcc-bugs-return-625982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 23:53:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118438 invoked by alias); 14 Dec 2018 23:53: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 113101 invoked by uid 48); 14 Dec 2018 23:53:33 -0000 From: "jg at jguk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88507] New: utf8 not displayed Date: Fri, 14 Dec 2018 23:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jg at jguk dot 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg02098.txt.bz2 Content-length: 1248 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88507 Bug ID: 88507 Summary: utf8 not displayed Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jg at jguk dot org Target Milestone: --- Hello This is an typo in the word "string", just reporting as perhaps it could sh= ow =C2=A3 correctly, as it does on line 10 error. Perhaps could also show the stray b= ytes in hex as well? ie "0xF3C2" $ g++ -Wall -o string string.cpp string.cpp:8:7: error: stray =E2=80=98\302=E2=80=99 in program st=EF=BF=BD=EF=BF=BDing buf; ^ string.cpp:8:8: error: stray =E2=80=98\243=E2=80=99 in program st=EF=BF=BD=EF=BF=BDing buf; ^ string.cpp: In function =E2=80=98int main()=E2=80=99: string.cpp:8:5: error: =E2=80=98st=E2=80=99 was not declared in this scope st=C2=A3ing buf; ^~ string.cpp:10:5: error: =E2=80=98buf2=E2=80=99 was not declared in this sco= pe buf2 =3D "=C2=A3" ^~~~ // g++ -Wall -o string string.cpp #include using namespace std; int main() { st=C2=A3ing buf; buf =3D "=C2=A3" } >>From gcc-bugs-return-625983-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 14 23:54:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111743 invoked by alias); 14 Dec 2018 23:54: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 99642 invoked by uid 48); 14 Dec 2018 23:54:32 -0000 From: "vmakarov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87759] [8/9 Regression] ICE in lra_assign, at lra-assigns.c:1624, or ICE: Maximum number of LRA assignment passes is achieved (30), or compile-time hog Date: Fri, 14 Dec 2018 23:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: compile-time-hog, ice-on-invalid-code, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: vmakarov 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: 8.3 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: 2018-12/txt/msg02099.txt.bz2 Content-length: 211 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87759 --- Comment #2 from Vladimir Makarov --- I've started to work on it. The patch will be probably ready on Monday or Tuesday. >>From gcc-bugs-return-625984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 01:27:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69096 invoked by alias); 15 Dec 2018 01:27:47 -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 69028 invoked by uid 48); 15 Dec 2018 01:27:43 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88001] ASMCONS cannot handle properly UNSPEC(CONST) Date: Sat, 15 Dec 2018 01:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 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: 2018-12/txt/msg02100.txt.bz2 Content-length: 221 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88001 --- Comment #10 from Segher Boessenkool --- Sure this can be backported... But can you fill in known-to-{work,fail} then please? Thanks. >>From gcc-bugs-return-625985-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 01:55:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34513 invoked by alias); 15 Dec 2018 01:55:31 -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 34443 invoked by uid 48); 15 Dec 2018 01:55:26 -0000 From: "dudin.roman at list dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88508] New: std::bad_cast in std::basic_ostringstream.oss.fill() Date: Sat, 15 Dec 2018 01:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dudin.roman at list dot ru 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: 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: 2018-12/txt/msg02101.txt.bz2 Content-length: 1686 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88508 Bug ID: 88508 Summary: std::bad_cast in std::basic_ostringstream.oss.fill() Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: dudin.roman at list dot ru Target Milestone: --- Created attachment 45241 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45241&action=3Dedit Code I am trying to add support of UTF-16 and UTF-32 in C++17 environment. Short fragment of my code: namespace std { typedef basic_ostringstream u16ostringstream; } std::u16string to_hexdump_u16(const std::u16string_view &str_v) { std::u16ostringstream oss; oss.setf(std::ios::hex, std::ios::basefield); oss.fill(u'0'); ... return oss.str(); } int main() { auto str_u16 =3D u"Hello, my favorite World with native UTF-16 & UTF-32 support!=E2=99=A5=E2=9D=A4=E2=99=A1"; auto str_dump_u16 =3D to_hexdump_u16(str_u16); return 0; } I compile it via CMake with set(CMAKE_CXX_STANDARD 17) It compiles successfully, but the bad_cast exception occurs when "oss.fill(u'0')" is called. The internal function which throws the exceptio= n is "__check_facet(const _Facet* __f)" in basic_ios.h. Exception is also thrown when calling "oss << std::endl", but I think it's = the same problem. Problem touches latest library compiled with clang (linux), gcc 8.1 (mingw-= w64, linux). The code compiles and works fine on latest MSVC compiler.=20 The one-file full example in attach. >>From gcc-bugs-return-625986-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 03:30:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20624 invoked by alias); 15 Dec 2018 03:30: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 20493 invoked by uid 48); 15 Dec 2018 03:29:57 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/84863] false-positive -Warray-bounds warning with -fsanitize-coverage=object-size Date: Sat, 15 Dec 2018 03:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager 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: 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: 2018-12/txt/msg02102.txt.bz2 Content-length: 556 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84863 --- Comment #2 from Eric Gallager --- (In reply to Jakub Jelinek from comment #1) > Never use -Werror with -fsanitize=3D*, those really do cause new warnings > because the code intentionally is less optimized and the runtime check > themselves prevent further optimizations, so warnings that depend on > optimizations can't work properly. Maybe gcc should explicitly forbid the 2 of them being combined and error o= ut in the option-handling part of the driver instead. >>From gcc-bugs-return-625987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 03:37:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28328 invoked by alias); 15 Dec 2018 03:37: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28265 invoked by uid 48); 15 Dec 2018 03:37:55 -0000 From: "xerofoify at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88395] ICE: Segmentation fault signal terminated program cc1plus, with -std=c++2a -fconcepts Date: Sat, 15 Dec 2018 03:37: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: xerofoify at gmail dot com 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: attachments.created 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: 2018-12/txt/msg02103.txt.bz2 Content-length: 240 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88395 --- Comment #6 from Nicholas Krause --- Created attachment 45242 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45242&action=3Dedit Proposed Bug Fix >>From gcc-bugs-return-625988-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 03:38:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29500 invoked by alias); 15 Dec 2018 03:38:52 -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 29439 invoked by uid 48); 15 Dec 2018 03:38:48 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages Date: Sat, 15 Dec 2018 03:38: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: iains 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: 2018-12/txt/msg02104.txt.bz2 Content-length: 639 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78352 --- Comment #6 from Eric Gallager --- (In reply to Eric Gallager from comment #5) > (In reply to Ren=C3=A9 J.V. Bertin from comment #4) > > Any news on this front? >=20 > Last I heard from Iain he was still having to deal with water damage to h= is > office... He seems to be back now, but dealing with lower-hanging fruit in his backlo= g at the moment. (I really wish I knew as much about the Darwin port as he does = so I could help reduce its "bus factor", but unfortunately I haven't been able to focus hard enough to sit down and really learn it) >>From gcc-bugs-return-625989-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 03:39:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30296 invoked by alias); 15 Dec 2018 03:39:15 -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 30252 invoked by uid 48); 15 Dec 2018 03:39:11 -0000 From: "xerofoify at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88395] ICE: Segmentation fault signal terminated program cc1plus, with -std=c++2a -fconcepts Date: Sat, 15 Dec 2018 03:39: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: xerofoify at gmail dot com 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: 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: 2018-12/txt/msg02105.txt.bz2 Content-length: 472 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88395 --- Comment #7 from Nicholas Krause --- (In reply to Nicholas Krause from comment #6) > Created attachment 45242 [details] > Proposed Bug Fix This is my proposed fix after tracing it and reading it carefully seems that passing the NULL_TREE in rather than the correct decl tree of concepts is causing the bug. If this is correct I will just run the gcc test suite and = post to the list. >>From gcc-bugs-return-625990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 03:43:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7893 invoked by alias); 15 Dec 2018 03:43:10 -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 7843 invoked by uid 48); 15 Dec 2018 03:43:03 -0000 From: "rafael at espindo dot la" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88509] New: Missing optimization of tls initialization Date: Sat, 15 Dec 2018 03:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rafael at espindo dot la 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 Message-ID: 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: 2018-12/txt/msg02106.txt.bz2 Content-length: 1344 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88509 Bug ID: 88509 Summary: Missing optimization of tls initialization Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rafael at espindo dot la Target Milestone: --- Given struct foo { foo(); }; static thread_local foo bar; foo *f() { return &bar; } foo *g() { static thread_local foo *bar_ptr; if (bar_ptr =3D=3D nullptr) { [&]() { bar_ptr =3D &bar; }(); } return bar_ptr; } GCC has to make sure bar is only initialized once. For the function f it produces pushq %rbx cmpb $0, %fs:__tls_guard@tpoff movq %fs:0, %rbx je .L6 leaq _ZL3bar@tpoff(%rbx), %rax popq %rbx ret .L6: for g, the common code path is somewhat simpler: movq %fs:_ZZ1gvE7bar_ptr@tpoff, %rax testq %rax, %rax je .L15 ret .L15: The optimization is to use the a pointer to the object as a guard instead of using a boolean. As far as I can tell this can be applied to any static tls variable (where the ABI is not a problem). >>From gcc-bugs-return-625991-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 03:46:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10427 invoked by alias); 15 Dec 2018 03:46:11 -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 10289 invoked by uid 48); 15 Dec 2018 03:45:56 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/49167] dwarf marker for function return instruction Date: Sat, 15 Dec 2018 03:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: unknown X-Bugzilla-Keywords: wrong-debug X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva 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: 2018-12/txt/msg02107.txt.bz2 Content-length: 272 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49167 --- Comment #4 from Eric Gallager --- Alexandre, did you just get assigned this because that's what happens with = all bugs with the "debug" component, or are you actually working on it? >>From gcc-bugs-return-625992-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 03:58:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21486 invoked by alias); 15 Dec 2018 03:58:08 -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 21386 invoked by uid 48); 15 Dec 2018 03:58:04 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87310] -Wc90-c99-compat does not warn about bool usage Date: Sat, 15 Dec 2018 03:58: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: 8.1.1 X-Bugzilla-Keywords: diagnostic, easyhack X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager 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: see_also 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: 2018-12/txt/msg02108.txt.bz2 Content-length: 634 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87310 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D45780 --- Comment #6 from Eric Gallager --- I got this confused with bug 45780 for a second but that's actually somethi= ng different. Still putting it under "See Also" though, as a "just-in-case" for the future... >>From gcc-bugs-return-625993-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 04:38:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81593 invoked by alias); 15 Dec 2018 04:38:27 -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 81543 invoked by uid 48); 15 Dec 2018 04:38:20 -0000 From: "husseydevin at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88510] New: GCC generates inefficient U64x2 scalar multiply for NEON32 Date: Sat, 15 Dec 2018 04:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: husseydevin 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 Message-ID: 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: 2018-12/txt/msg02109.txt.bz2 Content-length: 4426 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88510 Bug ID: 88510 Summary: GCC generates inefficient U64x2 scalar multiply for NEON32 Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: husseydevin at gmail dot com Target Milestone: --- Note: I use these typedefs here for brevity. typedef uint64x2_t U64x2; typedef uint32x2_t U32x2; typedef uint32x2x2_t U32x2x2; typedef uint32x4_t U32x4; GCC and Clang both have issues with this code on ARMv7a NEON, and will swit= ch to scalar: U64x2 multiply(U64x2 top, U64x2 bot) { return top * bot; } gcc-8 -mfloat-abi=3Dhard -mfpu=3Dneon -O3 -S -march=3Darmv7-a=20 multiply: push {r4, r5, r6, r7, lr} sub sp, sp, #20 vmov r0, r1, d0 @ v2di vmov r6, r7, d2 @ v2di vmov r2, r3, d1 @ v2di vmov r4, r5, d3 @ v2di mul lr, r0, r7 mla lr, r6, r1, lr mul ip, r2, r5 umull r0, r1, r0, r6 mla ip, r4, r3, ip add r1, lr, r1 umull r2, r3, r2, r4 strd r0, [sp] add r3, ip, r3 strd r2, [sp, #8] vld1.64 {d0-d1}, [sp:64] add sp, sp, #20 pop {r4, r5, r6, r7, pc} Clang's is worse, and you can compare the output, as well as the i386 SSE4.1 code here: https://godbolt.org/z/35owtL Related LLVM bug 39967: https://bugs.llvm.org/show_bug.cgi?id=3D39967 I started the discussion in LLVM, as it had the worse problem, and we have = come up with a few options for faster code that does not require scalar. You can also find the benchmark file (with outdated tests) and results results. They are from Clang, but since they use intrinsics, results are similar. While we don't have vmulq_u64, we do have faster ways to multiply without g= oing scalar. I have benchmarked the code, and have found this option, based on the code emitted for SSE4.1: U64x2 goodmul_sse(U64x2 top, U64x2 bot) { U32x2 topHi =3D vshrn_n_u64(top, 32); // U32x2 topHi =3D top >> 32; U32x2 topLo =3D vmovn_u64(top); // U32x2 topLo =3D top & 0xF= FFFFFFF; U32x2 botHi =3D vshrn_n_u64(bot, 32); // U32x2 botHi =3D bot >> 32; U32x2 botLo =3D vmovn_u64(bot); // U32x2 botLo =3D bot & 0xF= FFFFFFF; U64x2 ret64 =3D vmull_u32(topHi, botLo); // U64x2 ret64 =3D (U64x2)t= opHi * (U64x2)botLo; ret64 =3D vmlal_u32(ret64, topLo, botHi); // ret64 +=3D (U64x2)t= opLo * (U64x2)botHi; ret64 =3D vshlq_n_u64(ret64, 32); // ret64 <<=3D 32; ret64 =3D vmlal_u32(ret64, topLo, botLo); // ret64 +=3D (U64x2)t= opLo * (U64x2)botLo; return ret64; } If GCC can figure out how to interleave one or two of the operands, for example, changing this: U64x2 inp1 =3D vld1q_u64(p); U64x2 inp2 =3D vld1q_u64(q); vec =3D goodmul_sse(inp1, inp2); to this (if it knows inp1 and/or inp2 are only used for multiplication): U32x2x2 inp1 =3D vld2_u32(p); U32x2x2 inp2 =3D vld2_u32(q); vec =3D goodmul_sse_interleaved(inp1, inp2) then we can do this and save 4 cycles: U64x2 goodmul_sse_interleaved(const U32x2x2 top, const U32x2x2 bot) { U64x2 ret64 =3D vmull_u32(top.val[1], bot.val[0]); // U64x2 ret64 =3D (U64x2)topHi * (U64x2)botLo; ret64 =3D vmlal_u32(ret64, top.val[0], bot.val[1]); // ret64 +=3D (U64x2)topLo * (U64x2)botHi; ret64 =3D vshlq_n_u64(ret64, 32); // ret64 <<= =3D 32; ret64 =3D vmlal_u32(ret64, top.val[0], bot.val[0]); // ret64 +=3D (U64x2)topLo * (U64x2)botLo; return ret64; } Another user posted this (typos fixed). It seems to use two fewer cycles when not interleaved (not 100% sure about = it), but two cycles slower when it is fully interleaved. U64x2 twomul(U64x2 top, U64x2 bot) { U32x2 top_low =3D vmovn_u64(top); U32x2 bot_low =3D vmovn_u64(bot); U32x4 top_re =3D vreinterpretq_u32_u64(top); U32x4 bot_re =3D vrev64q_u32(vreinterpretq_u32_u64(bot)); U32x4 prod =3D vmulq_u32(top_re, bot_re); U64x2 paired =3D vpaddlq_u32(prod); U64x2 shifted =3D vshlq_n_u64(paired, 32); return vmlal_u32(shifted, top_low, bot_low); } Either one of these is faster than scalar. >>From gcc-bugs-return-625994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 04:55:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112986 invoked by alias); 15 Dec 2018 04:55:30 -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 112930 invoked by uid 48); 15 Dec 2018 04:55:25 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88509] Missing optimization of tls initialization Date: Sat, 15 Dec 2018 04:55: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: 8.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: keywords 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: 2018-12/txt/msg02110.txt.bz2 Content-length: 624 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88509 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #1 from Andrew Pinski --- >As far as I can tell this can be applied to any static tls variable Only in functions which have non-vague linkage. static varaibles in inline functions have to have the same ABI across TUs and there might have some in already compiled code ... >>From gcc-bugs-return-625995-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 05:28:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7860 invoked by alias); 15 Dec 2018 05:28:31 -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 7810 invoked by uid 48); 15 Dec 2018 05:28:27 -0000 From: "vgupta at synopsys dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88001] ASMCONS cannot handle properly UNSPEC(CONST) Date: Sat, 15 Dec 2018 05:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vgupta at synopsys dot com 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: 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: 2018-12/txt/msg02111.txt.bz2 Content-length: 286 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88001 --- Comment #11 from Vineet Gupta --- Sure, but how can I ? if i click the "known to work" field it takes me to h= elp. The issue certainly with gcc-8-branch for ARC and presumably also with tip/trunk. >>From gcc-bugs-return-625996-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 05:36:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54868 invoked by alias); 15 Dec 2018 05:36:56 -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 54810 invoked by uid 48); 15 Dec 2018 05:36:52 -0000 From: "xuepeng.guo at intel dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88498] [9 Regression] FAIL: gcc.target/i386/avx512vl-pr79299-1.c (internal compiler error) Date: Sat, 15 Dec 2018 05:36: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: xuepeng.guo at intel dot com 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: 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: 2018-12/txt/msg02112.txt.bz2 Content-length: 182 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88498 --- Comment #3 from Terry Guo --- I just tried and both of failures are gone with Jakub's patch. >>From gcc-bugs-return-625997-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 05:51:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77594 invoked by alias); 15 Dec 2018 05:51: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 77535 invoked by uid 48); 15 Dec 2018 05:51:50 -0000 From: "edlinger at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88261] [9 Regression] ICE: verify_gimple failed (error: non-trivial conversion at assignment) Date: Sat, 15 Dec 2018 05:51: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: 9.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: edlinger at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bernd.edlinger at hotmail dot de X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg02113.txt.bz2 Content-length: 2557 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88261 --- Comment #10 from Bernd Edlinger --- Hmm, there are a few loose ends, where there is simply no decl. For instance in this example: /* PR c/5597 */ /* { dg-do compile } */ /* { dg-options "" } */ /* Verify that GCC forbids non-static initialization of flexible array members. */ struct str { int len; char s[]; }; struct str a =3D { 2, "a" }; void foo() { static struct str d =3D (struct str) { 2, "d" }; /* { dg-error "(non-static)|(near initialization)" } */ static struct str e =3D (struct str) { d.len, "e" }; /* { dg-error "(non-static)|(initialization)" } */ } $ g++ -S array-6.c array-6.c:14:47: error: non-static initialization of a flexible array member 14 | static struct str d =3D (struct str) { 2, "d" }; /* { dg-error "(non-static)|(near initialization)" } */ | ^ array-6.c:15:51: error: non-static initialization of a flexible array member 15 | static struct str e =3D (struct str) { d.len, "e" }; /* { dg-error "(non-static)|(initialization)" } */ | ^ the patch prints an error, but digest_init_r is called from finish_compound_literal: 2830 compound_literal =3D digest_init_flags (type, compound_literal, LOOKUP_NORMAL, 2831 complain, NULL_TREE); So here it is impossible to tell which decl is going to be initialized, because this is called drectly from the parser (cp_parser_postfix_expressio= n). However the C-FE does also not have a decl here, and I think I cannot do much about that: $ gcc -S array-6.c=20 array-6.c: In function 'foo': array-6.c:14:43: error: non-static initialization of a flexible array member 14 | static struct str d =3D (struct str) { 2, "d" }; /* { dg-error "(non-static)|(near initialization)" } */ | ^~~ array-6.c:14:43: note: (near initialization for '(anonymous)') array-6.c:15:47: error: non-static initialization of a flexible array member 15 | static struct str e =3D (struct str) { d.len, "e" }; /* { dg-error "(non-static)|(initialization)" } */ | ^~~ array-6.c:15:47: note: (near initialization for '(anonymous)') array-6.c:15:25: error: initializer element is not constant 15 | static struct str e =3D (struct str) { d.len, "e" }; /* { dg-error "(non-static)|(initialization)" } */ | ^ >>From gcc-bugs-return-625998-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 08:41:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104444 invoked by alias); 15 Dec 2018 08:41:54 -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 104360 invoked by uid 48); 15 Dec 2018 08:41:49 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages Date: Sat, 15 Dec 2018 08:41: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: iains 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: 2018-12/txt/msg02114.txt.bz2 Content-length: 1464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78352 --- Comment #7 from Iain Sandoe --- (In reply to Eric Gallager from comment #6) > (In reply to Eric Gallager from comment #5) > > (In reply to Ren=C3=A9 J.V. Bertin from comment #4) > > > Any news on this front? > >=20 > > Last I heard from Iain he was still having to deal with water damage to= his > > office... >=20 > He seems to be back now, but dealing with lower-hanging fruit in his back= log > at the moment.=20 The focus is on wrong-code and regression bugs at the moment (not necessari= ly lowest-hanging fruit) Apropos this enhancement: 1) My last set of working patches was against 4.9/5 - so they need to be forward-ported. 2) There is a design ;-) the reason this is assigned... 3) This would involve changes to c-family FE and some ME additions, so you = can be sure it is not relevant until 10 stage 1 at the earliest. > (I really wish I knew as much about the Darwin port as he > does so I could help reduce its "bus factor", but unfortunately I haven't > been able to focus hard enough to sit down and really learn it) There is a lot of testsuite noise some of which probably *is* low-hanging f= ruit (places where there are Linux-isms in the test cases which simply need the Darwin equivalent) - Darwin folks *you* can test/analyse/categorise these, whereas the folks without a Darwin box cannot - so please go at it! JFTR, I started with testsuite fixes .. >>From gcc-bugs-return-625999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 09:08:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24761 invoked by alias); 15 Dec 2018 09:08:17 -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 24639 invoked by uid 55); 15 Dec 2018 09:08:12 -0000 From: "paolo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84644] internal compiler error: in warn_misplaced_attr_for_class_type, at cp/decl.c:4718 Date: Sat, 15 Dec 2018 09:08: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com 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: 2018-12/txt/msg02115.txt.bz2 Content-length: 1023 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84644 --- Comment #4 from paolo at gcc dot gnu.org --- Author: paolo Date: Sat Dec 15 09:07:38 2018 New Revision: 267165 URL: https://gcc.gnu.org/viewcvs?rev=3D267165&root=3Dgcc&view=3Drev Log: /cp 2018-12-15 Paolo Carlini PR c++/84644 * decl.c (check_tag_decl): A decltype with no declarator doesn't declare anything. /testsuite 2018-12-15 Paolo Carlini PR c++/84644 * g++.dg/cpp0x/decltype68.C: New. * g++.dg/cpp0x/decltype-33838.C: Adjust. * g++.dg/template/spec32.C: Likewise. * g++.dg/template/ttp22.C: Likewise. Added: trunk/gcc/testsuite/g++.dg/cpp0x/decltype68.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/cpp0x/decltype-33838.C trunk/gcc/testsuite/g++.dg/template/spec32.C trunk/gcc/testsuite/g++.dg/template/ttp22.C >>From gcc-bugs-return-626000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 09:09:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27371 invoked by alias); 15 Dec 2018 09:09:48 -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 27280 invoked by uid 48); 15 Dec 2018 09:09:45 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84644] internal compiler error: in warn_misplaced_attr_for_class_type, at cp/decl.c:4718 Date: Sat, 15 Dec 2018 09: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: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 2018-12/txt/msg02116.txt.bz2 Content-length: 499 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84644 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |9.0 --- Comment #5 from Paolo Carlini --- Fixed in trunk. >>From gcc-bugs-return-626001-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 09:37:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126142 invoked by alias); 15 Dec 2018 09:37:12 -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 125997 invoked by uid 48); 15 Dec 2018 09:37:07 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88509] Missing optimization of tls initialization Date: Sat, 15 Dec 2018 09:37: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: 8.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 2018-12/txt/msg02117.txt.bz2 Content-length: 581 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88509 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- I must say I don't understand your suggestion. bar is not a pointer and its address is non-NULL no matter whether it has been already initialized or no= t. What kind of assembly you'd like to see for f? >>From gcc-bugs-return-626002-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 10:28:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100090 invoked by alias); 15 Dec 2018 10:28:19 -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 100061 invoked by uid 48); 15 Dec 2018 10:28:14 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88502] Inline built-in asinh, acosh, atanh for -ffast-math Date: Sat, 15 Dec 2018 10:28: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak 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: 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: 2018-12/txt/msg02118.txt.bz2 Content-length: 1787 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88502 --- Comment #1 from Uro=C5=A1 Bizjak --- (In reply to Joseph S. Myers from comment #0) > GCC should support inline code generation for asinh, acosh, atanh functio= ns, > under appropriate fast-math conditions. >=20 > glibc's bits/mathinline.h, for 32-bit non-SSE fast-math x86 only, has: >=20 > /* The argument range of the inline version of asinhl is slightly reduced= .=20 > */ > __inline_mathcodeNP (asinh, __x, \ > register long double __y =3D __fabsl (__x); \ > return (log1pl (__y * __y / (__libc_sqrtl (__y * __y + 1.0) + 1.0) + __= y)=20 > \ > * __sgn1l (__x))) >=20 > __inline_mathcodeNP (acosh, __x, \ > return logl (__x + __libc_sqrtl (__x - 1.0) * __libc_sqrtl (__x + 1.0))) >=20 > __inline_mathcodeNP (atanh, __x, \ > register long double __y =3D __fabsl (__x); \ > return -0.5 * log1pl (-(__y + __y) / (1.0 + __y)) * __sgn1l (__x)) >=20 > We're moving away from such inlines in glibc, preferring to leave it to t= he > compiler to inline standard functions under appropriate conditions. This > inlining probably only makes sense when logl / log1pl are themselves > expanded inline (but in principle it's otherwise generic; note this x86 c= ode > uses long double, so avoiding reducing the argument range for built-in > functions for narrower types). (__sgn1l is another inline function, copy= ing > the sign of x to the value 1.0L.) Can you please advise, which would be appropirate conditions? I think that = they should be similar to hypot conditions - flag_finite_math_only and flag_unsafe_math_optimizations. The x87 expansion is valid for float and do= uble functions, we should leave out long double variant, even with flag_unsafe_math_optimizations. >>From gcc-bugs-return-626004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 11:03:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127797 invoked by alias); 15 Dec 2018 11:03:11 -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 127322 invoked by uid 55); 15 Dec 2018 11:03:04 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store" Date: Sat, 15 Dec 2018 11:03: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub 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: 2018-12/txt/msg02120.txt.bz2 Content-length: 2060 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88464 --- Comment #13 from Jakub Jelinek --- Author: jakub Date: Sat Dec 15 11:02:28 2018 New Revision: 267169 URL: https://gcc.gnu.org/viewcvs?rev=3D267169&root=3Dgcc&view=3Drev Log: PR tree-optimization/88464 PR target/88498 * tree-vect-stmts.c (vect_build_gather_load_calls): For NARROWING and mask with integral masktype, don't try to permute mask vectors, instead emit VEC_UNPACK_{LO,HI}_EXPR. Fix up NOP_EXPR operand. (vectorizable_store): Handle masked scatters with decl and integral mask type. (permute_vec_elements): Allow scalar_dest to be NULL. * config/i386/i386.c (ix86_get_builtin) : Use lowpart_subreg for masks. : Don't assume mask and src have to be the same. * gcc.target/i386/avx512f-pr88462-1.c: Rename to ... * gcc.target/i386/avx512f-pr88464-1.c: ... this. Fix up PR number. Expect 4 vectorized loops instead of 3. (f4): New function. * gcc.target/i386/avx512f-pr88462-2.c: Rename to ... * gcc.target/i386/avx512f-pr88464-2.c: ... this. Fix up PR number and #include. (avx512f_test): Prepare arguments for f4 and check the results. * gcc.target/i386/avx512f-pr88464-3.c: New test. * gcc.target/i386/avx512f-pr88464-4.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88464-1.c - copied, changed from r267168, trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88462-1.c trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88464-2.c - copied, changed from r267168, trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88462-2.c Removed: trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88462-1.c trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88462-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-stmts.c >>From gcc-bugs-return-626003-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 11:03:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127448 invoked by alias); 15 Dec 2018 11:03:08 -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 127279 invoked by uid 55); 15 Dec 2018 11:03:02 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88498] [9 Regression] FAIL: gcc.target/i386/avx512vl-pr79299-1.c (internal compiler error) Date: Sat, 15 Dec 2018 11:03: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg02119.txt.bz2 Content-length: 2059 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88498 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Sat Dec 15 11:02:28 2018 New Revision: 267169 URL: https://gcc.gnu.org/viewcvs?rev=3D267169&root=3Dgcc&view=3Drev Log: PR tree-optimization/88464 PR target/88498 * tree-vect-stmts.c (vect_build_gather_load_calls): For NARROWING and mask with integral masktype, don't try to permute mask vectors, instead emit VEC_UNPACK_{LO,HI}_EXPR. Fix up NOP_EXPR operand. (vectorizable_store): Handle masked scatters with decl and integral mask type. (permute_vec_elements): Allow scalar_dest to be NULL. * config/i386/i386.c (ix86_get_builtin) : Use lowpart_subreg for masks. : Don't assume mask and src have to be the same. * gcc.target/i386/avx512f-pr88462-1.c: Rename to ... * gcc.target/i386/avx512f-pr88464-1.c: ... this. Fix up PR number. Expect 4 vectorized loops instead of 3. (f4): New function. * gcc.target/i386/avx512f-pr88462-2.c: Rename to ... * gcc.target/i386/avx512f-pr88464-2.c: ... this. Fix up PR number and #include. (avx512f_test): Prepare arguments for f4 and check the results. * gcc.target/i386/avx512f-pr88464-3.c: New test. * gcc.target/i386/avx512f-pr88464-4.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88464-1.c - copied, changed from r267168, trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88462-1.c trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88464-2.c - copied, changed from r267168, trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88462-2.c Removed: trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88462-1.c trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88462-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-stmts.c >>From gcc-bugs-return-626006-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 11:05:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130505 invoked by alias); 15 Dec 2018 11:05:20 -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 130348 invoked by uid 55); 15 Dec 2018 11:05:15 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store" Date: Sat, 15 Dec 2018 11:05: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub 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: 2018-12/txt/msg02122.txt.bz2 Content-length: 1610 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88464 --- Comment #14 from Jakub Jelinek --- Author: jakub Date: Sat Dec 15 11:04:41 2018 New Revision: 267170 URL: https://gcc.gnu.org/viewcvs?rev=3D267170&root=3Dgcc&view=3Drev Log: PR tree-optimization/88464 PR target/88498 * tree-vect-stmts.c (vect_build_gather_load_calls): For NARROWING and mask with integral masktype, don't try to permute mask vectors, instead emit VEC_UNPACK_{LO,HI}_EXPR. Fix up NOP_EXPR operand. (vectorizable_store): Handle masked scatters with decl and integral mask type. (permute_vec_elements): Allow scalar_dest to be NULL. * config/i386/i386.c (ix86_get_builtin) : Use lowpart_subreg for masks. : Don't assume mask and src have to be the same. * gcc.target/i386/avx512f-pr88462-1.c: Rename to ... * gcc.target/i386/avx512f-pr88464-1.c: ... this. Fix up PR number. Expect 4 vectorized loops instead of 3. (f4): New function. * gcc.target/i386/avx512f-pr88462-2.c: Rename to ... * gcc.target/i386/avx512f-pr88464-2.c: ... this. Fix up PR number and #include. (avx512f_test): Prepare arguments for f4 and check the results. * gcc.target/i386/avx512f-pr88464-3.c: New test. * gcc.target/i386/avx512f-pr88464-4.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88464-3.c trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88464-4.c >>From gcc-bugs-return-626005-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 11:05:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130422 invoked by alias); 15 Dec 2018 11:05:20 -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 130309 invoked by uid 55); 15 Dec 2018 11:05:15 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88498] [9 Regression] FAIL: gcc.target/i386/avx512vl-pr79299-1.c (internal compiler error) Date: Sat, 15 Dec 2018 11:05: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg02121.txt.bz2 Content-length: 1609 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88498 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Sat Dec 15 11:04:41 2018 New Revision: 267170 URL: https://gcc.gnu.org/viewcvs?rev=3D267170&root=3Dgcc&view=3Drev Log: PR tree-optimization/88464 PR target/88498 * tree-vect-stmts.c (vect_build_gather_load_calls): For NARROWING and mask with integral masktype, don't try to permute mask vectors, instead emit VEC_UNPACK_{LO,HI}_EXPR. Fix up NOP_EXPR operand. (vectorizable_store): Handle masked scatters with decl and integral mask type. (permute_vec_elements): Allow scalar_dest to be NULL. * config/i386/i386.c (ix86_get_builtin) : Use lowpart_subreg for masks. : Don't assume mask and src have to be the same. * gcc.target/i386/avx512f-pr88462-1.c: Rename to ... * gcc.target/i386/avx512f-pr88464-1.c: ... this. Fix up PR number. Expect 4 vectorized loops instead of 3. (f4): New function. * gcc.target/i386/avx512f-pr88462-2.c: Rename to ... * gcc.target/i386/avx512f-pr88464-2.c: ... this. Fix up PR number and #include. (avx512f_test): Prepare arguments for f4 and check the results. * gcc.target/i386/avx512f-pr88464-3.c: New test. * gcc.target/i386/avx512f-pr88464-4.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88464-3.c trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88464-4.c >>From gcc-bugs-return-626008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 11:23:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24827 invoked by alias); 15 Dec 2018 11:23: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 24482 invoked by uid 48); 15 Dec 2018 11:23:33 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations Date: Sat, 15 Dec 2018 11:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: meta-bug, missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub 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: bug_status 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: 2018-12/txt/msg02124.txt.bz2 Content-length: 513 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53947 Bug 53947 depends on bug 88464, which changed state. Bug 88464 Summary: AVX-512 vectorization of masked scatter failing with "no= t suitable for scatter store" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88464 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-626007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 11:23:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24606 invoked by alias); 15 Dec 2018 11:23: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 24410 invoked by uid 48); 15 Dec 2018 11:23:31 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store" Date: Sat, 15 Dec 2018 11:23: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg02123.txt.bz2 Content-length: 438 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88464 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #15 from Jakub Jelinek --- Should be fixed now. >>From gcc-bugs-return-626009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 11:24:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26624 invoked by alias); 15 Dec 2018 11:24:44 -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 26163 invoked by uid 48); 15 Dec 2018 11:24:05 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88498] [9 Regression] FAIL: gcc.target/i386/avx512vl-pr79299-1.c (internal compiler error) Date: Sat, 15 Dec 2018 11:24: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 2018-12/txt/msg02125.txt.bz2 Content-length: 490 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88498 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |9.0 --- Comment #6 from Jakub Jelinek --- Should be fixed now. >>From gcc-bugs-return-626010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 11:36:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37706 invoked by alias); 15 Dec 2018 11:36: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 37605 invoked by uid 48); 15 Dec 2018 11:35:57 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88009] [9 Regression] ICE in find_intrinsic_vtab, at fortran/class.c:2761 Date: Sat, 15 Dec 2018 11:36: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: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: janus at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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: 2018-12/txt/msg02126.txt.bz2 Content-length: 612 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88009 janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |janus at gcc dot gn= u.org --- Comment #2 from janus at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #1) > Probably r264350 (pr88009). Right, I'm to blame here. But: I have a patch :) >>From gcc-bugs-return-626011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 12:05:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86887 invoked by alias); 15 Dec 2018 12:05:45 -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 86805 invoked by uid 55); 15 Dec 2018 12:05:41 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88001] ASMCONS cannot handle properly UNSPEC(CONST) Date: Sat, 15 Dec 2018 12:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 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: 2018-12/txt/msg02127.txt.bz2 Content-length: 566 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88001 --- Comment #12 from Segher Boessenkool --- Author: segher Date: Sat Dec 15 12:05:08 2018 New Revision: 267171 URL: https://gcc.gnu.org/viewcvs?rev=3D267171&root=3Dgcc&view=3Drev Log: Backport from trunk 2018-12-14 Segher Boessenkool PR rtl-optimization/88001 * function.c (match_asm_constraints_1): Don't invalidly share RTL. Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/function.c >>From gcc-bugs-return-626012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 12:08:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90220 invoked by alias); 15 Dec 2018 12:08:18 -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 90151 invoked by uid 55); 15 Dec 2018 12:08:14 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88001] ASMCONS cannot handle properly UNSPEC(CONST) Date: Sat, 15 Dec 2018 12:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher 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: 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: 2018-12/txt/msg02128.txt.bz2 Content-length: 566 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88001 --- Comment #13 from Segher Boessenkool --- Author: segher Date: Sat Dec 15 12:07:42 2018 New Revision: 267172 URL: https://gcc.gnu.org/viewcvs?rev=3D267172&root=3Dgcc&view=3Drev Log: Backport from trunk 2018-12-14 Segher Boessenkool PR rtl-optimization/88001 * function.c (match_asm_constraints_1): Don't invalidly share RTL. Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/function.c >>From gcc-bugs-return-626013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 12:09:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91511 invoked by alias); 15 Dec 2018 12:09:20 -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 91440 invoked by uid 48); 15 Dec 2018 12:09:15 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88001] ASMCONS cannot handle properly UNSPEC(CONST) Date: Sat, 15 Dec 2018 12:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 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: 2018-12/txt/msg02129.txt.bz2 Content-length: 528 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88001 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #14 from Segher Boessenkool --- Ah, you don't have permission to edit the field. I backported it to GCC 8 and GCC 7; closing now. >>From gcc-bugs-return-626014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 13:43:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124677 invoked by alias); 15 Dec 2018 13:43: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 124587 invoked by uid 48); 15 Dec 2018 13:42:57 -0000 From: "jsm28 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88502] Inline built-in asinh, acosh, atanh for -ffast-math Date: Sat, 15 Dec 2018 13:43: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 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: 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: 2018-12/txt/msg02130.txt.bz2 Content-length: 326 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88502 --- Comment #2 from Joseph S. Myers --- I think flag_unsafe_math_optimizations is generally appropriate for these; asinh needs flag_finite_math_only as well (because an Inf argument would re= sult in Inf / Inf) but neither of the others should. >>From gcc-bugs-return-626015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 16:39:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117913 invoked by alias); 15 Dec 2018 16:39:16 -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 117880 invoked by uid 48); 15 Dec 2018 16:39:11 -0000 From: "stephen at soliday dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88511] New: passing allocatable character through two levels of procedure calls fails Date: Sat, 15 Dec 2018 16:39: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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: stephen at soliday 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 Message-ID: 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: 2018-12/txt/msg02131.txt.bz2 Content-length: 4784 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88511 Bug ID: 88511 Summary: passing allocatable character through two levels of procedure calls fails Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: stephen at soliday dot com Target Milestone: --- Please see the thread that I started in Stack overflow. Several respondents have reproduced this problem in 8.2.1 and 9.0.0. In those threads there is reduced version of code that also reproduces the bug. I am experiencing an allocation failure when using allocatable character strings as optional arguments. The problem only occurs when I call through = two levels of procedures. In my actual code ***call get_level1()*** (see below) represents a call to a list data structure and ***call get_level2()*** represents the list calling the same type of accessor function on one of its records. I have stripped down an example to the bare minimum that adequately reproduces the problem. In the code below when I call ***get_level2*** directly the expected charac= ter string is returned through the optional argument. When I call ***get_level1= *** which in turn calls ***get_level2*** allocation of the optional dummy argum= ent fails. Using gdb I find the allocation attempt to create a character*1635... when it gets back to the actual argument is obviously has an integer overfl= ow because it thinks the allocation is character*-283635612... My actual code has many optional arguments not just one. As a simple exampl= e I added an optional integer argument. This time instead of a segmentation fau= lt I get a null string. In the second example the integer argument works regardless of using the character argument. (I would expect this since no dynamic allocation is be= ing performed) The integer's presence has no effect on the character. I have al= so tried changing the **intent** to (inout). This does not change the behavior, though I did not expect it to. [I believe that *intent(out)* causes the act= ual argument to deallocate first, and *intent(inout)* retains the actual argume= nt's allocation state] call get_level1( NUM=3Dn ) ! works call get_level1( NUM=3Dn, TEXT=3Dwords ) ! fails call get_level1( TEXT=3Dwords ) ! fails my compile cmd is: gfortran -Wall -g -std=3Df2008ts stest1.f08 -o stest **Environment** Linux 4.15.0-42-generic #45-Ubuntu SMP x86_64 GNU/Linux GNU Fortran (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 **Example with one optional argument** module stest1 implicit none character(:), allocatable :: data contains subroutine get_level2( TEXT ) implicit none character(:), optional, allocatable, intent(out) :: TEXT if ( PRESENT( TEXT ) ) then TEXT =3D 'Prefix: ' // data // ' :postfix' end if end subroutine get_level2 subroutine get_level1( TEXT ) implicit none character(:), optional, allocatable, intent(out) :: TEXT call get_level2( TEXT ) end subroutine get_level1 end module stest1 program main use stest1 implicit none character(:), allocatable :: words data =3D 'Hello Doctor' call get_level1( words ) write(*,100) words 100 format( 'words =3D [',A,']' ) end program main **Example with two optional arguments** module stest2 implicit none character(:), allocatable :: data integer :: count contains subroutine get_level2( TEXT, NUM ) implicit none character(:), optional, allocatable, intent(out) :: TEXT integer, optional, intent(out) :: NUM if ( PRESENT( TEXT ) ) then TEXT =3D 'Prefix: ' // data // ' :postfix' end if if ( PRESENT( NUM ) ) then NUM =3D count end if end subroutine get_level2 subroutine get_level1( TEXT, NUM ) implicit none character(:), optional, allocatable, intent(out) :: TEXT integer, optional, intent(out) :: NUM call get_level2( NUM=3DNUM, TEXT=3DTEXT ) end subroutine get_level1 end module stest2 program main use stest2 implicit none character(:), allocatable :: words integer :: n count =3D 42 data =3D 'Hello Doctor' call get_level1( TEXT=3Dwords ) write(*,100) words write(*,110) n 100 format( 'words =3D [',A,']' ) 110 format( 'N =3D [',I0,']' ) end program main >>From gcc-bugs-return-626016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 16:46:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19593 invoked by alias); 15 Dec 2018 16:46:05 -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 18619 invoked by uid 48); 15 Dec 2018 16:45:59 -0000 From: "stephen at soliday dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88511] passing allocatable character through two levels of procedure calls fails Date: Sat, 15 Dec 2018 16:46: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: stephen at soliday 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: 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: 2018-12/txt/msg02132.txt.bz2 Content-length: 846 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88511 --- Comment #1 from Stephen Soliday --- One of the respondents in Stack overflow posted this reduced version of my = code that also reproduces the segmentation fault. program main implicit none character(:), allocatable :: txt call sub1(txt) print *, "main ", len(txt), txt ! prints: main 0 (or throws segfault) contains subroutine sub1(txt) character(:), allocatable, optional, intent(out) :: txt call sub2(txt) print *, "sub1 ", len(txt), txt ! prints: sub1 0 (or throws segfault) end subroutine sub1 subroutine sub2(txt) character(:), allocatable, optional, intent(out) :: txt if(present(txt)) txt =3D "message" print *, "sub2 ", len(txt), txt ! prints: sub2 7 message end subroutine sub2 end program main >>From gcc-bugs-return-626017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 17:01:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56013 invoked by alias); 15 Dec 2018 17:01: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 55733 invoked by uid 48); 15 Dec 2018 17:00:42 -0000 From: "rafael at espindo dot la" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88509] Missing optimization of tls initialization Date: Sat, 15 Dec 2018 17:01: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: 8.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rafael at espindo dot la 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: 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: 2018-12/txt/msg02133.txt.bz2 Content-length: 1081 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88509 --- Comment #3 from Rafael Avila de Espindola --- (In reply to Jakub Jelinek from comment #2) > I must say I don't understand your suggestion. bar is not a pointer and = its > address is non-NULL no matter whether it has been already initialized or = not. > What kind of assembly you'd like to see for f? Bar is not a pointer, but a guard variable for bar can be. It is initially = null and is set to bar's address once bar is initialized. I think the assembly for f could be: _Z1fv: movq %fs:__guard_for_bar@tpoff, %rax=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 testq %rax, %rax je .L15 ret .L15: pushq %rbx movq %fs:0, %rbx leaq _ZL3bar@tpoff(%rbx), %rdi call _ZN3fooC1Ev leaq _ZL3bar@tpoff(%rbx), %rax movq %rax, %fs:__guard_for_bar@tpoff popq %rbx ret The .L15 label could even be moved to a cold section. >>From gcc-bugs-return-626018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 17:25:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117660 invoked by alias); 15 Dec 2018 17:25:15 -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 115939 invoked by uid 48); 15 Dec 2018 17:25:08 -0000 From: "jg at jguk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88512] New: Too much STL in error output Date: Sat, 15 Dec 2018 17:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jg at jguk dot 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg02134.txt.bz2 Content-length: 6254 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88512 Bug ID: 88512 Summary: Too much STL in error output Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jg at jguk dot org Target Milestone: --- Hello Could the STL template output be reduced? It currently is roughly double th= at of CLANG. Although I think can reasonably get down to 3 lines. Output inclu= ded below, and an example of something more brief. // g++ -Wall -o stl_string stl_string.cpp #include int main() { std::string str("hello "); std::size_t s =3D str.find(" "); str.erase(s, str.end()); } Expected output something similar to the following expected stl_string.cpp: In function =E2=80=98int main()=E2=80=99: stl_string.cpp:10:15: error: invalid conversion from =E2=80=98std::size_t= =E2=80=99 =E2=80=99const_iterator=E2=80=99 std::string erase() Actual output: $ g++ -Wall -o stl_string stl_string.cpp stl_string.cpp: In function =E2=80=98int main()=E2=80=99: stl_string.cpp:7:27: error: no matching function for call to =E2=80=98std::__cxx11::basic_string::erase(std::size_t&, std::__cxx11::basic_string::iterator)=E2=80=99 str.erase(s, str.end()); ^ In file included from /usr/include/c++/7/string:52:0, from stl_string.cpp:2: /usr/include/c++/7/bits/basic_string.h:1779:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::erase(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_ty= pe, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _Char= T =3D char; _Traits =3D std::char_traits; _Alloc =3D std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type =3D long uns= igned int] erase(size_type __pos =3D 0, size_type __n =3D npos) ^~~~~ /usr/include/c++/7/bits/basic_string.h:1779:7: note: no known conversion = for argument 2 from =E2=80=98std::__cxx11::basic_string::iterator {aka __gnu_cxx::__normal_iterator >}=E2= =80=99 to =E2=80=98std::__cxx11::basic_string::size_type {aka long unsigned int= }=E2=80=99 /usr/include/c++/7/bits/basic_string.h:1798:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::erase(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator) [with _CharT =3D char; _Traits =3D std::char_traits; _Alloc =3D std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator =3D __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::pointer =3D char= *; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator =3D __gnu_cxx::__normal_iterator = >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer =3D const char*] erase(__const_iterator __position) ^~~~~ /usr/include/c++/7/bits/basic_string.h:1798:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/7/bits/basic_string.h:1817:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::erase(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator) [with _CharT =3D char; _Traits =3D std::char_traits; _Alloc =3D std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator =3D __gnu_cxx::__normal_iterator >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::pointer =3D char= *; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator =3D __gnu_cxx::__normal_iterator = >; typename __gnu_cxx::__alloc_traits::rebind<_CharT>::other>::const_pointer =3D const char*] erase(__const_iterator __first, __const_iterator __last) ^~~~~ /usr/include/c++/7/bits/basic_string.h:1817:7: note: no known conversion = for argument 1 from =E2=80=98std::size_t {aka long unsigned int}=E2=80=99 to =E2=80=98std::__cxx11::basic_string::__const_iterator {aka __gnu_cxx::__normal_iterator = >}=E2=80=99 CLANG: $ clang -Wall -o stl_string stl_string.cpp stl_string.cpp:7:9: error: no matching member function for call to 'erase' str.erase(s, str.end()); ~~~~^~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/basic= _string.h:1789:7: note: candidate function not viable: no known conversion from 'std::__cxx11::basic_string, std::allocator >::iterator' (aka '__normal_iterator >') to 'std::__cxx11::basic_string, std::allocator >::size_type' (aka 'unsigned long') for 2nd argument erase(size_type __pos =3D 0, size_type __n =3D npos) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/basic= _string.h:1827:7: note: candidate function not viable: no known conversion from 'std::size_t' (aka 'unsigned long') to 'std::__cxx11::basic_string, std::allocator >::__const_iterator' (aka '__normal_iterator >')= for 1st argument erase(__const_iterator __first, __const_iterator __last) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/basic= _string.h:1808:7: note: candidate function not viable: requires single argument '__position', but 2 arguments were provided erase(__const_iterator __position) ^ 1 error generated. >>From gcc-bugs-return-626019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 17:27:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121627 invoked by alias); 15 Dec 2018 17:27:44 -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 121555 invoked by uid 48); 15 Dec 2018 17:27:39 -0000 From: "jg at jguk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88512] Too much STL in error output Date: Sat, 15 Dec 2018 17:27: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jg at jguk dot 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: 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: 2018-12/txt/msg02135.txt.bz2 Content-length: 800 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88512 --- Comment #1 from Jonny Grant --- MSVC 19 isn't much better (7): error C2664: 'std::_String_iterator>> std::basic_string,std::allocator<_Ty>>::erase(c= onst std::_String_const_iterator>>,const std::_String_const_iterator>>)': cannot convert argument 2 from 'std::_String_iterator>>' to 'unsi= gned __int64' with [ _Ty=3Dchar ] (7): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called Compiler returned: 2 >>From gcc-bugs-return-626020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 17:41:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84824 invoked by alias); 15 Dec 2018 17:41:46 -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 84661 invoked by uid 48); 15 Dec 2018 17:41:42 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88513] New: [9 Regression] FAIL: gcc.target/i386/pr59591-1.c Date: Sat, 15 Dec 2018 17:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools 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 Message-ID: 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: 2018-12/txt/msg02136.txt.bz2 Content-length: 875 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88513 Bug ID: 88513 Summary: [9 Regression] FAIL: gcc.target/i386/pr59591-1.c Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- On x86-64 with -march=3Dskylake-avx512, r267170 gave FAIL: gcc.dg/vect/pr59591-1.c -flto -ffat-lto-objects (internal compiler er= ror) FAIL: gcc.dg/vect/pr59591-1.c -flto -ffat-lto-objects (test for excess erro= rs) FAIL: gcc.dg/vect/pr59591-1.c (internal compiler error) FAIL: gcc.dg/vect/pr59591-1.c (test for excess errors) FAIL: gcc.target/i386/pr59591-1.c (internal compiler error) FAIL: gcc.target/i386/pr59591-1.c (test for excess errors) >>From gcc-bugs-return-626021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 17:43:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97560 invoked by alias); 15 Dec 2018 17:43: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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97099 invoked by uid 48); 15 Dec 2018 17:43:24 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88514] New: [9 Regression] FAIL: gcc.target/i386/avx512vl-pr79299-1.c (internal compiler error) Date: Sat, 15 Dec 2018 17:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools 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 cf_gcctarget Message-ID: 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: 2018-12/txt/msg02137.txt.bz2 Content-length: 659 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88514 Bug ID: 88514 Summary: [9 Regression] FAIL: gcc.target/i386/avx512vl-pr79299-1.c (internal compiler error) Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: i386, x86-64 On x86-64 with -march=3Dskylake-avx512, r267170 gave FAIL: gcc.target/i386/avx512vl-pr79299-1.c (internal compiler error) >>From gcc-bugs-return-626022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 19:02:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119961 invoked by alias); 15 Dec 2018 19:02:21 -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 119886 invoked by uid 48); 15 Dec 2018 19:02:16 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88513] [9 Regression] FAIL: gcc.target/i386/pr59591-1.c Date: Sat, 15 Dec 2018 19:02: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone 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: 2018-12/txt/msg02138.txt.bz2 Content-length: 612 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88513 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-15 CC| |jakub at redhat dot com Target Milestone|--- |9.0 Ever confirmed|0 |1 --- Comment #1 from H.J. Lu --- This is caused by r267097. >>From gcc-bugs-return-626023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 19:36:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103282 invoked by alias); 15 Dec 2018 19:36:08 -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 103236 invoked by uid 48); 15 Dec 2018 19:36:04 -0000 From: "Casey at Carter dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88515] New: [concepts] id-expression that names non-static data member rejected in requires-expression Date: Sat, 15 Dec 2018 19:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: Casey at Carter dot net 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 Message-ID: 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: 2018-12/txt/msg02139.txt.bz2 Content-length: 1386 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88515 Bug ID: 88515 Summary: [concepts] id-expression that names non-static data member rejected in requires-expression Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: Casey at Carter dot net Target Milestone: --- Compiling this TU: template concept bool C =3D=20 requires { T::value; }; struct S { int value; }; static_assert(C); with "g++ -std=3Dc++2a -fconcepts -c" produces: /home/casey/casey/Desktop/repro2.cpp:5:15: error: invalid use of non-st= atic data member =E2=80=98S::value=E2=80=99 5 | static_assert(C); | ^~~~ /home/casey/casey/Desktop/repro2.cpp:4:16: note: declared here 4 | struct S { int value; }; | ^~~~~ /home/casey/casey/Desktop/repro2.cpp:5:15: error: static assertion fail= ed 5 | static_assert(C); | when it should compile successfully since an id-expression that denotes a non-static data member can appear in an unevaluated operand ([expr.prim.id]/2.3) and expressions appearing within a requirement-body are unevaluated operands ([expr.prim.req]/2). >>From gcc-bugs-return-626024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 19:46:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51700 invoked by alias); 15 Dec 2018 19:46:08 -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 47442 invoked by uid 48); 15 Dec 2018 19:46:01 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88514] [9 Regression] FAIL: gcc.target/i386/avx512vl-pr79299-1.c (internal compiler error) Date: Sat, 15 Dec 2018 19:46: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone 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: 2018-12/txt/msg02140.txt.bz2 Content-length: 612 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88514 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-15 CC| |jakub at redhat dot com Target Milestone|--- |9.0 Ever confirmed|0 |1 --- Comment #1 from H.J. Lu --- This is caused by r267097. >>From gcc-bugs-return-626025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 20:01:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107060 invoked by alias); 15 Dec 2018 20:01:11 -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 106740 invoked by uid 48); 15 Dec 2018 20:00:42 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88512] Too much STL in error output Date: Sat, 15 Dec 2018 20:01: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse 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: 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: 2018-12/txt/msg02141.txt.bz2 Content-length: 663 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88512 --- Comment #2 from Marc Glisse --- As someone who regularly has to debug complicated template code, I think all the information printed by g++ here is useful. There may be more compact wa= ys of giving the same information (use a shorthand for "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>"?), but I do want all = the information. We could special case standard library code to print less details because supposedly the library is perfect, we are debugging user code and not the library, so some of the information is unnecessary, but I am not convinced = this is doable. >>From gcc-bugs-return-626026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 22:54:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69610 invoked by alias); 15 Dec 2018 22:54:05 -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 69529 invoked by uid 55); 15 Dec 2018 22:53:58 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88138] ICE in gfc_arith_concat, at fortran/arith.c:1007 Date: Sat, 15 Dec 2018 22:54: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: --- 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: 2018-12/txt/msg02142.txt.bz2 Content-length: 729 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88138 --- Comment #2 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Dec 15 22:53:26 2018 New Revision: 267177 URL: https://gcc.gnu.org/viewcvs?rev=3D267177&root=3Dgcc&view=3Drev Log: 2019-12-15 Steven G. Kargl PR fortran/88138 * decl.c (variable_decl): Check that a derived isn't being assigned an incompatible entity in an initialization. 2019-12-15 Steven G. Kargl PR fortran/88138 * gfortran.dg/pr88138.f90: new test. Added: trunk/gcc/testsuite/gfortran.dg/pr88138.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/decl.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-626027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 23:28:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63313 invoked by alias); 15 Dec 2018 23:28:10 -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 63225 invoked by uid 48); 15 Dec 2018 23:28:05 -0000 From: "jg at jguk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88512] Too much STL in error output Date: Sat, 15 Dec 2018 23:28: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jg at jguk dot 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: 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: 2018-12/txt/msg02143.txt.bz2 Content-length: 1006 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88512 --- Comment #3 from Jonny Grant --- Hi Marc I agree to useful to have the option to keep on for regular code. Perhaps a way just to turn off all expansive output for STL's std namespace? The easiest would be to remove cxx11 namespace from the messages "std::__cxx11::basic_string" etc, so at least that doesn't shwo. Updated output I had executed from STL with clear candidate suggestions: $ g++ -Wall -o stl_string stl_string.cpp stl_string.cpp: In function =E2=80=98int main()=E2=80=99: stl_string.cpp:7:27: error: no matching function for call to =E2=80=98std::string::erase(std::size_t&, std::string::iterator)=E2=80=99 str.erase(s, str.end()); ^ candidates are: std::string& std::string::erase(size_type index =3D 0, size_type count = =3D npos) std::string::iterator std::string::erase(const_iterator first, const_iterator last) std::string::iterator std::string::erase(const_iterator position) >>From gcc-bugs-return-626028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 23:31:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112198 invoked by alias); 15 Dec 2018 23:31:50 -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 111784 invoked by uid 55); 15 Dec 2018 23:31:34 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88138] ICE in gfc_arith_concat, at fortran/arith.c:1007 Date: Sat, 15 Dec 2018 23:31: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: --- 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: 2018-12/txt/msg02144.txt.bz2 Content-length: 793 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88138 --- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Dec 15 23:30:50 2018 New Revision: 267178 URL: https://gcc.gnu.org/viewcvs?rev=3D267178&root=3Dgcc&view=3Drev Log: 2018-12-15 Steven G. Kargl PR fortran/88138 * decl.c (variable_decl): Check that a derived isn't being assigned an incompatible entity in an initialization. 2018-12-15 Steven G. Kargl PR fortran/88138 * gfortran.dg/pr88138.f90: new test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88138.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/decl.c branches/gcc-8-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-626029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 23:35:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115354 invoked by alias); 15 Dec 2018 23:35: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 115201 invoked by uid 48); 15 Dec 2018 23:35:17 -0000 From: "krzysio.kurek at wp dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/88516] New: Internal LTO error when linking against static libSFML Date: Sat, 15 Dec 2018 23:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: krzysio.kurek at wp dot pl 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 cc target_milestone Message-ID: 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: 2018-12/txt/msg02145.txt.bz2 Content-length: 2410 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88516 Bug ID: 88516 Summary: Internal LTO error when linking against static libSFML Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: krzysio.kurek at wp dot pl CC: marxin at gcc dot gnu.org Target Milestone: --- sysinfo: gcc (SUSE Linux) 8.2.1 20181108 [gcc-8-branch revision 265914] OpenSUSE Tumbleweed 20181213 GCC configuration: ../configure --prefix=3D/usr --infodir=3D/usr/share/info --mandir=3D/usr/sh= are/man --libdir=3D/usr/lib64 --libexecdir=3D/usr/lib64 --enable-languages=3Dc,c++,objc,fortran,obj-c++,ada,go --enable-offload-targets=3Dhsa,nvptx-none=3D/usr/nvptx-none, --without-cuda= -driver --enable-checking=3Drelease --disable-werror --with-gxx-include-dir=3D/usr/include/c++/8 --enable-ssp --disable-libssp --disable-libvtv --disable-cet --disable-libcc1 --enable-plugin --with-bugurl=3Dhttp://bugs.opensuse.org/ --with-pkgversion=3D'SUSE Linux' --with-slibdir=3D/lib64 --with-system-zlib --enable-libstdcxx-allocator=3Dn= ew --disable-libstdcxx-pch --enable-version-specific-runtime-libs --with-gcc-major-version-only --enable-linker-build-id --enable-linux-futex --enable-gnu-indirect-function --program-suffix=3D-8 --without-system-libun= wind --enable-multilib --with-arch-32=3Dx86-64 --with-tune=3Dgeneric --build=3Dx86_64-suse-linux --host=3Dx86_64-suse-linux exact commandline: g++ main.cpp /usr/local/lib/libsfml-graphics-s.a /usr/local/lib/libsfml-window-s.a /usr/local/lib/libsfml-system-s.a -lpthre= ad -lrt /usr/lib64/libudev.so /usr/lib64/libOpenGL.so /usr/lib64/libX11.so /usr/lib64/libXrandr.so /usr/lib64/libfreetype.so error message: lto1: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:155 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. lto-wrapper: fatal error: g++ returned 1 exit status compilation terminated. /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: er= ror: lto-wrapper failed collect2: error: ld returned 1 exit status Happens with a locally compiled SFML, commit b9fdaf487f878fac17c3d4c1182acd8c4182eecc, with LTO enabled and compiled to static libraries. >>From gcc-bugs-return-626030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 23:42:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122422 invoked by alias); 15 Dec 2018 23:42:09 -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 122365 invoked by uid 48); 15 Dec 2018 23:42:05 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88514] [9 Regression] FAIL: gcc.target/i386/avx512vl-pr79299-1.c (internal compiler error) Date: Sat, 15 Dec 2018 23:42: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 9.0 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: 2018-12/txt/msg02146.txt.bz2 Content-length: 1674 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88514 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- I think the ICE is for the same reason as why we don't vectorize: int a[1024]; short int b[1024]; long long c[1024]; void baz (void) { for (int i =3D 0; i < 1024; i++) if (a[i] > 10) c[i] =3D 5; } with -O3 -mavx512{bw,vl,dq} -mprefer-vector-width=3D256 (or 128). Unlike the code I've added which uses VEC_{LO,HI}_UNPACK_EXPR on the boolean vectors directly, vectorizable_conversion checks supportable_widening_opera= tion and fails because for the vectype_in vector(8) bool and vectype_out vector(= 4) bool it can't find an optab. We have vec_unpacks_{lo,hi}_{hi,si,di} optabs that cover vector(64) bool -> vector(32) bool, vector(32) bool -> vector(16) bool and vector(16) bool -> vector(8) bool operations. If we added vec_unpacks_{lo,hi}_qi, it would be ambiguous, whether it is vector(8) bool= -> vector(4) bool or vector(4) bool -> vector(2) bool, so wonder whether we ne= ed a new optab or pass some extra argument to the optab which would tell it the nunits. The operations we are looking for is really a nop for vec_unpacks_lo_qi (so actually don't care about the nunits), the 8 or 4 bit bool vector (mask) has the right bits in the bottom bits, but we need to use a different shift= for vec_unpacks_hi_qi (either kshiftr{w,b} $4, %kN, %kM or kshiftr{w,b} $2, %kN, %kM). >>From gcc-bugs-return-626031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 23:44:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125568 invoked by alias); 15 Dec 2018 23:44:49 -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 125542 invoked by uid 48); 15 Dec 2018 23:44:45 -0000 From: "krzysio.kurek at wp dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/88516] Internal LTO error when linking against static libSFML Date: Sat, 15 Dec 2018 23:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: krzysio.kurek at wp dot pl 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: 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: 2018-12/txt/msg02147.txt.bz2 Content-length: 224 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88516 --- Comment #1 from krzysio.kurek at wp dot pl --- I'm afraid this is as minimal as it gets. Should I set up a git repo with a= ll sources needed to reproduce the error? >>From gcc-bugs-return-626032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 23:52:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97031 invoked by alias); 15 Dec 2018 23:52:11 -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 96950 invoked by uid 55); 15 Dec 2018 23:52:06 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88482] ICE when wrongly declaring __cxa_allocate_exception Date: Sat, 15 Dec 2018 23:52: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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub 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: 2018-12/txt/msg02148.txt.bz2 Content-length: 1985 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88482 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Sat Dec 15 23:51:31 2018 New Revision: 267179 URL: https://gcc.gnu.org/viewcvs?rev=3D267179&root=3Dgcc&view=3Drev Log: PR c++/88482 * except.c (verify_library_fn): New function. (declare_library_fn): Use it. Initialize TM even if the non-TM library function has been user declared. (do_end_catch): Don't set TREE_NOTHROW on error_mark_node. (expand_start_catch_block): Don't call initialize_handler_parm for error_mark_node. (build_throw): Use verify_library_fn. Initialize TM even if the non-TM library function has been user declared. Don't crash if any library fn is error_mark_node. * g++.dg/eh/builtin5.C: New test. * g++.dg/eh/builtin6.C: New test. * g++.dg/eh/builtin7.C: New test. * g++.dg/eh/builtin8.C: New test. * g++.dg/eh/builtin9.C: New test. * g++.dg/eh/builtin10.C: New test. * g++.dg/eh/builtin11.C: New test. * g++.dg/parse/crash55.C: Adjust expected diagnostics. * eh_cpp.cc (__cxa_throw): Change DEST argument type from void * to void (*) (void *). (_ITM_cxa_throw): Likewise. * libitm.h (_ITM_cxa_throw): Likewise. * libitm.texi (_ITM_cxa_throw): Likewise. Added: trunk/gcc/testsuite/g++.dg/eh/builtin10.C trunk/gcc/testsuite/g++.dg/eh/builtin11.C trunk/gcc/testsuite/g++.dg/eh/builtin5.C trunk/gcc/testsuite/g++.dg/eh/builtin6.C trunk/gcc/testsuite/g++.dg/eh/builtin7.C trunk/gcc/testsuite/g++.dg/eh/builtin8.C trunk/gcc/testsuite/g++.dg/eh/builtin9.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/except.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/parse/crash55.C trunk/libitm/ChangeLog trunk/libitm/eh_cpp.cc trunk/libitm/libitm.h trunk/libitm/libitm.texi >>From gcc-bugs-return-626033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 23:55:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102835 invoked by alias); 15 Dec 2018 23:55:52 -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 102740 invoked by uid 48); 15 Dec 2018 23:55:47 -0000 From: "krzysio.kurek at wp dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/88516] Internal LTO error when linking against static libSFML Date: Sat, 15 Dec 2018 23:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: krzysio.kurek at wp dot pl 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: attachments.created 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: 2018-12/txt/msg02149.txt.bz2 Content-length: 290 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88516 --- Comment #2 from krzysio.kurek at wp dot pl --- Created attachment 45243 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45243&action=3Dedit preprocessed file Oh I just noticed that the preprocessed file didn't get attached. >>From gcc-bugs-return-626034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Dec 15 23:57:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104759 invoked by alias); 15 Dec 2018 23:57: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 104713 invoked by uid 55); 15 Dec 2018 23:57:36 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88138] ICE in gfc_arith_concat, at fortran/arith.c:1007 Date: Sat, 15 Dec 2018 23:57: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: --- 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: 2018-12/txt/msg02150.txt.bz2 Content-length: 793 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88138 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Dec 15 23:57:03 2018 New Revision: 267180 URL: https://gcc.gnu.org/viewcvs?rev=3D267180&root=3Dgcc&view=3Drev Log: 2018-12-15 Steven G. Kargl PR fortran/88138 * decl.c (variable_decl): Check that a derived isn't being assigned an incompatible entity in an initialization. 2018-12-15 Steven G. Kargl PR fortran/88138 * gfortran.dg/pr88138.f90: new test. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr88138.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/decl.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-626035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 00:06:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112512 invoked by alias); 16 Dec 2018 00:06:07 -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 112457 invoked by uid 48); 16 Dec 2018 00:06:03 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88138] ICE in gfc_arith_concat, at fortran/arith.c:1007 Date: Sun, 16 Dec 2018 00:06: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution assigned_to 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: 2018-12/txt/msg02151.txt.bz2 Content-length: 644 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88138 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |kargl at gcc dot gnu.org Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gn= u.org Target Milestone|--- |7.5 --- Comment #5 from kargl at gcc dot gnu.org --- Fixed on trunk, branch-8, and branch-7. Closing. >>From gcc-bugs-return-626036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 02:09:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116306 invoked by alias); 16 Dec 2018 02:09: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 114617 invoked by uid 48); 16 Dec 2018 02:09:36 -0000 From: "jengelh at inai dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88517] New: Virtual-base class class constructor with for-loop with initializer list referencing local variable not executed Date: Sun, 16 Dec 2018 02:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jengelh at inai dot de 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 Message-ID: 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: 2018-12/txt/msg02152.txt.bz2 Content-length: 4673 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88517 Bug ID: 88517 Summary: Virtual-base class class constructor with for-loop with initializer list referencing local variable not executed Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jengelh at inai dot de Target Milestone: --- =3D=3D Testcase=20 #include #include struct B {}; struct D : public virtual B { D(); }; D::D() { int z =3D 42; for (auto i : {z}) std::cout << i << std::endl; } int main() { D o; } =3D=3D Observed behavior =3D=3D $ g++-7 x.cpp -Wall && ./a.out=20 $ g++-8 x.cpp -Wall && ./a.out=20 $ g++-9 x.cpp -Wall && ./a.out=20 =3D=3D Expected behavior ./a.out 42 =3D=3D Additional info Using built-in specs. COLLECT_GCC=3Dg++-7 COLLECT_LTO_WRAPPER=3D/usr/lib64/gcc/x86_64-suse-linux/7/lto-wrapper OFFLOAD_TARGET_NAMES=3Dhsa:nvptx-none Target: x86_64-suse-linux Configured with: ../configure --prefix=3D/usr --infodir=3D/usr/share/info --mandir=3D/usr/share/man --libdir=3D/usr/lib64 --libexecdir=3D/usr/lib64 --enable-languages=3Dc,c++,objc,fortran,obj-c++,ada,go --enable-offload-targets=3Dhsa,nvptx-none=3D/usr/nvptx-none, --without-cuda= -driver --enable-checking=3Drelease --disable-werror --with-gxx-include-dir=3D/usr/include/c++/7 --enable-ssp --disable-libssp --disable-libvtv --disable-libcc1 --enable-plugin --with-bugurl=3Dhttp://bugs.opensuse.org/ --with-pkgversion=3D'SUSE Linux' --with-slibdir=3D/lib64 --with-system-zlib --enable-libstdcxx-allocator=3Dn= ew --disable-libstdcxx-pch --enable-version-specific-runtime-libs --with-gcc-major-version-only --enable-linker-build-id --enable-linux-futex --enable-gnu-indirect-function --program-suffix=3D-7 --without-system-libun= wind --enable-multilib --with-arch-32=3Dx86-64 --with-tune=3Dgeneric --build=3Dx86_64-suse-linux --host=3Dx86_64-suse-linux Thread model: posix gcc version 7.4.0 (SUSE Linux)=20 Using built-in specs. Reading specs from /usr/lib64/gcc/x86_64-suse-linux/8/defaults.spec COLLECT_GCC=3Dg++-8 COLLECT_LTO_WRAPPER=3D/usr/lib64/gcc/x86_64-suse-linux/8/lto-wrapper OFFLOAD_TARGET_NAMES=3Dhsa:nvptx-none Target: x86_64-suse-linux Configured with: ../configure --prefix=3D/usr --infodir=3D/usr/share/info --mandir=3D/usr/share/man --libdir=3D/usr/lib64 --libexecdir=3D/usr/lib64 --enable-languages=3Dc,c++,objc,fortran,obj-c++,ada,go --enable-offload-targets=3Dhsa,nvptx-none=3D/usr/nvptx-none, --without-cuda= -driver --enable-checking=3Drelease --disable-werror --with-gxx-include-dir=3D/usr/include/c++/8 --enable-ssp --disable-libssp --disable-libvtv --disable-cet --disable-libcc1 --enable-plugin --with-bugurl=3Dhttp://bugs.opensuse.org/ --with-pkgversion=3D'SUSE Linux' --with-slibdir=3D/lib64 --with-system-zlib --enable-libstdcxx-allocator=3Dn= ew --disable-libstdcxx-pch --enable-version-specific-runtime-libs --with-gcc-major-version-only --enable-linker-build-id --enable-linux-futex --enable-gnu-indirect-function --program-suffix=3D-8 --without-system-libun= wind --enable-multilib --with-arch-32=3Dx86-64 --with-tune=3Dgeneric --build=3Dx86_64-suse-linux --host=3Dx86_64-suse-linux Thread model: posix gcc version 8.2.1 20181108 [gcc-8-branch revision 265914] (SUSE Linux)=20 Using built-in specs. COLLECT_GCC=3Dg++-9 COLLECT_LTO_WRAPPER=3D/usr/lib64/gcc/x86_64-suse-linux/9/lto-wrapper OFFLOAD_TARGET_NAMES=3Dhsa:nvptx-none Target: x86_64-suse-linux Configured with: ../configure --prefix=3D/usr --infodir=3D/usr/share/info --mandir=3D/usr/share/man --libdir=3D/usr/lib64 --libexecdir=3D/usr/lib64 --enable-languages=3Dc,c++,objc,fortran,obj-c++,ada,go,d --enable-offload-targets=3Dhsa,nvptx-none=3D/usr/nvptx-none, --without-cuda= -driver --disable-werror --with-gxx-include-dir=3D/usr/include/c++/9 --enable-ssp --disable-libssp --disable-libvtv --disable-cet --disable-libcc1 --enable-plugin --with-bugurl=3Dhttp://bugs.opensuse.org/ --with-pkgversion= =3D'SUSE Linux' --with-slibdir=3D/lib64 --with-system-zlib --enable-libstdcxx-allocator=3Dnew --disable-libstdcxx-pch --enable-libphob= os --enable-version-specific-runtime-libs --with-gcc-major-version-only --enable-linker-build-id --enable-linux-futex --enable-gnu-indirect-function --program-suffix=3D-9 --without-system-libunwind --enable-multilib --with-arch-32=3Dx86-64 --with-tune=3Dgeneric --build=3Dx86_64-suse-linux --host=3Dx86_64-suse-linux Thread model: posix gcc version 9.0.0 20181204 (experimental) [trunk revision 266778] (SUSE Lin= ux) >>From gcc-bugs-return-626037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 02:11:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120196 invoked by alias); 16 Dec 2018 02:11:09 -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 119893 invoked by uid 48); 16 Dec 2018 02:11:01 -0000 From: "jengelh at inai dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88517] Virtual-base class class constructor with for-loop with initializer list referencing local variable not executed Date: Sun, 16 Dec 2018 02:11: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jengelh at inai dot de 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: 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: 2018-12/txt/msg02153.txt.bz2 Content-length: 256 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88517 --- Comment #1 from Jan Engelhardt --- > clang++ x.cpp -Wall && ./a.out=20 42 > clang++ -v clang version 6.0.1 (tags/RELEASE_601/final 335528) Target: x86_64-unknown-linux-gnu >>From gcc-bugs-return-626038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 03:33:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70462 invoked by alias); 16 Dec 2018 03:33: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 70389 invoked by uid 55); 16 Dec 2018 03:33:43 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87944] Wrong code with LRA pushing stack local variable Date: Sun, 16 Dec 2018 03:33: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: 9.0 X-Bugzilla-Keywords: ra, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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: 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: 2018-12/txt/msg02154.txt.bz2 Content-length: 900 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87944 --- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Dec 16 03:33:05 2018 New Revision: 267184 URL: https://gcc.gnu.org/viewcvs?rev=3D267184&root=3Dgcc&view=3Drev Log: 2018-12-15 Steven G. Kargl PR fortran/87944 * decl.c (match_data_constant): Allow inquiry parameter as data constant in data statement. 2018-12-15 Steven G. Kargl PR fortran/87944 * gfortran.dg/pr87994_1.f90: New test. * gfortran.dg/pr87994_2.f90: Ditto. * gfortran.dg/pr87994_3.f90: Ditto. Added: trunk/gcc/testsuite/gfortran.dg/pr87994_1.f90 trunk/gcc/testsuite/gfortran.dg/pr87994_2.f90 trunk/gcc/testsuite/gfortran.dg/pr87994_3.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/decl.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-626039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 03:37:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75780 invoked by alias); 16 Dec 2018 03:37: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 75716 invoked by uid 48); 16 Dec 2018 03:37:50 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87994] ICE in match_data_constant, at fortran/decl.c:399 Date: Sun, 16 Dec 2018 03:37: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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution assigned_to 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: 2018-12/txt/msg02155.txt.bz2 Content-length: 536 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87994 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gn= u.org Target Milestone|--- |9.0 --- Comment #9 from kargl at gcc dot gnu.org --- Fixed on trunk. >>From gcc-bugs-return-626040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 04:21:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79013 invoked by alias); 16 Dec 2018 04:21: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 78970 invoked by uid 48); 16 Dec 2018 04:21:30 -0000 From: "matthew at wil dot cx" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88518] New: Function call defeats -Wuninitialized Date: Sun, 16 Dec 2018 04:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: matthew at wil dot cx 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 Message-ID: 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: 2018-12/txt/msg02156.txt.bz2 Content-length: 2023 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88518 Bug ID: 88518 Summary: Function call defeats -Wuninitialized Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: matthew at wil dot cx Target Milestone: --- void g(unsigned long *); void h(void); void f(void) { unsigned long i; h(); i++; g(&i); } $ gcc -Wall -O2 -c test5.c -o /dev/null reports no warning. If the order of 'i++' and 'h()' are reversed, GCC emit= s a warning as expected. $ gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper OFFLOAD_TARGET_NAMES=3Dnvptx-none OFFLOAD_TARGET_DEFAULT=3D1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion=3D'Debian 8.2.0-9' --with-bugurl=3Dfile:///usr/share/doc/gcc-8/README.Bugs --enable-languages=3Dc,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=3D/u= sr --with-gcc-major-version-only --program-suffix=3D-8 --program-prefix=3Dx86_64-linux-gnu- --enable-shared --enable-linker-build-= id --libexecdir=3D/usr/lib --without-included-gettext --enable-threads=3Dposix --libdir=3D/usr/lib --enable-nls --with-sysroot=3D/ --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-libstdcxx-time=3Dyes --with-default-libstdcxx-abi=3Dnew --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=3Dauto --enable-multiarch --disable-werror --with-arch-32=3Di686 --with-abi=3Dm64 --with-multilib-list=3Dm32,m64,mx32 --enable-multilib --with-tune=3Dgeneric --enable-offload-targets=3Dnvptx-none --without-cuda-driver --enable-checking=3Drelease --build=3Dx86_64-linux-gnu --host=3Dx86_64-linu= x-gnu --target=3Dx86_64-linux-gnu Thread model: posix gcc version 8.2.0 (Debian 8.2.0-9) >>From gcc-bugs-return-626041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 04:25:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88638 invoked by alias); 16 Dec 2018 04:25: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 88543 invoked by uid 48); 16 Dec 2018 04:25:22 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88518] Function call defeats -Wuninitialized Date: Sun, 16 Dec 2018 04:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: keywords 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: 2018-12/txt/msg02157.txt.bz2 Content-length: 632 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88518 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #1 from Andrew Pinski --- I think there is a dup of this bug already and one which descibes what need= to be done. Basically escape analysis is not flow sensative. That means GCC = is currently assuming that i escapes at the very first function call, h, rather later on when g is called. >>From gcc-bugs-return-626042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 07:38:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29222 invoked by alias); 16 Dec 2018 07:38: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 29152 invoked by uid 48); 16 Dec 2018 07:38:36 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88512] Too much STL in error output Date: Sun, 16 Dec 2018 07:38: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse 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: 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: 2018-12/txt/msg02158.txt.bz2 Content-length: 1333 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88512 --- Comment #4 from Marc Glisse --- (In reply to Jonny Grant from comment #3) > Updated output I had executed from STL with clear candidate suggestions: >=20 > $ g++ -Wall -o stl_string stl_string.cpp > stl_string.cpp: In function =E2=80=98int main()=E2=80=99: > stl_string.cpp:7:27: error: no matching function for call to > =E2=80=98std::string::erase(std::size_t&, std::string::iterator)=E2=80=99 > str.erase(s, str.end()); > ^ > candidates are: > std::string& std::string::erase(size_type index =3D 0, size_type coun= t =3D > npos) > std::string::iterator std::string::erase(const_iterator first, > const_iterator last) > std::string::iterator std::string::erase(const_iterator position) Maybe for the standard library... For user code I would still want a remind= er somewhere of what size_type, iterator, const_iterator and string are aliases for. Besides, gcc currently tells you why the candidate was not picked, whi= ch is also useful. What I expect would work is to have the message as a tree that originally o= nly shows the error message, but where you can click to show the candidates, cl= ick a candidate to show why it fails, click a type to see what it aliases, etc.= But that's only doable through an IDE. >>From gcc-bugs-return-626044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 07:54:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42164 invoked by alias); 16 Dec 2018 07:54:34 -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 41459 invoked by uid 48); 16 Dec 2018 07:54:23 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/87695] Arduino: ICE with avr and LTO Date: Sun, 16 Dec 2018 07:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 5.4.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: 2018-12/txt/msg02160.txt.bz2 Content-length: 450 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87695 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jm.feuggelen at orange dot= fr --- Comment #6 from Andrew Pinski --- *** Bug 88468 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-626043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 07:54:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41455 invoked by alias); 16 Dec 2018 07:54:23 -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 41346 invoked by uid 48); 16 Dec 2018 07:54:14 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88468] Arduino: 1.8.8 (Windows 10) internal compiler error , segmentation fault Date: Sun, 16 Dec 2018 07:54: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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 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: 2018-12/txt/msg02159.txt.bz2 Content-length: 504 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88468 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Andrew Pinski --- Dup of bug 87695. *** This bug has been marked as a duplicate of bug 87695 *** >>From gcc-bugs-return-626046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 10:31:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 499 invoked by alias); 16 Dec 2018 10:31: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 130975 invoked by uid 48); 16 Dec 2018 10:31:16 -0000 From: "harald at gigawatt dot nl" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/26732] different argument type not rejected for K&R style function definitions Date: Sun, 16 Dec 2018 10:31: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.1.1 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: harald at gigawatt dot nl 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: 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: 2018-12/txt/msg02162.txt.bz2 Content-length: 964 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D26732 Harald van Dijk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |harald at gigawatt dot nl --- Comment #8 from Harald van Dijk --- (In reply to Eric Gallager from comment #7) > (In reply to Andrew Pinski from comment #6) > > Now we don't even error out at -O3. >=20 > Why would the -O3 matter? -O3 enables inlining, which up until GCC 4.2 triggered an error on the parameter/argument type mismatch. But GCC is correct to not report an error for that. This is only undefined = at runtime, so the compiler is required to allow this unless it can prove the execution will reach that point of the code. What's missing as of GCC 4.0 is GCC 3.4's default-enabled warning "warning: structure defined inside parms". >>From gcc-bugs-return-626045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 10:31:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 328 invoked by alias); 16 Dec 2018 10:31:22 -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 130783 invoked by uid 48); 16 Dec 2018 10:30:59 -0000 From: "nidal.faour at wdc dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/88422] collect2.exe: fatal error: lto-wrapper returned 1 exit status: file not recognized: file truncated Date: Sun, 16 Dec 2018 10:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nidal.faour at wdc 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: 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: 2018-12/txt/msg02161.txt.bz2 Content-length: 1061 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88422 --- Comment #5 from Nidal Faour --- i've used the RV gcc official toolchain and reverted the patch as Jim did. and it passed in the test case, but when i moved to a bigger code, i failed again to build. and it turned out that it passed only if i drop the -g opti= on from the compiling command. when using the -g option it will get the "file not recognized: file format = not recognized" again. i've downloaded the RV toolchain from: https://github.com/riscv/riscv-gnu-toolchain configuration for linux building: ./configure --with-arch=3Drv64imafdc --with-abi=3Dlp64d --enable-multilib --prefix=3D configuration for windows building: ./configure --with-arch=3Drv64imafdc --with-abi=3Dlp64d --enable-multilib --without-system-zlib --with-cmodel=3Dmedany --with-host=3Dx86_64-w64-mingw= 32 --prefix=3D test case can be found at: https://github.com/westerndigitalcorporation/riscv32-Code-density-test-benc= h/tree/master/lto_test_case >>From gcc-bugs-return-626047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 13:55:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41486 invoked by alias); 16 Dec 2018 13:55: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 41428 invoked by uid 55); 16 Dec 2018 13:55:50 -0000 From: "hjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88483] Unnecessary stack alignment Date: Sun, 16 Dec 2018 13:55: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg02163.txt.bz2 Content-length: 947 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88483 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Sun Dec 16 13:55:18 2018 New Revision: 267186 URL: https://gcc.gnu.org/viewcvs?rev=3D267186&root=3Dgcc&view=3Drev Log: x86: Revert reversion 267133 Revert commit: commit 76c21b271247ccbd681bdb4530426d2fe35dbfa5 Author: hjl Date: Fri Dec 14 12:38:04 2018 +0000 x86: Don't use get_frame_size when finalizing stack frame gcc/ PR target/88483 * config/i386/i386.c (ix86_finalize_stack_frame_flags): Revert reversion 267133. gcc/testsuite/ PR target/88483 * gcc.target/i386/stackalign/pr88483.c: Removed. Revert reversion 267133. Removed: trunk/gcc/testsuite/gcc.target/i386/stackalign/pr88483.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-626048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 14:07:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88714 invoked by alias); 16 Dec 2018 14:07:21 -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 88653 invoked by uid 48); 16 Dec 2018 14:07:16 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88483] Unnecessary stack alignment Date: Sun, 16 Dec 2018 14:07: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on resolution target_milestone 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: 2018-12/txt/msg02164.txt.bz2 Content-length: 593 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88483 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Last reconfirmed| |2018-12-16 Resolution|FIXED |--- Target Milestone|9.0 |10.0 Ever confirmed|0 |1 --- Comment #4 from H.J. Lu --- Revisit it in GCC 10. >>From gcc-bugs-return-626049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 14:21:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61941 invoked by alias); 16 Dec 2018 14:21:32 -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 61884 invoked by uid 48); 16 Dec 2018 14:21:27 -0000 From: "jg at jguk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88512] Too much STL in error output Date: Sun, 16 Dec 2018 14:21: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: 8.2.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jg at jguk dot 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: 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: 2018-12/txt/msg02165.txt.bz2 Content-length: 1356 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88512 --- Comment #5 from Jonny Grant --- ICC 19.0.1 output (7): error: no instance of overloaded function "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::erase [with _CharT=3D= char, _Traits=3Dstd::char_traits, _Alloc=3Dstd::allocator]" matches t= he argument list argument types are: (std::size_t, __gnu_cxx::__normal_iterator<= char *, std::__cxx11::basic_string, std::allocator>>) object type is: std::__cxx11::string str.erase(s, str.end()); ^ /opt/compiler-explorer/gcc-8.2.0/bin/../include/c++/8.2.0/bits/basic_string= .h(1827): note: this candidate was rejected because arguments do not match erase(__const_iterator __first, __const_iterator __last) ^ /opt/compiler-explorer/gcc-8.2.0/bin/../include/c++/8.2.0/bits/basic_string= .h(1808): note: this candidate was rejected because mismatch in count of arguments erase(__const_iterator __position) ^ /opt/compiler-explorer/gcc-8.2.0/bin/../include/c++/8.2.0/bits/basic_string= .h(1789): note: this candidate was rejected because arguments do not match erase(size_type __pos =3D 0, size_type __n =3D npos) ^ compilation aborted for (code 2) Compiler returned: 2 >>From gcc-bugs-return-626050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 14:33:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65074 invoked by alias); 16 Dec 2018 14:33:23 -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 64994 invoked by uid 55); 16 Dec 2018 14:33:18 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88363] [9 Regression] alloc_align attribute doesn't accept enumerated arguments Date: Sun, 16 Dec 2018 14:33: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: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg02166.txt.bz2 Content-length: 744 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88363 --- Comment #5 from Thomas Koenig --- Author: tkoenig Date: Sun Dec 16 14:32:46 2018 New Revision: 267187 URL: https://gcc.gnu.org/viewcvs?rev=3D267187&root=3Dgcc&view=3Drev Log: 2018-12-16 Thomas Koenig PF fortran/88364 * trans-expr.c (gfc_conv_expr_reference): Do not add clobber if the expression contains a reference. 2018-12-16 Thomas Koenig PR fortran/88363 * intent_out_13.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/intent_out_13.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-expr.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-626051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 14:39:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71071 invoked by alias); 16 Dec 2018 14:39:07 -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 70916 invoked by uid 48); 16 Dec 2018 14:39:01 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88364] [9 Regression] Wrong-code due to CLOBBER Date: Sun, 16 Dec 2018 14:39: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: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg02167.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88364 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Thomas Koenig --- Fixed by rr267187. >>From gcc-bugs-return-626052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 14:40:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72995 invoked by alias); 16 Dec 2018 14:40:45 -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 72913 invoked by uid 48); 16 Dec 2018 14:40:41 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/41453] use INTENT(out) for optimization Date: Sun, 16 Dec 2018 14:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.5.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: tkoenig 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: 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: 2018-12/txt/msg02168.txt.bz2 Content-length: 263 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D41453 --- Comment #7 from Thomas Koenig --- Also still to do: Do some more precise clobbering for the case of PR88364, i.e. for call foo(a&x) clobber a%x, which is currently not done. >>From gcc-bugs-return-626053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 14:49:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83878 invoked by alias); 16 Dec 2018 14:49:36 -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 83781 invoked by uid 48); 16 Dec 2018 14:49:26 -0000 From: "matthew at wil dot cx" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88518] Function call defeats -Wuninitialized Date: Sun, 16 Dec 2018 14:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: matthew at wil dot cx 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: 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: 2018-12/txt/msg02169.txt.bz2 Content-length: 706 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88518 --- Comment #2 from Matthew Wilcox --- Thanks! What I actually want to do is annotate g() to the effect that it r= eads the pointed-to variable before it writes it. IOW, I want to write something like: void g(unsigned long __attribute__((read_before_write)) *p); void h(void); void f(void) { unsigned long i; h(); g(&i); } and have gcc emit a warning that i is used uninitialised. I tried adding i= =3D i prior to the call of g() through macro trickery, but was surprised that it didn't trigger, and simplified down to this test-case. Any chance I could get that attribute or something like it? >>From gcc-bugs-return-626054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 15:10:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9784 invoked by alias); 16 Dec 2018 15:10:12 -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 9666 invoked by uid 48); 16 Dec 2018 15:10:07 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/79342] [6 Regression] ICE in output_index_string, at dwarf2out.c:25635 with -gsplit-dwarf Date: Sun, 16 Dec 2018 15:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 6.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg02170.txt.bz2 Content-length: 2177 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79342 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #12 from H.J. Lu --- On x86, r267186 fails: [hjl@gnu-cfl-2 gcc]$ ./xgcc -B./ -march=3Dskylake -mrtm -mabm -m32 -gsplit= -dwarf -g3 -O2 -S /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/pr79342.c /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/pr79342.c:18:1: internal compiler error: in output_index_string, at dwarf2out.c:28777 18 | } | ^ 0xb751c7 output_index_string(indirect_string_node**, unsigned int*) /export/gnu/import/git/sources/gcc/gcc/dwarf2out.c:28777 0xb75450 output_indirect_strings /export/gnu/import/git/sources/gcc/gcc/dwarf2out.c:28865 0xb7aeac dwarf2out_finish /export/gnu/import/git/sources/gcc/gcc/dwarf2out.c:31563 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. [hjl@gnu-cfl-2 gcc]$=20 The problem is Breakpoint 10, index_string (h=3D0x7fffea9910b0, index=3D0x7fffffffd6d4) at /export/gnu/import/git/sources/gcc/gcc/dwarf2out.c:28734 28734 find_string_form (node); Missing separate debuginfos, use: dnf debuginfo-install gmp-6.1.2-8.0.fc29.x86_64 isl-0.16.1-7.0.fc29.x86_64 libmpc-1.1.0-2.0.fc29.x86_64 mpfr-3.1.6-2.fc29.x86_64 (gdb) p *node $26 =3D { str =3D 0x7fffea9554e0 "GNU C17 9.0.0 20181216 (experimental) -march=3Dsk= ylake -mrtm -mabm -m32 -gsplit-dwarf -g3 -O2", refcount =3D 2, form =3D 0, label = =3D 0x0,=20 index =3D 0} (gdb)=20 Its form isn't DW_FORM_GNU_str_index. (gdb) p *node $27 =3D { str =3D 0x7fffea9554e0 "GNU C17 9.0.0 20181216 (experimental) -march=3Dsk= ylake -mrtm -mabm -m32 -gsplit-dwarf -g3 -O2", refcount =3D 2,=20 form =3D DW_FORM_GNU_str_index, label =3D 0x30adc00 "*.LASF375",=20 index =3D 4294967294} (gdb)=20 Now it is. >>From gcc-bugs-return-626055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 15:16:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45346 invoked by alias); 16 Dec 2018 15:15: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 45115 invoked by uid 48); 16 Dec 2018 15:15:49 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/79342] [6 Regression] ICE in output_index_string, at dwarf2out.c:25635 with -gsplit-dwarf Date: Sun, 16 Dec 2018 15:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 6.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg02171.txt.bz2 Content-length: 440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79342 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW --- Comment #13 from H.J. Lu --- index_string -> find_string_form -> set_indirect_string makes string indexes out of order. >>From gcc-bugs-return-626056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 15:24:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53174 invoked by alias); 16 Dec 2018 15:24:00 -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 53076 invoked by uid 48); 16 Dec 2018 15:23:55 -0000 From: "toon at moene dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88519] New: internal compiler error: in expand_widen_pattern_expr, at optabs.c:278 Date: Sun, 16 Dec 2018 15:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: toon at moene dot 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: 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: 2018-12/txt/msg02172.txt.bz2 Content-length: 2953 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88519 Bug ID: 88519 Summary: internal compiler error: in expand_widen_pattern_expr, at optabs.c:278 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: toon at moene dot org Target Milestone: --- Created attachment 45244 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45244&action=3Dedit Source code that provokes the ICE. The attached source provokes the following ICE: during RTL pass: expand hlcfint2.f90:159:0: 159 | zpsi2 =3D ppsi(i,k) + (ppsi(i,k)-ppsi(i,k-1))*zxx/(pph(i,k)-pph(i,k-1)) |=20 internal compiler error: in expand_widen_pattern_expr, at optabs.c:278 0x6bcac1 expand_widen_pattern_expr(separate_ops*, rtx_def*, rtx_def*, rtx_d= ef*, rtx_def*, int) /home/toon/compilers/trunk/gcc/optabs.c:278 0xabe134 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) /home/toon/compilers/trunk/gcc/expr.c:9465 0xaaeb2f expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /home/toon/compilers/trunk/gcc/expr.c:9882 0xaac1b5 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /home/toon/compilers/trunk/gcc/expr.c:11037 0xab8843 store_expr(tree_node*, rtx_def*, int, bool, bool) /home/toon/compilers/trunk/gcc/expr.c:5633 0xab9f79 expand_assignment(tree_node*, tree_node*, bool) /home/toon/compilers/trunk/gcc/expr.c:5416 0xab9f79 expand_assignment(tree_node*, tree_node*, bool) /home/toon/compilers/trunk/gcc/expr.c:4977 0x9a064f expand_gimple_stmt_1 /home/toon/compilers/trunk/gcc/cfgexpand.c:3746 0x9a064f expand_gimple_stmt /home/toon/compilers/trunk/gcc/cfgexpand.c:3844 0x9a2b01 expand_gimple_basic_block /home/toon/compilers/trunk/gcc/cfgexpand.c:5880 0x9a7687 execute /home/toon/compilers/trunk/gcc/cfgexpand.c:6502 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. when compiled in the following way: ~toon/compilers/install/bin/gfortran -Ofast -march=3Dskylake-avx512 -c hlcfint2.f90 Version of the compiler: ~toon/compilers/install/bin/gfortran -v Using built-in specs. COLLECT_GCC=3D/home/toon/compilers/install/bin/gfortran COLLECT_LTO_WRAPPER=3D/home/toon/compilers/install/libexec/gcc/x86_64-pc-li= nux-gnu/9.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /home/toon/compilers/trunk/configure --prefix=3D/home/toon/compilers/install --with-gnu-as --with-gnu-ld --enable-languages=3Dall,go,ada --disable-multilib --disable-nls Thread model: posix gcc version 9.0.0 20181216 (experimental) (GCC) >>From gcc-bugs-return-626057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 15:44:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84728 invoked by alias); 16 Dec 2018 15:44:48 -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 84644 invoked by uid 48); 16 Dec 2018 15:44:44 -0000 From: "arnd at linaro dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/84863] false-positive -Warray-bounds warning with -fsanitize-coverage=object-size Date: Sun, 16 Dec 2018 15:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: arnd at linaro dot 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: 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: 2018-12/txt/msg02173.txt.bz2 Content-length: 592 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84863 --- Comment #3 from Arnd Bergmann --- The problem in the kernel then is that we then have to turn off the sanitiz= ers for the 'allmodconfig' build, since the recommended minimum regression test= ing for kernel changes involves building a kernel with all options (including UBSAN) enabled and checking that there are no compiler warnings. This means we would fail to catch any build regressions in the kernel part = of UBSAN, as well as any legitimate warnings that are only seen when the sanitizers are active. >>From gcc-bugs-return-626058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 16:21:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55444 invoked by alias); 16 Dec 2018 16:21:52 -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 55370 invoked by uid 48); 16 Dec 2018 16:21:48 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88514] [9 Regression] FAIL: gcc.target/i386/avx512vl-pr79299-1.c (internal compiler error) Date: Sun, 16 Dec 2018 16:21: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: 2018-12/txt/msg02174.txt.bz2 Content-length: 380 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88514 --- Comment #3 from Jakub Jelinek --- Created attachment 45245 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D45245&action=3Dedit gcc9-pr88514-wip.patch Untested WIP patch. With this I can vectorize the above testcase fine, but= the testcase in #c0 still ICEs, just with a different ICE. >>From gcc-bugs-return-626060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 16:22:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58006 invoked by alias); 16 Dec 2018 16:22:49 -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 57930 invoked by uid 48); 16 Dec 2018 16:22:45 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88513] [9 Regression] FAIL: gcc.target/i386/pr59591-1.c Date: Sun, 16 Dec 2018 16:22: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 9.0 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: 2018-12/txt/msg02176.txt.bz2 Content-length: 400 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88513 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- Likely dup of PR88514. >>From gcc-bugs-return-626059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 16:22:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56329 invoked by alias); 16 Dec 2018 16:22:20 -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 56273 invoked by uid 48); 16 Dec 2018 16:22:15 -0000 From: "tromey at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88520] New: improve warning when `struct` is required Date: Sun, 16 Dec 2018 16:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg02175.txt.bz2 Content-length: 1258 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88520 Bug ID: 88520 Summary: improve warning when `struct` is required Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tromey at gcc dot gnu.org Target Milestone: --- Consider this source: int Foo; struct Foo { int a; }; extern int f(Foo x); gcc (I'm using 8.2.1 from Fedora 28) says: q.cc:8:14: warning: =E2=80=98f=E2=80=99 initialized and declared =E2=80=98e= xtern=E2=80=99 extern int f(Foo x); ^~~ q.cc:8:17: error: expected =E2=80=98)=E2=80=99 before =E2=80=98x=E2=80=99 extern int f(Foo x); ~ ^~ ) clang is somewhat nicer here, showing where the definition appeared. This is handy info for figuring out what went wrong: q.cc:8:14: error: must use 'struct' tag to refer to type 'Foo' in this scope extern int f(Foo x); ^ struct=20 q.cc:1:5: note: struct 'Foo' is hidden by a non-type declaration of 'Foo' h= ere int Foo; ^ This came up on the gdb list, where a user couldn't figure out why gcc was erroring. >>From gcc-bugs-return-626061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 16:23:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58763 invoked by alias); 16 Dec 2018 16:23: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 58682 invoked by uid 48); 16 Dec 2018 16:22:56 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88519] internal compiler error: in expand_widen_pattern_expr, at optabs.c:278 Date: Sun, 16 Dec 2018 16:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 2018-12/txt/msg02177.txt.bz2 Content-length: 400 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88519 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- Likely dup of PR88514. >>From gcc-bugs-return-626062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 16:31:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71695 invoked by alias); 16 Dec 2018 16:31:08 -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 71249 invoked by uid 55); 16 Dec 2018 16:30:28 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88467] Silently accepts wrong array constructor Date: Sun, 16 Dec 2018 16:31: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: 9.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl 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: 2018-12/txt/msg02178.txt.bz2 Content-length: 1328 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88467 --- Comment #6 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Dec 16 16:29:43 2018 New Revision: 267189 URL: https://gcc.gnu.org/viewcvs?rev=3D267189&root=3Dgcc&view=3Drev Log: 2018-12-16 Steven G. Kargl PR fortran/88116 PR fortran/88467 * array.c (gfc_match_array_constructor): Check return value of gfc_convert_type(). Skip constructor elements with BT_UNKNOWN, which need to go through resolution. * intrinsic.c (gfc_convert_type_warn): Return early if the types martch (i.e., no conversion is required). * simplify.c (gfc_convert_constant): Remove a gfc_internal_error, and return gfc_bad_expr. 2018-12-16 Steven G. Kargl PR fortran/88116 * gfortran.dg/pr88116_1.f90: New test. * gfortran.dg/pr88116_2.f90: Ditto. PR fortran/88467 * gfortran.dg/pr88467.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/pr88116_1.f90 trunk/gcc/testsuite/gfortran.dg/pr88116_2.f90 trunk/gcc/testsuite/gfortran.dg/pr88467.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/array.c trunk/gcc/fortran/intrinsic.c trunk/gcc/fortran/simplify.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-626063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 16:31:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71813 invoked by alias); 16 Dec 2018 16:31:19 -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 71252 invoked by uid 55); 16 Dec 2018 16:30:28 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88116] [8/9 Regression] ICE in gfc_convert_constant(): Unexpected type Date: Sun, 16 Dec 2018 16:31: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: 9.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 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: 2018-12/txt/msg02179.txt.bz2 Content-length: 1328 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88116 --- Comment #8 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Dec 16 16:29:43 2018 New Revision: 267189 URL: https://gcc.gnu.org/viewcvs?rev=3D267189&root=3Dgcc&view=3Drev Log: 2018-12-16 Steven G. Kargl PR fortran/88116 PR fortran/88467 * array.c (gfc_match_array_constructor): Check return value of gfc_convert_type(). Skip constructor elements with BT_UNKNOWN, which need to go through resolution. * intrinsic.c (gfc_convert_type_warn): Return early if the types martch (i.e., no conversion is required). * simplify.c (gfc_convert_constant): Remove a gfc_internal_error, and return gfc_bad_expr. 2018-12-16 Steven G. Kargl PR fortran/88116 * gfortran.dg/pr88116_1.f90: New test. * gfortran.dg/pr88116_2.f90: Ditto. PR fortran/88467 * gfortran.dg/pr88467.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/pr88116_1.f90 trunk/gcc/testsuite/gfortran.dg/pr88116_2.f90 trunk/gcc/testsuite/gfortran.dg/pr88467.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/array.c trunk/gcc/fortran/intrinsic.c trunk/gcc/fortran/simplify.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-626065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 17:01:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18957 invoked by alias); 16 Dec 2018 17:01: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 18400 invoked by uid 55); 16 Dec 2018 17:01:46 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88467] Silently accepts wrong array constructor Date: Sun, 16 Dec 2018 17:01: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: 9.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl 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: 2018-12/txt/msg02181.txt.bz2 Content-length: 1456 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88467 --- Comment #7 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Dec 16 17:00:33 2018 New Revision: 267190 URL: https://gcc.gnu.org/viewcvs?rev=3D267190&root=3Dgcc&view=3Drev Log: 2018-12-16 Steven G. Kargl PR fortran/88116 PR fortran/88467 * array.c (gfc_match_array_constructor): Check return value of gfc_convert_type(). Skip constructor elements with BT_UNKNOWN, which need to go through resolution. * intrinsic.c (gfc_convert_type_warn): Return early if the types martch (i.e., no conversion is required). * simplify.c (gfc_convert_constant): Remove a gfc_internal_error, and return gfc_bad_expr. 2018-12-16 Steven G. Kargl PR fortran/88116 * gfortran.dg/pr88116_1.f90: New test. * gfortran.dg/pr88116_2.f90: Ditto. PR fortran/88467 * gfortran.dg/pr88467.f90: New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88116_1.f90 branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88116_2.f90 branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88467.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/array.c branches/gcc-8-branch/gcc/fortran/intrinsic.c branches/gcc-8-branch/gcc/fortran/simplify.c branches/gcc-8-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-626064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 17:01:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18440 invoked by alias); 16 Dec 2018 17:01:50 -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 18334 invoked by uid 55); 16 Dec 2018 17:01:45 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88116] [8/9 Regression] ICE in gfc_convert_constant(): Unexpected type Date: Sun, 16 Dec 2018 17:01: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: 9.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 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: 2018-12/txt/msg02180.txt.bz2 Content-length: 1456 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88116 --- Comment #9 from kargl at gcc dot gnu.org --- Author: kargl Date: Sun Dec 16 17:00:33 2018 New Revision: 267190 URL: https://gcc.gnu.org/viewcvs?rev=3D267190&root=3Dgcc&view=3Drev Log: 2018-12-16 Steven G. Kargl PR fortran/88116 PR fortran/88467 * array.c (gfc_match_array_constructor): Check return value of gfc_convert_type(). Skip constructor elements with BT_UNKNOWN, which need to go through resolution. * intrinsic.c (gfc_convert_type_warn): Return early if the types martch (i.e., no conversion is required). * simplify.c (gfc_convert_constant): Remove a gfc_internal_error, and return gfc_bad_expr. 2018-12-16 Steven G. Kargl PR fortran/88116 * gfortran.dg/pr88116_1.f90: New test. * gfortran.dg/pr88116_2.f90: Ditto. PR fortran/88467 * gfortran.dg/pr88467.f90: New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88116_1.f90 branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88116_2.f90 branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88467.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/array.c branches/gcc-8-branch/gcc/fortran/intrinsic.c branches/gcc-8-branch/gcc/fortran/simplify.c branches/gcc-8-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-626066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 17:11:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26932 invoked by alias); 16 Dec 2018 17:11:17 -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 26872 invoked by uid 48); 16 Dec 2018 17:11:11 -0000 From: "mateuszb at poczta dot onet.pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88521] New: gcc 9.0 from r266355 miscompile x265 for mingw-w64 target Date: Sun, 16 Dec 2018 17:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mateuszb at poczta dot onet.pl 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 cf_gcctarget Message-ID: 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: 2018-12/txt/msg02182.txt.bz2 Content-length: 3963 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88521 Bug ID: 88521 Summary: gcc 9.0 from r266355 miscompile x265 for mingw-w64 target Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mateuszb at poczta dot onet.pl Target Milestone: --- Target: mingw-w64 x265 compiled by gcc 9.0 r266355 (or newer) for mingw-w64 makes wrong encod= ing (awful quality). Comparison of encoding by x265 compiled by gcc 9.0 r266354 vs. r266355 (see bitrate and Avg QP): f:\speed\2.9+15>x265r354 --crf 20 --no-asm ../Bosphorus_1920x1080_120fps_420_8bit_YUV.y4m w1.hevc && x265r355 --crf 20 --no-asm ../Bosphorus_1920x1080_120fps_420_8bit_YUV.y4m w2.hevc y4m [info]: 1920x1080 fps 30/1 i420p8 frames 0 - 599 of 600 raw [info]: output file: w1.hevc x265 [info]: HEVC encoder version 2.9+16-c829b5b75a9f x265 [info]: build info [Windows][GCC 9.0.0][64 bit] 10bit x265 [info]: using cpu capabilities: none! x265 [info]: Main 10 profile, Level-4 (Main tier) x265 [info]: Thread pool created using 12 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 3 / wpp(17 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2 x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 3 / on / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-20.0 / 0.60 x265 [info]: tools: rd=3D3 psy-rd=3D2.00 rskip signhide tmvp strong-intra-s= moothing x265 [info]: tools: lslices=3D6 deblock sao x265 [info]: frame I: 3, Avg QP:19.68 kb/s: 32315.52 x265 [info]: frame P: 148, Avg QP:21.03 kb/s: 12782.31 x265 [info]: frame B: 449, Avg QP:26.54 kb/s: 1167.18 x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0% x265 [info]: consecutive B-frames: 0.7% 0.7% 0.7% 96.7% 1.3% encoded 600 frames in 113.81s (5.27 fps), 4187.99 kb/s, Avg QP:25.15 y4m [info]: 1920x1080 fps 30/1 i420p8 frames 0 - 599 of 600 raw [info]: output file: w2.hevc x265 [info]: HEVC encoder version 2.9+16-c829b5b75a9f x265 [info]: build info [Windows][GCC 9.0.0][64 bit] 10bit x265 [info]: using cpu capabilities: none! x265 [info]: Main 10 profile, Level-4 (Main tier) x265 [info]: Thread pool created using 12 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 3 / wpp(17 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2 x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 3 / on / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-20.0 / 0.60 x265 [info]: tools: rd=3D3 psy-rd=3D2.00 rskip signhide tmvp strong-intra-s= moothing x265 [info]: tools: lslices=3D6 deblock sao x265 [info]: frame I: 3, Avg QP:39.68 kb/s: 13494.72 x265 [info]: frame P: 148, Avg QP:19.37 kb/s: 18426.52 x265 [info]: frame B: 449, Avg QP:51.00 kb/s: 77.51 x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0% x265 [info]: consecutive B-frames: 0.7% 0.7% 0.7% 96.7% 1.3% encoded 600 frames in 103.13s (5.82 fps), 4670.69 kb/s, Avg QP:43.14 >>From gcc-bugs-return-626067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 17:20:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87927 invoked by alias); 16 Dec 2018 17:20:16 -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 87838 invoked by uid 48); 16 Dec 2018 17:20:12 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88467] Silently accepts wrong array constructor Date: Sun, 16 Dec 2018 17:20: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: 9.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 2018-12/txt/msg02183.txt.bz2 Content-length: 536 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88467 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |8.3 --- Comment #8 from kargl at gcc dot gnu.org --- Fixed on trunk and branch-8. pr88116*f90 testcases fail when patch applied to branch-7. Closing. >>From gcc-bugs-return-626068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 17:21:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89200 invoked by alias); 16 Dec 2018 17:21:13 -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 89148 invoked by uid 48); 16 Dec 2018 17:21:09 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/88116] [8/9 Regression] ICE in gfc_convert_constant(): Unexpected type Date: Sun, 16 Dec 2018 17:21: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: 9.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg02184.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88116 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #10 from kargl at gcc dot gnu.org --- Fixed on trunk and branch-8. pr88116*f90 testcases fail when patch applied to branch-7. Closing. >>From gcc-bugs-return-626069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 17:50:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5499 invoked by alias); 16 Dec 2018 17:50: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 808 invoked by uid 48); 16 Dec 2018 17:49:56 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85544] [7/8/9 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3385 Date: Sun, 16 Dec 2018 17:50: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg02185.txt.bz2 Content-length: 248 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85544 --- Comment #7 from Thomas Koenig --- The problem with the patch in comment #6 is that it pessimizes code like b =3D (-1)**a So, some more thinking required... >>From gcc-bugs-return-626070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 19:06:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51031 invoked by alias); 16 Dec 2018 19:06:38 -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 50925 invoked by uid 48); 16 Dec 2018 19:06:31 -0000 From: "zed.three at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/80477] [OOP] Polymorphic function result generates memory leak Date: Sun, 16 Dec 2018 19:06: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: 6.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zed.three at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 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: 2018-12/txt/msg02186.txt.bz2 Content-length: 1127 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80477 zed.three at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zed.three at gmail dot com --- Comment #26 from zed.three at gmail dot com --- Thank you for looking at the finalisation stuff, Paul, it's really apprecia= ted! It wasn't clear to me from the patch notes if you expect the following to be fixed: subroutine assign_a_type(lhs, rhs) class(a_type_t), intent(inout) :: lhs class(a_type_t), intent(in) :: rhs lhs%x =3D rhs%x end subroutine assign_a_type or=20 class(a_type_t), allocatable :: c c =3D add_a_type(a, b) These still generate memory leaks (detected using -fsanitize=3Daddress) I'm using trunk (r267184, git bf96f3) I've been trying to dig into the code myself, mostly as a learning exercise= . Am I right in thinking that gfc_conv_procedure_call handles the whole statemen= t? i.e. that finalisation both of the lhs and function result are (or should b= e) done here? >>From gcc-bugs-return-626071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 20:23:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57052 invoked by alias); 16 Dec 2018 20:23:46 -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 56949 invoked by uid 48); 16 Dec 2018 20:23:40 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88522] New: Error: operand size mismatch for `vpgatherqq' Date: Sun, 16 Dec 2018 20:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools 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 cc target_milestone cf_gcctarget Message-ID: 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: 2018-12/txt/msg02187.txt.bz2 Content-length: 6750 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88522 Bug ID: 88522 Summary: Error: operand size mismatch for `vpgatherqq' Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: ubizjak at gmail dot com Target Milestone: --- Target: i386,x86-64 With binutils 2.32, I got [hjl@gnu-skx-1 gcc]$ /export/users/hjl/build/gnu/tools-build/gcc-32bit/build-i686-linux/gcc/xgcc -B/export/users/hjl/build/gnu/tools-build/gcc-32bit/build-i686-linux/gcc/ -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=3Dnever -Ofast -mavx512vl -masm=3Dintel -c -o avx512vl-pr79299-2.o /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/avx512vl-p= r79299-2.c -m32 /tmp/ccptGe0Q.s: Assembler messages: /tmp/ccptGe0Q.s:18: Error: operand size mismatch for `vgatherdps' /tmp/ccptGe0Q.s:43: Error: operand size mismatch for `vgatherdps' /tmp/ccptGe0Q.s:67: Error: operand size mismatch for `vgatherdpd' /tmp/ccptGe0Q.s:92: Error: operand size mismatch for `vgatherdpd' /tmp/ccptGe0Q.s:116: Error: operand size mismatch for `vgatherqps' /tmp/ccptGe0Q.s:141: Error: operand size mismatch for `vgatherqps' /tmp/ccptGe0Q.s:165: Error: operand size mismatch for `vgatherqpd' /tmp/ccptGe0Q.s:190: Error: operand size mismatch for `vgatherqpd' /tmp/ccptGe0Q.s:213: Error: operand size mismatch for `vpgatherdd' /tmp/ccptGe0Q.s:238: Error: operand size mismatch for `vpgatherdd' /tmp/ccptGe0Q.s:262: Error: operand size mismatch for `vpgatherdq' /tmp/ccptGe0Q.s:287: Error: operand size mismatch for `vpgatherdq' /tmp/ccptGe0Q.s:311: Error: operand size mismatch for `vpgatherqd' /tmp/ccptGe0Q.s:336: Error: operand size mismatch for `vpgatherqd' /tmp/ccptGe0Q.s:360: Error: operand size mismatch for `vpgatherqq' /tmp/ccptGe0Q.s:385: Error: operand size mismatch for `vpgatherqq' /tmp/ccptGe0Q.s:410: Error: operand size mismatch for `vgatherdps' /tmp/ccptGe0Q.s:429: Error: operand size mismatch for `vgatherdps' /tmp/ccptGe0Q.s:451: Error: operand size mismatch for `vgatherdpd' /tmp/ccptGe0Q.s:470: Error: operand size mismatch for `vgatherdpd' /tmp/ccptGe0Q.s:492: Error: operand size mismatch for `vgatherqps' /tmp/ccptGe0Q.s:512: Error: operand size mismatch for `vgatherqps' /tmp/ccptGe0Q.s:534: Error: operand size mismatch for `vgatherqpd' /tmp/ccptGe0Q.s:553: Error: operand size mismatch for `vgatherqpd' /tmp/ccptGe0Q.s:575: Error: operand size mismatch for `vpgatherdd' /tmp/ccptGe0Q.s:594: Error: operand size mismatch for `vpgatherdd' /tmp/ccptGe0Q.s:616: Error: operand size mismatch for `vpgatherdq' /tmp/ccptGe0Q.s:635: Error: operand size mismatch for `vpgatherdq' /tmp/ccptGe0Q.s:657: Error: operand size mismatch for `vpgatherqd' /tmp/ccptGe0Q.s:677: Error: operand size mismatch for `vpgatherqd' /tmp/ccptGe0Q.s:699: Error: operand size mismatch for `vpgatherqq' /tmp/ccptGe0Q.s:718: Error: operand size mismatch for `vpgatherqq' /tmp/ccptGe0Q.s:739: Error: operand size mismatch for `vgatherdps' /tmp/ccptGe0Q.s:756: Error: operand size mismatch for `vgatherdps' /tmp/ccptGe0Q.s:776: Error: operand size mismatch for `vgatherdpd' /tmp/ccptGe0Q.s:793: Error: operand size mismatch for `vgatherdpd' /tmp/ccptGe0Q.s:813: Error: operand size mismatch for `vgatherqps' /tmp/ccptGe0Q.s:831: Error: operand size mismatch for `vgatherqps' /tmp/ccptGe0Q.s:851: Error: operand size mismatch for `vgatherqpd' /tmp/ccptGe0Q.s:868: Error: operand size mismatch for `vgatherqpd' /tmp/ccptGe0Q.s:888: Error: operand size mismatch for `vpgatherdd' /tmp/ccptGe0Q.s:905: Error: operand size mismatch for `vpgatherdd' /tmp/ccptGe0Q.s:925: Error: operand size mismatch for `vpgatherdq' /tmp/ccptGe0Q.s:942: Error: operand size mismatch for `vpgatherdq' /tmp/ccptGe0Q.s:962: Error: operand size mismatch for `vpgatherqd' /tmp/ccptGe0Q.s:980: Error: operand size mismatch for `vpgatherqd' /tmp/ccptGe0Q.s:1000: Error: operand size mismatch for `vpgatherqq' /tmp/ccptGe0Q.s:1017: Error: operand size mismatch for `vpgatherqq' [hjl@gnu-skx-1 gcc]$=20 We have [hjl@gnu-skx-1 gcc]$ cat x.s .intel_syntax noprefix vpgatherdd xmm0{k1}, XMMWORD PTR [eax+xmm1*1] vpgatherdd ymm0{k1}, YMMWORD PTR [eax+ymm1*1] vpgatherdd zmm1{k1}, ZMMWORD PTR [eax+zmm0*1] vpgatherdq xmm0{k1}, XMMWORD PTR [eax+xmm1*1] vpgatherdq ymm0{k1}, YMMWORD PTR [eax+xmm1*1] vpgatherdq zmm1{k1}, ZMMWORD PTR [eax+ymm0*1] vpgatherqd xmm0{k1}, QWORD PTR [eax+xmm1*1] vpgatherqd xmm0{k1}, XMMWORD PTR [eax+ymm1*1] vpgatherqd ymm1{k1}, YMMWORD PTR [eax+zmm0*1] vpgatherqd ymm2{k1}, YMMWORD PTR [edx+zmm1*1] vpgatherqq xmm0{k1}, XMMWORD PTR [eax+xmm1*1] vpgatherqq ymm0{k1}, YMMWORD PTR [eax+ymm1*1] vpgatherqq zmm2{k1}, ZMMWORD PTR [edx+zmm1*1] [hjl@gnu-skx-1 gcc]$ gcc -m32 -c x.s x.s: Assembler messages: x.s:2: Error: operand size mismatch for `vpgatherdd' x.s:3: Error: operand size mismatch for `vpgatherdd' x.s:4: Error: operand size mismatch for `vpgatherdd' x.s:5: Error: operand size mismatch for `vpgatherdq' x.s:6: Error: operand size mismatch for `vpgatherdq' x.s:7: Error: operand size mismatch for `vpgatherdq' x.s:8: Error: operand size mismatch for `vpgatherqd' x.s:9: Error: operand size mismatch for `vpgatherqd' x.s:10: Error: operand size mismatch for `vpgatherqd' x.s:11: Error: operand size mismatch for `vpgatherqd' x.s:12: Error: operand size mismatch for `vpgatherqq' x.s:13: Error: operand size mismatch for `vpgatherqq' x.s:14: Error: operand size mismatch for `vpgatherqq' [hjl@gnu-skx-1 gcc]$=20 GCC should generate: [hjl@gnu-skx-1 gcc]$ cat y.s .intel_syntax noprefix vpgatherdd xmm0{k1}, DWORD PTR [eax+xmm1*1] vpgatherdd ymm0{k1}, DWORD PTR [eax+ymm1*1] vpgatherdd zmm1{k1}, DWORD PTR [eax+zmm0*1] vpgatherdq xmm0{k1}, QWORD PTR [eax+xmm1*1] vpgatherdq ymm0{k1}, QWORD PTR [eax+xmm1*1] vpgatherdq zmm1{k1}, QWORD PTR [eax+ymm0*1] vpgatherqd xmm0{k1}, DWORD PTR [eax+xmm1*1] vpgatherqd xmm0{k1}, DWORD PTR [eax+ymm1*1] vpgatherqd ymm1{k1}, DWORD PTR [eax+zmm0*1] vpgatherqd ymm2{k1}, DWORD PTR [edx+zmm1*1] vpgatherqq xmm0{k1}, QWORD PTR [eax+xmm1*1] vpgatherqq ymm0{k1}, QWORD PTR [eax+ymm1*1] vpgatherqq zmm2{k1}, QWORD PTR [edx+zmm1*1] [hjl@gnu-skx-1 gcc]$ gcc -c -m32 y.s That is DWORD for 'd' suffix and QWORD for 'q' suffix. >>From gcc-bugs-return-626072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 20:25:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59294 invoked by alias); 16 Dec 2018 20:25:16 -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 58511 invoked by uid 48); 16 Dec 2018 20:24:45 -0000 From: "sasho648 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88523] New: Allow slick and sick incomplete variably modified function return type. Date: Sun, 16 Dec 2018 20:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sasho648 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 Message-ID: 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: 2018-12/txt/msg02188.txt.bz2 Content-length: 907 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88523 Bug ID: 88523 Summary: Allow slick and sick incomplete variably modified function return type. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: sasho648 at gmail dot com Target Milestone: --- Consider the following code: main() { auto a(char a, struct t { char t[a] } t) { } } It currently ICEs and has no actual purpose but what if we use this opportu= nity to introduce: main() { auto struct t main(char a, struct t { char t[a] } t) { return t; } } The above code will complete the composite type of main on each instance af= ter its arguments were evaluated. >>From gcc-bugs-return-626073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 20:29:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65490 invoked by alias); 16 Dec 2018 20:29:11 -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 64860 invoked by uid 48); 16 Dec 2018 20:29:04 -0000 From: "sasho648 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88523] Allow slick and sick variably modified function return type constructed on each instance. Date: Sun, 16 Dec 2018 20:29: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sasho648 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: short_desc 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: 2018-12/txt/msg02189.txt.bz2 Content-length: 633 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88523 sasho648 at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Allow slick and sick |Allow slick and sick |variably modified function |variably modified function |return type created on |return type constructed on |instance. |each instance. --- Comment #1 from sasho648 at gmail dot com --- Allow this behavior only on functions without linkage like the one above. >>From gcc-bugs-return-626074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 20:34:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74953 invoked by alias); 16 Dec 2018 20:34:32 -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 74926 invoked by uid 48); 16 Dec 2018 20:34:28 -0000 From: "sasho648 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88523] Allow slick and sick variably modified function return type constructed on each instance. Date: Sun, 16 Dec 2018 20:34: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sasho648 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: 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: 2018-12/txt/msg02190.txt.bz2 Content-length: 328 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88523 --- Comment #2 from sasho648 at gmail dot com --- I'm referring to the function without linkage main. The one with linkage th= at is declared at file scope has no relation at all with my proposal - I'm just using the opportunity to introduce as few identifiers as possible. >>From gcc-bugs-return-626075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 20:38:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119983 invoked by alias); 16 Dec 2018 20:38: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 113139 invoked by uid 48); 16 Dec 2018 20:38:00 -0000 From: "nruslan_devel at yahoo dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88524] New: PLT32 relocation is off by 4 Date: Sun, 16 Dec 2018 20:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nruslan_devel at yahoo 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 Message-ID: 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: 2018-12/txt/msg02191.txt.bz2 Content-length: 2242 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88524 Bug ID: 88524 Summary: PLT32 relocation is off by 4 Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: nruslan_devel at yahoo dot com Target Milestone: --- Consider the following example for some -fpic -mcmodel=3Dsmall compiled cod= e. There is an external function func() for which we store a relative reference to the corresponding @plt stub in a 32-bit variable. The following seems to generate correct offsets (@plt is already relative, = so we can probably specify it directly): void func(void); asm("a: .long func@plt"); extern int a; int geta() { return a; } gcc -Wall -O2 -c -fpic test.c yields RELOCATION RECORDS FOR [.text]: OFFSET TYPE VALUE=20 0000000000000000 R_X86_64_PLT32 func 0000000000000013 R_X86_64_REX_GOTPCRELX a-0x0000000000000004 However, if we change asm("a: .long func@plt") to asm("a: .long func@plt - = .") the generated code is very weird and is off by 4: RELOCATION RECORDS FOR [.text]: OFFSET TYPE VALUE=20 0000000000000000 R_X86_64_PLT32 func-0x0000000000000004 0000000000000013 R_X86_64_REX_GOTPCRELX a-0x0000000000000004 Specifically, if we generate a shared library, the generated offset to func= @plt is off by 4 in the second case. gcc -Wall -O2 -shared -fpic test.c the first case is correct: 00000000000004c0 : ... 00000000000005c0 : 5c0: 00 ff=20=20=20=20 5c2: ff=20=20=20=20=20=20=20=20=20=20=20 5c3: ff [5c0 + ffffff00] =3D 4C0 whereas the second case is off by 4: 00000000000004c0 : ... 00000000000005c0 : 5c0: fc=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 5c1: fe=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 5c2: ff=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 5c3: ff [5c0 + fffffefc] =3D 4BC It is quite possible that I am missing something here (and the generated co= de is correct) but just want to check if there is any potential bug in the compiler. >>From gcc-bugs-return-626076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 20:39:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15938 invoked by alias); 16 Dec 2018 20:39:16 -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 15875 invoked by uid 48); 16 Dec 2018 20:39:12 -0000 From: "sasho648 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88523] Allow slick and sick variably modified function return type constructed on each instance. Date: Sun, 16 Dec 2018 20:39: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sasho648 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: 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: 2018-12/txt/msg02192.txt.bz2 Content-length: 415 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88523 --- Comment #3 from sasho648 at gmail dot com --- The included phrase in the standard would read something like: If an incomplete structure type is the composite type of a function - it's allowed to be completed inside its prototype in which case a X function is created which type will be evaluated on each instance after its argument va= lues are evaluated. >>From gcc-bugs-return-626077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 20:54:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36509 invoked by alias); 16 Dec 2018 20:54: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 36463 invoked by uid 48); 16 Dec 2018 20:54:20 -0000 From: "nruslan_devel at yahoo dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88524] PLT32 relocation is off by 4 Date: Sun, 16 Dec 2018 20:54: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nruslan_devel at yahoo 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: 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: 2018-12/txt/msg02193.txt.bz2 Content-length: 245 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88524 --- Comment #1 from Ruslan Nikolaev --- btw, I have just compared the output with clang/llvm 7.0; the generated code seems to be correct in both cases there. >>From gcc-bugs-return-626078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 21:16:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76389 invoked by alias); 16 Dec 2018 21:16:31 -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 76319 invoked by uid 48); 16 Dec 2018 21:16:27 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88524] PLT32 relocation is off by 4 Date: Sun, 16 Dec 2018 21:16: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: MOVED 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 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: 2018-12/txt/msg02194.txt.bz2 Content-length: 497 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88524 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |MOVED --- Comment #2 from Andreas Schwab --- If anything, this is a problem in the linker, please report to the binutils project. >>From gcc-bugs-return-626079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 21:57:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91490 invoked by alias); 16 Dec 2018 21:57:52 -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 91428 invoked by uid 48); 16 Dec 2018 21:57:48 -0000 From: "ibuclaw at gdcproject dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/88462] All D execution tests FAIL on Solaris/SPARC Date: Sun, 16 Dec 2018 21:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ibuclaw at gdcproject dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: 9.0 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: 2018-12/txt/msg02195.txt.bz2 Content-length: 838 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88462 --- Comment #12 from Iain Buclaw --- (In reply to Johannes Pfau from comment #10) > I guess the proper fix to the alignment problem is using > 'https://dlang.org/phobos/std_traits.html#classInstanceAlignment' (or rat= her > the druntime equivalent) instead of Mutex.alignof + the rounding / slice > assignment fixes? >=20 > Regarding the ModuleInfo problem: Although ModuleInfo does have a variable > size, _flags ist the first field in the struct. So the whole struct insta= nce > has to be misaligned for some reason? Is the minfo section aligned proper= ly? ModuleInfo is forced an alignment of 1. It should be instead aligned to `max(uint.sizeof, size_t.sizeof)` so that both named and variable data parts can be read without alignment problems. >>From gcc-bugs-return-626080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 22:39:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45137 invoked by alias); 16 Dec 2018 22:39: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 45077 invoked by uid 48); 16 Dec 2018 22:39:46 -0000 From: "anders.granlund.0 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88477] Variable with type completed in initializer not allowed. Date: Sun, 16 Dec 2018 22:39: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anders.granlund.0 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: 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: 2018-12/txt/msg02196.txt.bz2 Content-length: 500 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88477 --- Comment #4 from Anders Granlund --- In general the standard seems to be a bit inprecise when it talks about typ= es beeing complete. The same type may be incomplete at one point in the program, but complete at another point. The standard should always specify at what point in the prog= ram a type needs to be complete when it requires it to be complete. I will file a defect report about that instead. >>From gcc-bugs-return-626081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 22:49:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56818 invoked by alias); 16 Dec 2018 22:49:08 -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 56620 invoked by uid 48); 16 Dec 2018 22:49:03 -0000 From: "anders.granlund.0 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88525] New: gcc thinks that C11 program does not declare anything but it does. Date: Sun, 16 Dec 2018 22:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anders.granlund.0 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 Message-ID: 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: 2018-12/txt/msg02197.txt.bz2 Content-length: 1030 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88525 Bug ID: 88525 Summary: gcc thinks that C11 program does not declare anything but it does. Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anders.granlund.0 at gmail dot com Target Milestone: --- Consider the following C11 program (prog.c): int main() { struct { enum { a } b; }; } This program does NOT violate rule 6.7.2 in the C11 standard since the declaration declares a member of an enum (a). I tried to compile it with the following command line: gcc prog.c -std=3Dc11 -pedantic-errors I get the following unexpected error message: error: unnamed struct/union that defines no instances This is wrong. The declaration does declare the enum member a and accordi= ng to the C11 standard it does not need to declare anything else. >>From gcc-bugs-return-626082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 22:52:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59605 invoked by alias); 16 Dec 2018 22:52:44 -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 59561 invoked by uid 48); 16 Dec 2018 22:52:39 -0000 From: "nruslan_devel at yahoo dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88524] PLT32 relocation is off by 4 Date: Sun, 16 Dec 2018 22:52: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nruslan_devel at yahoo 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_status 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: 2018-12/txt/msg02198.txt.bz2 Content-length: 786 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88524 Ruslan Nikolaev changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|MOVED |--- --- Comment #3 from Ruslan Nikolaev --- (In reply to Andreas Schwab from comment #2) > If anything, this is a problem in the linker, please report to the binuti= ls > project. Why is it binutils? The problem already appears with when running with '-c' flag (incorrect PLT32 relocation), i.e. not linking a shared library yet. I have just gave that example to further demonstrate the problem. >>From gcc-bugs-return-626083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 22:58:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72495 invoked by alias); 16 Dec 2018 22:58: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 72455 invoked by uid 48); 16 Dec 2018 22:58:32 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88524] PLT32 relocation is off by 4 Date: Sun, 16 Dec 2018 22:58: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: MOVED 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 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: 2018-12/txt/msg02199.txt.bz2 Content-length: 1136 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88524 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |MOVED --- Comment #4 from Andrew Pinski --- Still is a binutils (assembler rather than the linker issue): .file "t.c" .text #APP a: .long func@plt - 4 #NO_APP .globl geta .type geta, @function geta: .LFB0: .cfi_startproc pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 movq %rsp, %rbp .cfi_def_cfa_register 6 movq a@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size geta, .-geta .ident "GCC: (Octeon TX GCC 7 - (Build 116)) 7.3.0" .section .note.GNU-stack,"",@progbits What GCC outputs does not have the -4 in there. >>From gcc-bugs-return-626084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 23:03:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77981 invoked by alias); 16 Dec 2018 23:03:47 -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 77952 invoked by uid 48); 16 Dec 2018 23:03:42 -0000 From: "anders.granlund.0 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88526] New: gcc accepts ill-formed program with sizeof (int [*]) Date: Sun, 16 Dec 2018 23:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anders.granlund.0 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 Message-ID: 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: 2018-12/txt/msg02200.txt.bz2 Content-length: 889 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88526 Bug ID: 88526 Summary: gcc accepts ill-formed program with sizeof (int [*]) Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: anders.granlund.0 at gmail dot com Target Milestone: --- Consider the following C11 program (prog.c): void f(int a[sizeof(int [*])]); int main() { } Compiling it with gcc prog.c -std=3Dc11 -pedantic-errors gives no errors. The expected behaviour is that it should compile with at l= east one error. This becuase the flag -pedantic-errors was used and because the program is incorrect according to the C11 standard (taking sizeof int [*] should not be possible since it is not a complete type). >>From gcc-bugs-return-626085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 16 23:22:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111640 invoked by alias); 16 Dec 2018 23:22:20 -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 111585 invoked by uid 48); 16 Dec 2018 23:22:15 -0000 From: "nruslan_devel at yahoo dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88524] PLT32 relocation is off by 4 Date: Sun, 16 Dec 2018 23:22: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nruslan_devel at yahoo dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: MOVED 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: 2018-12/txt/msg02201.txt.bz2 Content-length: 962 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88524 --- Comment #5 from Ruslan Nikolaev --- (In reply to Andrew Pinski from comment #4) > Still is a binutils (assembler rather than the linker issue): > .file "t.c" > .text > #APP > a: .long func@plt - 4 > #NO_APP > .globl geta > .type geta, @function > geta: > .LFB0: > .cfi_startproc > pushq %rbp > .cfi_def_cfa_offset 16 > .cfi_offset 6, -16 > movq %rsp, %rbp > .cfi_def_cfa_register 6 > movq a@GOTPCREL(%rip), %rax > movl (%rax), %eax > popq %rbp > .cfi_def_cfa 7, 8 > ret > .cfi_endproc > .LFE0: > .size geta, .-geta > .ident "GCC: (Octeon TX GCC 7 - (Build 116)) 7.3.0" > .section .note.GNU-stack,"",@progbits >=20 >=20 > What GCC outputs does not have the -4 in there. Ok, thanks! >>From gcc-bugs-return-626086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 02:20:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56696 invoked by alias); 17 Dec 2018 02:20: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 56609 invoked by uid 55); 17 Dec 2018 02:20:30 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85314] gcc/fortran/resolve.c:9222: unreachable code ? Date: Mon, 17 Dec 2018 02:20: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 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: 2018-12/txt/msg02202.txt.bz2 Content-length: 451 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85314 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Mon Dec 17 02:19:58 2018 New Revision: 267196 URL: https://gcc.gnu.org/viewcvs?rev=3D267196&root=3Dgcc&view=3Drev Log: 2018-12-16 Steven G. Kargl PR fortran/85314 * resolve.c (resolve_transfer): Remove dead code. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/resolve.c >>From gcc-bugs-return-626087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 02:21:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57762 invoked by alias); 17 Dec 2018 02:21:07 -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 57621 invoked by uid 48); 17 Dec 2018 02:21:02 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85314] gcc/fortran/resolve.c:9222: unreachable code ? Date: Mon, 17 Dec 2018 02:21: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: 2018-12/txt/msg02203.txt.bz2 Content-length: 469 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85314 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|8.3 |9.0 --- Comment #5 from kargl at gcc dot gnu.org --- Fixed. Disappointed. Closing. >>From gcc-bugs-return-626088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 03:20:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99756 invoked by alias); 17 Dec 2018 03:20: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 99643 invoked by uid 48); 17 Dec 2018 03:20:18 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88527] New: ICE: tree check: expected integer_cst, have error_mark in equal, at tree.c:1464; or tree check: expected integer_cst, have identifier_node in equal, at tree.c:1464 Date: Mon, 17 Dec 2018 03:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: 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: 2018-12/txt/msg02204.txt.bz2 Content-length: 10117 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88527 Bug ID: 88527 Summary: ICE: tree check: expected integer_cst, have error_mark in equal, at tree.c:1464; or tree check: expected integer_cst, have identifier_node in equal, at tree.c:1464 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: powerpc-*-linux-gnu 1. gcc-9.0.0-alpha20181209 snapshot (r266934) ICEs when compiling gcc/testsuite/gcc.dg/graphite/id-26.c w/ -O1 -floop-interchange -fopenmp -fno-ssa-phiopt -fno-tree-loop-im -fno-tree-scev-cprop -fno-tree-vrp -g: % powerpc-e300c3-linux-gnu-gcc-9.0.0-alpha20181216 -O1 -floop-interchange -fopenmp -fno-ssa-phiopt -fno-tree-loop-im -fno-tree-scev-cprop -fno-tree-v= rp -g -c gcc/testsuite/gcc.dg/graphite/id-26.c during GIMPLE pass: ivopts=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 gcc/testsuite/gcc.dg/graphite/id-26.c: In function 'find_sad_16x16': gcc/testsuite/gcc.dg/graphite/id-26.c:2:5: internal compiler error: tree ch= eck: expected integer_cst, have error_mark in equal, at tree.c:1464 2 | int find_sad_16x16(int *intra_mode) | ^~~~~~~~~~~~~~ 0x6bb2b9 tree_check_failed(tree_node const*, char const*, int, char const*, ...) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/tree.c:9757 0x6bc34d tree_check(tree_node const*, char const*, int, char const*, tree_c= ode) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/tree.h:3413 0x6bc34d int_cst_hasher::equal(tree_node*, tree_node*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/tree.c:1464 0xff03ac hash_table::find_slot_with_hash(tree_node* const&, unsigned int, insert_option) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/hash-table.h:896 0xfdc6a1 hash_table::find_slot(tree_node* cons= t&, insert_option) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/hash-table.h:414 0xfdc6a1 wide_int_to_tree_1 =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/tree.c:1596 0xfde8da force_fit_type(tree_node*, poly_int<1u, generic_wide_int > > const&, int, bool) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/tree.c:1433 0xa07d26 fold_convert_const_int_from_int =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/fold-const.c:1999 0xa07d26 fold_convert_const =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/fold-const.c:2277 0xa1817b fold_convert_loc(unsigned int, tree_node*, tree_node*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/fold-const.c:2414 0xa2533e extract_muldiv_1 =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/fold-const.c:6300 0xa26570 extract_muldiv =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/fold-const.c:6215 0xa100d9 fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/fold-const.c:10072 0xa1466a fold_build2_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/fold-const.c:12343 0x9ccd3e get_inner_reference(tree_node*, poly_int_pod<1u, long>*, poly_int_pod<1u, long>*, tree_node**, machine_mode*, int*, int*, int*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/expr.c:7249 0x8886b8 get_object_alignment_2 =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/builtins.c:254 0x888c5b get_object_alignment(tree_node*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/builtins.c:404 0xe76a4b rewrite_use_address =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/tree-ssa-loop-ivopts.c:7140 0xe76a4b rewrite_groups =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/tree-ssa-loop-ivopts.c:7237 0xe76a4b tree_ssa_iv_optimize_loop =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/tree-ssa-loop-ivopts.c:7596 2. Replacing -O1 w/ -Os yields the following: % powerpc-e300c3-linux-gnu-gcc-9.0.0-alpha20181216 -Os -floop-interchange -fopenmp -fno-ssa-phiopt -fno-tree-loop-im -fno-tree-scev-cprop -fno-tree-v= rp -g -c gcc/testsuite/gcc.dg/graphite/id-26.c during GIMPLE pass: ivopts gcc/testsuite/gcc.dg/graphite/id-26.c: In function 'find_sad_16x16': gcc/testsuite/gcc.dg/graphite/id-26.c:2:5: internal compiler error: tree ch= eck: expected integer_cst, have identifier_node in equal, at tree.c:1464 2 | int find_sad_16x16(int *intra_mode) | ^~~~~~~~~~~~~~ 0x6bb2b9 tree_check_failed(tree_node const*, char const*, int, char const*, ...) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/tree.c:9757 0x6bc34d tree_check(tree_node const*, char const*, int, char const*, tree_c= ode) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/tree.h:3413 0x6bc34d int_cst_hasher::equal(tree_node*, tree_node*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/tree.c:1464 0xff03ac hash_table::find_slot_with_hash(tree_node* const&, unsigned int, insert_option) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/hash-table.h:896 0xfdc6a1 hash_table::find_slot(tree_node* cons= t&, insert_option) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/hash-table.h:414 0xfdc6a1 wide_int_to_tree_1 =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/tree.c:1596 0xfde8da force_fit_type(tree_node*, poly_int<1u, generic_wide_int > > const&, int, bool) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/tree.c:1433 0xa07d26 fold_convert_const_int_from_int =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/fold-const.c:1999 0xa07d26 fold_convert_const =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/fold-const.c:2277 0xa1817b fold_convert_loc(unsigned int, tree_node*, tree_node*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/fold-const.c:2414 0xa2533e extract_muldiv_1 =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/fold-const.c:6300 0xa26570 extract_muldiv =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/fold-const.c:6215 0xa100d9 fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/fold-const.c:10072 0xa1466a fold_build2_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/fold-const.c:12343 0x9ccd3e get_inner_reference(tree_node*, poly_int_pod<1u, long>*, poly_int_pod<1u, long>*, tree_node**, machine_mode*, int*, int*, int*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/expr.c:7249 0x8886b8 get_object_alignment_2 =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/builtins.c:254 0x888c5b get_object_alignment(tree_node*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/builtins.c:404 0xe76a4b rewrite_use_address =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/tree-ssa-loop-ivopts.c:7140 0xe76a4b rewrite_groups =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/tree-ssa-loop-ivopts.c:7237 0xe76a4b tree_ssa_iv_optimize_loop =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20181216/wor= k/gcc-9-20181216/gcc/tree-ssa-loop-ivopts.c:7596 >>From gcc-bugs-return-626089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 03:46:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5554 invoked by alias); 17 Dec 2018 03:46: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 4929 invoked by uid 48); 17 Dec 2018 03:46:09 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og Date: Mon, 17 Dec 2018 03:46: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: 6.1.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager 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: 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: 2018-12/txt/msg02205.txt.bz2 Content-length: 391 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78394 --- Comment #8 from Eric Gallager --- (In reply to Jeffrey A. Law from comment #7) > -O0 has none of the analysis necessary and I believe you get no warnings = at > all. >=20 > A minimum of -Og is needed, but -Og is inherently going to give many false > positives. So is it worth trying to fix this then? >>From gcc-bugs-return-626090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 03:55:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14927 invoked by alias); 17 Dec 2018 03:55:22 -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 14866 invoked by uid 48); 17 Dec 2018 03:55:17 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84897] Better handling of unqualified "string" Date: Mon, 17 Dec 2018 03:55: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: 8.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also 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: 2018-12/txt/msg02206.txt.bz2 Content-length: 550 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84897 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D88501 --- Comment #6 from Eric Gallager --- semi-related: bug 88501 (ok not really THAT related, but it still made me think of it) >>From gcc-bugs-return-626091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 04:02:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31143 invoked by alias); 17 Dec 2018 04:02: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 31020 invoked by uid 48); 17 Dec 2018 04:02:28 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/86315] Bugzilla: add "cc count" and "duplicate count" columns Date: Mon, 17 Dec 2018 04:02: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: LpSolit at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc see_also 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: 2018-12/txt/msg02207.txt.bz2 Content-length: 768 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86315 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gerald at pfeifer dot com See Also| |https://bugzilla.mozilla.or | |g/show_bug.cgi?id=3D62718 --- Comment #6 from Eric Gallager --- (In reply to Martin Li=C5=A1ka from comment #5) > Is there please any update? Is there someone else who could do this besides LpSolit? Gerald maybe? He t= akes care of most other web stuff, and Bugzilla is part of the website... >>From gcc-bugs-return-626092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 05:43:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125433 invoked by alias); 17 Dec 2018 05:43:12 -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 125364 invoked by uid 48); 17 Dec 2018 05:43:07 -0000 From: "proski at gnu dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88528] New: Regression in gcc 7.4 Date: Mon, 17 Dec 2018 05:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: proski at gnu dot 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: 2018-12/txt/msg02208.txt.bz2 Content-length: 3392 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88528 Bug ID: 88528 Summary: Regression in gcc 7.4 Product: gcc Version: 7.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: proski at gnu dot org Target Milestone: --- gcc 7.4.0 fails to compile some code that could be compiled with earlier version of gcc 7.x. I don't see that issue with gcc 4.9.4, 5.5.0, 6.5.0 and 8.1.0. The issue still exists with the current gcc-7-branch (git revision c51441f7f92fe9f4a0a452c1f8d283751ad463c5, timestamp 20181217). The code: template struct A { const bool is_valid; operator bool() const { return is_valid; } }; template bool check_a() { const A<0> a {}; const bool a_valid {a}; return a_valid; } The output with the current gcc from the gcc-7-branch: $ /opt/gcc/bin/gcc -std=3Dc++14 -c test.cpp=20 test.cpp: In function =E2=80=98bool check_a()=E2=80=99: test.cpp:15:24: internal compiler error: unexpected expression =E2=80=98(bo= ol)a=E2=80=99 of kind implicit_conv_expr const bool a_valid {a}; ^ 0x6e2a5d cxx_eval_constant_expression /home/roskinp/src/gcc/gcc/cp/constexpr.c:4697 0x6e4454 cxx_eval_outermost_constant_expr /home/roskinp/src/gcc/gcc/cp/constexpr.c:4755 0x6e6391 maybe_constant_init(tree_node*, tree_node*) /home/roskinp/src/gcc/gcc/cp/constexpr.c:5082 0x603c2f store_init_value(tree_node*, tree_node*, vec**, int) /home/roskinp/src/gcc/gcc/cp/typeck2.c:832 0x5c105d check_initializer /home/roskinp/src/gcc/gcc/cp/decl.c:6377 0x5c5691 cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int) /home/roskinp/src/gcc/gcc/cp/decl.c:6953 0x654d7f cp_parser_init_declarator /home/roskinp/src/gcc/gcc/cp/parser.c:19468 0x6555cd cp_parser_simple_declaration /home/roskinp/src/gcc/gcc/cp/parser.c:12844 0x656295 cp_parser_block_declaration /home/roskinp/src/gcc/gcc/cp/parser.c:12669 0x656bb9 cp_parser_declaration_statement /home/roskinp/src/gcc/gcc/cp/parser.c:12279 0x638247 cp_parser_statement /home/roskinp/src/gcc/gcc/cp/parser.c:10754 0x63900d cp_parser_statement_seq_opt /home/roskinp/src/gcc/gcc/cp/parser.c:11098 0x6390b7 cp_parser_compound_statement /home/roskinp/src/gcc/gcc/cp/parser.c:11052 0x649f00 cp_parser_function_body /home/roskinp/src/gcc/gcc/cp/parser.c:21521 0x649f00 cp_parser_ctor_initializer_opt_and_function_body /home/roskinp/src/gcc/gcc/cp/parser.c:21559 0x6508f0 cp_parser_function_definition_after_declarator /home/roskinp/src/gcc/gcc/cp/parser.c:26353 0x6551dd cp_parser_function_definition_from_specifiers_and_declarator /home/roskinp/src/gcc/gcc/cp/parser.c:26265 0x6551dd cp_parser_init_declarator /home/roskinp/src/gcc/gcc/cp/parser.c:19247 0x63430a cp_parser_single_declaration /home/roskinp/src/gcc/gcc/cp/parser.c:26811 0x6501ec cp_parser_template_declaration_after_parameters /home/roskinp/src/gcc/gcc/cp/parser.c:26415 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-626093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 07:01:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112556 invoked by alias); 17 Dec 2018 07:01:19 -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 111950 invoked by uid 48); 17 Dec 2018 07:00:49 -0000 From: "proski at gnu dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88528] ICE with templated operator bool() in gcc 7 Date: Mon, 17 Dec 2018 07:01: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: 7.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: proski at gnu dot 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: short_desc 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: 2018-12/txt/msg02209.txt.bz2 Content-length: 585 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88528 Pavel Roskin changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Regression in gcc 7.4 |ICE with templated operator | |bool() in gcc 7 --- Comment #1 from Pavel Roskin --- I turns out I was wrong about the previous version of gcc. I've just tested= gcc 7.1, 7.2 and 7.3 compiled from the source. They all are affected. >>From gcc-bugs-return-626094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 07:31:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53707 invoked by alias); 17 Dec 2018 07:31:27 -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 53608 invoked by uid 48); 17 Dec 2018 07:31:21 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88521] gcc 9.0 from r266355 miscompile x265 for mingw-w64 target Date: Mon, 17 Dec 2018 07:31: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak 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: 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: 2018-12/txt/msg02210.txt.bz2 Content-length: 417 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88521 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lokeshjanghel91 at gmail d= ot com --- Comment #1 from Uro=C5=A1 Bizjak --- CC author of the patch. >>From gcc-bugs-return-626095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 08:04:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25354 invoked by alias); 17 Dec 2018 08:04:03 -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 25219 invoked by uid 55); 17 Dec 2018 08:03:58 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88487] union prevents autovectorization Date: Mon, 17 Dec 2018 08:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: 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: 2018-12/txt/msg02211.txt.bz2 Content-length: 605 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88487 --- Comment #5 from rguenther at suse dot de --- On Fri, 14 Dec 2018, bugzilla@poradnik-webmastera.com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88487 >=20 > --- Comment #4 from Daniel Fruzynski -= -- > OK, I see. Is there any workaround for this? Only not using a union ... > I tried to assign pointer to local > variable directly and with intermediate casting via void*, but it did not= help. > Casting S1* to S2* also does not work. Yes, that doesn't work by design. >>From gcc-bugs-return-626096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 08:06:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43458 invoked by alias); 17 Dec 2018 08:06: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 37903 invoked by uid 55); 17 Dec 2018 08:06:21 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88490] Missed autovectorization when indices are different Date: Mon, 17 Dec 2018 08:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de 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: 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: 2018-12/txt/msg02212.txt.bz2 Content-length: 1242 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88490 --- Comment #6 from rguenther at suse dot de --- On Fri, 14 Dec 2018, joseph at codesourcery dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88490 >=20 > --- Comment #5 from joseph at codesourcery dot com --- > On Fri, 14 Dec 2018, rguenther at suse dot de wrote: >=20 > > Note I do not think the C standard is sufficiently clear with regarding= =20 > > to restrict qualified pointers loaded from memory. >=20 > I think this is where "Every access that modifies X shall be considered=20 > also to modify P, for the purposes of this subclause." comes in. (See=20 > what I said at .)= =20=20 > Modifying s->d[n][0] is considered to modify s->d[n], and so considered t= o=20 > modify s->d, and so considered to modify s. (It's still perfectly valid= =20 > to have n =3D=3D k; what's not valid is aliasing between objects accessed= via=20 > s->d[0] and s->d[1], for example.) OK, thanks for clarifying. I think we are fine implementation-wise and I have a hard time thinking of a way to improve here given we have to compute sth conservatively correct. >>From gcc-bugs-return-626097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 08:16:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83861 invoked by alias); 17 Dec 2018 08:16:12 -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 83532 invoked by uid 48); 17 Dec 2018 08:15:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88497] Improve Accumulation in Auto-Vectorized Code Date: Mon, 17 Dec 2018 08:16: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: 9.0 X-Bugzilla-Keywords: 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: cf_gcctarget component 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: 2018-12/txt/msg02213.txt.bz2 Content-length: 852 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88497 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |powerpc* Component|middle-end |target --- Comment #5 from Richard Biener --- I think it is reassoc doing it "wrong" based on the targets reassoc-width? Because the vectorizer generates exactly the code you are proposing. Though you didn't even provide a fully compilable testcase. I guessed N to be 16 here and your ideal examples use 'accumulator' which I assume to be 0= .0. Your x86 code-gen examples are also from GCC 8 I assume (plus some -march/t= une flag you didn't expose given it uses haddpd) >>From gcc-bugs-return-626098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 08:35:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22958 invoked by alias); 17 Dec 2018 08:35:52 -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 22853 invoked by uid 48); 17 Dec 2018 08:35:47 -0000 From: "linux at carewolf dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og Date: Mon, 17 Dec 2018 08:35: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: 6.1.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: linux at carewolf dot com 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: 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: 2018-12/txt/msg02214.txt.bz2 Content-length: 417 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78394 --- Comment #9 from Allan Jensen --- I see two other level effort ways to possibly fix the issue. Disable the warning like for -O0 as it is buggy, or if we believe it still has some val= ue in -Og even with the false positivies, just removing it from -Wall or -Wext= ra, so it at least doesn't get enabled unless explicitly asked for. >>From gcc-bugs-return-626099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 08:53:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20352 invoked by alias); 17 Dec 2018 08:53:06 -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 20281 invoked by uid 48); 17 Dec 2018 08:53:01 -0000 From: "rohan at rohanlean dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88529] New: G++ clears the return register on x86_64 when returning an empty class Date: Mon, 17 Dec 2018 08:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rohan at rohanlean dot de 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 cf_gcctarget Message-ID: 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: 2018-12/txt/msg02215.txt.bz2 Content-length: 682 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88529 Bug ID: 88529 Summary: G++ clears the return register on x86_64 when returning an empty class Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rohan at rohanlean dot de Target Milestone: --- Target: x86_64 The following code causes G++ to emit an "xorl %eax, %eax" on x86_64. I bel= ieve the Itanium ABI does not require it, so this is a missed optimisation. class A{}; A f() { return {}; } >>From gcc-bugs-return-626100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 09:10:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88077 invoked by alias); 17 Dec 2018 09:10:19 -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 83275 invoked by uid 48); 17 Dec 2018 09:10:10 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og Date: Mon, 17 Dec 2018 09:10: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: 6.1.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse 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: 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: 2018-12/txt/msg02216.txt.bz2 Content-length: 583 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78394 --- Comment #10 from Marc Glisse --- IMO -Wmaybe-uninitialized should not be enabled by -Wall, whatever the optimization level (even at -O3), it has too many false positives that are = all but impossible to work around (thus violating the definition of -Wall), -We= xtra is good enough for it. We could keep -Wuninitialized though (it requires changing the dependency between these 2 warnings). It is possible that even -Wextra should require at least -O1 (considering -= Og as -O0.5) to enable it... >>From gcc-bugs-return-626101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 09:14:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42869 invoked by alias); 17 Dec 2018 09:14:48 -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 26131 invoked by uid 48); 17 Dec 2018 09:14:41 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88517] Virtual-base class class constructor with for-loop with initializer list referencing local variable not executed Date: Mon, 17 Dec 2018 09:14: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: 9.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: 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 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: 2018-12/txt/msg02217.txt.bz2 Content-length: 1434 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88517 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-17 Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- Confirmed. What happens is that const int * __for_begin; <::begin ((struct initializer_list *) __for_range)) >>>>>; const int * __for_end; <::end ((struct initialize= r_list *) __for_range)) >>>>>; while (1) { if (__for_begin =3D=3D __for_end) goto ; ^^^^ this is true initially int i =3D (int) *__for_begin; <::operator<< ((struct basic_ostream *) std::basic_ostream::operator<< (&cout, i), endl) >>>>>; <>; } but somehow not when cut&pasting that directly into main(). >>From gcc-bugs-return-626103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 09:16:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97439 invoked by alias); 17 Dec 2018 09:16:56 -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 97371 invoked by uid 48); 17 Dec 2018 09:16:52 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88519] [9 Regression] internal compiler error: in expand_widen_pattern_expr, at optabs.c:278 Date: Mon, 17 Dec 2018 09:16: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: 9.0 X-Bugzilla-Keywords: 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget component target_milestone short_desc 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: 2018-12/txt/msg02219.txt.bz2 Content-length: 712 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88519 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-*-*, i?86-*-* Component|rtl-optimization |tree-optimization Target Milestone|--- |9.0 Summary|internal compiler error: in |[9 Regression] internal |expand_widen_pattern_expr, |compiler error: in |at optabs.c:278 |expand_widen_pattern_expr, | |at optabs.c:278 >>From gcc-bugs-return-626102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 09:16:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96566 invoked by alias); 17 Dec 2018 09:16:29 -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 95520 invoked by uid 48); 17 Dec 2018 09:16:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88518] Function call defeats -Wuninitialized Date: Mon, 17 Dec 2018 09:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement 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: bug_severity 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: 2018-12/txt/msg02218.txt.bz2 Content-length: 383 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88518 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #3 from Richard Biener --- Not so easy. >>From gcc-bugs-return-626104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 09:20:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120049 invoked by alias); 17 Dec 2018 09:20:22 -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 114824 invoked by uid 48); 17 Dec 2018 09:20:18 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88521] gcc 9.0 from r266355 miscompile x265 for mingw-w64 target Date: Mon, 17 Dec 2018 09:20: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: 9.0 X-Bugzilla-Keywords: 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: 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: 2018-12/txt/msg02220.txt.bz2 Content-length: 220 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88521 --- Comment #2 from Richard Biener --- Since the patch changes the ABI can it be you have library dependences with= the old ABI around? >>From gcc-bugs-return-626105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 09:23:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37068 invoked by alias); 17 Dec 2018 09:23:53 -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 37026 invoked by uid 48); 17 Dec 2018 09:23:48 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88528] [7 Regression] ICE with templated operator bool() in gcc 7 Date: Mon, 17 Dec 2018 09:23: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: 7.4.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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_known_to_work keywords cf_reconfirmed_on everconfirmed short_desc target_milestone 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: 2018-12/txt/msg02221.txt.bz2 Content-length: 986 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88528 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Status|UNCONFIRMED |NEW Known to work| |6.5.0, 8.1.0 Keywords| |ice-on-valid-code Last reconfirmed| |2018-12-17 Ever confirmed|0 |1 Summary|ICE with templated operator |[7 Regression] ICE with |bool() in gcc 7 |templated operator bool() | |in gcc 7 Target Milestone|--- |7.5 Known to fail| |7.1.0, 7.4.0 --- Comment #2 from Richard Biener --- Confirmed. >>From gcc-bugs-return-626106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 09:52:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82868 invoked by alias); 17 Dec 2018 09:52:48 -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 82787 invoked by uid 48); 17 Dec 2018 09:52:44 -0000 From: "moritz.kreutzer at siemens dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store" Date: Mon, 17 Dec 2018 09:52: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: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: moritz.kreutzer at siemens dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub 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: 2018-12/txt/msg02222.txt.bz2 Content-length: 185 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88464 --- Comment #16 from Moritz Kreutzer -= -- I can confirm the fix from my side. Thanks again! >>From gcc-bugs-return-626107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 09:57:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88215 invoked by alias); 17 Dec 2018 09:57:56 -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 78013 invoked by uid 48); 17 Dec 2018 09:57:51 -0000 From: "jg at jguk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88175] Showing header file instead of source code line for uninitialized variable Date: Mon, 17 Dec 2018 09:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jg at jguk dot 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: 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: 2018-12/txt/msg02223.txt.bz2 Content-length: 710 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88175 --- Comment #14 from Jonny Grant --- Wondering, if there is an implicitly created copy-constructor, can the warn= ing clarify that? Perhaps there is some attribute or flag set so later code can know it was implicitly created? eg output could be: $ g++ -O2 -Werror=3Duninitialized -o header header.cpp header.cpp: In function =E2=80=98void test(info_t)=E2=80=99: header.cpp:10:10: error: =E2=80=98copy.info::registered=E2=80=99 is used un= initialized in implicitly created copy-constructor function for struct info::info() [-Werror=3Duninitialized] temp =3D copy; ~~~~~^~~~~~ cc1plus: some warnings being treated as errors >>From gcc-bugs-return-626108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 10:01:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124515 invoked by alias); 17 Dec 2018 10:01: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 118962 invoked by uid 48); 17 Dec 2018 10:01:53 -0000 From: "harald at gigawatt dot nl" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/81665] Please introduce flags attribute for enums which will mimic one from C# Date: Mon, 17 Dec 2018 10:01: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.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: harald at gigawatt dot nl 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: 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: 2018-12/txt/msg02224.txt.bz2 Content-length: 1751 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81665 Harald van Dijk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |harald at gigawatt dot nl --- Comment #5 from Harald van Dijk --- > It should work in similar way as a [Flags] attribute in C#. Bitwise operations are allowed on enum types in C# and produce values of th= at type regardless of attributes. The [Flags] attribute's effect is pretty much limited to changing how converting enum values to strings behaves. This is = not at all what you're asking __attribute__((flags)) to do. I suggest editing t= he title to not recommend mimicking C#'s attribute. One thing that I would like to ask to consider is the debugging experience. Please make sure that no function body is ever emitted (which implies that = just like with standard built-in operators, it's not possible to take the operat= or's address). For a custom overloaded operator, it will be, and it's even possi= ble to break on it or step through it when debugging, but this probably isn't useful here. Please also make sure that enough information is available to = the debugger so treat the type the same way as the compiler: in gdb, given the = code enum E { a =3D 1, b =3D 2, c =3D 4 }; p b|c will produce $n =3D 6, whereas p (E)(b|c) will produce $n =3D (b | c)= . If the flags attribute is added, p b|c should probably also produce $n =3D (b | c)= . This is something you cannot and perhaps should not get with custom overloaded operators (you can write p operator|(b,c) instead), but should be safe and reasonable here. >>From gcc-bugs-return-626109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 10:51:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85150 invoked by alias); 17 Dec 2018 10:51: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 85016 invoked by uid 55); 17 Dec 2018 10:51:28 -0000 From: "saaadhu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88253] Inlining of function incorrectly deletes volatile register access when using XOR in avr-gcc Date: Mon, 17 Dec 2018 10:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 5.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: saaadhu at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher 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: 2018-12/txt/msg02225.txt.bz2 Content-length: 695 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88253 --- Comment #5 from Senthil Kumar Selvaraj --- Author: saaadhu Date: Mon Dec 17 10:50:54 2018 New Revision: 267198 URL: https://gcc.gnu.org/viewcvs?rev=3D267198&root=3Dgcc&view=3Drev Log: Fix PR 88253 gcc/ChangeLog: PR rtl-optimization/88253 * combine.c (combine_simplify_rtx): Test for side-effects before substituting by zero. gcc/testsuite/ChangeLog: PR rtl-optimization/88253 * gcc.target/avr/pr88253.c: New test. Added: trunk/gcc/testsuite/gcc.target/avr/pr88253.c Modified: trunk/gcc/ChangeLog trunk/gcc/combine.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-626110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 11:43:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9269 invoked by alias); 17 Dec 2018 11:43:43 -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 9215 invoked by uid 48); 17 Dec 2018 11:43:38 -0000 From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88530] New: [8/9 Regression] AArch64 Unsupported options passed to assemblers when it doesn't need to. Date: Mon, 17 Dec 2018 11:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: 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: 2018-12/txt/msg02226.txt.bz2 Content-length: 1057 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88530 Bug ID: 88530 Summary: [8/9 Regression] AArch64 Unsupported options passed to assemblers when it doesn't need to. Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: tnfchris at gcc dot gnu.org Target Milestone: --- Target: aarch64*-*-* With GCC 8 we retro-actively split some command-line options and took care = to not pass them along to assemblers if the user didn't specify them. Unfortunately -mtune=3Dnativeand -mcpu=3Dnative will enable all feature bits supported. We then pass these on to the assembler even though we don't nee= d to since the old option which is a grouping of the new options can be used instead. This breaks the compiler's support for older assemblers when `native` is us= ed, requiring a relatively new binutils even for older compilers. >>From gcc-bugs-return-626111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 11:46:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39467 invoked by alias); 17 Dec 2018 11:46:44 -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 39375 invoked by uid 48); 17 Dec 2018 11:46:38 -0000 From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88530] [8/9 Regression] AArch64 Unsupported options passed to assemblers when it doesn't need to. Date: Mon, 17 Dec 2018 11:46: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tnfchris at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to 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: 2018-12/txt/msg02227.txt.bz2 Content-length: 497 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88530 Tamar Christina changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-12-17 Assignee|unassigned at gcc dot gnu.org |tnfchris at gcc dot= gnu.org Ever confirmed|0 |1 >>From gcc-bugs-return-626112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 12:06:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93267 invoked by alias); 17 Dec 2018 12:06:15 -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 93194 invoked by uid 48); 17 Dec 2018 12:06:11 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88501] Improve suggested alternative to be closer to typo Date: Mon, 17 Dec 2018 12:06: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: 8.2.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm 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: 2018-12/txt/msg02228.txt.bz2 Content-length: 584 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88501 --- Comment #4 from Jonathan Wakely --- (In reply to Jonny Grant from comment #3) > I wonder, for typos if a simple byte compare would be enough? Vary each c= har > by 1 letter, or length. This starts to get complicated I know.. The matching code is already significantly smarter than that. The problem is that "string" is not in the set of candidates being matched against, so a simple byte compare isn't going to help find it any better than the current code. > "st!ing" ! is a single byte in UTF-8 >>From gcc-bugs-return-626114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 12:08:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102532 invoked by alias); 17 Dec 2018 12:08:43 -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 101797 invoked by uid 48); 17 Dec 2018 12:08:37 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88504] Inconsistent error message notes when using forward-declared type as value Date: Mon, 17 Dec 2018 12:08: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: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: bug_status cf_reconfirmed_on 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: 2018-12/txt/msg02230.txt.bz2 Content-length: 402 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88504 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-17 Ever confirmed|0 |1 >>From gcc-bugs-return-626113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 12:08:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99061 invoked by alias); 17 Dec 2018 12:08: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 98950 invoked by uid 55); 17 Dec 2018 12:07:59 -0000 From: "saaadhu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/88253] Inlining of function incorrectly deletes volatile register access when using XOR in avr-gcc Date: Mon, 17 Dec 2018 12:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 5.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: saaadhu at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher 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: 2018-12/txt/msg02229.txt.bz2 Content-length: 1079 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88253 --- Comment #6 from Senthil Kumar Selvaraj --- Author: saaadhu Date: Mon Dec 17 12:07:26 2018 New Revision: 267199 URL: https://gcc.gnu.org/viewcvs?rev=3D267199&root=3Dgcc&view=3Drev Log: 2018-12-17 Senthil Kumar Selvaraj Backport from trunk 2018-12-17 Senthil Kumar Selvaraj=20 PR rtl-optimization/88253 * combine.c (combine_simplify_rtx): Test for side-effects before substituting by zero. 2018-12-17 Senthil Kumar Selvaraj Backport from trunk 2018-12-17 Senthil Kumar Selvaraj=20 PR rtl-optimization/88253 * gcc.target/avr/pr88253.c: New test. Added: branches/gcc-8-branch/gcc/testsuite/gcc.target/avr/pr88253.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/combine.c branches/gcc-8-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-626115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 12:09:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105128 invoked by alias); 17 Dec 2018 12:09:12 -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 105084 invoked by uid 48); 17 Dec 2018 12:09:08 -0000 From: "florian.schornbaum at siemens dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88531] New: Index data types when targeting AVX-512 vectorization with gather/scatter Date: Mon, 17 Dec 2018 12:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: florian.schornbaum at siemens 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 Message-ID: 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: 2018-12/txt/msg02231.txt.bz2 Content-length: 2605 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88531 Bug ID: 88531 Summary: Index data types when targeting AVX-512 vectorization with gather/scatter Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: florian.schornbaum at siemens dot com Target Milestone: --- Hi, I realized that GCC fails to vectorize simple loops if there are indirect l= oads (or stores) and the index used for the indirect access doesn't match a very small subset of possible integer data types. I'm targeting AVX-512. This is= the MWE (only an indirect load, but a direct store): =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 #include using loop_t =3D uint32_t; using idx_t =3D uint32_t; void loop(double * const __restrict__ dst, double const * const __restrict__ src, idx_t const * const __restrict__ idx, loop_t const begin, loop_t const end) { for (loop_t i =3D begin; i < end; ++i) { dst[i] =3D 42.0 * src[idx[i]]; } } =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 See: https://godbolt.org/z/Ps-sOv This only vectorizes if idx_t is int32_t, int64_t, or uint64_t. My suspicion is this goes back to the gather/scatter instructions of AVX-512 that come in two flavors: with 32 and 64 bit signed integers for the indice= s. Unsigned 64 bit probably works (on a 64 bit architecture) because it looks = like it's just treated as a signed 64 bit value, which probably is due to (from = the documentation): "... The scaled index may require more bits to represent than the address b= its used by the processor (e.g., in 32-bit mode, if the scale is greater than o= ne). In this case, the most significant bits beyond the number of address bits a= re ignored. ..." Unfortunately, for int16_t, uint16_t, and uint32_t, this does not vectorize. Although the 32 bit version of gather/scatter could be used -- with proper = zero padding -- for int16_t and uint16_t. Likewise, the 64 bit version could be = used with indices of type uint32_t. Although the code example only uses idx[i] for loading, it appears to be the exact same issue when using idx[i] for storing (meaning: when scatter would= be required). Are there any plans to get this working? Or did I maybe miss something and this should already work? Many thanks in advance Florian >>From gcc-bugs-return-626116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 12:23:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20694 invoked by alias); 17 Dec 2018 12:23:44 -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 20598 invoked by uid 48); 17 Dec 2018 12:23:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88531] Index data types when targeting AVX-512 vectorization with gather/scatter Date: Mon, 17 Dec 2018 12:23: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: 8.2.0 X-Bugzilla-Keywords: 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: cf_gcctarget bug_status cf_reconfirmed_on cc component 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: 2018-12/txt/msg02232.txt.bz2 Content-length: 812 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88531 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-*-*, i?86-*-* Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-17 CC| |jakub at gcc dot gnu.org Component|c++ |tree-optimization Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- There were recent updates to scatter/gather support for AVX512 and GCC 9. = I'm not sure that generic widening is done though. >>From gcc-bugs-return-626117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 12:24:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22294 invoked by alias); 17 Dec 2018 12:24:43 -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 22054 invoked by uid 48); 17 Dec 2018 12:24:33 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88530] [8/9 Regression] AArch64 Unsupported options passed to assemblers when it doesn't need to. Date: Mon, 17 Dec 2018 12:24: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: 8.0 X-Bugzilla-Keywords: assemble-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tnfchris at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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: 2018-12/txt/msg02233.txt.bz2 Content-length: 431 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88530 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |assemble-failure CC| |ktkachov at gcc dot gnu.org --- Comment #1 from ktkachov at gcc dot gnu.org --- Confirmed. >>From gcc-bugs-return-626118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 12:32:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35098 invoked by alias); 17 Dec 2018 12:32:30 -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 35020 invoked by uid 48); 17 Dec 2018 12:32:26 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88531] Index data types when targeting AVX-512 vectorization with gather/scatter Date: Mon, 17 Dec 2018 12:32: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: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 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: 2018-12/txt/msg02234.txt.bz2 Content-length: 703 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88531 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl.tools at gmail dot com --- Comment #2 from Jakub Jelinek --- I think I haven't changed anything on this. AVX2 and AVX512{F,VL} gathers = and scatters only do signed widening themselves. Thus, if the index is uint32_t and -m64, the only hope would be to perform vectorization conversion of it = to uint64_t/int64_t vector first and then use gathers or scatters with V*DImode indexes. >>From gcc-bugs-return-626119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 12:41:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58593 invoked by alias); 17 Dec 2018 12: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 58437 invoked by uid 48); 17 Dec 2018 12:41:50 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/78986] [7/8/9 Regression] template inner classes are not affected by access specifiers Date: Mon, 17 Dec 2018 12:41: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: 7.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2018-12/txt/msg02235.txt.bz2 Content-length: 516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78986 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #3 from Jonathan Wakely --- Fixed by the patch for PR 86823 *** This bug has been marked as a duplicate of bug 86823 *** >>From gcc-bugs-return-626120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 12:41:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58789 invoked by alias); 17 Dec 2018 12:41:56 -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 58483 invoked by uid 48); 17 Dec 2018 12:41:52 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/86823] [7/8 Regression] private member template struct/class is publicly accessible Date: Mon, 17 Dec 2018 12:41: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: 8.2.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2018-12/txt/msg02236.txt.bz2 Content-length: 449 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86823 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michele.caini at gmail dot= com --- Comment #8 from Jonathan Wakely --- *** Bug 78986 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-626121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 12:41:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58910 invoked by alias); 17 Dec 2018 12:41: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 58526 invoked by uid 48); 17 Dec 2018 12:41:53 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/59002] [meta-bug] Access checking in templates Date: Mon, 17 Dec 2018 12:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: bug_status 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: 2018-12/txt/msg02237.txt.bz2 Content-length: 511 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59002 Bug 59002 depends on bug 78986, which changed state. Bug 78986 Summary: [7/8/9 Regression] template inner classes are not affect= ed by access specifiers https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78986 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE >>From gcc-bugs-return-626122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 12:46:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71673 invoked by alias); 17 Dec 2018 12:46:14 -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 71122 invoked by uid 48); 17 Dec 2018 12:45:45 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88507] utf8 not displayed Date: Mon, 17 Dec 2018 12:46: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: 8.2.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: 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: 2018-12/txt/msg02238.txt.bz2 Content-length: 637 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88507 --- Comment #1 from Jonathan Wakely --- (In reply to Jonny Grant from comment #0) > Hello >=20 > This is an typo in the word "string", just reporting as perhaps it could > show =C2=A3 correctly, as it does on line 10 error. But then you couldn't have two separate caret locations pointing to the two invalid bytes, because it would only occupy a single column. You also assume the terminal is capable of showing UTF-8 characters. > Perhaps could also show the > stray bytes in hex as well? ie "0xF3C2" I don't see why that would that be an improvement. >>From gcc-bugs-return-626123-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 12:52:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93603 invoked by alias); 17 Dec 2018 12:52:52 -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 93454 invoked by uid 48); 17 Dec 2018 12:52:48 -0000 From: "umesh.kalappa0 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88521] gcc 9.0 from r266355 miscompile x265 for mingw-w64 target Date: Mon, 17 Dec 2018 12:52: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: umesh.kalappa0 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: 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: 2018-12/txt/msg02239.txt.bz2 Content-length: 482 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88521 Umesh Kalappa changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |umesh.kalappa0 at gmail do= t com --- Comment #3 from Umesh Kalappa --- mateuszb, Please can you provide us the sample file to investigate more on this . >>From gcc-bugs-return-626124-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 12:53:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97703 invoked by alias); 17 Dec 2018 12:53:32 -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 94990 invoked by uid 48); 17 Dec 2018 12:53:27 -0000 From: "umesh.kalappa0 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88521] gcc 9.0 from r266355 miscompile x265 for mingw-w64 target Date: Mon, 17 Dec 2018 12:53: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: umesh.kalappa0 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: 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: 2018-12/txt/msg02240.txt.bz2 Content-length: 208 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88521 --- Comment #4 from Umesh Kalappa --- mateuszb, Please can you provide us the sample file to investigate more on this . >>From gcc-bugs-return-626125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 12:58:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24534 invoked by alias); 17 Dec 2018 12:58:30 -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 24373 invoked by uid 48); 17 Dec 2018 12:58:21 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88512] Too much STL in error output Date: Mon, 17 Dec 2018 12:58: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: 8.2.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: 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: 2018-12/txt/msg02241.txt.bz2 Content-length: 1711 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88512 --- Comment #6 from Jonathan Wakely --- (In reply to Jonny Grant from comment #3) > Hi Marc >=20 > I agree to useful to have the option to keep on for regular code. > Perhaps a way just to turn off all expansive output for STL's std namespa= ce? But what about cases where you call a std::lib function template that accep= ts any arguments, which forwards them to some other std::lib function that giv= es an error because the args are invalid. If you remove all the context that's= in the std::lib then you remove the relevant context. > The easiest would be to remove cxx11 namespace from the messages > "std::__cxx11::basic_string" etc, so at least that doesn't shwo. >=20 >=20 > Updated output I had executed from STL with clear candidate suggestions: >=20 > $ g++ -Wall -o stl_string stl_string.cpp > stl_string.cpp: In function =E2=80=98int main()=E2=80=99: > stl_string.cpp:7:27: error: no matching function for call to > =E2=80=98std::string::erase(std::size_t&, std::string::iterator)=E2=80=99 > str.erase(s, str.end()); > ^ > candidates are: > std::string& std::string::erase(size_type index =3D 0, size_type coun= t =3D > npos) > std::string::iterator std::string::erase(const_iterator first, > const_iterator last) > std::string::iterator std::string::erase(const_iterator position) You've removed all the information that says *why* it didn't match (e.g. no conversion from size_t to const_iterator). That's useful. You don't improve the compiler's diagnostics by optimising for a single exa= mple where the verbose info happens to be unnecessary. That info is useful in ot= her cases. >>From gcc-bugs-return-626126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 17 13:24:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81939 invoked by alias); 17 Dec 2018 13:24:47 -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 81644 invoked by uid 89); 17 Dec 2018 13:24:29 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=4.4 required=5.0 tests=BAYES_95,FREEMAIL_FROM,PYZOR_CHECK autolearn=no version=3.3.2 spammy=us!, HX-HELO:sk:server1, H*F:D*aliyun.com, HX-Envelope-From:sk:bounce- X-HELO: server1.domain.com Received: from Unknown (HELO server1.domain.com) (103.218.243.100) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 17 Dec 2018 13:24:23 +0000 Received: by server1.domain.com id h2uho80e97c0 for ; Mon, 17 Dec 2018 21:24:07 +0800 (envelope-from ) Date: Mon, 17 Dec 2018 13:24:00 -0000 Return-Path: bounce-248-347252-248-248@unaqiji.top To: "gcc-bugs@gcc.gnu.org" From: rachel Reply-to: rachel Subject: =?utf-8?Q?=C2=A0Inquiry=C2=A0about_scaffold?= Message-ID: Sender: X-MessageID: MXx8fHwxNzAyfHx8fGdjYy1idWdzQGdjYy5nbnUub3JnfHx8fDF8fHx8MXx8fHww X-Report-Abuse: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-SW-Source: 2018-12/txt/msg02242.txt.bz2 Content-length: 939 Dear=C2=A0customers, Good=C2=A0day!=C2=A0 It=C2=A0is=C2=A0our=C2=A0great=C2=A0honor=C2=A0to=C2=A0have=C2=A0this=C2=A0= chance=C2=A0to=C2=A0introduce=C2=A0our=C2=A0company=C2=A0to=C2=A0you.We=C2= =A0provide=C2=A0scaffolds=C2=A0and=C2=A0framework=C2=A0sysyems=C2=A0as=C2= =A0following: 1.=C2=A0ringlock=C2=A0system 2.2.cuplock=C2=A0system 3.3.=C2=A0frame=C2=A0system 4.4.=C2=A0kwikstage=C2=A0sysyem 5.5.=C2=A0metal=C2=A0planks6.=C2=A0couplers 6.As=C2=A0we=C2=A0are=C2=A0one=C2=A0professional=C2=A0scaffold=C2=A0and=C2= =A0framework=C2=A0manufacturer=C2=A0with=C2=A020-years=C2=A0expiriences,=C2= =A0we=C2=A0can=C2=A0provide=C2=A0you=C2=A0good=C2=A0quality=C2=A0and=C2=A0b= est=C2=A0value=C2=A0products=C2=A0and=C2=A0service.If=C2=A0you=C2=A0are=C2= =A0interested=C2=A0in=C2=A0those=C2=A0products,=C2=A0please=C2=A0feel=C2=A0= free=C2=A0to=C2=A0contact=C2=A0us! Thank=C2=A0you=C2=A0for=C2=A0your=C2=A0patience!=C2=A0 Sincerely, Rachel