From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122802 invoked by alias); 9 Oct 2017 07:27: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 Received: (qmail 122372 invoked by uid 48); 9 Oct 2017 07:27:36 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/82480] KIND array returned by STAT too small for many values on CygWin platforms (and probably others) Date: Mon, 09 Oct 2017 07: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: 6.4.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: 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: 2017-10/txt/msg00819.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82480 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-10-09 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres --- Related to pr30372. >>From gcc-bugs-return-577760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 07:51:53 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17478 invoked by alias); 9 Oct 2017 07:51: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 12829 invoked by uid 48); 9 Oct 2017 07:51:46 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82422] [8 Regression][graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c:248 Date: Mon, 09 Oct 2017 07: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2017-10/txt/msg00820.txt.bz2 Content-length: 3516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82422 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #4 from Martin Li=C5=A1ka --- I've got one another ICE: $ cat ice.c static int a[]; int b[1]; int c; static void d (int *f, int *g) { int e; for (e =3D 0; e < 2; e++) g[e] =3D 1; for (e =3D 0; e < 2; e++) g[e] =3D f[e] + f[e + 1]; } void h () { for (;; c +=3D 8) d (&a[c], b); } $ /home/marxin/Programming/gcc2/objdir/gcc/xgcc -B /home/marxin/Programming/gcc2/objdir/gcc/ -floop-parallelize-all -O1 -mavx5= 12vl ice.c during GIMPLE pass: graphite ice.c: In function =E2=80=98h=E2=80=99: ice.c:14:1: internal compiler error: in set_codegen_error, at graphite-isl-ast-to-gimple.c:216 h () ^ 0x5cb6d5 translate_isl_ast_to_gimple::set_codegen_error() ../../gcc/graphite-isl-ast-to-gimple.c:215 0x13252d5 translate_isl_ast_to_gimple::set_codegen_error() ../../gcc/graphite-isl-ast-to-gimple.c:215 0x13252d5 translate_isl_ast_to_gimple::get_rename_from_scev(tree_node*, gimple**, loop*, basic_block_def*, basic_block_def*, vec) ../../gcc/graphite-isl-ast-to-gimple.c:1097 0x1325a14 translate_isl_ast_to_gimple::graphite_copy_stmts_from_block(basic_block_def= *, basic_block_def*, vec) ../../gcc/graphite-isl-ast-to-gimple.c:1245 0x1327850 translate_isl_ast_to_gimple::copy_bb_and_scalar_dependences(basic_block_def= *, edge_def*, vec) ../../gcc/graphite-isl-ast-to-gimple.c:1313 0x1328274 translate_isl_ast_to_gimple::translate_isl_ast_node_user(isl_ast_node*, edge_def*, std::map, std::allocator > >&) ../../gcc/graphite-isl-ast-to-gimple.c:803 0x1328545 translate_isl_ast_to_gimple::translate_isl_ast_for_loop(loop*, isl_ast_node*, edge_def*, tree_node*, tree_node*, tree_node*, std::map, std::allocator > >&) ../../gcc/graphite-isl-ast-to-gimple.c:617 0x13287a2 translate_isl_ast_to_gimple::translate_isl_ast_node_for(loop*, isl_ast_node*, edge_def*, std::map, std::allocator > >&) ../../gcc/graphite-isl-ast-to-gimple.c:720 0x13288a5 translate_isl_ast_to_gimple::translate_isl_ast_node_block(loop*, isl_ast_node*, edge_def*, std::map, std::allocator > >&) ../../gcc/graphite-isl-ast-to-gimple.c:832 0x1328d8a graphite_regenerate_ast_isl(scop*) ../../gcc/graphite-isl-ast-to-gimple.c:1559 0x13238ae graphite_transform_loops() ../../gcc/graphite.c:442 0x1324820 graphite_transforms ../../gcc/graphite.c:486 0x1324820 execute ../../gcc/graphite.c:563 $ /home/marxin/Programming/gcc2/objdir/gcc/xgcc -v Using built-in specs. COLLECT_GCC=3D/home/marxin/Programming/gcc2/objdir/gcc/xgcc Target: x86_64-pc-linux-gnu Configured with: ../configure --enable-languages=3Dc,c++ --disable-bootstrap --disable-libsanitizer --disable-multilib Thread model: posix gcc version 8.0.0 20171009 (experimental) (GCC) >>From gcc-bugs-return-577761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 07:54:52 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5003 invoked by alias); 9 Oct 2017 07:54: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 126119 invoked by uid 48); 9 Oct 2017 07:54:48 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82472] [8 Regression] ICE in generate_code_for_partition, at tree-loop-distribution.c:1145 Date: Mon, 09 Oct 2017 07: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amker at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amker at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 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: 2017-10/txt/msg00821.txt.bz2 Content-length: 401 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82472 amker at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |amker at gcc dot gn= u.org --- Comment #2 from amker at gcc dot gnu.org --- Sorry for the breakage, I will investigate it. >>From gcc-bugs-return-577762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:07:07 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81794 invoked by alias); 9 Oct 2017 08: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 81749 invoked by uid 48); 9 Oct 2017 08:07:03 -0000 From: "wdijkstr at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/82479] missing popcount builtin detection Date: Mon, 09 Oct 2017 08:07: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: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: wdijkstr at arm 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: 2017-10/txt/msg00822.txt.bz2 Content-length: 775 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82479 Wilco changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wdijkstr at arm dot com --- Comment #6 from Wilco --- (In reply to Andrew Pinski from comment #5) > Was added to LLVM back in 2012: > http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20121119/156272.= html >=20 > Again I don't know how useful it is compared to the compile time that it > would take. I'd be more worried that the LLVM sequence isn't better in common usage. Gi= ven it has a fixed high latency, you need quite a few set bits before it's fast= er. >>From gcc-bugs-return-577763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:17:18 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53102 invoked by alias); 9 Oct 2017 08:17: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 52965 invoked by uid 48); 9 Oct 2017 08:17:08 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82485] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:13232 Date: Mon, 09 Oct 2017 08:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: 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: 8.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: 2017-10/txt/msg00823.txt.bz2 Content-length: 847 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82485 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-10-09 CC| |dansan at gcc dot gnu.org Target Milestone|--- |8.0 Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- On a slightly modified testcase this starts already at r251321. struct S { char s[0x40000000]; } s; void foo (struct S *p) { char b[0x07fffffff0000000L]; *(struct S *)&b[0x07ffffffef000000L] =3D s; *p =3D *(struct S *)&b[0x07ffffffefffffffL]; } >>From gcc-bugs-return-577765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:28:53 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11058 invoked by alias); 9 Oct 2017 08:28: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 10089 invoked by uid 48); 9 Oct 2017 08:28:48 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82485] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:13232 Date: Mon, 09 Oct 2017 08: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: unknown 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: 8.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: 2017-10/txt/msg00825.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82485 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |uros at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- Daniel, can you please have a look at this? Thanks. >>From gcc-bugs-return-577764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:28:48 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9824 invoked by alias); 9 Oct 2017 08: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 5043 invoked by uid 48); 9 Oct 2017 08:27:43 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82450] loop flattening should be done Date: Mon, 09 Oct 2017 08: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.0 X-Bugzilla-Keywords: 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00824.txt.bz2 Content-length: 230 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82450 --- Comment #2 from Richard Biener --- We once had a very aggressive pass to do this as part of graphite transform= s, it's on the GCC 4.7 branch. >>From gcc-bugs-return-577766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:34:19 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39223 invoked by alias); 9 Oct 2017 08:34: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 39163 invoked by uid 48); 9 Oct 2017 08:34:14 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82486] New: [8 Regression][graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c Date: Mon, 09 Oct 2017 08:34: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: marxin 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 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: 2017-10/txt/msg00826.txt.bz2 Content-length: 3673 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82486 Bug ID: 82486 Summary: [8 Regression][graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c 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: marxin at gcc dot gnu.org CC: rguenth at gcc dot gnu.org Target Milestone: --- I've got one another ICE: $ cat ice.c static int a[]; int b[1]; int c; static void d (int *f, int *g) { int e; for (e =3D 0; e < 2; e++) g[e] =3D 1; for (e =3D 0; e < 2; e++) g[e] =3D f[e] + f[e + 1]; } void h () { for (;; c +=3D 8) d (&a[c], b); } $ /home/marxin/Programming/gcc2/objdir/gcc/xgcc -B /home/marxin/Programming/gcc2/objdir/gcc/ -floop-parallelize-all -O1 -mavx5= 12vl ice.c during GIMPLE pass: graphite ice.c: In function =E2=80=98h=E2=80=99: ice.c:14:1: internal compiler error: in set_codegen_error, at graphite-isl-ast-to-gimple.c:216 h () ^ 0x5cb6d5 translate_isl_ast_to_gimple::set_codegen_error() ../../gcc/graphite-isl-ast-to-gimple.c:215 0x13252d5 translate_isl_ast_to_gimple::set_codegen_error() ../../gcc/graphite-isl-ast-to-gimple.c:215 0x13252d5 translate_isl_ast_to_gimple::get_rename_from_scev(tree_node*, gimple**, loop*, basic_block_def*, basic_block_def*, vec) ../../gcc/graphite-isl-ast-to-gimple.c:1097 0x1325a14 translate_isl_ast_to_gimple::graphite_copy_stmts_from_block(basic_block_def= *, basic_block_def*, vec) ../../gcc/graphite-isl-ast-to-gimple.c:1245 0x1327850 translate_isl_ast_to_gimple::copy_bb_and_scalar_dependences(basic_block_def= *, edge_def*, vec) ../../gcc/graphite-isl-ast-to-gimple.c:1313 0x1328274 translate_isl_ast_to_gimple::translate_isl_ast_node_user(isl_ast_node*, edge_def*, std::map, std::allocator > >&) ../../gcc/graphite-isl-ast-to-gimple.c:803 0x1328545 translate_isl_ast_to_gimple::translate_isl_ast_for_loop(loop*, isl_ast_node*, edge_def*, tree_node*, tree_node*, tree_node*, std::map, std::allocator > >&) ../../gcc/graphite-isl-ast-to-gimple.c:617 0x13287a2 translate_isl_ast_to_gimple::translate_isl_ast_node_for(loop*, isl_ast_node*, edge_def*, std::map, std::allocator > >&) ../../gcc/graphite-isl-ast-to-gimple.c:720 0x13288a5 translate_isl_ast_to_gimple::translate_isl_ast_node_block(loop*, isl_ast_node*, edge_def*, std::map, std::allocator > >&) ../../gcc/graphite-isl-ast-to-gimple.c:832 0x1328d8a graphite_regenerate_ast_isl(scop*) ../../gcc/graphite-isl-ast-to-gimple.c:1559 0x13238ae graphite_transform_loops() ../../gcc/graphite.c:442 0x1324820 graphite_transforms ../../gcc/graphite.c:486 0x1324820 execute ../../gcc/graphite.c:563 $ /home/marxin/Programming/gcc2/objdir/gcc/xgcc -v Using built-in specs. COLLECT_GCC=3D/home/marxin/Programming/gcc2/objdir/gcc/xgcc Target: x86_64-pc-linux-gnu Configured with: ../configure --enable-languages=3Dc,c++ --disable-bootstrap --disable-libsanitizer --disable-multilib Thread model: posix gcc version 8.0.0 20171009 (experimental) (GCC) >>From gcc-bugs-return-577767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:40:37 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42883 invoked by alias); 9 Oct 2017 08: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 42822 invoked by uid 48); 9 Oct 2017 08:40:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82473] [8 Regression] ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1524 Date: Mon, 09 Oct 2017 08: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2017-10/txt/msg00827.txt.bz2 Content-length: 463 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82473 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org --- Comment #2 from Richard Biener --- Mine then. >>From gcc-bugs-return-577768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:46:12 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71943 invoked by alias); 9 Oct 2017 08: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 71864 invoked by uid 48); 9 Oct 2017 08:46:07 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/82479] missing popcount builtin detection Date: Mon, 09 Oct 2017 08: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: 8.0 X-Bugzilla-Keywords: 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: 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: 2017-10/txt/msg00828.txt.bz2 Content-length: 615 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82479 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unknown |8.0 --- Comment #7 from Richard Biener --- Technically loop distribution would be one place to add this. Or SCEV cpro= p. The pattern matching should be quite cheap - the question is of course how = many different ways to express popcount exist... so it does somewhat feel like a SPEC hack... >>From gcc-bugs-return-577769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:46:55 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73933 invoked by alias); 9 Oct 2017 08: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 73797 invoked by uid 48); 9 Oct 2017 08:46:44 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/82484] [8 Regression] ICE in verify_gimple failed w/ -fsanitize=address Date: Mon, 09 Oct 2017 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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: version target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00829.txt.bz2 Content-length: 346 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82484 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unknown |8.0 Target Milestone|--- |8.0 >>From gcc-bugs-return-577770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:49:11 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89620 invoked by alias); 9 Oct 2017 08:49: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 87500 invoked by uid 48); 9 Oct 2017 08:49:07 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82486] [8 Regression][graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c Date: Mon, 09 Oct 2017 08: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: 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: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on version 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: 2017-10/txt/msg00830.txt.bz2 Content-length: 689 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82486 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2017-10-09 Version|unknown |8.0 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Target Milestone|--- |8.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- I will have a look. >>From gcc-bugs-return-577772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:53:28 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58425 invoked by alias); 9 Oct 2017 08:53: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 57886 invoked by uid 48); 9 Oct 2017 08:53:25 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/82395] [8 Regression] qsort comparator non-negative on sorted output: 1 in color_allocnos Date: Mon, 09 Oct 2017 08: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: 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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2017-10/txt/msg00832.txt.bz2 Content-length: 188 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82395 --- Comment #4 from Alexander Monakov --- *** Bug 82482 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-577773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:53:29 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58604 invoked by alias); 9 Oct 2017 08:53: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 57920 invoked by uid 48); 9 Oct 2017 08:53:25 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/82407] [8 Regression][meta-bug] qsort_chk fallout tracking Date: Mon, 09 Oct 2017 08:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-checking, meta-bug 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: 8.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: 2017-10/txt/msg00833.txt.bz2 Content-length: 527 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82407 Bug 82407 depends on bug 82482, which changed state. Bug 82482 Summary: ICE in qsort comparator non-negative on sorted output: 1= in fast_allocation at ira-color.c:4821 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82482 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE >>From gcc-bugs-return-577771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:53:28 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58310 invoked by alias); 9 Oct 2017 08:53: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 57854 invoked by uid 48); 9 Oct 2017 08:53:24 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/82482] ICE in qsort comparator non-negative on sorted output: 1 in fast_allocation at ira-color.c:4821 Date: Mon, 09 Oct 2017 08: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov 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: 2017-10/txt/msg00831.txt.bz2 Content-length: 710 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82482 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |amonakov at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Alexander Monakov --- Thanks, but this is due to the same allocator as in PR 82395, allocno_priority_compare_func (and I've confirmed it works with my patch). *** This bug has been marked as a duplicate of bug 82395 *** >>From gcc-bugs-return-577774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:54:23 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71451 invoked by alias); 9 Oct 2017 08: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 71393 invoked by uid 48); 9 Oct 2017 08:54:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82422] [8 Regression][graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c:248 Date: Mon, 09 Oct 2017 08: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: 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: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2017-10/txt/msg00834.txt.bz2 Content-length: 440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82422 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Richard Biener --- New bug for this. >>From gcc-bugs-return-577775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:55:14 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75956 invoked by alias); 9 Oct 2017 08:55: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 75919 invoked by uid 48); 9 Oct 2017 08:55:10 -0000 From: "alexander.samoylov at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/82448] GCC web guide contains wrong information about Werror Date: Mon, 09 Oct 2017 08:55: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: 4.3.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alexander.samoylov 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: resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00835.txt.bz2 Content-length: 441 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82448 Alexander Samoilov changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|WONTFIX |FIXED --- Comment #3 from Alexander Samoilov --- Thank you for the information. -- BR, Alexander. >>From gcc-bugs-return-577776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 09:06:00 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57458 invoked by alias); 9 Oct 2017 09:06: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 54617 invoked by uid 48); 9 Oct 2017 09:05:55 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/82476] C++: Inlining fails for a simple function Date: Mon, 09 Oct 2017 09:06: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.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal 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: 2017-10/txt/msg00836.txt.bz2 Content-length: 321 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82476 --- Comment #5 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #4) > Note GCC knows main can only be called once (calling main more than once = in > C/C++ is undefined IIRC) It's undefined in C++, I don't think it is in C. >>From gcc-bugs-return-577777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 09:11:22 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62394 invoked by alias); 9 Oct 2017 09:11: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 62320 invoked by uid 48); 9 Oct 2017 09:11:17 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/82481] dangling reference in mutex:693 Date: Mon, 09 Oct 2017 09:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.0.1 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: 2017-10/txt/msg00837.txt.bz2 Content-length: 364 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82481 --- Comment #2 from Jonathan Wakely --- It is a dangling pointer, but it can't be dereferenced, so it doesn't matte= r. It's only used by std::call_once and will be set to a different local varia= ble by the next call. We could zero the pointer, but it would be a waste of cyc= les. >>From gcc-bugs-return-577778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 09:12:25 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64406 invoked by alias); 9 Oct 2017 09:12: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 64260 invoked by uid 48); 9 Oct 2017 09:12:21 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/82481] dangling reference in mutex:693 Date: Mon, 09 Oct 2017 09:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal 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: 2017-10/txt/msg00838.txt.bz2 Content-length: 572 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82481 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from Jonathan Wakely --- (In reply to heinzisoft from comment #0) > Building the following minimal example with libstdc++ 7.0.1 And why are you using that unsupported version? >>From gcc-bugs-return-577779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 09:15:39 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61877 invoked by alias); 9 Oct 2017 09:15: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 55649 invoked by uid 48); 9 Oct 2017 09:15:34 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/82487] New: Change generic "attachment too big" message Date: Mon, 09 Oct 2017 09:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: 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: 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: 2017-10/txt/msg00839.txt.bz2 Content-length: 1381 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82487 Bug ID: 82487 Summary: Change generic "attachment too big" message Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: web Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org CC: LpSolit at netscape dot net Target Milestone: --- When users attempt to upload an attachment that is too large they get a mes= sage telling them to put the file online somewhere and attach a URL to bugzilla. This is bad in several ways: - we don't want testcases provided via URLs to external resources that might disappear at any time, see https://gcc.gnu.org/bugs/ which is clear we want= the preprocessed source attached here; - adding the URL as the attachment is just stupid and requires unnecessary clicks to view it. URLs are better in comments, not as attachments; - we should tell users to try compressing the file using gzip, bzip2, or something like that, because the compressed file is almost always small eno= ugh; - we should point them to https://gcc.gnu.org/wiki/A_guide_to_testcase_reduction as well. Please could we change that message so it doesn't contradict https://gcc.gnu.org/bugs/ and so it says to try compression and/or reductio= n? >>From gcc-bugs-return-577781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 09:29:18 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24875 invoked by alias); 9 Oct 2017 09: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 24793 invoked by uid 48); 9 Oct 2017 09:29:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82451] [GRAPHITE] codegen error in get_rename_from_scev Date: Mon, 09 Oct 2017 09: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: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00841.txt.bz2 Content-length: 446 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82451 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org --- Comment #3 from Richard Biener --- *** Bug 82486 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-577780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 09:29:18 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24867 invoked by alias); 9 Oct 2017 09: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 24778 invoked by uid 48); 9 Oct 2017 09:29:13 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82486] [8 Regression][graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c Date: Mon, 09 Oct 2017 09: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: ice-on-valid-code 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: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2017-10/txt/msg00840.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82486 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Richard Biener --- Dup. *** This bug has been marked as a duplicate of bug 82451 *** >>From gcc-bugs-return-577782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 09:29:40 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26393 invoked by alias); 9 Oct 2017 09:29: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 26311 invoked by uid 48); 9 Oct 2017 09:29:36 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82451] [GRAPHITE] codegen error in get_rename_from_scev Date: Mon, 09 Oct 2017 09: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: 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: 2017-10/txt/msg00842.txt.bz2 Content-length: 373 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82451 --- Comment #4 from Richard Biener --- Testcase from dup. static int a[]; int b[1]; int c; static void d (int *f, int *g) { int e; for (e =3D 0; e < 2; e++) g[e] =3D 1; for (e =3D 0; e < 2; e++) g[e] =3D f[e] + f[e + 1]; } void h () { for (;; c +=3D 8) d (&a[c], b); } >>From gcc-bugs-return-577783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 09:39:32 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36242 invoked by alias); 9 Oct 2017 09:39: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 36151 invoked by uid 48); 9 Oct 2017 09:39:27 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82360] [8 Regression] tree check fail in get_inner_reference, at expr.c:6996 Date: Mon, 09 Oct 2017 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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus 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.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: 2017-10/txt/msg00843.txt.bz2 Content-length: 1518 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82360 Tobias Burnus changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org, | |jason at gcc dot gnu.org --- Comment #5 from Tobias Burnus --- [Still occurs with today's Rev. 253536.] Bisecting (for comment 2) points to: https://gcc.gnu.org/viewcvs?rev=3D253266&root=3Dgcc&view=3Drev commit 4cedc476c94a41551d965bc57fbbe0186983c3c4 Author: jason Date: Thu Sep 28 19:39:45 2017 +0000 PR c++/56973, DR 696 - capture constant variables only as neede= d. * expr.c (mark_use): Split out from mark_rvalue_use and mark_lvalue_use. Handle lambda capture of constant variables. (mark_lvalue_use_nonread): New. * semantics.c (process_outer_var_ref): Don't capture a constant variable until forced. * pt.c (processing_nonlambda_template): New. * call.c (build_this): Check it. * decl2.c (grok_array_decl): Call mark_rvalue_use and mark_lvalue_use_nonread. * init.c (constant_value_1): Don't call mark_rvalue_use. * typeck.c (build_static_cast): Handle lambda capture. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253266 138bc75d-0d04-0410-961f-82ee72b054a4 >>From gcc-bugs-return-577784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 09:42:21 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45374 invoked by alias); 9 Oct 2017 09:42: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 44162 invoked by uid 55); 9 Oct 2017 09:42:16 -0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug hsa/82416] Miscompilation due to HSA BE expanding all sub-integer types to integer types Date: Mon, 09 Oct 2017 09:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: hsa X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm 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: 2017-10/txt/msg00844.txt.bz2 Content-length: 2577 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82416 --- Comment #2 from Martin Jambor --- Author: jamborm Date: Mon Oct 9 09:41:44 2017 New Revision: 253538 URL: https://gcc.gnu.org/viewcvs?rev=3D253538&root=3Dgcc&view=3Drev Log: [PR 82416] Do not extend operands to at least 32 bits 2017-10-09 Martin Jambor PR hsa/82416 gcc/ * hsa-common.h (hsa_op_with_type): New method extend_int_to_32bit. * hsa-gen.c (hsa_extend_inttype_to_32bit): New function. (hsa_type_for_scalar_tree_type): Use it. Always force min32int for COMPLEX types. (hsa_fixup_mov_insn_type): New function. (hsa_op_with_type::get_in_type): Use it. (hsa_build_append_simple_mov): Likewise. Allow sub-32bit immediates in an assert. (hsa_op_with_type::extend_int_to_32bit): New method. (gen_hsa_insns_for_bitfield): Fixup instruction and intermediary types. Convert to dest type if necessary. (gen_hsa_insns_for_bitfield_load): Fixup load type if necessary. (reg_for_gimple_ssa): Pass false as min32int to hsa_type_for_scalar_tree_type. (gen_hsa_addr): Fixup type when creating addresable temporary. (gen_hsa_cmp_insn_from_gimple): Extend operands if necessary. (gen_hsa_unary_operation): Extend operands and convert to dest type= if necessary. Call hsa_fixup_mov_insn_type. (gen_hsa_binary_operation): Changed operand types to hsa_op_with_ty= pe, extend operands and convert to dest type if necessary. (gen_hsa_insns_for_operation_assignment): Extend operands and conve= rt to dest type if necessary. (set_output_in_type): Call hsa_fixup_mov_insn_type. Just ude dest if conversion nt necessary and size matches. (gen_hsa_insns_for_load): Call hsa_fixup_mov_insn_type, convert to dest type if necessary. (gen_hsa_insns_for_store): Call hsa_fixup_mov_insn_type. (gen_hsa_insns_for_switch_stmt): Likewise. Also extend operands if necessary. (gen_hsa_clrsb): Likewise. (gen_hsa_ffs): Likewise. (gen_hsa_divmod): Extend operands and convert to dest type if necessary. (gen_hsa_atomic_for_builtin): Change type of op to hsa_op_with_type. libgomp/ * testsuite/libgomp.hsa.c/pr82416.c: New test. Added: trunk/libgomp/testsuite/libgomp.hsa.c/pr82416.c Modified: trunk/gcc/ChangeLog trunk/gcc/hsa-common.h trunk/gcc/hsa-gen.c trunk/libgomp/ChangeLog >>From gcc-bugs-return-577785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 10:24:40 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36133 invoked by alias); 9 Oct 2017 10:24: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 34741 invoked by uid 48); 9 Oct 2017 10:24:35 -0000 From: "arun11299 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/82476] C++: Inlining fails for a simple function Date: Mon, 09 Oct 2017 10:24: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.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: arun11299 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00845.txt.bz2 Content-length: 320 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82476 --- Comment #6 from Arun Muralidharan --- I understand your point on why it chose not to be inlined. I was doing a mi= cro benchmark for a sample application (a interview question basically) and tha= ts when this issue came up. Thanks. >>From gcc-bugs-return-577786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 10:36:35 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84612 invoked by alias); 9 Oct 2017 10:36: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 78838 invoked by uid 48); 9 Oct 2017 10:36:29 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82483] ICE on invalid use w/ -mno-mmx Date: Mon, 09 Oct 2017 10: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: unknown 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00846.txt.bz2 Content-length: 2807 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82483 --- Comment #1 from Jakub Jelinek --- More complete testcase, all of these ICE individually (except f19) with -ms= sse3 -mno-mmx: #include void f1 (__m64 x, __m64 y, char *z) { _mm_maskmove_si64 (x, y, z); } int f2 (__m64 x) { return _mm_extract_pi16 (x, 1); } __m64 f3 (__m64 x, int y) { return _mm_insert_pi16 (x, y, 1); } __m64 f4 (__m128 x) { return _mm_cvtps_pi32 (x); } __m64 f5 (__m128 x) { return _mm_cvttps_pi32 (x); } __m128 f6 (__m128 x, __m64 y) { return _mm_cvtpi32_ps (x, y); } __m64 f7 (__m64 x, __m64 y) { return _mm_avg_pu8 (x, y); } __m64 f8 (__m64 x, __m64 y) { return _mm_avg_pu16 (x, y); } __m64 f9 (__m64 x, __m64 y) { return _mm_mulhi_pu16 (x, y); } __m64 f10 (__m64 x, __m64 y) { return _mm_max_pu8 (x, y); } __m64 f11 (__m64 x, __m64 y) { return _mm_max_pi16 (x, y); } __m64 f12 (__m64 x, __m64 y) { return _mm_min_pu8 (x, y); } __m64 f13 (__m64 x, __m64 y) { return _mm_min_pi16 (x, y); } __m64 f14 (__m64 x, __m64 y) { return _mm_sad_pu8 (x, y); } int f15 (__m64 x) { return _mm_movemask_pi8 (x); } __m64 f16 (__m64 x) { return _mm_shuffle_pi16 (x, 1); } __m64 f17 (__m128d x) { return _mm_cvtpd_pi32 (x); } __m64 f18 (__m128d x) { return _mm_cvttpd_pi32 (x); } __m128d f19 (__m64 x) { return _mm_cvtpi32_pd (x); } __m64 f20 (__m64 x, __m64 y) { return _mm_mul_su32 (x, y); } __m64 f21 (__m64 x) { return _mm_abs_pi8 (x); } __m64 f22 (__m64 x) { return _mm_abs_pi16 (x); } __m64 f23 (__m64 x) { return _mm_abs_pi32 (x); } __m64 f24 (__m64 x, __m64 y) { return _mm_hadd_pi16 (x, y); } __m64 f25 (__m64 x, __m64 y) { return _mm_hadd_pi32 (x, y); } __m64 f26 (__m64 x, __m64 y) { return _mm_hadds_pi16 (x, y); } __m64 f27 (__m64 x, __m64 y) { return _mm_hsub_pi16 (x, y); } __m64 f28 (__m64 x, __m64 y) { return _mm_hsub_pi32 (x, y); } __m64 f29 (__m64 x, __m64 y) { return _mm_hsubs_pi16 (x, y); } __m64 f30 (__m64 x, __m64 y) { return _mm_maddubs_pi16 (x, y); } __m64 f31 (__m64 x, __m64 y) { return _mm_mulhrs_pi16 (x, y); } __m64 f32 (__m64 x, __m64 y) { return _mm_shuffle_pi8 (x, y); } __m64 f33 (__m64 x, __m64 y) { return _mm_sign_pi8 (x, y); } __m64 f34 (__m64 x, __m64 y) { return _mm_sign_pi16 (x, y); } __m64 f35 (__m64 x, __m64 y) { return _mm_sign_pi32 (x, y); } These are all SSE or SSE2 or SSSE3 instructions don't require MMX CPUID, but actually have (or in case of f6/f19 might have, the input allows memory ope= rand too; note f6 still ICEs though) MMX register operand(s), so with -mno-mmx c= an't really work, as ix86_vector_mode_supported_p will return false for the V2SI/V4HI/V8QImode. I think easiest would be to require both {SSE/SSE2/SSSE3} and MMX ISAs for these, turning a -mno-mmx switch into a hard request to never use %mm0-%mm7 registers for anything. >>From gcc-bugs-return-577787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 10:46:24 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46876 invoked by alias); 9 Oct 2017 10:46: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 46816 invoked by uid 48); 9 Oct 2017 10:46:20 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82440] [8 regression] ICE in aarch64_simd_valid_immediate Date: Mon, 09 Oct 2017 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: 8.0 X-Bugzilla-Keywords: build, ice-on-valid-code 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2017-10/txt/msg00847.txt.bz2 Content-length: 434 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82440 Richard Earnshaw changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Richard Earnshaw --- Fixed >>From gcc-bugs-return-577788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 10:52:03 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53971 invoked by alias); 9 Oct 2017 10: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 53860 invoked by uid 48); 9 Oct 2017 10:51:58 -0000 From: "krebbel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82464] s390x z14: vector float: invalid parameter combination for intrinsic '__builtin_s390_vec_xor' Date: Mon, 09 Oct 2017 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: krebbel 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: 2017-10/txt/msg00848.txt.bz2 Content-length: 1112 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82464 Andreas Krebbel changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-10-09 Ever confirmed|0 |1 --- Comment #2 from Andreas Krebbel --- (In reply to Jakub Jelinek from comment #1) > ought to fix it. I'm just don't see any vec_{and,or,xor} tests in the > testsuite, so dunno where to add test for this. Yes that's the right fix. Feel free to commit it (without testcase). wrt testcases: Message understood :) I really need to add testcases checkin= g at least the valid signatures. I plan to generate these from the documentation= but I cannot do this before the IBM z14 document has been published. Current version can be found here (but does not cover z14 yet): https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r= 1.cbcpx01/vectorsupport.htm >>From gcc-bugs-return-577789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 10:58:50 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73664 invoked by alias); 9 Oct 2017 10:58: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 73593 invoked by uid 48); 9 Oct 2017 10:58:45 -0000 From: "LpSolit at netscape dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/82487] Change generic "attachment too big" message Date: Mon, 09 Oct 2017 10:58: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: LpSolit at netscape dot net X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: LpSolit at netscape dot net X-Bugzilla-Target-Milestone: --- 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: 2017-10/txt/msg00849.txt.bz2 Content-length: 540 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82487 Fr=C3=A9d=C3=A9ric Buclin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |LpSolit at netscape= dot net --- Comment #1 from Fr=C3=A9d=C3=A9ric Buclin = --- Done. >>From gcc-bugs-return-577790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 10:59:04 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74882 invoked by alias); 9 Oct 2017 10: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 74462 invoked by uid 48); 9 Oct 2017 10:58:58 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82445] ARM target generates unaligned STRD instruction Date: Mon, 09 Oct 2017 10: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.1.1 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: 2017-10/txt/msg00850.txt.bz2 Content-length: 261 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82445 --- Comment #4 from Richard Earnshaw --- looks like gen_operands_ldrd_strd should be checking for this and failing if the alignment is not suitable for the target architecture. >>From gcc-bugs-return-577791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:10:00 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42194 invoked by alias); 9 Oct 2017 11:09:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42146 invoked by uid 48); 9 Oct 2017 11:09:56 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/82487] Change generic "attachment too big" message Date: Mon, 09 Oct 2017 11:09: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: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: LpSolit at netscape dot net X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00851.txt.bz2 Content-length: 128 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82487 --- Comment #2 from Jonathan Wakely --- Thanks! >>From gcc-bugs-return-577792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:10:04 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42581 invoked by alias); 9 Oct 2017 11:10: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 42170 invoked by uid 48); 9 Oct 2017 11:09:59 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82483] ICE on invalid use w/ -mno-mmx Date: Mon, 09 Oct 2017 11: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: unknown X-Bugzilla-Keywords: ice-on-invalid-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: --- 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: 2017-10/txt/msg00852.txt.bz2 Content-length: 689 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82483 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2017-10-09 Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org Ever confirmed|0 |1 --- Comment #2 from Jakub Jelinek --- Created attachment 42327 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D42327&action=3Dedit gcc8-pr82483.patch Untested fix. >>From gcc-bugs-return-577793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:31:15 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72758 invoked by alias); 9 Oct 2017 11: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 72249 invoked by uid 48); 9 Oct 2017 11:31:10 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/82488] New: UBSAN in gcc/expr.c:4098:17: runtime error: signed integer overflow: 0 - -9223372036854775808 cannot be represented in type 'long int' Date: Mon, 09 Oct 2017 11: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: 2017-10/txt/msg00853.txt.bz2 Content-length: 886 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82488 Bug ID: 82488 Summary: UBSAN in gcc/expr.c:4098:17: runtime error: signed integer overflow: 0 - -9223372036854775808 cannot be represented in type 'long int' Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- Following overflows: $ ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/pr17397.c = -c=20 ../../gcc/expr.c:4098:17: runtime error: signed integer overflow: 0 - -9223372036854775808 cannot be represented in type 'long int' (and many other where we have an array allocated with alloca (VLA). >>From gcc-bugs-return-577794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:37:46 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63880 invoked by alias); 9 Oct 2017 11:37: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 56286 invoked by uid 48); 9 Oct 2017 11:37:42 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/82489] New: UBSAN in gcc/dbxout.c:676:14: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int' Date: Mon, 09 Oct 2017 11:37: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: marxin 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: 2017-10/txt/msg00854.txt.bz2 Content-length: 840 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82489 Bug ID: 82489 Summary: UBSAN in gcc/dbxout.c:676:14: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int' Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- With bootstrap-ubsan I can see: $ ./xgcc -B. /home/marxin/Programming/gcc2/gcc/testsuite/gcc.dg/debug/20000503-1.c -gsta= bs1 ../../gcc/dbxout.c:676:14: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'; cast to an unsigned type to negate this value to itself >>From gcc-bugs-return-577795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:37:53 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69345 invoked by alias); 9 Oct 2017 11:37: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 66408 invoked by uid 48); 9 Oct 2017 11:37:48 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/82490] New: Please don't error out on unknown no_sanitize attributes. Date: Mon, 09 Oct 2017 11:37: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: 2017-10/txt/msg00855.txt.bz2 Content-length: 1219 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82490 Bug ID: 82490 Summary: Please don't error out on unknown no_sanitize attributes. Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org 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: --- markus@x4 ~ % cat test.ii __attribute__((no_sanitize("function"))) void foo() {} markus@x4 ~ % clang++ -c test.ii (trunk:) markus@x4 ~ % g++ -c test.ii test.ii:1:51: error: wrong argument: "function" __attribute__((no_sanitize("function"))) void foo() {} ^ markus@x4 ~ % /usr/x86_64-pc-linux-gnu/gcc-bin/7.2.1/g++ -c test.ii test.ii:1:51: warning: =E2=80=98no_sanitize=E2=80=99 attribute directive ig= nored [-Wattributes] __attribute__((no_sanitize("function"))) void foo() {} ^ >>From gcc-bugs-return-577797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:41:31 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119565 invoked by alias); 9 Oct 2017 11: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 119465 invoked by uid 48); 9 Oct 2017 11:41:20 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/82490] Please don't error out on unknown no_sanitize attributes. Date: Mon, 09 Oct 2017 11:41: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 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin 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: 2017-10/txt/msg00857.txt.bz2 Content-length: 573 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82490 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-10-09 Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot g= nu.org Ever confirmed|0 |1 --- Comment #1 from Martin Li=C5=A1ka --- I'll do it. >>From gcc-bugs-return-577796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:41:01 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118530 invoked by alias); 9 Oct 2017 11:41: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 118446 invoked by uid 55); 9 Oct 2017 11:40:58 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82464] s390x z14: vector float: invalid parameter combination for intrinsic '__builtin_s390_vec_xor' Date: Mon, 09 Oct 2017 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: 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: 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: 2017-10/txt/msg00856.txt.bz2 Content-length: 477 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82464 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Oct 9 11:40:23 2017 New Revision: 253541 URL: https://gcc.gnu.org/viewcvs?rev=3D253541&root=3Dgcc&view=3Drev Log: PR target/82464 * config/s390/s390-builtins.def (s390_vec_xor_flt_a, s390_vec_xor_flt_b, s390_vec_xor_flt_c): New. Modified: trunk/gcc/ChangeLog trunk/gcc/config/s390/s390-builtins.def >>From gcc-bugs-return-577798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:46:34 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118131 invoked by alias); 9 Oct 2017 11: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 118094 invoked by uid 48); 9 Oct 2017 11:46:29 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82491] New: UBSAN in gcc/gimple-fold.c:6187:6: runtime error: signed integer overflow: 9223372036854775807 * 8 cannot be represented in type 'long int' Date: Mon, 09 Oct 2017 11:46: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: 2017-10/txt/msg00858.txt.bz2 Content-length: 7953 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82491 Bug ID: 82491 Summary: UBSAN in gcc/gimple-fold.c:6187:6: runtime error: signed integer overflow: 9223372036854775807 * 8 cannot be represented in type 'long int' Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- With bootstrap-ubsan I see: $ UBSAN_OPTIONS=3D"print_stacktrace=3D1" ./xgcc -B. /home/marxin/Programming/gcc2/gcc/testsuite/c-c++-common/ubsan/ptr-overflow= -sanitization-1.c -fsanitize=3Dundefined -O3 -g ../../gcc/gimple-fold.c:6187:6: runtime error: signed integer overflow: 9223372036854775807 * 8 cannot be represented in type 'long int' #0 0x120ea4d in get_base_constructor ../../gcc/gimple-fold.c:6187 #1 0x121127f in fold_const_aggregate_ref_1(tree_node*, tree_node* (*)(tree_node*)) ../../gcc/gimple-fold.c:6509 #2 0x1211684 in fold_const_aggregate_ref(tree_node*) ../../gcc/gimple-fold.c:6548 #3 0x11ef391 in maybe_fold_reference ../../gcc/gimple-fold.c:296 #4 0x1207bd2 in fold_stmt_1 ../../gcc/gimple-fold.c:4651 #5 0x1207fc9 in fold_stmt(gimple_stmt_iterator*, tree_node* (*)(tree_node*)) ../../gcc/gimple-fold.c:4739 #6 0x2226772 in substitute_and_fold_dom_walker::before_dom_children(basic_block_def*) ../../gcc/tree-ssa-propagate.c:1072 #7 0x36f262c in dom_walker::walk(basic_block_def*) ../../gcc/domwalk.c:= 308 #8 0x2227186 in substitute_and_fold(tree_node* (*)(tree_node*), bool (*)(gimple_stmt_iterator*)) ../../gcc/tree-ssa-propagate.c:1188 #9 0x2048303 in ccp_finalize ../../gcc/tree-ssa-ccp.c:960 #10 0x2054465 in do_ssa_ccp ../../gcc/tree-ssa-ccp.c:2437 #11 0x205477a in execute ../../gcc/tree-ssa-ccp.c:2480 #12 0x18f223a in execute_one_pass(opt_pass*) ../../gcc/passes.c:2495 #13 0x18f2bcb in execute_pass_list_1 ../../gcc/passes.c:2584 #14 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585 #15 0x18f2d1f in execute_pass_list(function*, opt_pass*) ../../gcc/passes.c:2595 #16 0x18ed2ef in do_per_function_toporder(void (*)(function*, void*), void*) ../../gcc/passes.c:1737 #17 0x18f5266 in execute_ipa_pass_list(opt_pass*) ../../gcc/passes.c:29= 35 #18 0xd36f41 in ipa_passes ../../gcc/cgraphunit.c:2399 #19 0xd37db5 in symbol_table::compile() ../../gcc/cgraphunit.c:2534 #20 0xd38958 in symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.c:2692 #21 0x1cdc527 in compile_file ../../gcc/toplev.c:481 #22 0x1ce2c84 in do_compile ../../gcc/toplev.c:2037 #23 0x1ce32b3 in toplev::main(int, char**) ../../gcc/toplev.c:2172 #24 0x3aaf9e0 in main ../../gcc/main.c:39 #25 0x14eeb648cf49 in __libc_start_main (/lib64/libc.so.6+0x20f49) #26 0x7d93b9 in _start (/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x7d93b9) ../../gcc/dwarf2out.c:13598:15: runtime error: signed integer overflow: 9223372036854775789 + 48 cannot be represented in type 'long int' #0 0xea2524 in based_loc_descr ../../gcc/dwarf2out.c:13598 #1 0xeb0bfd in mem_loc_descriptor(rtx_def*, machine_mode, machine_mode, var_init_status) ../../gcc/dwarf2out.c:15027 #2 0xeb93ed in loc_descriptor ../../gcc/dwarf2out.c:15974 #3 0xeb70d8 in loc_descriptor ../../gcc/dwarf2out.c:15784 #4 0xeb9cb2 in dw_loc_list_1 ../../gcc/dwarf2out.c:16069 #5 0xebb348 in dw_loc_list ../../gcc/dwarf2out.c:16339 #6 0xebff4b in loc_list_from_tree_1 ../../gcc/dwarf2out.c:17454 #7 0xec33a8 in loc_list_from_tree ../../gcc/dwarf2out.c:18058 #8 0xecbe1a in add_location_or_const_value_attribute ../../gcc/dwarf2out.c:19263 #9 0xee0ca2 in gen_variable_die ../../gcc/dwarf2out.c:22928 #10 0xef0500 in gen_decl_die ../../gcc/dwarf2out.c:25393 #11 0xeecf4a in process_scope_var ../../gcc/dwarf2out.c:24849 #12 0xeed02c in decls_for_scope ../../gcc/dwarf2out.c:24875 #13 0xedcab0 in gen_subprogram_die ../../gcc/dwarf2out.c:22421 #14 0xeefd6a in gen_decl_die ../../gcc/dwarf2out.c:25310 #15 0xef296b in dwarf2out_decl ../../gcc/dwarf2out.c:25852 #16 0xef29f4 in dwarf2out_function_decl ../../gcc/dwarf2out.c:25867 #17 0x1090964 in rest_of_handle_final ../../gcc/final.c:4520 #18 0x1090f80 in execute ../../gcc/final.c:4562 #19 0x18f223a in execute_one_pass(opt_pass*) ../../gcc/passes.c:2495 #20 0x18f2bcb in execute_pass_list_1 ../../gcc/passes.c:2584 #21 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585 #22 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585 #23 0x18f2d1f in execute_pass_list(function*, opt_pass*) ../../gcc/passes.c:2595 #24 0xd34522 in cgraph_node::expand() ../../gcc/cgraphunit.c:2115 #25 0xd35b07 in expand_all_functions ../../gcc/cgraphunit.c:2251 #26 0xd38201 in symbol_table::compile() ../../gcc/cgraphunit.c:2599 #27 0xd38958 in symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.c:2692 #28 0x1cdc527 in compile_file ../../gcc/toplev.c:481 #29 0x1ce2c84 in do_compile ../../gcc/toplev.c:2037 #30 0x1ce32b3 in toplev::main(int, char**) ../../gcc/toplev.c:2172 #31 0x3aaf9e0 in main ../../gcc/main.c:39 #32 0x14eeb648cf49 in __libc_start_main (/lib64/libc.so.6+0x20f49) #33 0x7d93b9 in _start (/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x7d93b9) ../../gcc/dwarf2out.c:13623:11: runtime error: signed integer overflow: -9223372036854775779 + -48 cannot be represented in type 'long int' #0 0xea2a10 in based_loc_descr ../../gcc/dwarf2out.c:13623 #1 0xeb0bfd in mem_loc_descriptor(rtx_def*, machine_mode, machine_mode, var_init_status) ../../gcc/dwarf2out.c:15027 #2 0xeb93ed in loc_descriptor ../../gcc/dwarf2out.c:15974 #3 0xeb70d8 in loc_descriptor ../../gcc/dwarf2out.c:15784 #4 0xeb9cb2 in dw_loc_list_1 ../../gcc/dwarf2out.c:16069 #5 0xebb348 in dw_loc_list ../../gcc/dwarf2out.c:16339 #6 0xebff4b in loc_list_from_tree_1 ../../gcc/dwarf2out.c:17454 #7 0xec33a8 in loc_list_from_tree ../../gcc/dwarf2out.c:18058 #8 0xecbe1a in add_location_or_const_value_attribute ../../gcc/dwarf2out.c:19263 #9 0xee0ca2 in gen_variable_die ../../gcc/dwarf2out.c:22928 #10 0xef0500 in gen_decl_die ../../gcc/dwarf2out.c:25393 #11 0xeecf4a in process_scope_var ../../gcc/dwarf2out.c:24849 #12 0xeed02c in decls_for_scope ../../gcc/dwarf2out.c:24875 #13 0xedcab0 in gen_subprogram_die ../../gcc/dwarf2out.c:22421 #14 0xeefd6a in gen_decl_die ../../gcc/dwarf2out.c:25310 #15 0xef296b in dwarf2out_decl ../../gcc/dwarf2out.c:25852 #16 0xef29f4 in dwarf2out_function_decl ../../gcc/dwarf2out.c:25867 #17 0x1090964 in rest_of_handle_final ../../gcc/final.c:4520 #18 0x1090f80 in execute ../../gcc/final.c:4562 #19 0x18f223a in execute_one_pass(opt_pass*) ../../gcc/passes.c:2495 #20 0x18f2bcb in execute_pass_list_1 ../../gcc/passes.c:2584 #21 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585 #22 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585 #23 0x18f2d1f in execute_pass_list(function*, opt_pass*) ../../gcc/passes.c:2595 #24 0xd34522 in cgraph_node::expand() ../../gcc/cgraphunit.c:2115 #25 0xd35b07 in expand_all_functions ../../gcc/cgraphunit.c:2251 #26 0xd38201 in symbol_table::compile() ../../gcc/cgraphunit.c:2599 #27 0xd38958 in symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.c:2692 #28 0x1cdc527 in compile_file ../../gcc/toplev.c:481 #29 0x1ce2c84 in do_compile ../../gcc/toplev.c:2037 #30 0x1ce32b3 in toplev::main(int, char**) ../../gcc/toplev.c:2172 #31 0x3aaf9e0 in main ../../gcc/main.c:39 #32 0x14eeb648cf49 in __libc_start_main (/lib64/libc.so.6+0x20f49) #33 0x7d93b9 in _start (/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x7d93b9) >>From gcc-bugs-return-577799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:47:35 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119216 invoked by alias); 9 Oct 2017 11:47: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 119177 invoked by uid 48); 9 Oct 2017 11:47:31 -0000 From: "gcc at lanrules dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/82492] New: ICE Segmentation fault Date: Mon, 09 Oct 2017 11:47: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gcc at lanrules 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 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: 2017-10/txt/msg00859.txt.bz2 Content-length: 1655 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82492 Bug ID: 82492 Summary: ICE Segmentation fault Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gcc at lanrules dot de Target Milestone: --- Created attachment 42328 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D42328&action=3Dedit gcc stderr I build a python package, matplotlib 1.4.3, obtainable at https://github.com/matplotlib/matplotlib/archive/v1.4.3.tar.gz The call to `python2 setup.py build` in the extracted directory leads to th= is call: gcc -pthread -fno-strict-aliasing -march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-protector-strong -fno-plt -DNDEBUG -march=3Dx86-64 -mtune=3Dgeneric= -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -PY_ARRAY_UNIQUE_SYMBOL=3DMPL_matplotlib__png_ARRAY_API -DPYCXX_ISO_CPP_LIB= =3D1 -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/libpng= 16 -I/usr/local/include -I/usr/include -I. -Iextern -I/usr/include/python2.7 -c src/_png.cpp -o build/temp.linux-x86_64-2.7/src/_png.o This call leads to the output: src/_png.cpp: In member function =E2=80=98Py::Object _png_module::write_png= (const Py::Tuple&)=E2=80=99: src/_png.cpp:103:12: internal compiler error: Segmentation fault Py::Object _png_module::write_png(const Py::Tuple& args) ^~~~~~~~~~~ Please find the full output (with -v -save-temps) attached, as well as the corresponding .ii file. >>From gcc-bugs-return-577800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:49:09 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121100 invoked by alias); 9 Oct 2017 11:49: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 120975 invoked by uid 48); 9 Oct 2017 11:48:56 -0000 From: "gcc at lanrules dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/82492] ICE Segmentation fault Date: Mon, 09 Oct 2017 11: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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gcc at lanrules 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: 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: 2017-10/txt/msg00860.txt.bz2 Content-length: 219 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82492 --- Comment #1 from gcc at lanrules dot de --- Created attachment 42329 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D42329&action=3Dedit preprocessed file >>From gcc-bugs-return-577801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:49:13 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121607 invoked by alias); 9 Oct 2017 11:49: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 121209 invoked by uid 48); 9 Oct 2017 11:49:09 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82493] New: UBSAN in gcc/sbitmap.c:368:28: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int' Date: Mon, 09 Oct 2017 11:49: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: 2017-10/txt/msg00861.txt.bz2 Content-length: 2442 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82493 Bug ID: 82493 Summary: UBSAN in gcc/sbitmap.c:368:28: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int' Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: law at gcc dot gnu.org Target Milestone: --- With bootstrap-ubsan I see: UBSAN_OPTIONS=3D"print_stacktrace=3D1" ./xgcc -B. /home/marxin/Programming/gcc2/gcc/testsuite/gcc.dg/vect/pr79920.c -O3 -fno-vect-cost-model ../../gcc/sbitmap.c:368:28: runtime error: shift exponent 64 is too large f= or 64-bit type 'long unsigned int' #0 0x3b424ba in bitmap_bit_in_range_p(simple_bitmap_def const*, unsigned int, unsigned int) ../../gcc/sbitmap.c:368 #1 0x20a3533 in live_bytes_read ../../gcc/tree-ssa-dse.c:496 #2 0x20a390f in dse_classify_store ../../gcc/tree-ssa-dse.c:594 #3 0x20a45e7 in dse_dom_walker::dse_optimize_stmt(gimple_stmt_iterator*) ../../gcc/tree-ssa-dse.c:820 #4 0x20a47d1 in dse_dom_walker::before_dom_children(basic_block_def*) ../../gcc/tree-ssa-dse.c:852 #5 0x36f262c in dom_walker::walk(basic_block_def*) ../../gcc/domwalk.c:= 308 #6 0x20a4b49 in execute ../../gcc/tree-ssa-dse.c:906 #7 0x18f223a in execute_one_pass(opt_pass*) ../../gcc/passes.c:2495 #8 0x18f2bcb in execute_pass_list_1 ../../gcc/passes.c:2584 #9 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585 #10 0x18f2d1f in execute_pass_list(function*, opt_pass*) ../../gcc/passes.c:2595 #11 0xd34522 in cgraph_node::expand() ../../gcc/cgraphunit.c:2115 #12 0xd35b07 in expand_all_functions ../../gcc/cgraphunit.c:2251 #13 0xd38201 in symbol_table::compile() ../../gcc/cgraphunit.c:2599 #14 0xd38958 in symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.c:2692 #15 0x1cdc527 in compile_file ../../gcc/toplev.c:481 #16 0x1ce2c84 in do_compile ../../gcc/toplev.c:2037 #17 0x1ce32b3 in toplev::main(int, char**) ../../gcc/toplev.c:2172 #18 0x3aaf9e0 in main ../../gcc/main.c:39 #19 0x14f842659f49 in __libc_start_main (/lib64/libc.so.6+0x20f49) #20 0x7d93b9 in _start (/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x7d93b9) >>From gcc-bugs-return-577802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:51:29 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124019 invoked by alias); 9 Oct 2017 11:51: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 123971 invoked by uid 48); 9 Oct 2017 11:51:23 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82494] New: UBSAN in gcc/tree-data-ref.c:3427:16: runtime error: signed integer overflow: 131072 * -131072 cannot be represented in type 'int' Date: Mon, 09 Oct 2017 11:51: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: 2017-10/txt/msg00862.txt.bz2 Content-length: 10868 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82494 Bug ID: 82494 Summary: UBSAN in gcc/tree-data-ref.c:3427:16: runtime error: signed integer overflow: 131072 * -131072 cannot be represented in type 'int' Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: rguenth at gcc dot gnu.org Target Milestone: --- With bootstrap-ubsan I see: $ UBSAN_OPTIONS=3D"print_stacktrace=3D1" ./xgcc -B. /home/marxin/Programming/gcc2/gcc/testsuite/gcc.dg/torture/pr60183.c -c -O3 ../../gcc/tree-data-ref.c:3427:16: runtime error: signed integer overflow: 131072 * -131072 cannot be represented in type 'int' #0 0x3a3b770 in lambda_matrix_right_hermite ../../gcc/tree-data-ref.c:3= 427 #1 0x3a3c1e3 in analyze_subscript_affine_affine ../../gcc/tree-data-ref.c:3546 #2 0x3a3e406 in analyze_siv_subscript ../../gcc/tree-data-ref.c:3794 #3 0x3a3f8df in analyze_overlapping_iterations ../../gcc/tree-data-ref.c:4041 #4 0x3a42e7e in subscript_dependence_tester_1 ../../gcc/tree-data-ref.c:4582 #5 0x3a43214 in subscript_dependence_tester ../../gcc/tree-data-ref.c:4= 632 #6 0x3a4361a in compute_affine_dependence(data_dependence_relation*, lo= op*) ../../gcc/tree-data-ref.c:4691 #7 0x3a43b25 in compute_all_dependences(vec, vec*, vec, bool) ../../gcc/tree-data-ref.c:4758 #8 0x3a456c7 in compute_data_dependences_for_loop(loop*, bool, vec*, vec*, vec*) ../../gcc/tree-data-ref.c:5156 #9 0x1f8bc55 in tree_predictive_commoning_loop ../../gcc/tree-predcom.c:3050 #10 0x1f8c1c2 in tree_predictive_commoning() ../../gcc/tree-predcom.c:3= 172 #11 0x1f8c242 in run_tree_predictive_commoning ../../gcc/tree-predcom.c:3197 #12 0x1f8c38d in execute ../../gcc/tree-predcom.c:3226 #13 0x18f223a in execute_one_pass(opt_pass*) ../../gcc/passes.c:2495 #14 0x18f2bcb in execute_pass_list_1 ../../gcc/passes.c:2584 #15 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585 #16 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585 #17 0x18f2d1f in execute_pass_list(function*, opt_pass*) ../../gcc/passes.c:2595 #18 0xd34522 in cgraph_node::expand() ../../gcc/cgraphunit.c:2115 #19 0xd35b07 in expand_all_functions ../../gcc/cgraphunit.c:2251 #20 0xd38201 in symbol_table::compile() ../../gcc/cgraphunit.c:2599 #21 0xd38958 in symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.c:2692 #22 0x1cdc527 in compile_file ../../gcc/toplev.c:481 #23 0x1ce2c84 in do_compile ../../gcc/toplev.c:2037 #24 0x1ce32b3 in toplev::main(int, char**) ../../gcc/toplev.c:2172 #25 0x3aaf9e0 in main ../../gcc/main.c:39 #26 0x14a79f7caf49 in __libc_start_main (/lib64/libc.so.6+0x20f49) #27 0x7d93b9 in _start (/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x7d93b9) ../../gcc/tree-data-ref.c:3350:16: runtime error: signed integer overflow: 1073741824 + 1073741824 cannot be represented in type 'int' #0 0x3a3af5f in lambda_matrix_row_add ../../gcc/tree-data-ref.c:3350 #1 0x3a3b890 in lambda_matrix_right_hermite ../../gcc/tree-data-ref.c:3= 432 #2 0x3a3c1e3 in analyze_subscript_affine_affine ../../gcc/tree-data-ref.c:3546 #3 0x3a3e406 in analyze_siv_subscript ../../gcc/tree-data-ref.c:3794 #4 0x3a3f8df in analyze_overlapping_iterations ../../gcc/tree-data-ref.c:4041 #5 0x3a42e7e in subscript_dependence_tester_1 ../../gcc/tree-data-ref.c:4582 #6 0x3a43214 in subscript_dependence_tester ../../gcc/tree-data-ref.c:4= 632 #7 0x3a4361a in compute_affine_dependence(data_dependence_relation*, lo= op*) ../../gcc/tree-data-ref.c:4691 #8 0x3a43b25 in compute_all_dependences(vec, vec*, vec, bool) ../../gcc/tree-data-ref.c:4758 #9 0x3a456c7 in compute_data_dependences_for_loop(loop*, bool, vec*, vec*, vec*) ../../gcc/tree-data-ref.c:5156 #10 0x1f8bc55 in tree_predictive_commoning_loop ../../gcc/tree-predcom.c:3050 #11 0x1f8c1c2 in tree_predictive_commoning() ../../gcc/tree-predcom.c:3= 172 #12 0x1f8c242 in run_tree_predictive_commoning ../../gcc/tree-predcom.c:3197 #13 0x1f8c38d in execute ../../gcc/tree-predcom.c:3226 #14 0x18f223a in execute_one_pass(opt_pass*) ../../gcc/passes.c:2495 #15 0x18f2bcb in execute_pass_list_1 ../../gcc/passes.c:2584 #16 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585 #17 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585 #18 0x18f2d1f in execute_pass_list(function*, opt_pass*) ../../gcc/passes.c:2595 #19 0xd34522 in cgraph_node::expand() ../../gcc/cgraphunit.c:2115 #20 0xd35b07 in expand_all_functions ../../gcc/cgraphunit.c:2251 #21 0xd38201 in symbol_table::compile() ../../gcc/cgraphunit.c:2599 #22 0xd38958 in symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.c:2692 #23 0x1cdc527 in compile_file ../../gcc/toplev.c:481 #24 0x1ce2c84 in do_compile ../../gcc/toplev.c:2037 #25 0x1ce32b3 in toplev::main(int, char**) ../../gcc/toplev.c:2172 #26 0x3aaf9e0 in main ../../gcc/main.c:39 #27 0x14a79f7caf49 in __libc_start_main (/lib64/libc.so.6+0x20f49) #28 0x7d93b9 in _start (/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x7d93b9) ../../gcc/tree-data-ref.c:3429:7: runtime error: negation of -2147483648 ca= nnot be represented in type 'int'; cast to an unsigned type to negate this value= to itself #0 0x3a3b7ca in lambda_matrix_right_hermite ../../gcc/tree-data-ref.c:3= 429 #1 0x3a3c1e3 in analyze_subscript_affine_affine ../../gcc/tree-data-ref.c:3546 #2 0x3a3e406 in analyze_siv_subscript ../../gcc/tree-data-ref.c:3794 #3 0x3a3f8df in analyze_overlapping_iterations ../../gcc/tree-data-ref.c:4041 #4 0x3a42e7e in subscript_dependence_tester_1 ../../gcc/tree-data-ref.c:4582 #5 0x3a43214 in subscript_dependence_tester ../../gcc/tree-data-ref.c:4= 632 #6 0x3a4361a in compute_affine_dependence(data_dependence_relation*, lo= op*) ../../gcc/tree-data-ref.c:4691 #7 0x3a43b25 in compute_all_dependences(vec, vec*, vec, bool) ../../gcc/tree-data-ref.c:4758 #8 0x3a456c7 in compute_data_dependences_for_loop(loop*, bool, vec*, vec*, vec*) ../../gcc/tree-data-ref.c:5156 #9 0x1f8bc55 in tree_predictive_commoning_loop ../../gcc/tree-predcom.c:3050 #10 0x1f8c1c2 in tree_predictive_commoning() ../../gcc/tree-predcom.c:3= 172 #11 0x1f8c242 in run_tree_predictive_commoning ../../gcc/tree-predcom.c:3197 #12 0x1f8c38d in execute ../../gcc/tree-predcom.c:3226 #13 0x18f223a in execute_one_pass(opt_pass*) ../../gcc/passes.c:2495 #14 0x18f2bcb in execute_pass_list_1 ../../gcc/passes.c:2584 #15 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585 #16 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585 #17 0x18f2d1f in execute_pass_list(function*, opt_pass*) ../../gcc/passes.c:2595 #18 0xd34522 in cgraph_node::expand() ../../gcc/cgraphunit.c:2115 #19 0xd35b07 in expand_all_functions ../../gcc/cgraphunit.c:2251 #20 0xd38201 in symbol_table::compile() ../../gcc/cgraphunit.c:2599 #21 0xd38958 in symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.c:2692 #22 0x1cdc527 in compile_file ../../gcc/toplev.c:481 #23 0x1ce2c84 in do_compile ../../gcc/toplev.c:2037 #24 0x1ce32b3 in toplev::main(int, char**) ../../gcc/toplev.c:2172 #25 0x3aaf9e0 in main ../../gcc/main.c:39 #26 0x14a79f7caf49 in __libc_start_main (/lib64/libc.so.6+0x20f49) #27 0x7d93b9 in _start (/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x7d93b9) ../../gcc/tree-data-ref.c:3428:7: runtime error: negation of -2147483648 ca= nnot be represented in type 'int'; cast to an unsigned type to negate this value= to itself #0 0x3a3b7a0 in lambda_matrix_right_hermite ../../gcc/tree-data-ref.c:3= 428 #1 0x3a3c1e3 in analyze_subscript_affine_affine ../../gcc/tree-data-ref.c:3546 #2 0x3a3e406 in analyze_siv_subscript ../../gcc/tree-data-ref.c:3794 #3 0x3a3f8df in analyze_overlapping_iterations ../../gcc/tree-data-ref.c:4041 #4 0x3a42e7e in subscript_dependence_tester_1 ../../gcc/tree-data-ref.c:4582 #5 0x3a43214 in subscript_dependence_tester ../../gcc/tree-data-ref.c:4= 632 #6 0x3a4361a in compute_affine_dependence(data_dependence_relation*, lo= op*) ../../gcc/tree-data-ref.c:4691 #7 0x3a43b25 in compute_all_dependences(vec, vec*, vec, bool) ../../gcc/tree-data-ref.c:4758 #8 0x3a456c7 in compute_data_dependences_for_loop(loop*, bool, vec*, vec*, vec*) ../../gcc/tree-data-ref.c:5156 #9 0x1f8bc55 in tree_predictive_commoning_loop ../../gcc/tree-predcom.c:3050 #10 0x1f8c1c2 in tree_predictive_commoning() ../../gcc/tree-predcom.c:3= 172 #11 0x1f8c242 in run_tree_predictive_commoning ../../gcc/tree-predcom.c:3197 #12 0x1f8c38d in execute ../../gcc/tree-predcom.c:3226 #13 0x18f223a in execute_one_pass(opt_pass*) ../../gcc/passes.c:2495 #14 0x18f2bcb in execute_pass_list_1 ../../gcc/passes.c:2584 #15 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585 #16 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585 #17 0x18f2d1f in execute_pass_list(function*, opt_pass*) ../../gcc/passes.c:2595 #18 0xd34522 in cgraph_node::expand() ../../gcc/cgraphunit.c:2115 #19 0xd35b07 in expand_all_functions ../../gcc/cgraphunit.c:2251 #20 0xd38201 in symbol_table::compile() ../../gcc/cgraphunit.c:2599 #21 0xd38958 in symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.c:2692 #22 0x1cdc527 in compile_file ../../gcc/toplev.c:481 #23 0x1ce2c84 in do_compile ../../gcc/toplev.c:2037 #24 0x1ce32b3 in toplev::main(int, char**) ../../gcc/toplev.c:2172 #25 0x3aaf9e0 in main ../../gcc/main.c:39 #26 0x14a79f7caf49 in __libc_start_main (/lib64/libc.so.6+0x20f49) #27 0x7d93b9 in _start (/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x7d93b9) >>From gcc-bugs-return-577803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:54:25 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128337 invoked by alias); 9 Oct 2017 11: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 127688 invoked by uid 48); 9 Oct 2017 11:54:20 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/82454] Possible future performance regression in x86 for 64-bit constant expansions Date: Mon, 09 Oct 2017 11: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: 7.0.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: 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: 2017-10/txt/msg00863.txt.bz2 Content-length: 671 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82454 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2017-10-09 Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- __INT64_TYPE__ f1 (__INT64_TYPE__ i) { return (((__INT64_TYPE__)1) << 63) >> i; } is already an existing missed optimization. >>From gcc-bugs-return-577804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:58:43 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3959 invoked by alias); 9 Oct 2017 11:58: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 3893 invoked by uid 48); 9 Oct 2017 11:58:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/82454] Possible future performance regression in x86 for 64-bit constant expansions Date: Mon, 09 Oct 2017 11: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: 7.0.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00864.txt.bz2 Content-length: 341 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82454 --- Comment #3 from Richard Biener --- Note the missed-optimization is that any (1 << C) >> x can be instead written as 1 << C - x iff we know that C - x > 0. For C =3D=3D precision(x)-1 we can infer that directly from x being mentioned in the shift. >>From gcc-bugs-return-577805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:06:47 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31784 invoked by alias); 9 Oct 2017 12:06: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 31719 invoked by uid 55); 9 Oct 2017 12:06:43 -0000 From: "krebbel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82465] vec_sqrt() for vector double erroneously fails for z13 Date: Mon, 09 Oct 2017 12: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: krebbel 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: 2017-10/txt/msg00865.txt.bz2 Content-length: 960 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82465 --- Comment #1 from Andreas Krebbel --- Author: krebbel Date: Mon Oct 9 12:06:11 2017 New Revision: 253542 URL: https://gcc.gnu.org/viewcvs?rev=3D253542&root=3Dgcc&view=3Drev Log: S/390: PR82465: Fix vec_sqrt builtin flags The vector double variant is available with z13. A wrong flag in the s390-builtins.def file triggered an error when compiling for z13. gcc/testsuite/ChangeLog: 2017-10-09 Andreas Krebbel PR target/82465 * gcc.target/s390/zvector/pr82465.c: New test. gcc/ChangeLog: 2017-10-09 Andreas Krebbel PR target/82465 * config/s390/s390-builtins.def (vec_sqrt): Fix builtin flags. Added: trunk/gcc/testsuite/gcc.target/s390/zvector/pr82465.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/s390/s390-builtins.def trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-577806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:08:36 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33799 invoked by alias); 9 Oct 2017 12: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 33702 invoked by uid 55); 9 Oct 2017 12:08:28 -0000 From: "krebbel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82463] vec_madd does not map to __builtin_s390_vfmasb for z14 Date: Mon, 09 Oct 2017 12: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: krebbel 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: 2017-10/txt/msg00866.txt.bz2 Content-length: 913 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82463 --- Comment #2 from Andreas Krebbel --- Author: krebbel Date: Mon Oct 9 12:07:54 2017 New Revision: 253543 URL: https://gcc.gnu.org/viewcvs?rev=3D253543&root=3Dgcc&view=3Drev Log: S/390: PR82463: Fix vec_madd header file definition The builtin was not correctly defined in the vecintrin.h header file. gcc/testsuite/ChangeLog: 2017-10-09 Andreas Krebbel PR target/82463 * gcc.target/s390/zvector/pr82463.c: New test. gcc/ChangeLog: 2017-10-09 Andreas Krebbel PR target/82463 * config/s390/vecintrin.h (vec_madd, vec_msub): Fix macro definitions. Added: trunk/gcc/testsuite/gcc.target/s390/zvector/pr82463.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/s390/vecintrin.h trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-577807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:09:10 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34971 invoked by alias); 9 Oct 2017 12:09: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 34897 invoked by uid 48); 9 Oct 2017 12:09:02 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82494] UBSAN in gcc/tree-data-ref.c:3427:16: runtime error: signed integer overflow: 131072 * -131072 cannot be represented in type 'int' Date: Mon, 09 Oct 2017 12: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: unknown 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 everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00867.txt.bz2 Content-length: 954 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82494 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-10-09 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- I think there's a dup somewhere. We've discussed that typedef int *lambda_vector; is simply too optimistic. The machinery assumes this is an arbitrary preci= sion integer ;) A optimistic "fix" would be to make it int64_t, probably catchi= ng most (if not all) practical cases (all overflows are possibly wrong-code!). A real fix would involve either using gmp (ugh) or making a lot of routines failable that are not right now plus using overflow-detecting math (and fai= l). >>From gcc-bugs-return-577808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:12:55 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10648 invoked by alias); 9 Oct 2017 12:12: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 5080 invoked by uid 48); 9 Oct 2017 12:12:51 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82492] [7 Regression] ICE: Segmentation fault Date: Mon, 09 Oct 2017 12: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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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 cf_known_to_work short_desc everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00868.txt.bz2 Content-length: 830 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82492 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-10-09 CC| |trippels at gcc dot gnu.org Known to work| |8.0 Summary|ICE Segmentation fault |[7 Regression] ICE: | |Segmentation fault Ever confirmed|0 |1 Known to fail| |7.2.1 --- Comment #2 from Markus Trippelsdorf --- Confirmed. Reducing... >>From gcc-bugs-return-577809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:14:52 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50867 invoked by alias); 9 Oct 2017 12: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 50824 invoked by uid 48); 9 Oct 2017 12:14:47 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82491] UBSAN in gcc/gimple-fold.c:6187:6: runtime error: signed integer overflow: 9223372036854775807 * 8 cannot be represented in type 'long int' Date: Mon, 09 Oct 2017 12:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-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: 2017-10/txt/msg00869.txt.bz2 Content-length: 643 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82491 --- Comment #1 from Richard Biener --- if (!integer_zerop (TREE_OPERAND (base, 1))) { if (!tree_fits_shwi_p (TREE_OPERAND (base, 1))) return NULL_TREE; the above check isn't enough to catch overflow below. *bit_offset +=3D (mem_ref_offset (base).to_short_addr () * BITS_PER_UNIT); I suppose doing offset_int boff =3D *bit_offset + mem_ref_offset (base) * BITS_PER_UNIT; if (boff.fits_shwi_p ()) *bit_offset =3D boff.to_short_addr (); else return NULL_TREE; would work. >>From gcc-bugs-return-577810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:25:41 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71158 invoked by alias); 9 Oct 2017 12:25: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 64437 invoked by uid 48); 9 Oct 2017 12:25:36 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82357] [8 Regression] bogus error: cannot bind bitfield Date: Mon, 09 Oct 2017 12: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: 8.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00870.txt.bz2 Content-length: 1601 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82357 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 --- Comment #2 from Markus Trippelsdorf --- Also seen when building Chromium: ../../v8/src/parsing/expression-classifier.h: In member function =E2=80=98v= oid v8::internal::ExpressionClassifier::Accumulate(v8::internal::Express= ionClassifier*, unsigned int, bool)=E2=80=99:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ../../v8/src/parsing/expression-classifier.h:321:40: error: cannot bind bitfield =E2=80=98((v8::internal::ExpressionClassifier*)this)->v8::internal::= ExpressionClassifier::function_properties_=E2=80=99 to =E2=80=98unsigned int&=E2=80=99=20=20=20=20=20=20 function_properties_ |=3D inner->function_properties_;=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ../../v8/src/parsing/expression-classifier.h:330:33: error: cannot bind bitfield =E2=80=98((v8::internal::ExpressionClassifier*)this)->v8::internal::= ExpressionClassifier::invalid_productions_=E2=80=99 to =E2=80=98unsigned int&=E2=80=99=20=20=20=20=20=20 invalid_productions_ |=3D errors;=20=20=20=20 ^~~~~~ >>From gcc-bugs-return-577811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:31:44 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109230 invoked by alias); 9 Oct 2017 12:31: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 104786 invoked by uid 48); 9 Oct 2017 12:31:39 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82357] [8 Regression] bogus error: cannot bind bitfield Date: Mon, 09 Oct 2017 12: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.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2017-10/txt/msg00871.txt.bz2 Content-length: 1382 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82357 --- Comment #3 from Markus Trippelsdorf --- trippels@gcc67 ~ % cat _png.ii void _setjmp(int); void png_set_longjmp_fn(); struct SeqBase { virtual void m_fn1() {} void m_fn2() { m_fn1(); } } a; void write_png() { a.m_fn2(); try { png_set_longjmp_fn(); _setjmp(0); } catch (...) { } } trippels@gcc67 ~ % ~/gcc_7/usr/local/bin/g++ -c -O2 _png.ii _png.ii: In function =E2=80=98void write_png()=E2=80=99: _png.ii:7:6: internal compiler error: Segmentation fault void write_png() { ^~~~~~~~~ #0 0x00000000013474d1 in visit_use(tree_node*) () #1 0x0000000001345a55 in DFS(tree_node*) () #2 0x0000000001344630 in sccvn_dom_walker::before_dom_children(basic_block_def*) () #3 0x00000000014a8835 in dom_walker::walk(basic_block_def*) () #4 0x0000000001342a98 in run_scc_vn(vn_lookup_kind) () #5 0x0000000001329537 in (anonymous namespace)::pass_fre::execute(function= *) () #6 0x000000000120e434 in execute_one_pass(opt_pass*) () #7 0x0000000000893ed2 in execute_pass_list(function*, opt_pass*) [clone .cold.77] () #8 0x0000000001556441 in symbol_table::compile() () #9 0x00000000010b3aff in symbol_table::finalize_compilation_unit() () #10 0x000000000159b4b0 in compile_file() () #11 0x0000000000f6130d in toplev::main(int, char**) () #12 0x0000000000f625ab in main () >>From gcc-bugs-return-577813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:34:19 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11416 invoked by alias); 9 Oct 2017 12:34: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 6090 invoked by uid 48); 9 Oct 2017 12:34:15 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82357] [8 Regression] bogus error: cannot bind bitfield Date: Mon, 09 Oct 2017 12: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.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2017-10/txt/msg00873.txt.bz2 Content-length: 1538 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82357 --- Comment #4 from Markus Trippelsdorf --- (In reply to Markus Trippelsdorf from comment #3) > trippels@gcc67 ~ % cat _png.ii > void _setjmp(int); > void png_set_longjmp_fn(); > struct SeqBase { > virtual void m_fn1() {} > void m_fn2() { m_fn1(); } > } a; > void write_png() { > a.m_fn2(); > try { > png_set_longjmp_fn(); > _setjmp(0); > } catch (...) { > } > } > trippels@gcc67 ~ % ~/gcc_7/usr/local/bin/g++ -c -O2 _png.ii > _png.ii: In function =E2=80=98void write_png()=E2=80=99: > _png.ii:7:6: internal compiler error: Segmentation fault > void write_png() { > ^~~~~~~~~ >=20 > #0 0x00000000013474d1 in visit_use(tree_node*) () > #1 0x0000000001345a55 in DFS(tree_node*) () > #2 0x0000000001344630 in > sccvn_dom_walker::before_dom_children(basic_block_def*) () > #3 0x00000000014a8835 in dom_walker::walk(basic_block_def*) () > #4 0x0000000001342a98 in run_scc_vn(vn_lookup_kind) () > #5 0x0000000001329537 in (anonymous > namespace)::pass_fre::execute(function*) () > #6 0x000000000120e434 in execute_one_pass(opt_pass*) () > #7 0x0000000000893ed2 in execute_pass_list(function*, opt_pass*) [clone > .cold.77] () > #8 0x0000000001556441 in symbol_table::compile() () > #9 0x00000000010b3aff in symbol_table::finalize_compilation_unit() () > #10 0x000000000159b4b0 in compile_file() () > #11 0x0000000000f6130d in toplev::main(int, char**) () > #12 0x0000000000f625ab in main () Sorry wrong PR. Please ignore. >>From gcc-bugs-return-577812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:34:07 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2133 invoked by alias); 9 Oct 2017 12:34: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 127303 invoked by uid 48); 9 Oct 2017 12:34:03 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82492] [7 Regression] ICE: Segmentation fault Date: Mon, 09 Oct 2017 12:34: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels 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: 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: 2017-10/txt/msg00872.txt.bz2 Content-length: 1672 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82492 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c++ |tree-optimization --- Comment #3 from Markus Trippelsdorf --- Segfaults in tree-ssa-sccvn: trippels@gcc67 ~ % cat _png.ii void _setjmp(int); void png_set_longjmp_fn(); struct SeqBase { virtual void m_fn1() {} void m_fn2() { m_fn1(); } } a; void write_png() { a.m_fn2(); try { png_set_longjmp_fn(); _setjmp(0); } catch (...) { } } trippels@gcc67 ~ % ~/gcc_7/usr/local/bin/g++ -c -O2 _png.ii _png.ii: In function =E2=80=98void write_png()=E2=80=99: _png.ii:7:6: internal compiler error: Segmentation fault void write_png() { ^~~~~~~~~ #0 0x00000000013474d1 in visit_use(tree_node*) () #1 0x0000000001345a55 in DFS(tree_node*) () #2 0x0000000001344630 in sccvn_dom_walker::before_dom_children(basic_block_def*) () #3 0x00000000014a8835 in dom_walker::walk(basic_block_def*) () #4 0x0000000001342a98 in run_scc_vn(vn_lookup_kind) () #5 0x0000000001329537 in (anonymous namespace)::pass_fre::execute(function= *) () #6 0x000000000120e434 in execute_one_pass(opt_pass*) () #7 0x0000000000893ed2 in execute_pass_list(function*, opt_pass*) [clone .cold.77] () #8 0x0000000001556441 in symbol_table::compile() () #9 0x00000000010b3aff in symbol_table::finalize_compilation_unit() () #10 0x000000000159b4b0 in compile_file() () #11 0x0000000000f6130d in toplev::main(int, char**) () #12 0x0000000000f625ab in main () >>From gcc-bugs-return-577814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:42:49 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68487 invoked by alias); 9 Oct 2017 12:42: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 68347 invoked by uid 48); 9 Oct 2017 12:42:44 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82492] [6/7 Regression] ICE: Segmentation fault Date: Mon, 09 Oct 2017 12:42: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority cf_known_to_work 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: 2017-10/txt/msg00874.txt.bz2 Content-length: 683 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82492 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Known to work| |6.3.1, 7.1.1 Summary|[7 Regression] ICE: |[6/7 Regression] ICE: |Segmentation fault |Segmentation fault Known to fail| |6.4.1 --- Comment #4 from Markus Trippelsdorf --- 6.3.1 and 7.1.1 work fine. So two branch regressions. >>From gcc-bugs-return-577815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:46:29 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105335 invoked by alias); 9 Oct 2017 12:46: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 105278 invoked by uid 48); 9 Oct 2017 12:46:25 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82492] [6/7 Regression] ICE: Segmentation fault Date: Mon, 09 Oct 2017 12: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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00875.txt.bz2 Content-length: 1070 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82492 --- Comment #5 from Markus Trippelsdorf --- 0xad530f crash_signal ../../gcc-7.2.0/gcc/toplev.c:337 0xc2bbd8 gcond* dyn_cast(gimple*) ../../gcc-7.2.0/gcc/is-a.h:219 0xc2bbd8 vn_phi_lookup ../../gcc-7.2.0/gcc/tree-ssa-sccvn.c:3087 0xc2bbd8 visit_phi ../../gcc-7.2.0/gcc/tree-ssa-sccvn.c:3882 0xc2bbd8 visit_use ../../gcc-7.2.0/gcc/tree-ssa-sccvn.c:3948 0xc2c870 process_scc ../../gcc-7.2.0/gcc/tree-ssa-sccvn.c:4296 0xc2c870 extract_and_process_scc_for_name ../../gcc-7.2.0/gcc/tree-ssa-sccvn.c:4352 0xc2c870 DFS ../../gcc-7.2.0/gcc/tree-ssa-sccvn.c:4404 0xc2d766 sccvn_dom_walker::before_dom_children(basic_block_def*) ../../gcc-7.2.0/gcc/tree-ssa-sccvn.c:4857 0x10beb0a dom_walker::walk(basic_block_def*) ../../gcc-7.2.0/gcc/domwalk.c:265 0xc2e32a run_scc_vn(vn_lookup_kind) ../../gcc-7.2.0/gcc/tree-ssa-sccvn.c:4981 0xc03744 execute ../../gcc-7.2.0/gcc/tree-ssa-pre.c:5201 >>From gcc-bugs-return-577816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:52:29 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106860 invoked by alias); 9 Oct 2017 12:52: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 106777 invoked by uid 48); 9 Oct 2017 12:52:25 -0000 From: "vp at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82442] vect/pr31699.c fails on arm Date: Mon, 09 Oct 2017 12: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: vp 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: 2017-10/txt/msg00876.txt.bz2 Content-length: 398 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82442 Vidya Praveen changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-10-09 Ever confirmed|0 |1 >>From gcc-bugs-return-577817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 13:06:44 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99161 invoked by alias); 9 Oct 2017 13:06: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 99091 invoked by uid 48); 9 Oct 2017 13:06:39 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82163] [8 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:707 Date: Mon, 09 Oct 2017 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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amker at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: amker at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2017-10/txt/msg00877.txt.bz2 Content-length: 391 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82163 amker at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from amker at gcc dot gnu.org --- Fixed. >>From gcc-bugs-return-577818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 13:10:02 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124379 invoked by alias); 9 Oct 2017 13:10: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 120088 invoked by uid 48); 9 Oct 2017 13:09:53 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/81832] [8 Regression] ICE in expand_LOOP_DIST_ALIAS, at internal-fn.c:2273 Date: Mon, 09 Oct 2017 13: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: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amker 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: 8.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: 2017-10/txt/msg00878.txt.bz2 Content-length: 465 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81832 amker at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |amker at gcc dot gnu.org Resolution|--- |FIXED --- Comment #4 from amker at gcc dot gnu.org --- fixed. >>From gcc-bugs-return-577819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 13:27:09 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94906 invoked by alias); 9 Oct 2017 13:27: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 89607 invoked by uid 48); 9 Oct 2017 13:27:04 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/82258] [8 regression] allocate_zerosize_3.f fails since r251949 Date: Mon, 09 Oct 2017 13: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: 8.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: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2017-10/txt/msg00879.txt.bz2 Content-length: 461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82258 --- Comment #11 from Christophe Lyon --- Created attachment 42330 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D42330&action=3Dedit tree dump for armeb This is the tree-dump-original for the testcase of comment #8. My compiler is configured with: --target=3Darmeb-none-linux-gnueabihf --with-float=3Dhard --with-mode=3Darm --with-cpu=3Dcortex-a9 --with-fpu=3Dneon-fp16 >>From gcc-bugs-return-577820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 13:30:37 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85787 invoked by alias); 9 Oct 2017 13:30: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 68365 invoked by uid 48); 9 Oct 2017 13:30:16 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/82258] [8 regression] allocate_zerosize_3.f fails since r251949 Date: Mon, 09 Oct 2017 13: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: 8.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: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2017-10/txt/msg00880.txt.bz2 Content-length: 258 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82258 --- Comment #12 from Christophe Lyon --- There are several differences, but I'm not fluent in fortran. In case of doubt, note that 'armeb' means arm target in big-endian mode. >>From gcc-bugs-return-577821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 13:45:32 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93693 invoked by alias); 9 Oct 2017 13:45: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 93584 invoked by uid 48); 9 Oct 2017 13:45:26 -0000 From: "renlin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/81351] [8 regression] Many LTO testcases FAIL Date: Mon, 09 Oct 2017 13:45: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.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: renlin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2017-10/txt/msg00881.txt.bz2 Content-length: 440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81351 Renlin Li changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |renlin at gcc dot gnu.org --- Comment #5 from Renlin Li --- similar failures happens on aarch64-linux-gnu & arm-linux-gnueabihf >>From gcc-bugs-return-577822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 13:50:46 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36173 invoked by alias); 9 Oct 2017 13:50: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 36119 invoked by uid 55); 9 Oct 2017 13:50:41 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82449] code-gen error in get_rename_from_scev Date: Mon, 09 Oct 2017 13:50: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: 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: 2017-10/txt/msg00882.txt.bz2 Content-length: 878 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82449 --- Comment #4 from Richard Biener --- Author: rguenth Date: Mon Oct 9 13:50:10 2017 New Revision: 253546 URL: https://gcc.gnu.org/viewcvs?rev=3D253546&root=3Dgcc&view=3Drev Log: 2017-10-09 Richard Biener PR tree-optimization/82449 * sese.c (scev_analyzable_p): Check whether the SCEV is linear. * tree-chrec.h (evolution_function_is_constant_p): Adjust to allow constant addresses. * tree-chrec.c (scev_is_linear_expression): Constant evolutions are linear. * gfortran.dg/graphite/pr82449.f: New testcase. Added: trunk/gcc/testsuite/gfortran.dg/graphite/pr82449.f Modified: trunk/gcc/ChangeLog trunk/gcc/sese.c trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-chrec.c trunk/gcc/tree-chrec.h >>From gcc-bugs-return-577824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 14:07:08 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102918 invoked by alias); 9 Oct 2017 14: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 102655 invoked by uid 48); 9 Oct 2017 14:07:00 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/59859] [meta-bug] GRAPHITE issues Date: Mon, 09 Oct 2017 14:07: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.9.0 X-Bugzilla-Keywords: meta-bug 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 resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00884.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59859 Bug 59859 depends on bug 82449, which changed state. Bug 82449 Summary: code-gen error in get_rename_from_scev https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82449 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-577823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 14:07:06 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102749 invoked by alias); 9 Oct 2017 14:07: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 102635 invoked by uid 48); 9 Oct 2017 14:06:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82449] code-gen error in get_rename_from_scev Date: Mon, 09 Oct 2017 14: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.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: rguenth 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: 2017-10/txt/msg00883.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82449 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Richard Biener --- Fixed. >>From gcc-bugs-return-577825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 14:10:28 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16781 invoked by alias); 9 Oct 2017 14:10: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 16727 invoked by uid 48); 9 Oct 2017 14:10:24 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82492] [6/7 Regression] ICE: Segmentation fault Date: Mon, 09 Oct 2017 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: 7.2.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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-10/txt/msg00885.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82492 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P2 Status|NEW |ASSIGNED Target Milestone|--- |6.5 --- Comment #6 from Richard Biener --- Mine. >>From gcc-bugs-return-577826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 14:12:16 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20758 invoked by alias); 9 Oct 2017 14:12: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 20638 invoked by uid 48); 9 Oct 2017 14:12:06 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82492] [6/7 Regression] ICE: Segmentation fault Date: Mon, 09 Oct 2017 14:12: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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: 2017-10/txt/msg00886.txt.bz2 Content-length: 504 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82492 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |DUPLICATE --- Comment #7 from Richard Biener --- Dup of PR82264. *** This bug has been marked as a duplicate of bug 82264 *** >>From gcc-bugs-return-577827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 14:12:16 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20778 invoked by alias); 9 Oct 2017 14:12: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 20671 invoked by uid 48); 9 Oct 2017 14:12:09 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82264] [6 Regression] ICE in vn_phi_lookup at gcc/tree-ssa-sccvn.c:3125 Date: Mon, 09 Oct 2017 14:12: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.1.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.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: 2017-10/txt/msg00887.txt.bz2 Content-length: 443 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82264 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gcc at lanrules dot de --- Comment #5 from Richard Biener --- *** Bug 82492 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-577828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 14:14:23 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25998 invoked by alias); 9 Oct 2017 14:14: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 25885 invoked by uid 55); 9 Oct 2017 14:14:15 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/82397] [8 Regression] qsort comparator non-negative on sorted output: 1 in vect_analyze_data_ref_accesses Date: Mon, 09 Oct 2017 14:14: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: ice-checking, ice-on-valid-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: 8.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: 2017-10/txt/msg00888.txt.bz2 Content-length: 537 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82397 --- Comment #11 from Richard Biener --- Author: rguenth Date: Mon Oct 9 14:13:43 2017 New Revision: 253547 URL: https://gcc.gnu.org/viewcvs?rev=3D253547&root=3Dgcc&view=3Drev Log: 2017-10-09 Richard Biener PR tree-optimization/82397 * tree-data-ref.c (data_ref_compare_tree): Make sure to return equality only for semantically equal trees. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-data-ref.c >>From gcc-bugs-return-577829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 14:41:45 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19609 invoked by alias); 9 Oct 2017 14:41: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 12245 invoked by uid 48); 9 Oct 2017 14:41:40 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82447] [IVOPTS] Consider removing cmp instruction while iterating on an array of known bound Date: Mon, 09 Oct 2017 14: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: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: amker 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: 2017-10/txt/msg00889.txt.bz2 Content-length: 139 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82447 --- Comment #3 from amker at gcc dot gnu.org --- BTW, which target is this? Thanks. >>From gcc-bugs-return-577830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:02:11 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100835 invoked by alias); 9 Oct 2017 15: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 88624 invoked by uid 48); 9 Oct 2017 15:02:02 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82447] [IVOPTS] Consider removing cmp instruction while iterating on an array of known bound Date: Mon, 09 Oct 2017 15: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: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: amker 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: 2017-10/txt/msg00890.txt.bz2 Content-length: 824 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82447 --- Comment #4 from amker at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #2) > Indeed. But when the body is: > sum +=3D a[size - 1 - i]; > while base 128U with step -1U is considered, it isn't found as the cheape= st > for some reason either. On 64-bit targets, candidate [128, -1] is added in unsigned int type, while address IV has pointer type. IVOPTs simply skips the candidate because it = has smaller precision than the IV use. On 32-bit targets, I increased cost in case of invariant expression on purp= ose in order to avoid generating too many invariant expressions. So I think th= is strategy works better for large cases but not for the simplest cases. Prob= ably we should special case simple case with only one address type IV. >>From gcc-bugs-return-577831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:11:12 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39179 invoked by alias); 9 Oct 2017 15:11: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 39120 invoked by uid 48); 9 Oct 2017 15:11:08 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82447] [IVOPTS] Consider removing cmp instruction while iterating on an array of known bound Date: Mon, 09 Oct 2017 15: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.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: 2017-10/txt/msg00891.txt.bz2 Content-length: 738 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82447 --- Comment #5 from Jakub Jelinek --- (In reply to amker from comment #4) > (In reply to Jakub Jelinek from comment #2) > > Indeed. But when the body is: > > sum +=3D a[size - 1 - i]; > > while base 128U with step -1U is considered, it isn't found as the chea= pest > > for some reason either. >=20 > On 64-bit targets, candidate [128, -1] is added in unsigned int type, whi= le > address IV has pointer type. IVOPTs simply skips the candidate because it > has smaller precision than the IV use. Yeah, but can't we also add [128UL, -1UL] candidate if we see there are IVs= of that bitsize? Conversion from that to the unsigned int IV is cheap. >>From gcc-bugs-return-577832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:25:51 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128169 invoked by alias); 9 Oct 2017 15:25: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 128115 invoked by uid 48); 9 Oct 2017 15:25:45 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82447] [IVOPTS] Consider removing cmp instruction while iterating on an array of known bound Date: Mon, 09 Oct 2017 15:25: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: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: amker 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: 2017-10/txt/msg00892.txt.bz2 Content-length: 1016 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82447 --- Comment #6 from amker at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #5) > (In reply to amker from comment #4) > > (In reply to Jakub Jelinek from comment #2) > > > Indeed. But when the body is: > > > sum +=3D a[size - 1 - i]; > > > while base 128U with step -1U is considered, it isn't found as the ch= eapest > > > for some reason either. > >=20 > > On 64-bit targets, candidate [128, -1] is added in unsigned int type, w= hile > > address IV has pointer type. IVOPTs simply skips the candidate because= it > > has smaller precision than the IV use. >=20 > Yeah, but can't we also add [128UL, -1UL] candidate if we see there are I= Vs > of that bitsize? Conversion from that to the unsigned int IV is cheap. Yes we can. For constant niters loop, currently it's ivcanon adding the counting down IV, I mentioned during cauldron that we may want to get rid of iv_canonicalization by adding all necessary IV candidates in IVOTPs. >>From gcc-bugs-return-577833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:37:22 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9551 invoked by alias); 9 Oct 2017 15:37: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 8772 invoked by uid 48); 9 Oct 2017 15:37:13 -0000 From: "markos at freevec dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82464] s390x z14: vector float: invalid parameter combination for intrinsic '__builtin_s390_vec_xor' Date: Mon, 09 Oct 2017 15: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markos at freevec 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: 2017-10/txt/msg00893.txt.bz2 Content-length: 153 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82464 --- Comment #4 from Konstantinos Margaritis --- Fix confirmed to work. >>From gcc-bugs-return-577835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:37:29 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10233 invoked by alias); 9 Oct 2017 15:37: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 9799 invoked by uid 48); 9 Oct 2017 15:37:24 -0000 From: "markos at freevec dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82465] vec_sqrt() for vector double erroneously fails for z13 Date: Mon, 09 Oct 2017 15: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markos at freevec 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: 2017-10/txt/msg00895.txt.bz2 Content-length: 153 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82465 --- Comment #2 from Konstantinos Margaritis --- Fix confirmed to work. >>From gcc-bugs-return-577834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:37:26 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9941 invoked by alias); 9 Oct 2017 15:37: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 9487 invoked by uid 48); 9 Oct 2017 15:37:21 -0000 From: "chinoune.mehdi at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/82495] New: forall is very slow comparing to other compilers! Date: Mon, 09 Oct 2017 15:37: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: chinoune.mehdi 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: 2017-10/txt/msg00894.txt.bz2 Content-length: 2676 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82495 Bug ID: 82495 Summary: forall is very slow comparing to other compilers! Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: chinoune.mehdi at hotmail dot com Target Milestone: --- This forall construct is very slow comparing to other compilers: PROGRAM FORALL_EXECUTION IMPLICIT NONE REAL, ALLOCATABLE :: A(:,:,:), B(:,:,:), C(:,:,:) INTEGER :: I, J, K REAL :: TIC INTEGER :: START, FINISH1, FINISH2, FINISH3, FINISH4, FINISH5, FINISH6 INTEGER, PARAMETER :: L =3D 1024, M =3D 512, N =3D 512 ALLOCATE(A(L,M,N), B(L,M,N), C(L,M,N) ) CALL RANDOM_NUMBER(A) CALL RANDOM_NUMBER(B) CALL RANDOM_NUMBER(C) CALL SYSTEM_CLOCK(START, TIC) FORALL(I=3D1:L, J=3D1:M, K=3D1:N) C(I,J,K) =3D A(I,J,K) + B(I,J,K) END FORALL CALL SYSTEM_CLOCK(FINISH1) PRINT*,'I,J,K ',(FINISH1-START)/TIC FORALL(I=3D1:L, K=3D1:N, J=3D1:M) C(I,J,K) =3D A(I,J,K) +B(I,J,K) END FORALL CALL SYSTEM_CLOCK(FINISH2) PRINT*,'I,K,J ',(FINISH2-FINISH1)/TIC FORALL(J=3D1:M, I=3D1:L, K=3D1:N) C(I,J,K) =3D A(I,J,K) +B(I,J,K) END FORALL CALL SYSTEM_CLOCK(FINISH3) PRINT*,'J,I,K ',(FINISH3-FINISH2)/TIC FORALL(J=3D1:M, K=3D1:N, I=3D1:L) C(I,J,K) =3D A(I,J,K) +B(I,J,K) END FORALL CALL SYSTEM_CLOCK(FINISH4) PRINT*,'J,K,I ',(FINISH4-FINISH3)/TIC FORALL(K=3D1:N, I=3D1:L, J=3D1:M) C(I,J,K) =3D A(I,J,K) +B(I,J,K) END FORALL CALL SYSTEM_CLOCK(FINISH5) PRINT*,'K,I,J ',(FINISH5-FINISH4)/TIC FORALL(K=3D1:N, J=3D1:M, I=3D1:L) C(I,J,K) =3D A(I,J,K) +B(I,J,K) END FORALL CALL SYSTEM_CLOCK(FINISH6) PRINT*,'K,J,I ',(FINISH6-FINISH5)/TIC END PROGRAM This program gives: MinGW 7.2.0 : -Ofast I,J,K 0.453000009 I,K,J 0.531000018 J,I,K 9.34400082 J,K,I 14.0630007 K,I,J 24.0460014 K,J,I 25.9690018 Ubuntu 7.2.0 : -Ofast I,J,K 0.454000026 I,K,J 0.441000015 J,I,K 9.14200020 J,K,I 13.2140007 K,I,J 22.3860016 K,J,I 24.7680016 But with other compilers: PGI Fortran 17.04 : -fast I,J,K 0.5161750 I,K,J 0.3963450 J,I,K 0.2786350 J,K,I 0.3162010 K,I,J 0.3141180 K,J,I 0.2789040 Flang : -Ofast I,J,K 0.4740010 I,K,J 0.2965370 J,I,K 0.3045340 J,K,I 0.4017220 K,I,J 0.2853640 K,J,I 0.3081510 Intel Fortran 18.0 : -fast I,J,K 0.4370000 I,K,J 0.3910000 J,I,K 0.2810000 J,K,I 0.3600000 K,I,J 0.3280000 K,J,I 0.2810000 I think this bug is independent of do-concurrent! >>From gcc-bugs-return-577836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:39:16 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14623 invoked by alias); 9 Oct 2017 15: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 13824 invoked by uid 48); 9 Oct 2017 15:39:08 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82447] [IVOPTS] Consider removing cmp instruction while iterating on an array of known bound Date: Mon, 09 Oct 2017 15: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.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: amker 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: 2017-10/txt/msg00896.txt.bz2 Content-length: 1324 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82447 --- Comment #7 from amker at gcc dot gnu.org --- So with necessary IV candidates added, current cost computation has tie bet= ween address candidate and counting down candidate. The tie is introduced becau= se counting down candidate requires invariant expression (thus increased cost = by 1); and it is preferred in determine_group_iv_cost_cond (by decreasing cost= by 1). From experience, penalizing invariant expressions in address type IV_U= SE is generally better in large cases. we may be able to break tie with below trivial change: /* When the condition is a comparison of the candidate IV against zero, prefer this IV. TODO: The constant that we're subtracting from the cost should be target-dependent. This information should be added to the target costs for each backend. */ if (!elim_cost.infinite_cost_p () /* Do not try to decrease infinite! */ && integer_zerop (*bound_cst) && (operand_equal_p (*control_var, cand->var_after, 0) || operand_equal_p (*control_var, cand->var_before, 0))) - elim_cost -=3D 1; + elim_cost -=3D 2; It breaks the tie while doesn't change behavior in large case which has multiple address type IV_USEs so preference of counting down IV cand can be cancelled. >>From gcc-bugs-return-577837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:42:49 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34098 invoked by alias); 9 Oct 2017 15:42: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 34044 invoked by uid 48); 9 Oct 2017 15:42:44 -0000 From: "miyuki at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/82457] libgcov fork and exec hooks not always used Date: Mon, 09 Oct 2017 15:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 5.4.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: enhancement X-Bugzilla-Who: miyuki 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: 2017-10/txt/msg00897.txt.bz2 Content-length: 340 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82457 --- Comment #6 from Mikhail Maltsev --- (In reply to Andrew Pinski from comment #5) > Well fork and exec does not need to be the semantics of POSIX says it it.= =20 > So warning is not a good idea. But don't libgcc wrappers already rely on those semantics? >>From gcc-bugs-return-577839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:50:27 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68546 invoked by alias); 9 Oct 2017 15:50: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 68456 invoked by uid 48); 9 Oct 2017 15:50:22 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/82471] do-concurrent is much slower than ordinary-do! Date: Mon, 09 Oct 2017 15: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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig 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: 2017-10/txt/msg00899.txt.bz2 Content-length: 183 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82471 --- Comment #6 from Thomas Koenig --- *** Bug 82495 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-577838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:50:27 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68534 invoked by alias); 9 Oct 2017 15:50: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 68443 invoked by uid 48); 9 Oct 2017 15:50:22 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/82495] forall is very slow comparing to other compilers! Date: Mon, 09 Oct 2017 15: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: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig 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: 2017-10/txt/msg00898.txt.bz2 Content-length: 628 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82495 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |tkoenig at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Thomas Koenig --- Same root cause as PR 82471 - loop interchange (or lack thereof). *** This bug has been marked as a duplicate of bug 82471 *** >>From gcc-bugs-return-577840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:53:21 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76774 invoked by alias); 9 Oct 2017 15:53: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 76712 invoked by uid 48); 9 Oct 2017 15:53:16 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/82471] Reorder loop for unfavorable index ordering in DO CONCURRENT and FORALL Date: Mon, 09 Oct 2017 15: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: 7.2.0 X-Bugzilla-Keywords: 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: bug_status short_desc 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: 2017-10/txt/msg00900.txt.bz2 Content-length: 770 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82471 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW Summary|do-concurrent is much |Reorder loop for |slower than ordinary-do! |unfavorable index ordering | |in DO CONCURRENT and | |FORALL Severity|normal |enhancement --- Comment #7 from Thomas Koenig --- Confirming as an enhancement request. The workaround is clear, see comment #1. >>From gcc-bugs-return-577841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 16:06:38 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95542 invoked by alias); 9 Oct 2017 16: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 95490 invoked by uid 48); 9 Oct 2017 16:06:35 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82445] ARM target generates unaligned STRD instruction Date: Mon, 09 Oct 2017 16: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: 7.1.1 X-Bugzilla-Keywords: wrong-code 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: --- 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: 2017-10/txt/msg00901.txt.bz2 Content-length: 387 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82445 Richard Earnshaw changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rearnsha at gcc dot= gnu.org >>From gcc-bugs-return-577842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 16:16:19 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113513 invoked by alias); 9 Oct 2017 16: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 113454 invoked by uid 48); 9 Oct 2017 16:16:16 -0000 From: "markos at freevec dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71648] C++ ICE on ppc64 with -m64 Date: Mon, 09 Oct 2017 16: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: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markos at freevec dot 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: 2017-10/txt/msg00902.txt.bz2 Content-length: 468 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71648 Konstantinos Margaritis changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #7 from Konstantinos Margaritis --- verified in both g++ 6 and 7. >>From gcc-bugs-return-577843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 16:55:08 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57697 invoked by alias); 9 Oct 2017 16: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 51993 invoked by uid 48); 9 Oct 2017 16:55:04 -0000 From: "miyuki at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/82457] libgcov fork and exec hooks not always used Date: Mon, 09 Oct 2017 16:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 5.4.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: enhancement X-Bugzilla-Who: miyuki 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: 2017-10/txt/msg00903.txt.bz2 Content-length: 138 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82457 --- Comment #7 from Mikhail Maltsev --- I meant libgcov >>From gcc-bugs-return-577844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 16:57:07 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86463 invoked by alias); 9 Oct 2017 16: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 86405 invoked by uid 48); 9 Oct 2017 16:57:04 -0000 From: "jeff.benshetler at stackpath dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82496] New: Optimization breaks duration_cast Date: Mon, 09 Oct 2017 16:57: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.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jeff.benshetler at stackpath 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: 2017-10/txt/msg00904.txt.bz2 Content-length: 1197 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82496 Bug ID: 82496 Summary: Optimization breaks duration_cast Product: gcc Version: 6.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jeff.benshetler at stackpath dot com Target Milestone: --- Created attachment 42331 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D42331&action=3Dedit Compiler output duration_cast always returns zero when using any level of optimization. duration_cast works properly when compiled without optimization GCC Version: g++ (GCC) 6.3.0 System Type: Darwin Jeffs-MacBook-Pro.local 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64 Options when GCC was configured/built: /Users/jbenshetler/build/gcc/objdir/../gcc-6.3.0/configure --prefix=3D/opt/gcc-6.3.0 --enable-languages=3Dc,c++,for tran --disable-= multilib Exact command line passed to gcc triggering the bug: g++ -O1 -o duration_cast_error -v -save-temps duration_cast_error.cpp 2> duration_cast_error.log >>From gcc-bugs-return-577845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 17:01:14 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97899 invoked by alias); 9 Oct 2017 17:01: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 97831 invoked by uid 48); 9 Oct 2017 17:01:06 -0000 From: "jeff.benshetler at stackpath dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82496] Optimization breaks duration_cast Date: Mon, 09 Oct 2017 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: 6.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jeff.benshetler at stackpath 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 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: 2017-10/txt/msg00905.txt.bz2 Content-length: 881 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82496 Jeff Benshetler changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeff.benshetler at stackpa= th dot c | |om --- Comment #1 from Jeff Benshetler = --- Created attachment 42332 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D42332&action=3Dedit Preprocessed file that triggers the bug. When compiled without optimization and run, running the executable produces= the following correct output: deltaT=3D2.00275 When compiled with any level of optimization (-O1 or greater), running the executable produces the following erroneous output: deltaT=3D0 >>From gcc-bugs-return-577846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 18:34:57 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108860 invoked by alias); 9 Oct 2017 18:34: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 108664 invoked by uid 48); 9 Oct 2017 18:34:51 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/82497] New: valgrind error in get_pdt_constructor Date: Mon, 09 Oct 2017 18:34: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.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: 2017-10/txt/msg00906.txt.bz2 Content-length: 1177 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82497 Bug ID: 82497 Summary: valgrind error in get_pdt_constructor Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- I did a build of gcc trunk revision 253416 fortran compiler. For the fortran source code file gcc/testsuite/gfortran.dg/pdt_14.f03 I get the following results: $ ~/gcc/results.253416.valgrind/bin/gfortran -c ./gfortran.dg/pdt_14.f03 =3D=3D11157=3D=3D Invalid read of size 4 =3D=3D11157=3D=3D at 0x73E336: get_pdt_constructor(gfc_expr*, gfc_constr= uctor**, gfc_symbol*) (resolve.c:1191) =3D=3D11157=3D=3D by 0x74CDBC: resolve_structure_cons(gfc_expr*, int) (resolve.c:1246) =3D=3D11157=3D=3D by 0x754741: resolve_values(gfc_symbol*) (resolve.c:11= 386) =3D=3D11157=3D=3D by 0x768382: do_traverse_symtree(gfc_symtree*, void (*)(gfc_symtree*), void (*)(gfc_symbol*)) (symbol.c:4061) The bug seems to appear between revisions 251689 and 252962. >>From gcc-bugs-return-577847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 18:47:33 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21041 invoked by alias); 9 Oct 2017 18:47: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 21014 invoked by uid 48); 9 Oct 2017 18:47:28 -0000 From: "jeff.benshetler at stackpath dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82496] Optimization breaks duration_cast Date: Mon, 09 Oct 2017 18: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: 6.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jeff.benshetler at stackpath 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: 2017-10/txt/msg00907.txt.bz2 Content-length: 226 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82496 --- Comment #2 from Jeff Benshetler = --- I confirmed that the identical problem exists on Linux for both gcc-6.4.0 a= nd gcc-7.2.0. >>From gcc-bugs-return-577848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 19:40:03 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23820 invoked by alias); 9 Oct 2017 19:40: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 23725 invoked by uid 48); 9 Oct 2017 19:39:59 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/82496] Optimization breaks duration_cast Date: Mon, 09 Oct 2017 19:40: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.4.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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on component 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: 2017-10/txt/msg00908.txt.bz2 Content-length: 548 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82496 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2017-10-09 Component|c++ |libstdc++ Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu= .org Ever confirmed|0 |1 >>From gcc-bugs-return-577849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 19:41:48 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31787 invoked by alias); 9 Oct 2017 19:41: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 31433 invoked by uid 48); 9 Oct 2017 19:41:44 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/82496] Optimization breaks duration_cast Date: Mon, 09 Oct 2017 19: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: 6.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal 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: redi 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: 2017-10/txt/msg00909.txt.bz2 Content-length: 756 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82496 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |INVALID --- Comment #3 from Jonathan Wakely --- Your asSeconds doesn't return anything: float asSeconds(Duration dur) { using WantedDuration =3D duration; auto f_secs =3D duration_cast(dur); } dc.cc: In function =E2=80=98float asSeconds(Duration)=E2=80=99: dc.cc:19:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ >>From gcc-bugs-return-577850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 19:44:28 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38583 invoked by alias); 9 Oct 2017 19: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 38530 invoked by uid 48); 9 Oct 2017 19:44:24 -0000 From: "jeff.benshetler at stackpath dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/82496] Optimization breaks duration_cast Date: Mon, 09 Oct 2017 19:44: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.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jeff.benshetler at stackpath dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: 2017-10/txt/msg00910.txt.bz2 Content-length: 245 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82496 --- Comment #4 from Jeff Benshetler = --- My apologies. Adding -Wall shows: warning: no return statement in function returning non-void [-Wreturn-type] >>From gcc-bugs-return-577851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 23:46:42 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28831 invoked by alias); 9 Oct 2017 23:46: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 25799 invoked by uid 48); 9 Oct 2017 23:46:36 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/82417] Macros from defined in C++11 Date: Mon, 09 Oct 2017 23: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: 8.0 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: 2017-10/txt/msg00911.txt.bz2 Content-length: 490 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82417 --- Comment #4 from Jonathan Wakely --- I'm not opposed to a warning in principle, but I'd prefer it to be one controllable by a -Wxxx option. I don't know how to do that using the preprocessor, so we'd have to do something like: #ifndef _GLIBCXX_NO_CCOMPLEX_WARNING # warning "Including makes no sense. Define _GLIBCXX_NO_CCOMPLEX_WARNING to disable this warning." #endif And that is a bit ugly. >>From gcc-bugs-return-577852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 00:58:03 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26943 invoked by alias); 10 Oct 2017 00:58: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 26807 invoked by uid 48); 10 Oct 2017 00:57:59 -0000 From: "lloyd at randombit dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82498] New: Missed optimization for x86 rotate instruction Date: Tue, 10 Oct 2017 00:58: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lloyd at randombit 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: 2017-10/txt/msg00912.txt.bz2 Content-length: 1513 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82498 Bug ID: 82498 Summary: Missed optimization for x86 rotate instruction Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: lloyd at randombit dot net Target Milestone: --- GCC doesn't seem to realize that x86 masks the high bits in the rol/ror instructions. GCC 7.2.0 on x86-64 compiles this function, which is attempti= ng to do a 32-bit rotate without invoking undefined behavior #include uint32_t rotate_left(uint32_t input, uint8_t rot) { if(rot =3D=3D 0) return input; rot %=3D 8 * sizeof(uint32_t); return static_cast((input << rot) | (input >> (8*sizeof(uint32_t)-rot)));; } Into movl %esi, %ecx # rot, rot movl %edi, %eax # input, tmp97 andl $31, %ecx #, rot roll %cl, %eax # rot, tmp97 testb %sil, %sil # rot cmove %edi, %eax # tmp97,, input, The `andl` is unnecessary as the machine will mask the rotation amount for = us. In addition the testb/cmov pair can be omitted. Overall this resulted in a = ~15% slowdown in some code using many variable rotations (CAST-128 cipher being = used in an OpenPGP library). Some related (but not quite the same, and supposedly fixed) issues: 57157 5= 9100 >>From gcc-bugs-return-577853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 04:39:31 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65617 invoked by alias); 10 Oct 2017 04:39: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 60366 invoked by uid 48); 10 Oct 2017 04:39:26 -0000 From: "benjamin at benjamin dot pe" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82499] New: x86: small stack initial adjustments could use push Date: Tue, 10 Oct 2017 04:39: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: benjamin at benjamin dot pe X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-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: 2017-10/txt/msg00913.txt.bz2 Content-length: 758 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82499 Bug ID: 82499 Summary: x86: small stack initial adjustments could use push Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: benjamin at benjamin dot pe Target Milestone: --- consider: extern void g(void); int f() { g(); return 42; } For f, gcc -Os on the trunk generates subq $8, %rsp call g movl $42, %eax popq %rdx ret clang 5.0.0 cleverly generates: pushq %rax callq g movl $42, %eax popq %rcx retq "pushq %rax" ends up being 2 bytes shorter than "subq $8, %rsp". >>From gcc-bugs-return-577854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 06:18:03 2017 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39749 invoked by alias); 10 Oct 2017 06: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 33445 invoked by uid 48); 10 Oct 2017 06:17:57 -0000 From: "chr at terma dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82159] [6/7/8 Regression] ICE: in assign_temp, at function.c:961 Date: Tue, 10 Oct 2017 06: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: 7.2.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: chr at terma dot com 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: 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: 2017-10/txt/msg00914.txt.bz2 Content-length: 3687 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82159 --- Comment #8 from chr at terma dot com --- (In reply to Jakub Jelinek from comment #7) > If you can't provide a testcase, then we can't do anything with it. > If the inability to provide a testcase is because it contains some > proprietary stuff that can't be made public, you always have the option to > reduce the testcase sufficiently that it is small enough to be releasable > (perhaps after also changing identifiers). > See https://gcc.gnu.org/wiki/A_guide_to_testcase_reduction for details how > to do that. Hello, I've tried creduce, worked like a charm. Following test case fails with -O0, but works with -O1-3. Source file testcase.cpp: ------------- class d; template class g { f e; }; class h : g { public: template d operator-(i); }; class d : public h { public: d(const d &); }; class l : public d { public: template l(j); }; template class m { public: typedef typename an::template n ap; }; template class o { typename m::ap as; }; class D { public: l av; }; template class p : aw { public: template p(ay p1, az q) : aw(p1, q) {} D *ba; virtual void b() { aw::bc(ba); } }; template class bj; template class bm { public: typedef int bi; class bn {}; template class bp { public: l bq; bp(bi, bo q) : bq(q.av - 0) {} }; bm(bi, bn); }; template class r; template class r>> : public bm>::bn {}; class s : public bm> { class t { public: t(bm *, int); void bc(D *p1) { bi a; bp(a, *p1); } }; public: template s(ay p1, az q) : bm(p1, q) {} int cb; virtual int c() { p(this, cb); } }; template class H { r>> cf; virtual s cg() { s(0, cf); } }; template