public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85393] [8 Regression] Miscompilation with hot/cold partitioning starting with r254832 Date: Fri, 13 Apr 2018 12:03:00 -0000 [thread overview] Message-ID: <bug-85393-4-wc9qLI7U5s@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-85393-4@http.gcc.gnu.org/bugzilla/> [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 2217056 bytes --] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85393 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Ah, it is the pre pass already, in the dump it dumps the function with (set (reg:DI 108) (plus:DI (frame) (const_int -64))) and later on with (set (reg:DI 108) (reg:DI 123)), but the latter is incorrect. >From gcc-bugs-return-601537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 12:09:37 2018 Return-Path: <gcc-bugs-return-601537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120068 invoked by alias); 13 Apr 2018 12:09:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118299 invoked by uid 48); 13 Apr 2018 12:09:33 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85393] [8 Regression] Miscompilation with hot/cold partitioning starting with r254832 Date: Fri, 13 Apr 2018 12:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: 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: <bug-85393-4-8wEchBpXcz@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85393-4@http.gcc.gnu.org/bugzilla/> References: <bug-85393-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01661.txt.bz2 Content-length: 652 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85393 --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Index 6 (hash value 34; max distance 0) (plus:DI (reg/f:DI 20 frame) (const_int -64 [0xffffffffffffffc0])) scanning new insn with uid = 160. deleting insn with uid = 117. PRE: redundant insn 117 (expression 6) in bb 25, reaching reg is 123 scanning new insn with uid = 161. deleting insn with uid = 74. PRE: redundant insn 74 (expression 6) in bb 13, reaching reg is 123 PRE: edge (8,13), copy expression 6 PRE: edge (15,24), copy expression 6 PRE: edge (17,24), copy expression 6 PRE: edge (23,24), copy expression 6 >From gcc-bugs-return-601538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 12:16:00 2018 Return-Path: <gcc-bugs-return-601538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99281 invoked by alias); 13 Apr 2018 12:15:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98454 invoked by uid 48); 13 Apr 2018 12:15:49 -0000 From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84733] [8 Regression] internal compiler error: Segmentation fault (check_local_shadow()) Date: Fri, 13 Apr 2018 12:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84733-4-GtyNg6C5pO@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84733-4@http.gcc.gnu.org/bugzilla/> References: <bug-84733-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01662.txt.bz2 Content-length: 286 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84733 --- Comment #9 from Paolo Carlini <paolo.carlini at oracle dot com> --- Indeed, Nathan, at some point I had that too. Or even seen_error () which we often use lately in such cases. If nobody objects I'll send a patchlet + testcase. >From gcc-bugs-return-601539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 12:20:05 2018 Return-Path: <gcc-bugs-return-601539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122580 invoked by alias); 13 Apr 2018 12:20:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119988 invoked by uid 48); 13 Apr 2018 12:20:00 -0000 From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84842] ICE in verify_target_availability, at sel-sched.c:1569 Date: Fri, 13 Apr 2018 12:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84842-4-fkcyk5kqmt@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84842-4@http.gcc.gnu.org/bugzilla/> References: <bug-84842-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01663.txt.bz2 Content-length: 2802 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84842 --- Comment #3 from Arseny Solokha <asolokha at gmx dot com> --- Here's another one: long long int xa (long long int ae, int yr) { long long int b3 = ae / (!ae + 2); long long int mx = yr + 1.0; long long int em = 1 / mx / (yr + 2.0); return b3 + em; } % powerpc-e300c3-linux-gnu-gcc-8.0.0-alpha20180408 -mcpu=power8 -O2 -fselective-scheduling2 -fno-tree-ter -c xqrerdpm.c during RTL pass: sched2 xqrerdpm.c: In function 'xa': xqrerdpm.c:9:1: internal compiler error: in verify_target_availability, at sel-sched.c:1569 } ^ 0xc141e6 verify_target_availability /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180408/work/gcc-8-20180408/gcc/sel-sched.c:1566 0xc141e6 find_best_reg_for_expr /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180408/work/gcc-8-20180408/gcc/sel-sched.c:1679 0xc141e6 fill_vec_av_set /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180408/work/gcc-8-20180408/gcc/sel-sched.c:3797 0xc14960 fill_ready_list /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180408/work/gcc-8-20180408/gcc/sel-sched.c:4027 0xc14960 find_best_expr /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180408/work/gcc-8-20180408/gcc/sel-sched.c:4387 0xc14960 fill_insns /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180408/work/gcc-8-20180408/gcc/sel-sched.c:5544 0xc16d7e schedule_on_fences /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180408/work/gcc-8-20180408/gcc/sel-sched.c:7361 0xc16d7e sel_sched_region_2 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180408/work/gcc-8-20180408/gcc/sel-sched.c:7499 0xc19581 sel_sched_region_1 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180408/work/gcc-8-20180408/gcc/sel-sched.c:7541 0xc19581 sel_sched_region(int) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180408/work/gcc-8-20180408/gcc/sel-sched.c:7642 0xc19c51 run_selective_scheduling() /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180408/work/gcc-8-20180408/gcc/sel-sched.c:7718 0xbf0abd rest_of_handle_sched2 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180408/work/gcc-8-20180408/gcc/sched-rgn.c:3729 0xbf0abd execute /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180408/work/gcc-8-20180408/gcc/sched-rgn.c:3873 gcc ICEs on both w/ -mcpu=power8, power9, and powerpc64le. >From gcc-bugs-return-601540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 12:40:31 2018 Return-Path: <gcc-bugs-return-601540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12141 invoked by alias); 13 Apr 2018 12:40:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12061 invoked by uid 48); 13 Apr 2018 12:40:25 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/85388] config/i386/morestack.S is incompatible with CET Date: Fri, 13 Apr 2018 12:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcc X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85388-4-irFTQV95Dp@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85388-4@http.gcc.gnu.org/bugzilla/> References: <bug-85388-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01664.txt.bz2 Content-length: 969 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85388 --- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> --- This works: diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 03e5c433574..324e2ec60fc 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -15242,7 +15242,13 @@ ix86_expand_split_stack_prologue (void) instruction--we need control flow to continue at the subsequent label. Therefore, we use an unspec. */ gcc_assert (crtl->args.pops_args < 65536); - emit_insn (gen_split_stack_return (GEN_INT (crtl->args.pops_args))); + rtx_insn *ret_insn + = emit_insn (gen_split_stack_return (GEN_INT (crtl->args.pops_args))); + if ((flag_cf_protection & CF_BRANCH) && TARGET_IBT) + { + rtx cet_eb = gen_nop_endbr (); + emit_insn_after (cet_eb, ret_insn); + } /* If we are in 64-bit mode and this function uses a static chain, we saved %r10 in %rax before calling _morestack. */ >From gcc-bugs-return-601541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 12:51:08 2018 Return-Path: <gcc-bugs-return-601541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59359 invoked by alias); 13 Apr 2018 12:51:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 56501 invoked by uid 48); 13 Apr 2018 12:51:03 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85388] Missing ENDBR after __morestack call Date: Fri, 13 Apr 2018 12:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on component short_desc everconfirmed Message-ID: <bug-85388-4-6xF28l9gjP@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85388-4@http.gcc.gnu.org/bugzilla/> References: <bug-85388-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01665.txt.bz2 Content-length: 588 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85388 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-13 Component|libgcc |target Summary|config/i386/morestack.S is |Missing ENDBR after |incompatible with CET |__morestack call Ever confirmed|0 |1 >From gcc-bugs-return-601542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 12:55:36 2018 Return-Path: <gcc-bugs-return-601542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63109 invoked by alias); 13 Apr 2018 12:55:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62400 invoked by uid 48); 13 Apr 2018 12:55:32 -0000 From: "igor.v.tsimbalist at intel dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85388] Missing ENDBR after __morestack call Date: Fri, 13 Apr 2018 12:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: igor.v.tsimbalist at intel dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85388-4-rJ96aTs3Kd@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85388-4@http.gcc.gnu.org/bugzilla/> References: <bug-85388-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01666.txt.bz2 Content-length: 143 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85388 --- Comment #5 from igor.v.tsimbalist at intel dot com --- I think it's the right place. >From gcc-bugs-return-601543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 13:15:41 2018 Return-Path: <gcc-bugs-return-601543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46372 invoked by alias); 13 Apr 2018 13:15:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46299 invoked by uid 48); 13 Apr 2018 13:15:37 -0000 From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85393] [8 Regression] Miscompilation with hot/cold partitioning starting with r254832 Date: Fri, 13 Apr 2018 13:15: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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-85393-4-0ppqp0u88T@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85393-4@http.gcc.gnu.org/bugzilla/> References: <bug-85393-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01667.txt.bz2 Content-length: 756 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85393 Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> --- I used gcc 8 headers when bisecting it. And commenting out + /* Do not expect profile insanities when profile was not adjusted. */ + if (e->probability == profile_probability::never () + || e->count == profile_count::zero ()) + continue; + helped. I saw differences in .bbpart so I thought something went wrong in hot/cold partitioning. >From gcc-bugs-return-601544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 13:22:09 2018 Return-Path: <gcc-bugs-return-601544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52727 invoked by alias); 13 Apr 2018 13:22:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52666 invoked by uid 48); 13 Apr 2018 13:22:04 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85393] [8 Regression] Miscompilation with hot/cold partitioning starting with r254832 Date: Fri, 13 Apr 2018 13:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: 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: <bug-85393-4-UgkONsNf6J@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85393-4@http.gcc.gnu.org/bugzilla/> References: <bug-85393-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01668.txt.bz2 Content-length: 642 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85393 --- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Actually, PRE does the right thing; the ~S () call is in bb3 and there is EH edge from there to bb23, which has another EH predecessor, and PRE inserts the initialization of pseudo 123 in that bb23. Then comes bbpart, determines that one of the EH edges is crossing and duplicates the bb (.gcc_except_table contains expressions relative to the start of the partition in the current function, so EH edges need to be non-crossing). The pseudo 123 initialization is not duplicated though. So, likely bbpart bug then. >From gcc-bugs-return-601545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 13:50:19 2018 Return-Path: <gcc-bugs-return-601545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20608 invoked by alias); 13 Apr 2018 13:50:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20546 invoked by uid 48); 13 Apr 2018 13:50:14 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85393] [8 Regression] Miscompilation with hot/cold partitioning starting with r254832 Date: Fri, 13 Apr 2018 13:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: <bug-85393-4-YmzKkAip8g@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85393-4@http.gcc.gnu.org/bugzilla/> References: <bug-85393-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01669.txt.bz2 Content-length: 843 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85393 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Ok, it is the fix_up_crossing_landing_pad function that is buggy. It simply assumes that a landing pad basic block contains only the landing pad instructions and nothing else; as this testcase proves, it is a wrong assumption. Either we could really duplicate the bb, or, IMHO better, instead of partially duplicating it just emit a label and jump (cross partition) to the existing landing pad. >From gcc-bugs-return-601546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 14:12:19 2018 Return-Path: <gcc-bugs-return-601546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119309 invoked by alias); 13 Apr 2018 14:12:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119258 invoked by uid 48); 13 Apr 2018 14:12:15 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85393] [8 Regression] Miscompilation with hot/cold partitioning starting with r254832 Date: Fri, 13 Apr 2018 14:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85393-4-byvvh6hD1D@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85393-4@http.gcc.gnu.org/bugzilla/> References: <bug-85393-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01670.txt.bz2 Content-length: 253 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85393 --- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 43926 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43926&action=edit gcc8-pr85393.patch Untested fix. >From gcc-bugs-return-601547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 14:12:32 2018 Return-Path: <gcc-bugs-return-601547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120491 invoked by alias); 13 Apr 2018 14:12:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120406 invoked by uid 48); 13 Apr 2018 14:12:28 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85393] [8 Regression] Miscompilation with hot/cold partitioning starting with r254832 Date: Fri, 13 Apr 2018 14:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: <bug-85393-4-iBCeyOQqxY@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85393-4@http.gcc.gnu.org/bugzilla/> References: <bug-85393-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01671.txt.bz2 Content-length: 289 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85393 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-601548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 14:30:58 2018 Return-Path: <gcc-bugs-return-601548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80581 invoked by alias); 13 Apr 2018 14:30:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 80510 invoked by uid 48); 13 Apr 2018 14:30:54 -0000 From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/85394] New: Unable to run sanitized executables on ppc64le Ubuntu and SLES Date: Fri, 13 Apr 2018 14:30: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: <bug-85394-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01672.txt.bz2 Content-length: 705 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85394 Bug ID: 85394 Summary: Unable to run sanitized executables on ppc64le Ubuntu and SLES Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: segher 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, marxin at gcc dot gnu.org Target Milestone: --- See external bug https://github.com/google/sanitizers/issues/933 >From gcc-bugs-return-601549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 14:31:41 2018 Return-Path: <gcc-bugs-return-601549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81558 invoked by alias); 13 Apr 2018 14:31:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81475 invoked by uid 48); 13 Apr 2018 14:31:36 -0000 From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/85394] Unable to run sanitized executables on ppc64le Ubuntu and SLES Date: Fri, 13 Apr 2018 14:31: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: <bug-85394-4-gclq9yI7Ck@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85394-4@http.gcc.gnu.org/bugzilla/> References: <bug-85394-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01673.txt.bz2 Content-length: 295 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85394 Segher Boessenkool <segher at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-601550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 14:32:48 2018 Return-Path: <gcc-bugs-return-601550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84241 invoked by alias); 13 Apr 2018 14:32:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83626 invoked by uid 48); 13 Apr 2018 14:32:43 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/85394] Unable to run sanitized executables on ppc64le Ubuntu and SLES Date: Fri, 13 Apr 2018 14:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85394-4-F0XWIZ51Uu@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85394-4@http.gcc.gnu.org/bugzilla/> References: <bug-85394-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01674.txt.bz2 Content-length: 131 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85394 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Fedora too. >From gcc-bugs-return-601551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 14:33:17 2018 Return-Path: <gcc-bugs-return-601551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87040 invoked by alias); 13 Apr 2018 14:33:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86884 invoked by uid 48); 13 Apr 2018 14:33:10 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/85394] [8 Regression] Unable to run sanitized executables on ppc64le Ubuntu and SLES Date: Fri, 13 Apr 2018 14:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer 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: P1 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 version target_milestone short_desc everconfirmed Message-ID: <bug-85394-4-c2N4iQPcIx@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85394-4@http.gcc.gnu.org/bugzilla/> References: <bug-85394-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01675.txt.bz2 Content-length: 732 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85394 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-13 Version|unknown |8.0 Target Milestone|--- |8.0 Summary|Unable to run sanitized |[8 Regression] Unable to |executables on ppc64le |run sanitized executables |Ubuntu and SLES |on ppc64le Ubuntu and SLES Ever confirmed|0 |1 >From gcc-bugs-return-601552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 14:34:25 2018 Return-Path: <gcc-bugs-return-601552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89873 invoked by alias); 13 Apr 2018 14:34:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89773 invoked by uid 48); 13 Apr 2018 14:34:21 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/85394] [8 Regression] Unable to run sanitized executables on ppc64le Ubuntu and SLES Date: Fri, 13 Apr 2018 14:34: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: jakub 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: <bug-85394-4-7EkjBg3BLr@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85394-4@http.gcc.gnu.org/bugzilla/> References: <bug-85394-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01676.txt.bz2 Content-length: 769 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85394 --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- --- libsanitizer/asan/asan_allocator.h 2017-10-19 13:20:58.926958939 +0200 +++ libsanitizer/asan/asan_allocator.h 2018-04-13 00:24:53.331985820 +0200 @@ -122,7 +122,7 @@ const uptr kAllocatorSpace = ~(uptr)0; const uptr kAllocatorSize = 0x40000000000ULL; // 4T. typedef DefaultSizeClassMap SizeClassMap; # elif defined(__powerpc64__) -const uptr kAllocatorSpace = 0xa0000000000ULL; +const uptr kAllocatorSpace = ~(uptr)0; const uptr kAllocatorSize = 0x20000000000ULL; // 2T. typedef DefaultSizeClassMap SizeClassMap; # elif defined(__aarch64__) && SANITIZER_ANDROID works, but the performance effects of it are unknown yet. >From gcc-bugs-return-601553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 14:36:28 2018 Return-Path: <gcc-bugs-return-601553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94643 invoked by alias); 13 Apr 2018 14:36:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94130 invoked by uid 48); 13 Apr 2018 14:36:23 -0000 From: "cfd@mnet-mail.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85395] New: [7/8] F03 private clause contained in derived type acquires spurious scope Date: Fri, 13 Apr 2018 14:36: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cfd@mnet-mail.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85395-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01677.txt.bz2 Content-length: 3111 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85395 Bug ID: 85395 Summary: [7/8] F03 private clause contained in derived type acquires spurious scope Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: cfd@mnet-mail.de Target Milestone: --- The following valid Fortran2003 sample code fails to compile with gfortran 7.2.0/8.0.1, apparently because the private clause contained in derived type "base2" obtains a spurious scope and affects the declaration of variables in the (subsequently defined) derived type "options": $ cat scope.f90 module defs implicit none private public :: base2, options abstract interface subroutine proc( res,a ) real(8), dimension(:,:), intent(out) :: res real(8), dimension(:,:), intent(in) :: a end subroutine proc end interface type, abstract :: base1 contains end type base1 type, abstract :: base2 contains ! This private clause acquires spurious scope private end type base2 type, abstract, extends(base1) :: options procedure(proc), pointer, nopass :: ptr1 procedure(proc), pointer, nopass :: ptr2 contains end type options end module defs module setup use defs, only: options implicit none private public :: settings type, extends(options) :: settings contains procedure :: init end type settings contains subroutine init(self) class(settings) :: self ! initialize procedure pointers self%ptr1 => null() self%ptr2 => null() end subroutine init end module setup Trying to compile this gives: $ gfortran8 -c scope.f90 scope.f90:53:15: self%ptr1 => null() 1 Error: Component âptr1â at (1) is a PRIVATE component of âoptionsâ scope.f90:54:15: self%ptr2 => null() 1 Error: Component âptr2â at (1) is a PRIVATE component of âoptionsâ Presently the only ways to get the above code to compile with gfortran are by i) deleting the aforementioned private clause, or ii) explicitly declaring the procedure pointers in type options as "public". The original code compiles fine with pgfortran 17.4 and flang 6.0. Gfortran version 8.0.1 used is: Using built-in specs. COLLECT_GCC=/home/kk/Gcc-8/bin/gfortran8 COLLECT_LTO_WRAPPER=/home/kk/Gcc-8/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.0.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../configure --disable-checking --enable-languages=c,c++,fortran --disable-multilib --enable-multiarch --enable-shared --enable-threads=posix --program-suffix=8 --with-gmp=/usr/local/lib --with-mpc=/usr/lib --with-mpfr=/usr/lib --without-included-gettext --with-system-zlib --with-tune=generic --prefix=/home/kk/GCC-8 Thread model: posix gcc version 8.0.1 20180409 (experimental) (GCC) >From gcc-bugs-return-601554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 14:39:29 2018 Return-Path: <gcc-bugs-return-601554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88060 invoked by alias); 13 Apr 2018 14:39:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88006 invoked by uid 48); 13 Apr 2018 14:39:23 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85365] -Wrestrict false positives with -fsanitize=undefined Date: Fri, 13 Apr 2018 14:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: <bug-85365-4-JDGwRLjYTg@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85365-4@http.gcc.gnu.org/bugzilla/> References: <bug-85365-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01678.txt.bz2 Content-length: 813 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85365 Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org --- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> --- Simply avoiding -Wrestrict for null arguments would be a simple workaround for this case. Beyond that and your other suggestions in comment #4, improving jump threading would be worthwhile not just to avoid interactions with the sanitizers but in general. Let me put together a patch with the first change for now and see about the threader improvements in GCC 9. >From gcc-bugs-return-601555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 14:57:00 2018 Return-Path: <gcc-bugs-return-601555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120853 invoked by alias); 13 Apr 2018 14:56:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 117502 invoked by uid 48); 13 Apr 2018 14:56:54 -0000 From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85395] private clause contained in derived type acquires spurious scope Date: Fri, 13 Apr 2018 14:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: 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 short_desc everconfirmed Message-ID: <bug-85395-4-fpGLzqh6CT@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85395-4@http.gcc.gnu.org/bugzilla/> References: <bug-85395-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01679.txt.bz2 Content-length: 742 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85395 Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-13 Summary|[7/8] F03 private clause |private clause contained in |contained in derived type |derived type acquires |acquires spurious scope |spurious scope Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Confirmed from at least 4.8 up to trunk (8.0). >From gcc-bugs-return-601556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 15:02:51 2018 Return-Path: <gcc-bugs-return-601556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49050 invoked by alias); 13 Apr 2018 15:02:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48539 invoked by uid 48); 13 Apr 2018 15:02:43 -0000 From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85395] [F03] private clause contained in derived type acquires spurious scope Date: Fri, 13 Apr 2018 15:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.0.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: short_desc Message-ID: <bug-85395-4-RKkYUby0IR@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85395-4@http.gcc.gnu.org/bugzilla/> References: <bug-85395-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01680.txt.bz2 Content-length: 553 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85395 Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|private clause contained in |[F03] private clause |derived type acquires |contained in derived type |spurious scope |acquires spurious scope --- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Adjust summary. >From gcc-bugs-return-601557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 15:07:54 2018 Return-Path: <gcc-bugs-return-601557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55414 invoked by alias); 13 Apr 2018 15:07:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53717 invoked by uid 48); 13 Apr 2018 15:07:49 -0000 From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85364] -fopenmp should not put array in program on the stack Date: Fri, 13 Apr 2018 15:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: openmp, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: 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: <bug-85364-4-Gl6hAi5Vtg@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85364-4@http.gcc.gnu.org/bugzilla/> References: <bug-85364-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01681.txt.bz2 Content-length: 564 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85364 Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-13 Ever confirmed|0 |1 --- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- The test always succeeds for me with stack size (kbytes, -s) 65532 >From gcc-bugs-return-601558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 16:26:07 2018 Return-Path: <gcc-bugs-return-601558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51682 invoked by alias); 13 Apr 2018 16:26:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51625 invoked by uid 48); 13 Apr 2018 16:26:02 -0000 From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887 Date: Fri, 13 Apr 2018 16:26: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.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85391-4-Un9Wp2Ww7O@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85391-4@http.gcc.gnu.org/bugzilla/> References: <bug-85391-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01682.txt.bz2 Content-length: 258 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 --- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Let's just back out my couple of patches to ipa-devirt.c. Nobody seems to care about PR ipa/83983 so I guess I no longer do either. >From gcc-bugs-return-601559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 16:33:53 2018 Return-Path: <gcc-bugs-return-601559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62909 invoked by alias); 13 Apr 2018 16:33:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62843 invoked by uid 48); 13 Apr 2018 16:33:47 -0000 From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/79985] ICE in code_motion_path_driver, at sel-sched.c:6580 Date: Fri, 13 Apr 2018 16:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: 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: amonakov at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: <bug-79985-4-WwrtBYE3Y2@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-79985-4@http.gcc.gnu.org/bugzilla/> References: <bug-79985-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01683.txt.bz2 Content-length: 1007 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79985 Alexander Monakov <amonakov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |amonakov at gcc dot gnu.org --- Comment #6 from Alexander Monakov <amonakov at gcc dot gnu.org> --- Candidate patch for gcc-9 stage 1: diff --git a/gcc/df-scan.c b/gcc/df-scan.c index 95e1e0df2d5..4708fc328c6 100644 --- a/gcc/df-scan.c +++ b/gcc/df-scan.c @@ -3207,7 +3207,8 @@ df_insn_refs_collect (struct df_collection_rec *collection_rec, if (CALL_P (insn_info->insn)) df_get_call_refs (collection_rec, bb, insn_info, flags); - if (asm_noperands (PATTERN (insn_info->insn)) >= 0) + if (asm_noperands (PATTERN (insn_info->insn)) >= 0 + && volatile_insn_p (PATTERN (insn_info->insn))) for (unsigned i = 0; i < FIRST_PSEUDO_REGISTER; i++) if (global_regs[i]) { >From gcc-bugs-return-601560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 16:40:33 2018 Return-Path: <gcc-bugs-return-601560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68670 invoked by alias); 13 Apr 2018 16:40:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68654 invoked by uid 89); 13 Apr 2018 16:40:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.7 required=5.0 tests=AWL,BAYES_50,HTML_MESSAGE,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS,T_FILL_THIS_FORM_SHORT autolearn=ham version=3.3.2 spammy=Client, margin-bottom, marginbottom, campaign X-HELO: mail-qk0-f198.google.com Received: from mail-qk0-f198.google.com (HELO mail-qk0-f198.google.com) (209.85.220.198) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 Apr 2018 16:40:29 +0000 Received: by mail-qk0-f198.google.com with SMTP id h131so5542225qke.7 for <gcc-bugs@gcc.gnu.org>; Fri, 13 Apr 2018 09:40:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d\x1e100.net; s 161025; h=x-gm-message-state:mime-version:message-id:date:subject:from:to; bh=ZfkJ/bHwHyJ6rzpBSlKwTNm7J1GCR7xFd/ySZcVa234=; b=CYQmbl+FTde64XmCnP7/LgaxTYNybFOAp2f8QKDSHnCiK5xQSfy6jT+H6fuyjJd05c H2XpT3bFS05RmugcCr0fQ/3d8LzXvbhT/an7otNHs+FJ2xJzE7Op+G7WB+MW6H6nVYp5 mD0st73Zm6mCn4CM3lQrCZvoyFuWy2bxpQScFxL6bfxL8KbHYI5AOy1raltdrC4UxrWK pEo2Qg7IDcCJXmmh2JGpDHvhnQ80XDYswpFmHEWNmb2UGy7bXc+0SRK7niQd3UGGPmrC wk0V/e0BdDLmyrGUuLnssgHFpvk6MGWSwn38K89G4dGg9onpsilCuTWHzLLFhTlWWAxD OzBA=X-Gm-Message-State: ALQs6tCuJLd2BqML6bZSMzQLrYrkqkid7fCYlx1YUj9t1xcT1u88rfmz Zibc2/GZSXJE91D80PSE8vtR0P+ns01h X-Google-Smtp-Source: AIpwx4+O9mjCQpcMq6RTSdKhi4UOm70yPsU9Ym+bJyejjZtXkfRR94j2dTw4nX2jKc65clQCg3QMd/zHjQ=MIME-Version: 1.0 X-Received: by 10.237.62.85 with SMTP id m21mr4135880qtf.39.1523637628057; Fri, 13 Apr 2018 09:40:28 -0700 (PDT) Message-ID: <001a11408fd69645bd0569bd8704@google.com> Date: Fri, 13 Apr 2018 16:40:00 -0000 Subject: Tableau Client Base Info From: madeleine.turner@collabratesuite.com To: gcc-bugs@gcc.gnu.org Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Content-Transfer-Encoding: base64 X-SW-Source: 2018-04/txt/msg01684.txt.bz2 Content-length: 5889 PGRpdiBkaXI9Imx0ciI+PHAgY2xhc3M9Ik1zb05vcm1hbCIgIA0Kc3R5bGU9 Im1hcmdpbi1ib3R0b206MC4wMDAxcHQ7bGluZS1oZWlnaHQ6bm9ybWFsIj48 c3BhbiAgDQpzdHlsZT0iY29sb3I6cmdiKDMxLDc4LDEyMSkiPkhpLMKgPC9z cGFuPjxzcGFuICANCnN0eWxlPSJjb2xvcjpyZ2IoMzEsNzgsMTIxKSI+wqA8 L3NwYW4+PC9wPg0KDQo8cCBjbGFzcz0iZ21haWwtTXNvTm9TcGFjaW5nIj48 c3BhbiBzdHlsZT0iY29sb3I6cmdiKDMxLDc4LDEyMSkiPkhvcGUgdGhpcyAg DQplbWFpbCBmaW5kcyB3ZWxsLjwvc3Bhbj7CoDwvcD4NCg0KPHAgY2xhc3M9 Ik1zb05vcm1hbCIgIA0Kc3R5bGU9Im1hcmdpbi1ib3R0b206MC4wMDAxcHQ7 bGluZS1oZWlnaHQ6bm9ybWFsIj48c3BhbiAgDQpzdHlsZT0iY29sb3I6cmdi KDMxLDc4LDEyMSkiPldvdWxkIHlvdSBiZSBpbnRlcmVzdGVkDQppbiBhY3F1 aXJpbmcgMjAxOCB1cGRhdGVkwqA8Yj5UYWJsZWF1IDwvYj5Vc2VycyBjb250 YWN0IGRldGFpbHMgdG8gdXBkYXRlDQp5b3VyIGRhdGFiYXNlPyBXZSBhcmUg YSBnbG9iYWwgdGVjaG5vbG9neSB1c2VycyBsaXN0IHByb3ZpZGUgd2l0aCAy NTBtaWwrDQpkYXRhLsKgPC9zcGFuPjxzcGFuPjwvc3Bhbj48L3A+DQoNCjxw IGNsYXNzPSJNc29Ob3JtYWwiICANCnN0eWxlPSJtYXJnaW4tYm90dG9tOjAu MDAwMXB0O2xpbmUtaGVpZ2h0Om5vcm1hbCI+PHNwYW4+wqA8L3NwYW4+PC9w Pg0KDQo8cCBjbGFzcz0iTXNvTm9ybWFsIiAgDQpzdHlsZT0ibWFyZ2luLWJv dHRvbTowLjAwMDFwdDtsaW5lLWhlaWdodDpub3JtYWwiPjxzcGFuICANCnN0 eWxlPSJjb2xvcjpyZ2IoMzEsNzgsMTIxKSI+WW91DQptYXkgYWxzbyBiZSBp bnRlcmVzdGVkIGluIGRhdGFiYXNlIG9mPGI+OjwvYj48L3NwYW4+DQo8Yj48 c3BhbiBzdHlsZT0iY29sb3I6cmdiKDMxLDc4LDEyMSkiPlRJQkNPIFNwb3J0 ZmlyZSwgQ29nbm9zeXMsIERvbW8sICANCk11bGVTb2Z0LCBCb3dlckJJLA0K TWljcm9zdHJhdGVneSw8L3NwYW4+PC9iPjxzcGFuIHN0eWxlPSJjb2xvcjpy Z2IoMzEsNzgsMTIxKSI+IMKgPC9zcGFuPjxzcGFuICANCnN0eWxlPSJjb2xv cjpyZ2IoMzEsNzgsMTIxKSI+QW5kIG1hbnkgbW9yZS7CoMKgPC9zcGFuPjxi PjxzcGFuICANCnN0eWxlPSJjb2xvcjpyZ2IoMzEsNzgsMTIxKSI+PHNwYW4+ PC9zcGFuPjwvc3Bhbj48L2I+PC9wPg0KDQo8cCBjbGFzcz0iTXNvTm9ybWFs IiAgDQpzdHlsZT0ibWFyZ2luLWJvdHRvbTowLjAwMDFwdDtsaW5lLWhlaWdo dDpub3JtYWwiPjxzcGFuPsKgPC9zcGFuPjwvcD4NCg0KPHAgY2xhc3M9Ik1z b05vcm1hbCIgIA0Kc3R5bGU9Im1hcmdpbi1ib3R0b206MC4wMDAxcHQ7bGlu ZS1oZWlnaHQ6bm9ybWFsIj48Yj48c3BhbiAgDQpzdHlsZT0iY29sb3I6cmdi KDMxLDc4LDEyMSkiPkxpc3QgQ29udGFpbnM6PC9zcGFuPjwvYj48c3BhbiAg DQpzdHlsZT0iY29sb3I6cmdiKDMxLDc4LDEyMSkiPsKgTmFtZSwgQ29tcGFu eSYjMzk7cyBOYW1lLA0KUGhvbmUgTnVtYmVyLCBGYXggTnVtYmVyLCBKb2Ig VGl0bGUsIEVtYWlsIGFkZHJlc3MsIENvbXBsZXRlIE1haWxpbmcgIA0KQWRk cmVzcywNClNJQyBjb2RlLCBDb21wYW55IHJldmVudWUsIHNpemUsIFdlYiBh ZGRyZXNzIGV0Yy4gPHNwYW4+PC9zcGFuPjwvc3Bhbj48L3A+DQoNCjxwIGNs YXNzPSJNc29Ob3JtYWwiICANCnN0eWxlPSJtYXJnaW4tYm90dG9tOjAuMDAw MXB0O2xpbmUtaGVpZ2h0Om5vcm1hbCI+PHNwYW4+wqA8L3NwYW4+PC9wPg0K DQo8cCBjbGFzcz0iTXNvTm9ybWFsIiAgDQpzdHlsZT0ibWFyZ2luLWJvdHRv bTowLjAwMDFwdDtsaW5lLWhlaWdodDpub3JtYWwiPjxiPjxzcGFuICANCnN0 eWxlPSJjb2xvcjpyZ2IoMzEsNzgsMTIxKSI+Tm90ZTo8L3NwYW4+PC9iPjxz cGFuICANCnN0eWxlPSJjb2xvcjpyZ2IoMzEsNzgsMTIxKSI+wqBJZsKgIHVz ZXJzIGFyZSBub3QNCnJlbGV2YW50IHRvIHlvdSBwbGVhc2UgcmVwbHkgYmFj ayB3aXRoIHlvdXIgQ3JpdGVyaWEgb3IgSW5kdXN0cnkgeW91IGFyZSAgDQps b29raW5nDQp0byB0YXJnZXQgZm9yIHlvdXIgbWFya2V0aW5nIGNhbXBhaWdu LCB3ZSBoYXZlIGFsbCB0eXBlcyBvZiB0YXJnZXQgbWFya2V0DQphdmFpbGFi bGU8L3NwYW4+PHNwYW4+PC9zcGFuPjwvcD4NCg0KPHAgY2xhc3M9Ik1zb05v cm1hbCIgIA0Kc3R5bGU9Im1hcmdpbi1ib3R0b206MC4wMDAxcHQ7bGluZS1o ZWlnaHQ6bm9ybWFsIj48c3BhbiAgDQpzdHlsZT0iY29sb3I6cmdiKDMxLDc4 LDEyMSkiPi7CoMKgPC9zcGFuPjxzcGFuPjwvc3Bhbj48L3A+DQoNCjxwIGNs YXNzPSJNc29Ob3JtYWwiICANCnN0eWxlPSJtYXJnaW4tYm90dG9tOjAuMDAw MXB0O2xpbmUtaGVpZ2h0Om5vcm1hbCI+PHNwYW4gIA0Kc3R5bGU9ImNvbG9y OnJnYigzMSw3OCwxMjEpIj5LaW5kbHkgbGV0IHVzIGtub3cgeW91cg0KaW50 ZXJlc3QgdG8gcHJvdmlkZSB5b3Ugd2l0aCBkZXRhaWxlZCBpbmZvcm1hdGlv biBmb3IgdGhlDQpzYW1lLsKgwqDCoDwvc3Bhbj48c3Bhbj48L3NwYW4+PC9w Pg0KDQo8cCBjbGFzcz0iTXNvTm9ybWFsIiAgDQpzdHlsZT0ibWFyZ2luLWJv dHRvbTowLjAwMDFwdDtsaW5lLWhlaWdodDpub3JtYWwiPjxzcGFuPsKgPC9z cGFuPjwvcD4NCg0KPHAgY2xhc3M9Ik1zb05vcm1hbCIgIA0Kc3R5bGU9Im1h cmdpbi1ib3R0b206MC4wMDAxcHQ7bGluZS1oZWlnaHQ6bm9ybWFsIj48c3Bh biAgDQpzdHlsZT0iY29sb3I6cmdiKDMxLDc4LDEyMSkiPkxldCBtZSBrbm93 IHlvdXINCnRob3VnaHRzIcKgIMKgwqA8L3NwYW4+PHNwYW4+PC9zcGFuPjwv cD4NCg0KPHAgY2xhc3M9Ik1zb05vcm1hbCIgIA0Kc3R5bGU9Im1hcmdpbi1i b3R0b206MC4wMDAxcHQ7bGluZS1oZWlnaHQ6bm9ybWFsIj48c3Bhbj7CoDwv c3Bhbj48L3A+DQoNCjxwIGNsYXNzPSJNc29Ob3JtYWwiICANCnN0eWxlPSJt YXJnaW4tYm90dG9tOjAuMDAwMXB0O2xpbmUtaGVpZ2h0Om5vcm1hbCI+PHNw YW4gIA0Kc3R5bGU9ImNvbG9yOnJnYigzMSw3OCwxMjEpIj5SZWdhcmRzLDwv c3Bhbj48c3Bhbj48L3NwYW4+PC9wPg0KDQo8cCBjbGFzcz0iTXNvTm9ybWFs IiAgDQpzdHlsZT0ibWFyZ2luLWJvdHRvbTowLjAwMDFwdDtsaW5lLWhlaWdo dDpub3JtYWwiPjxzcGFuICANCnN0eWxlPSJjb2xvcjpyZ2IoMzEsNzgsMTIx KSI+TWFkZWxlaW5lIFR1cm5lcjwvc3Bhbj48c3Bhbj48L3NwYW4+PC9wPg0K DQo8cCBjbGFzcz0iTXNvTm9ybWFsIiAgDQpzdHlsZT0ibWFyZ2luLWJvdHRv bTowLjAwMDFwdDtsaW5lLWhlaWdodDpub3JtYWwiPjxzcGFuICANCnN0eWxl PSJjb2xvcjpyZ2IoMzEsNzgsMTIxKSI+U2VuaW9yIERlbWFuZCBHZW5lcmF0 aW9uLQ0KVGVjaG5vbG9neSBEYXRhYmFzZcKgPC9zcGFuPjxzcGFuPjwvc3Bh bj48L3A+DQoNCjxwIGNsYXNzPSJNc29Ob3JtYWwiICANCnN0eWxlPSJtYXJn aW4tYm90dG9tOjAuMDAwMXB0O2xpbmUtaGVpZ2h0Om5vcm1hbCI+PHNwYW4+ wqA8L3NwYW4+PC9wPg0KDQo8cCBjbGFzcz0iTXNvTm9ybWFsIiAgDQpzdHls ZT0ibWFyZ2luLWJvdHRvbTowLjAwMDFwdDtsaW5lLWhlaWdodDpub3JtYWwi PjxzcGFuICANCnN0eWxlPSJjb2xvcjpyZ2IoMzEsNzgsMTIxKSI+RGF0YSBj b3ZlcmFnZS0gZ2xvYmFsICg8Yj5Ob3J0aA0KQW1lcmljYSwgRU1FQSwgQVBB QyBhbmQgTEFUQU0pPC9iPjwvc3Bhbj48c3Bhbj48L3NwYW4+PC9wPg0KDQo8 cCBjbGFzcz0iTXNvTm9ybWFsIiAgDQpzdHlsZT0ibWFyZ2luLWJvdHRvbTow LjAwMDFwdDtsaW5lLWhlaWdodDpub3JtYWwiPjxzcGFuICANCnN0eWxlPSJj b2xvcjpyZ2IoMzEsNzgsMTIxKSI+wqDCoCDCoDwvc3Bhbj48c3Bhbj48L3Nw YW4+PC9wPg0KDQo8cCBjbGFzcz0iTXNvTm9ybWFsIiBhbGlnbj0iY2VudGVy IiAgDQpzdHlsZT0ibWFyZ2luLWJvdHRvbTowLjAwMDFwdDt0ZXh0LWFsaWdu OmNlbnRlcjtsaW5lLWhlaWdodDpub3JtYWwiPjxzcGFuICANCnN0eWxlPSJj b2xvcjpyZ2IoMzEsNzgsMTIxKSI+VG8gcmVtb3ZlIGZyb20gYXJlIG1haWxp bmcgbGlzdCBwbGVhc2UgIA0KcmVzcG9uc2UgdW5zdWJzY3JpYmU8L3NwYW4+ PHNwYW4+PC9zcGFuPjwvcD48L2Rpdj4NCjxwPiZuYnNwOzwvcD48YSBzdHls ZT0nZGlzcGxheTogYmxvY2s7IG1hcmdpbjogMzJweCAwIDQwcHggMDsgcGFk ZGluZzogIA0KMTBweDsgZm9udC1zaXplOiAxZW07IHRleHQtYWxpZ246IGNl bnRlcjsgYm9yZGVyOiAwOyBib3JkZXItdG9wOiAxcHggc29saWQgIA0KZ3Jh eTsgJyBocmVmPSdodHRwczovL2dvby5nbC8ya3NkUnYnPnBvd2VyZWQgYnkg R1NNLiBGcmVlIG1haWwgbWVyZ2UgYW5kICANCmVtYWlsIG1hcmtldGluZyBz b2Z0d2FyZSBmb3IgR21haWwuPC9hPg0K >From gcc-bugs-return-601561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 16:50:17 2018 Return-Path: <gcc-bugs-return-601561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82428 invoked by alias); 13 Apr 2018 16:50:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82320 invoked by uid 48); 13 Apr 2018 16:50:11 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85365] -Wrestrict false positives with -fsanitize=undefined Date: Fri, 13 Apr 2018 16:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: diagnostic, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: <bug-85365-4-3sEXjnTevj@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85365-4@http.gcc.gnu.org/bugzilla/> References: <bug-85365-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01685.txt.bz2 Content-length: 422 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85365 Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> --- Patch: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00676.html >From gcc-bugs-return-601562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 16:55:52 2018 Return-Path: <gcc-bugs-return-601562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88224 invoked by alias); 13 Apr 2018 16:55:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88137 invoked by uid 48); 13 Apr 2018 16:55:47 -0000 From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84842] ICE in verify_target_availability, at sel-sched.c:1569 Date: Fri, 13 Apr 2018 16:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-84842-4-VTo58UOTL0@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84842-4@http.gcc.gnu.org/bugzilla/> References: <bug-84842-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01686.txt.bz2 Content-length: 769 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84842 Alexander Monakov <amonakov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #4 from Alexander Monakov <amonakov at gcc dot gnu.org> --- Can you please share tree and rtl dumps for the nice testcase in comment #3 by re-running it with -fdump-tree-all -fdump-rtl-all and attaching a tar.gz with those? I could not reproduce it either, so having the dumps might help us see what's different on our side. (and an additional archive for a non-failing run without -fselective-scheduling2 might be helpful too) >From gcc-bugs-return-601563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 16:57:59 2018 Return-Path: <gcc-bugs-return-601563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94009 invoked by alias); 13 Apr 2018 16:57:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91223 invoked by uid 48); 13 Apr 2018 16:57:54 -0000 From: "acsawdey at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83660] ICE with vec_extract inside expression statement Date: Fri, 13 Apr 2018 16:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: acsawdey at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: acsawdey at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-83660-4-4o1k7PCy60@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83660-4@http.gcc.gnu.org/bugzilla/> References: <bug-83660-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01687.txt.bz2 Content-length: 1504 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 --- Comment #12 from acsawdey at gcc dot gnu.org --- This function is called from cp/semantics.c maybe_cleanup_point_expr() tree fold_build_cleanup_point_expr (tree type, tree expr) { /* If the expression does not have side effects then we don't have to wrap it with a cleanup point expression. */ if (!TREE_SIDE_EFFECTS (expr)) return expr; In the vec_extract case it bails out due to no side effects and does not put in the cleanup point. So in fact a more minimal version of Jakub's patch also works. If you mark that this has side effects, then the cleanup point is added for us by the existing code: Index: config/rs6000/rs6000-c.c =================================================================== --- config/rs6000/rs6000-c.c (revision 259353) +++ config/rs6000/rs6000-c.c (working copy) @@ -6704,6 +6704,8 @@ stmt = convert (innerptrtype, stmt); stmt = build_binary_op (loc, PLUS_EXPR, stmt, arg2, 1); stmt = build_indirect_ref (loc, stmt, RO_NULL); + if (c_dialect_cxx ()) + TREE_SIDE_EFFECTS (stmt) = 1; return stmt; } Any comments on whether this is the right way to fix this? I think the vec_insert case does not need to be changed because the MODIFY_EXPR used there will mark that there are side effects for us. >From gcc-bugs-return-601564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 17:05:13 2018 Return-Path: <gcc-bugs-return-601564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113829 invoked by alias); 13 Apr 2018 17:05:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 113733 invoked by uid 48); 13 Apr 2018 17:05:09 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83660] ICE with vec_extract inside expression statement Date: Fri, 13 Apr 2018 17:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: acsawdey at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-83660-4-Aa6ziDRxcd@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83660-4@http.gcc.gnu.org/bugzilla/> References: <bug-83660-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01688.txt.bz2 Content-length: 1707 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 --- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to acsawdey from comment #12) > This function is called from cp/semantics.c maybe_cleanup_point_expr() > > tree > fold_build_cleanup_point_expr (tree type, tree expr) > { > /* If the expression does not have side effects then we don't have to wrap > it with a cleanup point expression. */ > if (!TREE_SIDE_EFFECTS (expr)) > return expr; > > In the vec_extract case it bails out due to no side effects and does not put > in the cleanup point. > > So in fact a more minimal version of Jakub's patch also works. If you mark > that this has side effects, then the cleanup point is added for us by the > existing code: > > Index: config/rs6000/rs6000-c.c > =================================================================== > --- config/rs6000/rs6000-c.c (revision 259353) > +++ config/rs6000/rs6000-c.c (working copy) > @@ -6704,6 +6704,8 @@ > stmt = convert (innerptrtype, stmt); > stmt = build_binary_op (loc, PLUS_EXPR, stmt, arg2, 1); > stmt = build_indirect_ref (loc, stmt, RO_NULL); > + if (c_dialect_cxx ()) > + TREE_SIDE_EFFECTS (stmt) = 1; > > return stmt; > } > > Any comments on whether this is the right way to fix this? I think the > vec_insert case does not need to be changed because the MODIFY_EXPR used > there will mark that there are side effects for us. I think this is reasonable, but should have a comment why we do that. >From gcc-bugs-return-601565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 18:52:22 2018 Return-Path: <gcc-bugs-return-601565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35178 invoked by alias); 13 Apr 2018 18:52:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35155 invoked by uid 48); 13 Apr 2018 18:52:17 -0000 From: "microprogs at mail dot ru" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85396] New: _M_t._M_emplace_hint_unique Date: Fri, 13 Apr 2018 18:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: microprogs at mail dot ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: <bug-85396-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01689.txt.bz2 Content-length: 5205 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85396 Bug ID: 85396 Summary: _M_t._M_emplace_hint_unique Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: microprogs at mail dot ru Target Milestone: --- Created attachment 43927 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43927&action=edit preprocessed test.cpp, you can see that src in comment, it's short // gcc (Raspbian 6.3.0-18+rpi1+deb9u1) 6.3.0 20170516 // cat /etc/debian_version = 9.4 // Linux hostname 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l GNU/Linux // Raspberry Pi 3B // // C++11: ERROR, cannot compile //g++ -std=c++11 -o test test.cpp // // C++14: OK //g++ -std=c++14 -o test test.cpp // // old C++: OK //g++ -o test test.cpp #include <map> struct MyType { double x; }; int main(int argc, char** argv) { std::map<std::string, MyType> t; MyType &tss = t[""]; return 0; } /* ERROR: In file included from /usr/include/c++/6/map:61:0, from test.cpp:17: /usr/include/c++/6/bits/stl_map.h: In member function âstd::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](std::map<_Key, _Tp, _Compare, _Alloc>::key_type&&) [with _Key = std::__cxx11::basic_string<char>; _Tp = MyType; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, MyType> >]â: /usr/include/c++/6/bits/stl_map.h:502:4: note: parameter passing for argument of type âstd::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, MyType>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, MyType> >, std::less<std::__cxx11::basic_string<char> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, MyType> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const std::__cxx11::basic_string<char>, MyType> >}â will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ In file included from /usr/include/c++/6/map:60:0, from test.cpp:17: /usr/include/c++/6/bits/stl_tree.h: In member function âstd::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&>, std::tuple<>}; _Key = std::__cxx11::basic_string<char>; _Val = std::pair<const std::__cxx11::basic_string<char>, MyType>; _KeyOfValue = std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, MyType> >; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, MyType> >]â: /usr/include/c++/6/bits/stl_tree.h:2193:7: note: parameter passing for argument of type âstd::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, MyType>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, MyType> >, std::less<std::__cxx11::basic_string<char> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, MyType> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const std::__cxx11::basic_string<char>, MyType> >}â will change in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/6/bits/stl_tree.h: In member function âstd::pair<std::_Rb_tree_node_base*, std::_Rb_tree_node_base*> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, const key_type&) [with _Key = std::__cxx11::basic_string<char>; _Val = std::pair<const std::__cxx11::basic_string<char>, MyType>; _KeyOfValue = std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, MyType> >; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, MyType> >]â: /usr/include/c++/6/bits/stl_tree.h:1928:5: note: parameter passing for argument of type âstd::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, MyType>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, MyType> >, std::less<std::__cxx11::basic_string<char> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, MyType> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const std::__cxx11::basic_string<char>, MyType> >}â will change in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ >From gcc-bugs-return-601566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 19:15:55 2018 Return-Path: <gcc-bugs-return-601566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99738 invoked by alias); 13 Apr 2018 19:15:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99538 invoked by uid 48); 13 Apr 2018 19:15:36 -0000 From: "reichelt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82099] internal compiler error: in type_throw_all_p, at cp/except.c:1186 when using a function pointer for templated predicate Date: Fri, 13 Apr 2018 19:15: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.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: reichelt at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on cc Message-ID: <bug-82099-4-3fRFRd7dKZ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-82099-4@http.gcc.gnu.org/bugzilla/> References: <bug-82099-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01690.txt.bz2 Content-length: 590 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82099 Volker Reichelt <reichelt at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2017-09-04 00:00:00 |2018-4-13 CC| |reichelt at gcc dot gnu.org --- Comment #5 from Volker Reichelt <reichelt at gcc dot gnu.org> --- On trunk (GCC 8) the testcases of comment #2 and comment #4 only crash with -std=c++17, but don't crash with -std=c++11 or -std=c++14. >From gcc-bugs-return-601567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 19:27:58 2018 Return-Path: <gcc-bugs-return-601567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80215 invoked by alias); 13 Apr 2018 19:27:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77475 invoked by uid 48); 13 Apr 2018 19:27:54 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85397] New: -mcet -fcf-protection doesn't work with label in nested function Date: Fri, 13 Apr 2018 19:27: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc blocked target_milestone cf_gcctarget Message-ID: <bug-85397-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01691.txt.bz2 Content-length: 2377 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85397 Bug ID: 85397 Summary: -mcet -fcf-protection doesn't work with label in nested function Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: igor.v.tsimbalist at intel dot com Blocks: 81652 Target Milestone: --- Target: x86_64 [hjl@gnu-cet-1 cet-3]$ cat x.i int s(int i) { if(i>0) { __label__ l1; int f(int i) { if(i==2) goto l1; return 0; } return f(i); l1: ; } return 1; } int x(void) { return s(0)==1&&s(1)==0&&s(2)==1; } int main() { if(x()!=1) __builtin_abort(); return 0; } [hjl@gnu-cet-1 cet-3]$ make gcc -O2 -mcet -fcf-protection -S x.i gcc -g -O2 -mcet -fcf-protection -o x x.s ./x make: *** [Makefile:10: all] Segmentation fault [hjl@gnu-cet-1 cet-3]$ gdb x GNU gdb (GDB) Fedora 8.1-11.fc28 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from x...done. (gdb) r Starting program: /export/home/hjl/bugs/gcc/cet-3/x Missing separate debuginfos, use: dnf debuginfo-install glibc-2.27-8.6.fc28.x86_64 Program received signal SIGSEGV, Segmentation fault. s () at x.s:76 76 ret (gdb) bt #0 s () at x.s:76 #1 0x0000000000401238 in x () at x.s:136 #2 0x000000000040106d in main () at x.s:157 (gdb) Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 [Bug 81652] [meta-bug] -fcf-protection=full -mcet bugs >From gcc-bugs-return-601568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 19:36:49 2018 Return-Path: <gcc-bugs-return-601568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15918 invoked by alias); 13 Apr 2018 19:36:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13374 invoked by uid 48); 13 Apr 2018 19:36:44 -0000 From: "patrickdepinguin at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/85398] New: g++ reports "array subscript is above array bounds" when it cannot be sure Date: Fri, 13 Apr 2018 19:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 6.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: patrickdepinguin at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85398-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01692.txt.bz2 Content-length: 2083 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85398 Bug ID: 85398 Summary: g++ reports "array subscript is above array bounds" when it cannot be sure Product: gcc Version: 6.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: patrickdepinguin at gmail dot com Target Milestone: --- In following test program: ------------------------------ #define NB_DEV 1 extern unsigned int max; unsigned long left[NB_DEV]; unsigned long right[NB_DEV]; void foo() { unsigned int i; for (i=1; i < max; i++) left[i] = right[i-1]; } ------------------------------ compiled with: $(CXX) -Werror -Wall -O2 -c reprod.cc g++ gives following warning/error: reprod.cc: In function 'void foo()': reprod.cc:13:13: error: array subscript is above array bounds [-Werror=array-bounds] left[i] = right[i-1]; ~~~~~~^ cc1plus: all warnings being treated as errors make: *** [Makefile:4: all] Error 1 While there _could_ be an array overflow, g++ cannot know for sure because the loop boundary 'max' is an external variable. The code is perfectly fine in case max == 1. In that case, the loop does nothing. This is a reduced version of real code where the arrays left and right are dimensioned to some maximum value NB_DEV, and 'max' will be at most that NB_DEV but possibly smaller. We are thus sure there will not be an array overflow. Going back to the reproduction code above, if you change NB_DEV to 2 (for example), no warning is thrown, even though there could still be an overflow in case max == 5, for example. According to me, no warning should be thrown because g++ cannot surely say there is a problem. Same problem is seen if you compile this as C code rather than C++. Problem is not seen with -O1, only with -O2 or -O3. This problem was tested with gcc 6.4.0 (x86_64), gcc 6.3.0 (armeb), gcc 5.4.0 (armeb) and gcc 4.9.4 (armeb). >From gcc-bugs-return-601569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 19:39:48 2018 Return-Path: <gcc-bugs-return-601569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25319 invoked by alias); 13 Apr 2018 19:39:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25256 invoked by uid 55); 13 Apr 2018 19:39:43 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85376] [8 Regression] wrong code with -Og -fno-dce -fgcse -fno-tree-ccp -fno-tree-copy-prop Date: Fri, 13 Apr 2018 19:39: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.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85376-4-gjitYunvQg@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85376-4@http.gcc.gnu.org/bugzilla/> References: <bug-85376-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01693.txt.bz2 Content-length: 669 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85376 --- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Apr 13 19:39:11 2018 New Revision: 259377 URL: https://gcc.gnu.org/viewcvs?rev=259377&root=gcc&view=rev Log: PR rtl-optimization/85376 * simplify-rtx.c (simplify_const_unary_operation): For CLZ and CTZ and zero op0, if C?Z_DEFINED_VALUE_AT_ZERO is false, return NULL_RTX instead of a specific value. * gcc.dg/pr85376.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr85376.c Modified: trunk/gcc/ChangeLog trunk/gcc/simplify-rtx.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-601570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 19:46:00 2018 Return-Path: <gcc-bugs-return-601570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55404 invoked by alias); 13 Apr 2018 19:46:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55080 invoked by uid 48); 13 Apr 2018 19:45:38 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85376] [8 Regression] wrong code with -Og -fno-dce -fgcse -fno-tree-ccp -fno-tree-copy-prop Date: Fri, 13 Apr 2018 19:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85376-4-GroF2L2byG@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85376-4@http.gcc.gnu.org/bugzilla/> References: <bug-85376-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01694.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85376 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Fixed. >From gcc-bugs-return-601571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 19:55:54 2018 Return-Path: <gcc-bugs-return-601571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73722 invoked by alias); 13 Apr 2018 19:55:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73649 invoked by uid 55); 13 Apr 2018 19:55:48 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85393] [8 Regression] Miscompilation with hot/cold partitioning starting with r254832 Date: Fri, 13 Apr 2018 19:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85393-4-56aLHkXRdn@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85393-4@http.gcc.gnu.org/bugzilla/> References: <bug-85393-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01695.txt.bz2 Content-length: 1003 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85393 --- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Apr 13 19:55:15 2018 New Revision: 259378 URL: https://gcc.gnu.org/viewcvs?rev=259378&root=gcc&view=rev Log: PR rtl-optimization/85393 * except.h (expand_dw2_landing_pad_for_region): Remove declaration. * except.c (expand_dw2_landing_pad_for_region): Make static. * bb-reorder.c (fix_up_crossing_landing_pad): In new_bb emit just a label and unconditional jump to old_bb, rather than expand_dw2_landing_pad_for_region insn(s) and jump to single_succ basic block. * g++.dg/opt/pr85393.C: New test. * g++.dg/opt/pr85393-aux.cc: New file. Added: trunk/gcc/testsuite/g++.dg/opt/pr85393-aux.cc trunk/gcc/testsuite/g++.dg/opt/pr85393.C Modified: trunk/gcc/ChangeLog trunk/gcc/bb-reorder.c trunk/gcc/except.c trunk/gcc/except.h trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-601572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 19:57:48 2018 Return-Path: <gcc-bugs-return-601572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77432 invoked by alias); 13 Apr 2018 19:57:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77343 invoked by uid 48); 13 Apr 2018 19:57:43 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85393] [8 Regression] Miscompilation with hot/cold partitioning starting with r254832 Date: Fri, 13 Apr 2018 19:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85393-4-vjDcwUbdZc@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85393-4@http.gcc.gnu.org/bugzilla/> References: <bug-85393-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01696.txt.bz2 Content-length: 424 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85393 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Fixed. >From gcc-bugs-return-601573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 20:58:44 2018 Return-Path: <gcc-bugs-return-601573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5429 invoked by alias); 13 Apr 2018 20:58:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5341 invoked by uid 48); 13 Apr 2018 20:58:39 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85397] -mcet -fcf-protection doesn't work with label in nested function Date: Fri, 13 Apr 2018 20:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: <bug-85397-4-cjcsQwBHsO@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85397-4@http.gcc.gnu.org/bugzilla/> References: <bug-85397-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01697.txt.bz2 Content-length: 570 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85397 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-13 Ever confirmed|0 |1 --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- Do we need to define save_stack_nonlocal and restore_stack_nonlocal to save and restore shadow stack pointers? >From gcc-bugs-return-601574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 21:24:57 2018 Return-Path: <gcc-bugs-return-601574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48573 invoked by alias); 13 Apr 2018 21:24:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48523 invoked by uid 48); 13 Apr 2018 21:24:52 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/85398] g++ reports "array subscript is above array bounds" when it cannot be sure Date: Fri, 13 Apr 2018 21:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 6.4.0 X-Bugzilla-Keywords: diagnostic, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc everconfirmed Message-ID: <bug-85398-4-Za0x6bfiXP@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85398-4@http.gcc.gnu.org/bugzilla/> References: <bug-85398-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01698.txt.bz2 Content-length: 917 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85398 Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic, | |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-13 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed. It doesn't look like the assignment to left[i] affects the determination of the maximum number of iterations of the loop during unrolling. This is also a missed optimization opportunity since the whole loop could be eliminated. >From gcc-bugs-return-601575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 21:26:23 2018 Return-Path: <gcc-bugs-return-601575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50624 invoked by alias); 13 Apr 2018 21:26:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50577 invoked by uid 48); 13 Apr 2018 21:26:18 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85399] New: Redundant SSP clearing before rdssp Date: Fri, 13 Apr 2018 21:26: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc blocked target_milestone Message-ID: <bug-85399-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01699.txt.bz2 Content-length: 1215 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85399 Bug ID: 85399 Summary: Redundant SSP clearing before rdssp Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: igor.v.tsimbalist at intel dot com Blocks: 81652 Target Milestone: --- Since rdssp has been changed to ;; CET instructions (define_insn "rdssp<mode>" [(set (match_operand:SWI48x 0 "register_operand" "=r") (unspec_volatile:SWI48x [(const_int 0)] UNSPECV_NOP_RDSSP))] "TARGET_SHSTK" "xor{l}\t%k0, %k0\n\trdssp<mskmodesuffix>\t%0" [(set_attr "length" "6") (set_attr "type" "other")]) emit_insn (gen_rtx_SET (reg_ssp, const0_rtx)); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This is redundant now. emit_insn ((word_mode == SImode) ? gen_rdsspsi (reg_ssp) : gen_rdsspdi (reg_ssp)); Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 [Bug 81652] [meta-bug] -fcf-protection=full -mcet bugs >From gcc-bugs-return-601576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 22:08:17 2018 Return-Path: <gcc-bugs-return-601576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43831 invoked by alias); 13 Apr 2018 22:08:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43707 invoked by uid 48); 13 Apr 2018 22:08:12 -0000 From: "thopre01 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85344] Constant constraint check sign extends unsigned constant input operands Date: Fri, 13 Apr 2018 22:08: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.1 X-Bugzilla-Keywords: ice-on-valid-code, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: thopre01 at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: thopre01 at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85344-4-JnCsMB6Vny@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85344-4@http.gcc.gnu.org/bugzilla/> References: <bug-85344-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01700.txt.bz2 Content-length: 1673 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85344 --- Comment #5 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> --- (In reply to Thomas Preud'homme from comment #4) > (In reply to Thomas Preud'homme from comment #3) > > More worrying is that this code compiles without error when it should error > > out: > > > > void > > foo (void) > > { > > __asm( "%0" :: "J" ((unsigned char) 0x80)); > > } > > In which case we end up with #-128 in the assembly which is not what the > user wrote. Thus adding wrong-code tag. I have difficulty to make up my mind about what is the expected behavior for constant input in inline asm, esp. for immediate constraint. But first let's look at register constraint: asm ("mov %0, %0" : "=r"(result) : "0"((signed char) -128)); will put 0x00000080 in the register holding result. It basically set the register in the mode of the immediate, so QImode here. I would have expected for a 32bit register to have the immediate as 2-complement 32bit value, ie 0xFFFFFF80 in this case. The documentation says that a general register should be used which is true in both case. Now what about asm ("%0" :: "i"((unsigned char) 128)); This gives -128 in the assembly code, on at least ARM and x86_64 targets but I would expect likewise on all targets. Likewise: asm ("%0" :: "i"(0x80000000)); gives #-2147483648 in assembly for the similar reason. Here my expectation is that provided that the constant can be represented in a const_int its value as a C level constant is what should be printed in assembly and the constraint check (eg for constraint I in ARM backend) should be based on that value as well. Thoughts? >From gcc-bugs-return-601577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 22:24:59 2018 Return-Path: <gcc-bugs-return-601577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71941 invoked by alias); 13 Apr 2018 22:24:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71831 invoked by uid 48); 13 Apr 2018 22:24:39 -0000 From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85360] FAIL: gfortran.dg/deallocate_stat.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (ICE) Date: Fri, 13 Apr 2018 22:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85360-4-V0ThqRAYc8@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85360-4@http.gcc.gnu.org/bugzilla/> References: <bug-85360-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01701.txt.bz2 Content-length: 481 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85360 John David Anglin <danglin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> --- Not seen in next build. It's probably a OS problem. >From gcc-bugs-return-601578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 22:55:53 2018 Return-Path: <gcc-bugs-return-601578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107309 invoked by alias); 13 Apr 2018 22:55:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107251 invoked by uid 55); 13 Apr 2018 22:55:49 -0000 From: "vmakarov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/79916] ICE in Max. number of generated reload insns per insn is achieved (90) Date: Fri, 13 Apr 2018 22:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ra X-Bugzilla-Severity: normal X-Bugzilla-Who: vmakarov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-79916-4-Nt7eFGGCnI@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-79916-4@http.gcc.gnu.org/bugzilla/> References: <bug-79916-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01702.txt.bz2 Content-length: 816 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79916 --- Comment #10 from Vladimir Makarov <vmakarov at gcc dot gnu.org> --- Author: vmakarov Date: Fri Apr 13 22:55:16 2018 New Revision: 259379 URL: https://gcc.gnu.org/viewcvs?rev=259379&root=gcc&view=rev Log: 2018-04-13 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/79916 * config/rs6000/rs6000.c (rs6000_emit_move): Use assigned hard regs (if any) to define how to gnerate SD moves when LRA is in progress. 2018-04-13 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/79916 * gcc.target/powerpc/pr79916.c: New. Added: trunk/gcc/testsuite/gcc.target/powerpc/pr79916.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-601579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 22:57:40 2018 Return-Path: <gcc-bugs-return-601579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108639 invoked by alias); 13 Apr 2018 22:57:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108577 invoked by uid 48); 13 Apr 2018 22:57:36 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85397] -mcet -fcf-protection doesn't work with label in nested function Date: Fri, 13 Apr 2018 22:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85397-4-XFEvJBQ8qn@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85397-4@http.gcc.gnu.org/bugzilla/> References: <bug-85397-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01703.txt.bz2 Content-length: 440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85397 --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- Please take a look at hjl/cet/master branch at https://github.com/hjl-tools/gcc/tree/hjl/cet/master I replaced builtin_setjmp_setup and builtin_longjmp with save_stack_nonlocal and restore_stack_nonlocal to save and restore shadow stack to support both builtin setjmp/longjmp as well as non-local goto in nested functions. >From gcc-bugs-return-601580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 13 23:14:18 2018 Return-Path: <gcc-bugs-return-601580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122404 invoked by alias); 13 Apr 2018 23:14:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122329 invoked by uid 55); 13 Apr 2018 23:14:13 -0000 From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83402] PPC64 implementation of ./rs6000/emmintrin.h gives out of range for _mm_slli_epi32 Date: Fri, 13 Apr 2018 23:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pc at us dot ibm.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-83402-4-8IRzmpzgKs@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83402-4@http.gcc.gnu.org/bugzilla/> References: <bug-83402-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01704.txt.bz2 Content-length: 1679 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83402 --- Comment #12 from Segher Boessenkool <segher at gcc dot gnu.org> --- Author: segher Date: Fri Apr 13 23:13:40 2018 New Revision: 259380 URL: https://gcc.gnu.org/viewcvs?rev=259380&root=gcc&view=rev Log: rs6000: Fix _mm_slli_epi{32,64} for shift values 16 through 31 and negative (PR84302) The powerpc versions of _mm_slli_epi32 and __mm_slli_epi64 in emmintrin.h do not properly handle shift values between 16 and 31, inclusive. These are setting up the shift with vec_splat_s32, which only accepts *5 bit signed* shift values, or a range of -16 to 15. Values above 15 produce an error: error: argument 1 must be a 5-bit signed literal Fix is to effectively reduce the range for which vec_splat_s32 is used to < 32 and use vec_splats otherwise. Also, __mm_slli_epi{16,32,64}, when given a negative shift value, should always return a vector of {0}. PR target/83402 * config/rs6000/emmintrin.h (_mm_slli_epi{16,32,64}): Ensure that vec_splat_s32 is only called with 0 <= shift < 16. Ensure negative shifts result in {0}. gcc/testsuite/ PR target/83402 * gcc.target/powerpc/sse2-psllw-1.c: Refactor and add tests for several values: positive, negative, and zero. * gcc.target/powerpc/sse2-pslld-1.c: Same. * gcc.target/powerpc/sse2-psllq-1.c: Same. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/emmintrin.h trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/powerpc/sse2-pslld-1.c trunk/gcc/testsuite/gcc.target/powerpc/sse2-psllq-1.c trunk/gcc/testsuite/gcc.target/powerpc/sse2-psllw-1.c >From gcc-bugs-return-601581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 00:06:22 2018 Return-Path: <gcc-bugs-return-601581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86262 invoked by alias); 14 Apr 2018 00:06:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86192 invoked by uid 48); 14 Apr 2018 00:06:18 -0000 From: "pthaugen at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84737] [8 Regression] 20% degradation in CPU2000 172.mgrid starting with r256888 Date: Sat, 14 Apr 2018 00:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pthaugen 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: attachments.created Message-ID: <bug-84737-4-QIU7CSJIHW@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84737-4@http.gcc.gnu.org/bugzilla/> References: <bug-84737-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01705.txt.bz2 Content-length: 869 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84737 --- Comment #14 from Pat Haugen <pthaugen at gcc dot gnu.org> --- Created attachment 43928 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43928&action=edit r256888 pcom dump So the difference appears to be occurring in predictive commoning. In the ipa-cp clone, resid.constprop, pcom is failing to hoist some loads/expressions from the vectorized loop. This results in an additional 9 vector loads and 5 vector adds being executed each iteration of the loop. I've attached a pcom dump of the original resid() and the clone resid.constprop(). You can see that in the original resid(), pcom is moving some loads/adds, but not in resid.constprop(). BB 6 is the vectorized loop in resid(), BB 5 is the same loop in resid.constprop(). Not sure if this is a similar issue to pr55334 wrt losing restrict. >From gcc-bugs-return-601582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 02:40:04 2018 Return-Path: <gcc-bugs-return-601582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58519 invoked by alias); 14 Apr 2018 02:40:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58334 invoked by uid 48); 14 Apr 2018 02:39:59 -0000 From: "phantall at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85400] New: R_SPARC_TLS_*: invalid relocations generated for optimized builds on sparc Date: Sat, 14 Apr 2018 02:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: phantall at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85400-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01706.txt.bz2 Content-length: 2419 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85400 Bug ID: 85400 Summary: R_SPARC_TLS_*: invalid relocations generated for optimized builds on sparc Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: phantall at gmail dot com Target Milestone: --- In Solaris 10 & 11 using GCC versions 4.8, 4.9.2, 7.2.0 I get relocation errors when thread_local variables are used in a struct/class. Example code that reproduces the problem: > struct Test { > int blah( int y ) { > thread_local mything = 3; > mything = y > 0 ? y : mything; > return mything; > } > }; > int stuff( Test& test, int y ) { > return test.blah(y); > } When compiled: > $ g++ -m32 -fPIC -std=gnu++14 blah.cc -c -o blah1.o > $ g++ -m32 -fPIC -std=gnu++14 blah.cc -c -o blah2.o -O3 > $ objdump -xC blah1.o | grep mything > (...) > 00000038 R_SPARC_TLS_GD_HI22 Test::blah(int)::mything > 0000003c R_SPARC_TLS_GD_LO10 Test::blah(int)::mything > (...) > $ objdump -xC blah2.o | grep mything > (...) > 00000014 R_SPARC_TLS_LDM_HI22 Test::blah(int)::mything > 0000001c R_SPARC_TLS_LDO_HIX22 Test::blah(int)::mything > 00000020 R_SPARC_TLS_LDM_LO10 Test::blah(int)::mything > 00000024 R_SPARC_TLS_LDO_LOX10 Test::blah(int)::mything > (...) > $ g++ -m32 -fPIC -shared blah2.o -o libblah.so > ld: fatal: relocation error: R_SPARC_TLS_LDM_HI22: file blah2.o: symbol: _ZZN4Test4blahEiE7mything: bound to: blah.o: relocation illegal when not bound to object being created > ld: fatal: relocation error: R_SPARC_TLS_LDM_HIX22: file blah2.o: symbol: _ZZN4Test4blahEiE7mything: bound to: blah.o: relocation illegal when not bound to object being created > ... For reference: * It happens at all optimization levels above -O0 and for all combinations of -std={c,gnu}++{11,14} * This was discovered while building boost 1.66.0 with -std=gnu++14. The error occurs while linking libboost_fiber.so and comes from work_stealing.cpp for boost::fibers::detail::spinlock_ttas::lock()::generator ... where "generator" in that code is a static thread_local at member-function scope. * The compilers I built and those produced by OpenCSW use the Solaris assembler (/usr/ccs/bin/as) instead of gas. >From gcc-bugs-return-601583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 02:52:37 2018 Return-Path: <gcc-bugs-return-601583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32831 invoked by alias); 14 Apr 2018 02:52:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28265 invoked by uid 48); 14 Apr 2018 02:52:32 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85397] -mcet -fcf-protection doesn't work with label in nested function Date: Sat, 14 Apr 2018 02: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85397-4-p1DP4uhHKn@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85397-4@http.gcc.gnu.org/bugzilla/> References: <bug-85397-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01707.txt.bz2 Content-length: 206 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85397 --- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- builtin_longjmp has also the same issue as PR 85025. I fixed it on hjl/cet/master branch. >From gcc-bugs-return-601584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 05:05:27 2018 Return-Path: <gcc-bugs-return-601584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80305 invoked by alias); 14 Apr 2018 05:05:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 80244 invoked by uid 48); 14 Apr 2018 05:05:21 -0000 From: "coypu at sdf dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85401] New: segfault building code for VAX Date: Sat, 14 Apr 2018 05:05: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: coypu at sdf dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: <bug-85401-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01708.txt.bz2 Content-length: 7060 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85401 Bug ID: 85401 Summary: segfault building code for VAX Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: coypu at sdf dot org Target Milestone: --- Created attachment 43929 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43929&action=edit Reproduce test build with the following flags fails: -O2 -fno-pic -c ip_icmp.i here is a backtrace, from trunk as of April 14 2018. Starting program: /home/fly/gcc/build/gcc/cc1 -fpreprocessed ip_icmp.i -quiet -dumpbase ip_icmp.i -auxbase ip_icmp -O2 -fno-pic -o /var/tmp//ccO5AxRb.s In file included from ../../../../sys/timevar.h:66, from ../../../../sys/time.h:307, from ../../../../sys/param.h:145, from ../../../../netinet/ip_icmp.c:103: ../../../../sys/systm.h:225:6: warning: conflicting types for built-in function 'printf' [-Wbuiltin-declaration-mismatch] ../../../../sys/systm.h:229:6: warning: conflicting types for built-in function 'vprintf' [-Wbuiltin-declaration-mismatch] In file included from ../../../../netinet/ip_icmp.c:112: ../../../../sys/syslog.h:233:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] Program received signal SIGSEGV, Segmentation fault. 0x0000000000bfd868 in allocno_copy_cost_saving (allocno=0x7e3c3e791190, hard_regno=11) at ../../gcc/ira-color.c:2832 2832 cost += cp->freq * ira_register_move_cost[allocno_mode][rclass][rclass]; 1: rclass = ALL_REGS 2: allocno_mode = E_QImode 3: ira_register_move_cost[allocno_mode][rclass][rclass] = <error: Cannot access memory at address 0x6> 4: cp->freq = 36 5: ira_register_move_cost = {0x0, 0x0, 0x0, 0x0, 0x0, 0x7e3c3ed98850, 0x7e3c3ed98850, 0x0 <repeats 32 times>} (gdb) bt full #0 0x0000000000bfd868 in allocno_copy_cost_saving (allocno=0x7e3c3e791190, hard_regno=11) at ../../gcc/ira-color.c:2832 cost = 0 allocno_mode = E_QImode rclass = ALL_REGS cp = 0x7e3c3e511380 next_cp = 0x0 __FUNCTION__ = "allocno_copy_cost_saving" #1 0x0000000000bfdbb9 in improve_allocation () at ../../gcc/ira-color.c:2905 i = 2 j = 11 k = 11 n = 5 hregno = 11 conflict_hregno = 1 base_cost = 2232 class_size = 12 word = 1 nwords = 1 check = 3 spill_cost = 4068 min_cost = -594 nregs = 1 conflict_nregs = 1 r = 2 best = 10 try_p = true aclass = ALL_REGS mode = E_SImode allocno_costs = 0x7e3c3e7313c8 costs = {-1740536, 40443, 0, 484, 552, 0, -2232, -2232, -2232, -2232, -2232, 0, 1050933376, 32316, -1741856, 32639} conflicting_regs = {18446744073709547521, 140187730799504} profitable_hard_regs = 4032 a = 0x7e3c3e791190 bi = {elt1 = 0x7e3c3e7b1a90, elt2 = 0x0, word_no = 0, bits = 4611686018427387903} __FUNCTION__ = "improve_allocation" #2 0x0000000000bfea51 in color_allocnos () at ../../gcc/ira-color.c:3201 i = 256 n = 32316 bi = {elt1 = 0x0, elt2 = 0x0, word_no = 2, bits = 0} a = 0x7e3c3e799050 __FUNCTION__ = "color_allocnos" #3 0x0000000000bff13f in color_pass (loop_tree_node=0x7e3c3ed2fc00) at ../../gcc/ira-color.c:3310 regno = 32316 hard_regno = -1741504 index = -1 n = 81 cost = 0 exit_freq = 1048255088 enter_freq = 0 j = 256 bi = {elt1 = 0x0, elt2 = 0x0, word_no = 2, bits = 0} mode = 32639 rclass = NO_REGS aclass = (unknown: 33152352) pclass = (ALL_REGS | LIM_REG_CLASSES | unknown: 9049864) a = 0x7e3c3e799050 subloop_allocno = 0xb8 subloop_node = 0x7f7fffe56d20 __FUNCTION__ = "color_pass" #4 0x0000000000be8146 in ira_traverse_loop_tree (bb_p=false, loop_node=0x7e3c3ed2fc00, preorder_func=0xbfef25 <color_pass(ira_loop_tree_node_t)>, postorder_func=0x0) at ../../gcc/ira-build.c:1781 subloop_node = 0xbd6ab8 <ira_allocate_bitmap()+14> __FUNCTION__ = "ira_traverse_loop_tree" #5 0x0000000000bffa0d in do_coloring () at ../../gcc/ira-color.c:3461 No locals. #6 0x0000000000c03501 in color () at ../../gcc/ira-color.c:4838 No locals. #7 0x0000000000c039d3 in ira_color () at ../../gcc/ira-color.c:4953 a = 0x7e3c3e799050 ai = {n = 172} #8 0x0000000000be30ff in ira (f=0x0) at ../../gcc/ira.c:5308 loops_p = true ira_max_point_before_emit = 524288 saved_flag_caller_saves = true saved_flag_ira_region = IRA_REGION_MIXED __FUNCTION__ = "ira" #9 0x0000000000be3887 in (anonymous namespace)::pass_ira::execute (this=0x7e3c3ed86bc0) at ../../gcc/ira.c:5606 No locals. #10 0x0000000000d142af in execute_one_pass (pass=0x7e3c3ed86bc0) at ../../gcc/passes.c:2497 todo_after = 0 gate_status = true __FUNCTION__ = "execute_one_pass" #11 0x0000000000d14600 in execute_pass_list_1 (pass=0x7e3c3ed86bc0) at ../../gcc/passes.c:2586 __FUNCTION__ = "execute_pass_list_1" #12 0x0000000000d14631 in execute_pass_list_1 (pass=0x7e3c3ed85ac0) at ../../gcc/passes.c:2587 __FUNCTION__ = "execute_pass_list_1" #13 0x0000000000d14689 in execute_pass_list (fn=0x7e3c3e64c790, pass=0x7e3c3ed82080) at ../../gcc/passes.c:2597 __FUNCTION__ = "execute_pass_list" #14 0x0000000000935b0e in cgraph_node::expand (this=0x7e3c3e68c730) at ../../gcc/cgraphunit.c:2139 saved_loc = 62585088 __FUNCTION__ = "expand" #15 0x0000000000936149 in expand_all_functions () at ../../gcc/cgraphunit.c:2275 node = 0x7e3c3e68c730 order = 0x7e3c3ed2d800 expanded_func_count = 11 profiled_func_count = 0 order_pos = 96 new_order_pos = 18 i = 7 __FUNCTION__ = "expand_all_functions" #16 0x0000000000936c95 in symbol_table::compile (this=0x7e3c3eb06000) at ../../gcc/cgraphunit.c:2624 No locals. #17 0x0000000000936eff in symbol_table::finalize_compilation_unit (this=0x7e3c3eb06000) at ../../gcc/cgraphunit.c:2717 No locals. #18 0x0000000000dfc753 in compile_file () at ../../gcc/toplev.c:480 No locals. #19 0x0000000000dfefad in do_compile () at ../../gcc/toplev.c:2132 i = 1 #20 0x0000000000dff289 in toplev::main (this=0x7f7fffe570ce, argc=12, argv=0x7f7fffe57120) at ../../gcc/toplev.c:2267 __FUNCTION__ = "main" #21 0x000000000156cd6f in main (argc=12, argv=0x7f7fffe57120) at ../../gcc/main.c:39 toplev = {m_use_TV_TOTAL = true, m_init_signals = true} >From gcc-bugs-return-601585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 06:39:17 2018 Return-Path: <gcc-bugs-return-601585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 493 invoked by alias); 14 Apr 2018 06:39:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 452 invoked by uid 48); 14 Apr 2018 06:39:12 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887 Date: Sat, 14 Apr 2018 06:39: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.1 X-Bugzilla-Keywords: ice-on-valid-code 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85391-4-eetJSFAiTZ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85391-4@http.gcc.gnu.org/bugzilla/> References: <bug-85391-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01709.txt.bz2 Content-length: 512 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 --- Comment #5 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- (In reply to Eric Botcazou from comment #4) > Let's just back out my couple of patches to ipa-devirt.c. Nobody seems to > care about PR ipa/83983 so I guess I no longer do either. Sorry for overlooking the PR83983, I can help you with that next week. Now I've got reduced 1/6 of preprocessed files. Hope that having a reasonable small test-case would allow you do debug that and fix? >From gcc-bugs-return-601586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 08:53:58 2018 Return-Path: <gcc-bugs-return-601586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8252 invoked by alias); 14 Apr 2018 08:53:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8223 invoked by uid 48); 14 Apr 2018 08:53:54 -0000 From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85402] New: excessive compile time with -Wmissing-braces Date: Sat, 14 Apr 2018 08:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.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 attachments.created Message-ID: <bug-85402-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01710.txt.bz2 Content-length: 873 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85402 Bug ID: 85402 Summary: excessive compile time with -Wmissing-braces Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 43930 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43930&action=edit C source code The attached C code - when compiled by -Wmissing-braces - can cause compile times of over 100 minutes on gcc trunk. -O2 doesn't seem to be required. -Wmissing-braces seems to want to print out all parts of a very long data structure in the user's source code. Maybe this should be constrained to the first 100 or 1000 elements or so. >From gcc-bugs-return-601587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 09:02:42 2018 Return-Path: <gcc-bugs-return-601587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40005 invoked by alias); 14 Apr 2018 09:02:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39942 invoked by uid 48); 14 Apr 2018 09:02:34 -0000 From: "coypu at sdf dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85401] segfault building code for VAX Date: Sat, 14 Apr 2018 09: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: coypu at sdf dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85401-4-UHkcw9tNKf@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85401-4@http.gcc.gnu.org/bugzilla/> References: <bug-85401-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01711.txt.bz2 Content-length: 753 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85401 --- Comment #1 from coypu <coypu at sdf dot org> --- Threw computing resources at the problem, so now I have an "offending" commit. Before this commit, it doesn't segfault. After, it does. commit bbb9b536dd58015b5712a867954d34aae9d9dae5 (HEAD, refs/bisect/bad) Author: thopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Tue Jan 6 11:51:16 2015 +0000 2015-01-06 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/ PR tree-optimization/63259 * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking if optab exists for 16bit byteswap. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219256 138bc75d-0d04-0410-961f-82ee72b054a4 >From gcc-bugs-return-601588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 09:56:20 2018 Return-Path: <gcc-bugs-return-601588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35208 invoked by alias); 14 Apr 2018 09:56:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31693 invoked by uid 48); 14 Apr 2018 09:55:58 -0000 From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887 Date: Sat, 14 Apr 2018 09:56: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.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85391-4-KxaJxwHXTV@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85391-4@http.gcc.gnu.org/bugzilla/> References: <bug-85391-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01712.txt.bz2 Content-length: 402 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 --- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > Sorry for overlooking the PR83983, I can help you with that next week. > Now I've got reduced 1/6 of preprocessed files. Hope that having a > reasonable small test-case would allow you do debug that and fix? No, sorry, I'm giving up, just revert my couple of changes instead. >From gcc-bugs-return-601589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 10:31:32 2018 Return-Path: <gcc-bugs-return-601589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85477 invoked by alias); 14 Apr 2018 10:31:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85429 invoked by uid 48); 14 Apr 2018 10:31:27 -0000 From: "gjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/61152] Missing GCC Runtime Library Exception in some files that are included in libgcc Date: Sat, 14 Apr 2018 10:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcc X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: gjl 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: <bug-61152-4-bPCdNqZzHy@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-61152-4@http.gcc.gnu.org/bugzilla/> References: <bug-61152-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01713.txt.bz2 Content-length: 434 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61152 --- Comment #10 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- (In reply to Eric Gallager from comment #9) > There have been a bunch of commits for this bug; is it fixed yet? Dunno, back then I focused only on two targets, namely ARM and V850. Neither did I perform a global review, nor do I know whether in the meantime (4 years now) more headers and files slipped in. >From gcc-bugs-return-601590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 11:17:59 2018 Return-Path: <gcc-bugs-return-601590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84970 invoked by alias); 14 Apr 2018 11:17:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84757 invoked by uid 48); 14 Apr 2018 11:17:54 -0000 From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85387] [8 Regression] incorrect output with optimization /= 0 Date: Sat, 14 Apr 2018 11:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: <bug-85387-4-9FBV9EHfB9@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85387-4@http.gcc.gnu.org/bugzilla/> References: <bug-85387-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01714.txt.bz2 Content-length: 382 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85387 Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot gnu.org >From gcc-bugs-return-601591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 11:55:37 2018 Return-Path: <gcc-bugs-return-601591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121822 invoked by alias); 14 Apr 2018 11:55:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121713 invoked by uid 48); 14 Apr 2018 11:55:32 -0000 From: "slyfox at inbox dot ru" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/42947] multilib and startup files paths differ on sh4 with -m4 and without -m4 where -m4 is default multilib Date: Sat, 14 Apr 2018 11:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: slyfox at inbox dot ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-42947-4-KUsP3Z7Hxk@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-42947-4@http.gcc.gnu.org/bugzilla/> References: <bug-42947-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01715.txt.bz2 Content-length: 1391 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42947 --- Comment #5 from Sergei Trofimovich <slyfox at inbox dot ru> --- I have looked at it a bit and I think the bug here is in interaction between MULTILIB_DEFAULTS and SYSROOT_SUFFIX_SPEC AFAIU normally gcc ignores spec overrides for MULTILIB_DEFAULTS. In our case values are: // from sh/sh.h expansion #define MULTILIB_DEFAULTS { "ml", "m4" } // from autogenerated multilib.h static const char *const multilib_raw[] = { ". !m4;", "m4 m4;", NULL }; // from autogenerated sysroot-suffix.h #define SYSROOT_SUFFIX_SPEC "" \ "%{m4:/m4;" \ ":}" Note even when we pass option -m4 we never append 'm4' suffix in library search path (because it's a MULTILIB_DEFAULTS). Looks like sh is one of 2 rare targets that touch t-sysroot-suffix: sh-*-elf* | sh[12346l]*-*-elf* | \ sh-*-linux* | sh[2346lbe]*-*-linux* | \ sh-*-netbsdelf* | shl*-*-netbsdelf*) tmake_file="... t-sysroot-suffix" tic6x-*-uclinux) tmake_file="t-sysroot-suffix ..." I think a few possible solutions here are: - drop SYSROOT_SUFFIX_SPEC support for sh* targets (or some of sh targets) - fix SYSROOT_SUFFIX_SPEC parsing to respect MULTILIB_DEFAULTS Does the above sound about right? I know nothing about SYSROOT_SUFFIX_SPEC. What uses it? It feels like a competing mechanism to multilib. >From gcc-bugs-return-601592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 12:21:14 2018 Return-Path: <gcc-bugs-return-601592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11588 invoked by alias); 14 Apr 2018 12:21:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11520 invoked by uid 48); 14 Apr 2018 12:21:10 -0000 From: "slyfox at inbox dot ru" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/42947] multilib and startup files paths differ on sh4 with -m4 and without -m4 where -m4 is default multilib Date: Sat, 14 Apr 2018 12:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: slyfox at inbox dot ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-42947-4-4pVdZnILMw@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-42947-4@http.gcc.gnu.org/bugzilla/> References: <bug-42947-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01716.txt.bz2 Content-length: 716 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42947 --- Comment #6 from Sergei Trofimovich <slyfox at inbox dot ru> --- Created attachment 43931 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43931&action=edit 0001-gcc-config.gcc-sh-Disable-sysroot-suffix-PR42947.patch 0001-gcc-config.gcc-sh-Disable-sysroot-suffix-PR42947.patch implements "- drop SYSROOT_SUFFIX_SPEC support for sh* targets" above. Tested as: cc="${HOME}/dev/git/gcc-sh4-installed/bin/sh4-unknown-linux-gnu-gcc -B/usr/libexec/gcc/sh4-unknown-linux-gnu/" $ cc="${built}/sh4-unknown-linux-gnu-gcc" $ echo 'int main(){}' > 'a.c' $ $cc a.c -o a $ $cc a.c -o a.m4 -m4 $ $cc a.c -o a.m4 -m4-100 All 3 work now. >From gcc-bugs-return-601593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 13:24:43 2018 Return-Path: <gcc-bugs-return-601593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19880 invoked by alias); 14 Apr 2018 13:24:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19645 invoked by uid 48); 14 Apr 2018 13:24:06 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85403] New: internal compiler error: ... config/i386/i386.c:32347 Date: Sat, 14 Apr 2018 13:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85403-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01717.txt.bz2 Content-length: 2606 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85403 Bug ID: 85403 Summary: internal compiler error: ... config/i386/i386.c:32347 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- [hjl@gnu-cfl-1 gcc]$ /export/build/gnu/gcc-cet-test/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc-cet-test/build-x86_64-linux/gcc/ /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/mvc1.c -fcf-protection -mcet -fno-diagnostics-show-caret -fdiagnostics-color=never -ansi -pedantic-errors -lm -o ./mvc1.exe /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/mvc1.c: In function \u2018foo.resolver\u2019: /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/mvc1.c:27:1: error: \u2018-fcf-protection=full\u2019 requires Intel CET support. Use -mcet or both of -mibt and -mshstk options to enable CET during IPA pass: targetclone /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/mvc1.c:27:1: internal compiler error: tree check: expected target_option_node, have error_mark in get_builtin_code_for_version, at config/i386/i386.c:32347 0x13624ff tree_check_failed(tree_node const*, char const*, int, char const*, ...) /export/gnu/import/git/sources/gcc/gcc/tree.c:9327 0x7ddca8 tree_check(tree_node*, char const*, int, char const*, tree_code) /export/gnu/import/git/sources/gcc/gcc/tree.h:3135 0x146134e get_builtin_code_for_version /export/gnu/import/git/sources/gcc/gcc/config/i386/i386.c:32347 0x1461b43 dispatch_function_versions /export/gnu/import/git/sources/gcc/gcc/config/i386/i386.c:32631 0x14629ab ix86_generate_version_dispatcher_body /export/gnu/import/git/sources/gcc/gcc/config/i386/i386.c:32967 0x1c16fcd create_dispatcher_calls /export/gnu/import/git/sources/gcc/gcc/multiple_target.c:97 0x1c18098 ipa_target_clone /export/gnu/import/git/sources/gcc/gcc/multiple_target.c:437 0x1c18104 execute /export/gnu/import/git/sources/gcc/gcc/multiple_target.c:466 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. [hjl@gnu-cfl-1 gcc]$ Since CET is applied to the whole program, it is correct to disallow -fcf-protection=full without -mcet. But compiler shouldn't crash. >From gcc-bugs-return-601594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 13:39:19 2018 Return-Path: <gcc-bugs-return-601594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37020 invoked by alias); 14 Apr 2018 13:39:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36878 invoked by uid 55); 14 Apr 2018 13:39:13 -0000 From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85387] [8 Regression] incorrect output with optimization /= 0 Date: Sat, 14 Apr 2018 13:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85387-4-6wNGvK503t@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85387-4@http.gcc.gnu.org/bugzilla/> References: <bug-85387-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01718.txt.bz2 Content-length: 779 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85387 --- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Sat Apr 14 13:38:41 2018 New Revision: 259384 URL: https://gcc.gnu.org/viewcvs?rev=259384&root=gcc&view=rev Log: 2018-04-14 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/85387 * frontend-passes.c (traverse_io_block): Check for start, end or stride being defined by an outer implied DO loop. 2018-04-14 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/85387 * gfortran.dg/implied_do_io_5.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/implied_do_io_5.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/frontend-passes.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-601595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 13:39:52 2018 Return-Path: <gcc-bugs-return-601595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38224 invoked by alias); 14 Apr 2018 13:39:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38183 invoked by uid 48); 14 Apr 2018 13:39:48 -0000 From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85387] [8 Regression] incorrect output with optimization /= 0 Date: Sat, 14 Apr 2018 13:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85387-4-A1JISRidlP@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85387-4@http.gcc.gnu.org/bugzilla/> References: <bug-85387-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01719.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85387 Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Fixed, closing. Thanks for the bug report! >From gcc-bugs-return-601596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 14:27:03 2018 Return-Path: <gcc-bugs-return-601596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5882 invoked by alias); 14 Apr 2018 14:27:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5575 invoked by uid 48); 14 Apr 2018 14:26:57 -0000 From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85364] -fopenmp should not put array in program on the stack Date: Sat, 14 Apr 2018 14: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.1 X-Bugzilla-Keywords: openmp, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85364-4-InbHT0Pdxm@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85364-4@http.gcc.gnu.org/bugzilla/> References: <bug-85364-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01720.txt.bz2 Content-length: 1014 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85364 --- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #3) > If it is about variables in MAIN__ and not say variables inside of BLOCK > inside of MAIN__, then perhaps. For BLOCK, I wonder about stuff like: > !$omp parallel > block > integer :: i > i = ... > use (i) > end block > !$omp end parallel > end > and similar, where the implicit SAVE would be undesirable. As far as I understand the Fortran standard, variables inside BLOCKs are not affected. Definition: 1.3.124 scoping unit BLOCK construct, derived-type definition, interface body, program unit, or subprogram, excluding all nested scoping units in it 5.3.16 says A variable, common block, or procedure pointer declared in the scoping unit of a main program, module, or submodule implicitly has the SAVE attribute, which may be confirmed by explicit specification. So, in your example, the variable i is unsaved. >From gcc-bugs-return-601597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 14:37:26 2018 Return-Path: <gcc-bugs-return-601597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12847 invoked by alias); 14 Apr 2018 14:37:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12788 invoked by uid 48); 14 Apr 2018 14:37:21 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85404] New: -fcf-protection -mcet doesn't work with -fleading-underscore Date: Sat, 14 Apr 2018 14:37: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc blocked target_milestone Message-ID: <bug-85404-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01721.txt.bz2 Content-length: 1654 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85404 Bug ID: 85404 Summary: -fcf-protection -mcet doesn't work with -fleading-underscore Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: igor.v.tsimbalist at intel dot com Blocks: 81652 Target Milestone: --- [hjl@gnu-cfl-1 gcc]$ cat x.c void func(void) __asm("_func"); void _func(int x) {} void func(void) {} [hjl@gnu-cfl-1 gcc]$ ./xgcc -B./ -c -fcf-protection -mcet -fleading-underscore x.c /tmp/ccPfHME2.s: Assembler messages: /tmp/ccPfHME2.s:37: Error: can't resolve `.L11' {*UND* section} - `.L1' {*UND* section} /tmp/ccPfHME2.s:38: Error: can't resolve `.L41' {*UND* section} - `.L11' {*UND* section} /tmp/ccPfHME2.s:45: Error: can't resolve `.L31' {*UND* section} - `.L21' {*UND* section} /tmp/ccPfHME2.s: Error: local label `"1" (instance number 1 of a fb label)' is not defined /tmp/ccPfHME2.s: Error: local label `"0" (instance number 1 of a fb label)' is not defined /tmp/ccPfHME2.s: Error: local label `"4" (instance number 1 of a fb label)' is not defined /tmp/ccPfHME2.s: Error: local label `"3" (instance number 1 of a fb label)' is not defined /tmp/ccPfHME2.s: Error: local label `"2" (instance number 1 of a fb label)' is not defined [hjl@gnu-cfl-1 gcc]$ Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 [Bug 81652] [meta-bug] -fcf-protection=full -mcet bugs >From gcc-bugs-return-601598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 14:46:38 2018 Return-Path: <gcc-bugs-return-601598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38014 invoked by alias); 14 Apr 2018 14:46:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37488 invoked by uid 55); 14 Apr 2018 14:46:32 -0000 From: "vehre at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83606] [6/7/8 Regression] co-indexed array RHS yields incorrect result in assignment to vector-indexed LHS Date: Sat, 14 Apr 2018 14:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vehre at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: vehre at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-83606-4-yP4ufpM3hr@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83606-4@http.gcc.gnu.org/bugzilla/> References: <bug-83606-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01722.txt.bz2 Content-length: 1388 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83606 --- Comment #4 from vehre at gcc dot gnu.org --- Author: vehre Date: Sat Apr 14 14:45:59 2018 New Revision: 259385 URL: https://gcc.gnu.org/viewcvs?rev=259385&root=gcc&view=rev Log: gcc/fortran/ChangeLog: 2018-04-14 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/81773 PR fortran/83606 * dependency.c (gfc_dep_resolver): Coarray indexes are to be ignored during dependency computation. They define no data dependency. * trans-array.c (conv_array_index_offset): The stride can not be set here, prevent fail. * trans-intrinsic.c (conv_caf_send): Add creation of temporary array for caf_get's result and copying to the array with vectorial indexing. gcc/testsuite/ChangeLog: 2018-04-14 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/81773 PR fortran/83606 * gfortran.dg/coarray/get_to_indexed_array_1.f90: New test. * gfortran.dg/coarray/get_to_indirect_array.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/coarray/get_to_indexed_array_1.f90 trunk/gcc/testsuite/gfortran.dg/coarray/get_to_indirect_array.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/dependency.c trunk/gcc/fortran/trans-array.c trunk/gcc/fortran/trans-intrinsic.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-601599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 14:46:38 2018 Return-Path: <gcc-bugs-return-601599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38049 invoked by alias); 14 Apr 2018 14:46:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37496 invoked by uid 55); 14 Apr 2018 14:46:33 -0000 From: "vehre at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/81773] [Coarray] Get with vector index on lhs leads to incorrect caf_get_by_ref() call. Date: Sat, 14 Apr 2018 14:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vehre at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: vehre at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81773-4-JGN1flLZVK@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81773-4@http.gcc.gnu.org/bugzilla/> References: <bug-81773-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01723.txt.bz2 Content-length: 1388 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81773 --- Comment #5 from vehre at gcc dot gnu.org --- Author: vehre Date: Sat Apr 14 14:45:59 2018 New Revision: 259385 URL: https://gcc.gnu.org/viewcvs?rev=259385&root=gcc&view=rev Log: gcc/fortran/ChangeLog: 2018-04-14 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/81773 PR fortran/83606 * dependency.c (gfc_dep_resolver): Coarray indexes are to be ignored during dependency computation. They define no data dependency. * trans-array.c (conv_array_index_offset): The stride can not be set here, prevent fail. * trans-intrinsic.c (conv_caf_send): Add creation of temporary array for caf_get's result and copying to the array with vectorial indexing. gcc/testsuite/ChangeLog: 2018-04-14 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/81773 PR fortran/83606 * gfortran.dg/coarray/get_to_indexed_array_1.f90: New test. * gfortran.dg/coarray/get_to_indirect_array.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/coarray/get_to_indexed_array_1.f90 trunk/gcc/testsuite/gfortran.dg/coarray/get_to_indirect_array.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/dependency.c trunk/gcc/fortran/trans-array.c trunk/gcc/fortran/trans-intrinsic.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-601600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 15:22:14 2018 Return-Path: <gcc-bugs-return-601600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84307 invoked by alias); 14 Apr 2018 15:22:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81795 invoked by uid 48); 14 Apr 2018 15:22:09 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85404] -fcf-protection -mcet doesn't work with -fleading-underscore Date: Sat, 14 Apr 2018 15:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: <bug-85404-4-LYkLsz2ZJx@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85404-4@http.gcc.gnu.org/bugzilla/> References: <bug-85404-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01724.txt.bz2 Content-length: 560 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85404 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-14 Ever confirmed|0 |1 --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- Please take a look at hjl/cet/master branch at https://github.com/hjl-tools/gcc/tree/hjl/cet/master >From gcc-bugs-return-601602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 15:23:35 2018 Return-Path: <gcc-bugs-return-601602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118759 invoked by alias); 14 Apr 2018 15:23:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118653 invoked by uid 48); 14 Apr 2018 15:23:29 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85399] Redundant SSP clearing before rdssp Date: Sat, 14 Apr 2018 15:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85399-4-A41N59HMcs@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85399-4@http.gcc.gnu.org/bugzilla/> References: <bug-85399-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01727.txt.bz2 Content-length: 506 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85399 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- This will be fixed by PR 85397. *** This bug has been marked as a duplicate of bug 85397 *** >From gcc-bugs-return-601603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 15:23:35 2018 Return-Path: <gcc-bugs-return-601603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118826 invoked by alias); 14 Apr 2018 15:23:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118687 invoked by uid 48); 14 Apr 2018 15:23:31 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81652] [meta-bug] -fcf-protection=full -mcet bugs Date: Sat, 14 Apr 2018 15:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-81652-4-xRgqHgmtNp@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81652-4@http.gcc.gnu.org/bugzilla/> References: <bug-81652-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01726.txt.bz2 Content-length: 465 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 Bug 81652 depends on bug 85399, which changed state. Bug 85399 Summary: Redundant SSP clearing before rdssp https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85399 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE >From gcc-bugs-return-601601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 15:23:35 2018 Return-Path: <gcc-bugs-return-601601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118749 invoked by alias); 14 Apr 2018 15:23:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118672 invoked by uid 48); 14 Apr 2018 15:23:30 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85397] -mcet -fcf-protection doesn't work with label in nested function Date: Sat, 14 Apr 2018 15:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85397-4-Cm6tdX5fR0@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85397-4@http.gcc.gnu.org/bugzilla/> References: <bug-85397-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01725.txt.bz2 Content-length: 177 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85397 --- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> --- *** Bug 85399 has been marked as a duplicate of this bug. *** >From gcc-bugs-return-601604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 17:08:59 2018 Return-Path: <gcc-bugs-return-601604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43638 invoked by alias); 14 Apr 2018 17:08:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38756 invoked by uid 48); 14 Apr 2018 17:08:54 -0000 From: "vehre at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/81773] [Coarray] Get with vector index on lhs leads to incorrect caf_get_by_ref() call. Date: Sat, 14 Apr 2018 17:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vehre at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: vehre at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-81773-4-Ev9mkghB9Z@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81773-4@http.gcc.gnu.org/bugzilla/> References: <bug-81773-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01728.txt.bz2 Content-length: 402 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81773 vehre at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from vehre at gcc dot gnu.org --- Fixed by r259385. >From gcc-bugs-return-601605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 17:08:59 2018 Return-Path: <gcc-bugs-return-601605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43958 invoked by alias); 14 Apr 2018 17:08:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39323 invoked by uid 48); 14 Apr 2018 17:08:55 -0000 From: "vehre at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83700] [Meta-bug] Fortran Coarray issues Date: Sat, 14 Apr 2018 17:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vehre 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: <bug-83700-4-BVh328hyUC@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83700-4@http.gcc.gnu.org/bugzilla/> References: <bug-83700-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01729.txt.bz2 Content-length: 508 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83700 Bug 83700 depends on bug 81773, which changed state. Bug 81773 Summary: [Coarray] Get with vector index on lhs leads to incorrect caf_get_by_ref() call. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81773 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-601606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 17:09:43 2018 Return-Path: <gcc-bugs-return-601606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79364 invoked by alias); 14 Apr 2018 17:09:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76874 invoked by uid 48); 14 Apr 2018 17:09:39 -0000 From: "vehre at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83606] [6/7/8 Regression] co-indexed array RHS yields incorrect result in assignment to vector-indexed LHS Date: Sat, 14 Apr 2018 17:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vehre at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: vehre at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-83606-4-I7OSsNuhc7@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83606-4@http.gcc.gnu.org/bugzilla/> References: <bug-83606-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01730.txt.bz2 Content-length: 402 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83606 vehre at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from vehre at gcc dot gnu.org --- Fxied by r259385. >From gcc-bugs-return-601607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 20:16:55 2018 Return-Path: <gcc-bugs-return-601607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14552 invoked by alias); 14 Apr 2018 20:16:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14485 invoked by uid 48); 14 Apr 2018 20:16:50 -0000 From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83606] [6/7/8 Regression] co-indexed array RHS yields incorrect result in assignment to vector-indexed LHS Date: Sat, 14 Apr 2018 20:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: vehre at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-83606-4-x6SP06pZec@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83606-4@http.gcc.gnu.org/bugzilla/> References: <bug-83606-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01731.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83606 Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jvdelisle at gcc dot gnu.org --- Comment #6 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- This is shown as a regression on 6 and 7 are you going to backport this? Is it even back-portable? >From gcc-bugs-return-601608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 21:13:58 2018 Return-Path: <gcc-bugs-return-601608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101537 invoked by alias); 14 Apr 2018 21:13:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101461 invoked by uid 55); 14 Apr 2018 21:13:53 -0000 From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85293] ICE in output_1257, at config/rs6000/vsx.md:3252 Date: Sat, 14 Apr 2018 21:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85293-4-vSHDU59aIP@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85293-4@http.gcc.gnu.org/bugzilla/> References: <bug-85293-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01732.txt.bz2 Content-length: 1603 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85293 --- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> --- Author: segher Date: Sat Apr 14 21:13:20 2018 New Revision: 259386 URL: https://gcc.gnu.org/viewcvs?rev=259386&root=gcc&view=rev Log: rs6000: Disable -m[no-]direct-move (PR85293) The -mno-direct-move option causes a lot of problems, since it forces us to be able to generate code for p8 and up with some crucial instructions missing. This patch removes the -m[no-]direct-move options so that the user cannot put us into this unexpected situation anymore. Internally we still have all the same flags, and they are automatically set based on -mcpu; getting rid of that is a lot more work and will have to wait for GCC 9 (in some places the flag is used to see if we are compiling for a p8 _at all_). PR target/85293 * config/rs6000/rs6000.opt (mdirect-move): Make deprecated. * doc/invoke.texi (RS/6000 and PowerPC Options): Remove -mdirect-move and -mno-direct-move. gcc/testsuite/ PR target/85293 * gcc.target/powerpc/pr80098-2.c: Remove -mdirect-move. Remove the corresponding dg-error clause. * gcc.target/powerpc/pr80098-3.c: Ditto. * gcc.target/powerpc/pr80103-1.c: Delete. Removed: trunk/gcc/testsuite/gcc.target/powerpc/pr80103-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000.opt trunk/gcc/doc/invoke.texi trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/powerpc/pr80098-2.c trunk/gcc/testsuite/gcc.target/powerpc/pr80098-3.c >From gcc-bugs-return-601609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 21:14:42 2018 Return-Path: <gcc-bugs-return-601609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103168 invoked by alias); 14 Apr 2018 21:14:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103028 invoked by uid 48); 14 Apr 2018 21:14:38 -0000 From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85293] ICE in output_1257, at config/rs6000/vsx.md:3252 Date: Sat, 14 Apr 2018 21:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85293-4-et86lqpgxi@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85293-4@http.gcc.gnu.org/bugzilla/> References: <bug-85293-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01733.txt.bz2 Content-length: 435 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85293 Segher Boessenkool <segher at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Segher Boessenkool <segher at gcc dot gnu.org> --- Fixed. >From gcc-bugs-return-601610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 21:16:17 2018 Return-Path: <gcc-bugs-return-601610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108392 invoked by alias); 14 Apr 2018 21:16:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108331 invoked by uid 48); 14 Apr 2018 21:16:12 -0000 From: "krzysio.kurek at wp dot pl" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/82229] GCC7's LTO underperforms compared to GCC6 Date: Sat, 14 Apr 2018 21:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: lto, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: krzysio.kurek at wp dot pl X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: version Message-ID: <bug-82229-4-8Bagelczqc@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-82229-4@http.gcc.gnu.org/bugzilla/> References: <bug-82229-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01734.txt.bz2 Content-length: 976 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229 krzysio.kurek at wp dot pl changed: What |Removed |Added ---------------------------------------------------------------------------- Version|7.1.0 |7.2.0 --- Comment #17 from krzysio.kurek at wp dot pl --- I've been trying to create a minimal testcase but I've not been able to. Seemingly random actions like changing the directory from the build dir back into it prevents the bug from manifesting. Looking at results of Valgrind's tool, Callgrind, I've managed to find the hog being Random::get() calls not being optimized as aggressively on GCC7 as on GCC6. On GCC6, std::mersenne_twister_engine is being called directly from the main world simulation loop, whereas on GCC7, Random::get() is called every time calculations on random numbers are made. Random::get() in turn calls std::uniform_int_distribution which then calls the mersenne engine. >From gcc-bugs-return-601611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 14 23:26:59 2018 Return-Path: <gcc-bugs-return-601611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35650 invoked by alias); 14 Apr 2018 23:26:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35583 invoked by uid 48); 14 Apr 2018 23:26:54 -0000 From: "m.vorobyov at cs dot msu.ru" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71235] march=silvermont turns on aes by default Date: Sat, 14 Apr 2018 23:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: m.vorobyov at cs dot msu.ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-71235-4-g6MlJbufIj@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-71235-4@http.gcc.gnu.org/bugzilla/> References: <bug-71235-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01735.txt.bz2 Content-length: 668 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71235 Mikhail Vorobyov <m.vorobyov at cs dot msu.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.vorobyov at cs dot msu.ru --- Comment #1 from Mikhail Vorobyov <m.vorobyov at cs dot msu.ru> --- There is the same problem with Sandybridge. All Sandybridge i3 mobile cores doesn't support aes accordingly to https://ark.intel.com/. E.g. https://ark.intel.com/products/54624/. But -march=sandybridge enables __AES__. I thought -march=X should be valid for all of X too. >From gcc-bugs-return-601612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 06:02:12 2018 Return-Path: <gcc-bugs-return-601612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34045 invoked by alias); 15 Apr 2018 06:02:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33993 invoked by uid 48); 15 Apr 2018 06:02:03 -0000 From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85366] Failure to use both div and mod results of one IDIV in a prime-factor loop while(n%i==0) { n/=i; } Date: Sun, 15 Apr 2018 06:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85366-4-oPBCWvi1db@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85366-4@http.gcc.gnu.org/bugzilla/> References: <bug-85366-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01736.txt.bz2 Content-length: 663 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85366 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- For arm64, it is obvious why it is not optimized into one divide: .L2: udiv w2, w0, w3 msub w2, w2, w3, w0 cbnz w2, .L5 sdiv w2, w0, w3 .p2align 2 .L4: mov w0, w2 str w3, [x1], 4 sdiv w2, w2, w3 msub w4, w2, w3, w0 cbz w4, .L4 .L5: add w3, w3, 1 cmp w3, w0 ble .L2 .L1: ret --- CUT --- In the first case we have an unsigned division while in the second case we have a signed division. >From gcc-bugs-return-601613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 06:12:12 2018 Return-Path: <gcc-bugs-return-601613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75593 invoked by alias); 15 Apr 2018 06:12:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75521 invoked by uid 48); 15 Apr 2018 06:12:04 -0000 From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85366] Failure to use both div and mod results of one IDIV in a prime-factor loop while(n%i==0) { n/=i; } Date: Sun, 15 Apr 2018 06: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: 8.0.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85366-4-laNotLvH8S@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85366-4@http.gcc.gnu.org/bugzilla/> References: <bug-85366-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01737.txt.bz2 Content-length: 727 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85366 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- For GCC 7.3 on aarch64: ;; _23 = n_26 % i_30; (insn 83 76 84 (set (reg:SI 142) (udiv:SI (reg/v:SI 117 [ n ]) (reg/v:SI 115 [ i ]))) "t88.c":6 -1 (nil)) (insn 84 83 85 (set (reg:SI 143) (mult:SI (reg:SI 142) (reg/v:SI 115 [ i ]))) "t88.c":6 -1 (nil)) (insn 85 84 0 (set (reg:SI 116 [ _23 ]) (minus:SI (reg/v:SI 117 [ n ]) (reg:SI 143))) "t88.c":6 -1 (nil)) This is because the range of n_26 is positive only: # RANGE [2, 2147483647] NONZERO 2147483647 But we know that here both div and udiv will return the same result ... >From gcc-bugs-return-601614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 08:57:45 2018 Return-Path: <gcc-bugs-return-601614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29527 invoked by alias); 15 Apr 2018 08:57:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29455 invoked by uid 48); 15 Apr 2018 08:57:40 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887 Date: Sun, 15 Apr 2018 08:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85391-4-sJuoKVVUTD@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85391-4@http.gcc.gnu.org/bugzilla/> References: <bug-85391-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01738.txt.bz2 Content-length: 234 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 --- Comment #7 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Created attachment 43932 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43932&action=edit test-case >From gcc-bugs-return-601615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 08:59:47 2018 Return-Path: <gcc-bugs-return-601615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31753 invoked by alias); 15 Apr 2018 08:59:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31683 invoked by uid 48); 15 Apr 2018 08:59:41 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887 Date: Sun, 15 Apr 2018 08:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85391-4-nMhbzbd1iD@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85391-4@http.gcc.gnu.org/bugzilla/> References: <bug-85391-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01739.txt.bz2 Content-length: 234 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 --- Comment #8 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Created attachment 43934 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43934&action=edit test-case >From gcc-bugs-return-601616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 09:02:25 2018 Return-Path: <gcc-bugs-return-601616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43949 invoked by alias); 15 Apr 2018 09:02:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34215 invoked by uid 48); 15 Apr 2018 09:01:25 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887 Date: Sun, 15 Apr 2018 09:02: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.1 X-Bugzilla-Keywords: ice-on-valid-code 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85391-4-l753X3KHLk@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85391-4@http.gcc.gnu.org/bugzilla/> References: <bug-85391-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01740.txt.bz2 Content-length: 234 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 --- Comment #9 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Created attachment 43935 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43935&action=edit test-case >From gcc-bugs-return-601617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 09:02:56 2018 Return-Path: <gcc-bugs-return-601617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44853 invoked by alias); 15 Apr 2018 09:02:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44783 invoked by uid 48); 15 Apr 2018 09:02:52 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85405] New: [5/6/7 Regression] ICE in odr_types_equivalent_p, at ipa-devirt.c:1581 Date: Sun, 15 Apr 2018 09:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 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: <bug-85405-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01741.txt.bz2 Content-length: 1872 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85405 Bug ID: 85405 Summary: [5/6/7 Regression] ICE in odr_types_equivalent_p, at ipa-devirt.c:1581 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: hubicka at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Starting from r215196 we ICE on: $ cat 1.ii class VclReferenceBase { int mnRefCnt; bool mbDisposed : 1; virtual ~VclReferenceBase(); }; class a; class b { a &e; bool c(); }; class B { VclReferenceBase d; }; class a : B {}; bool b::c() {} $ cat 2.ii cat 2.ii class VclReferenceBase { int mnRefCnt; bool mbDisposed; protected: virtual ~VclReferenceBase(); }; class : VclReferenceBase { } a; $ g++ *.ii -flto 1.ii: In member function âbool b::c()â: 1.ii:15:14: warning: no return statement in function returning non-void [-Wreturn-type] bool b::c() {} ^ lto1: internal compiler error: in odr_types_equivalent_p, at ipa-devirt.c:1591 0x7f26af odr_types_equivalent_p ../../gcc/ipa-devirt.c:1590 0x7f2dd2 add_type_duplicate ../../gcc/ipa-devirt.c:1860 0x7f2dd2 get_odr_type(tree_node*, bool) ../../gcc/ipa-devirt.c:2056 0x7f420e register_odr_type(tree_node*) ../../gcc/ipa-devirt.c:2139 0x5dd2f7 lto_read_decls ../../gcc/lto/lto.c:1782 0x5de15b lto_file_finalize ../../gcc/lto/lto.c:2076 0x5de15b lto_create_files_from_ids ../../gcc/lto/lto.c:2086 0x5de15b lto_file_read ../../gcc/lto/lto.c:2127 0x5de15b read_cgraph_and_symbols ../../gcc/lto/lto.c:2839 0x5de15b lto_main() ../../gcc/lto/lto.c:3356 >From gcc-bugs-return-601618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 09:03:56 2018 Return-Path: <gcc-bugs-return-601618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46253 invoked by alias); 15 Apr 2018 09:03:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46136 invoked by uid 48); 15 Apr 2018 09:03:48 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887 Date: Sun, 15 Apr 2018 09:03: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.1 X-Bugzilla-Keywords: ice-on-valid-code 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85391-4-8xbYDHpT5k@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85391-4@http.gcc.gnu.org/bugzilla/> References: <bug-85391-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01742.txt.bz2 Content-length: 235 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 --- Comment #10 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Created attachment 43936 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43936&action=edit test-case >From gcc-bugs-return-601619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 09:05:14 2018 Return-Path: <gcc-bugs-return-601619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47539 invoked by alias); 15 Apr 2018 09:05:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47436 invoked by uid 48); 15 Apr 2018 09:05:10 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887 Date: Sun, 15 Apr 2018 09:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85391-4-XFyDKE4qT3@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85391-4@http.gcc.gnu.org/bugzilla/> References: <bug-85391-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01743.txt.bz2 Content-length: 235 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 --- Comment #11 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Created attachment 43937 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43937&action=edit test-case >From gcc-bugs-return-601620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 09:10:06 2018 Return-Path: <gcc-bugs-return-601620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52730 invoked by alias); 15 Apr 2018 09:10:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50453 invoked by uid 48); 15 Apr 2018 09:09:10 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887 Date: Sun, 15 Apr 2018 09:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85391-4-Vqmb6akfcy@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85391-4@http.gcc.gnu.org/bugzilla/> References: <bug-85391-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01744.txt.bz2 Content-length: 235 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 --- Comment #12 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Created attachment 43938 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43938&action=edit test-case >From gcc-bugs-return-601621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 09:11:22 2018 Return-Path: <gcc-bugs-return-601621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3276 invoked by alias); 15 Apr 2018 09:11:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2897 invoked by uid 48); 15 Apr 2018 09:11:17 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887 Date: Sun, 15 Apr 2018 09:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: <bug-85391-4-1pF8ZYgjVW@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85391-4@http.gcc.gnu.org/bugzilla/> References: <bug-85391-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01745.txt.bz2 Content-length: 461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-reduction --- Comment #13 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- I'm uploading test-cases. Unfortunately during reduction I diverged to PR85405. >From gcc-bugs-return-601622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 10:53:44 2018 Return-Path: <gcc-bugs-return-601622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123109 invoked by alias); 15 Apr 2018 10:53:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122794 invoked by uid 48); 15 Apr 2018 10:53:38 -0000 From: "krzysio.kurek at wp dot pl" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/82229] GCC7's LTO underperforms compared to GCC6 Date: Sun, 15 Apr 2018 10:53: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: 7.2.0 X-Bugzilla-Keywords: lto, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: krzysio.kurek at wp dot pl X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: Message-ID: <bug-82229-4-Y9qLf1aAXK@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-82229-4@http.gcc.gnu.org/bugzilla/> References: <bug-82229-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01746.txt.bz2 Content-length: 314 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229 --- Comment #18 from krzysio.kurek at wp dot pl --- I'm sorry if it's not clear, English isn't my native language. So to reiterate. The normal, unoptimized path is: World::update() simulates world which uses Random::get() on every person. Random::get() calls >From gcc-bugs-return-601623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 11:05:17 2018 Return-Path: <gcc-bugs-return-601623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26364 invoked by alias); 15 Apr 2018 11:05:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22730 invoked by uid 48); 15 Apr 2018 11:05:11 -0000 From: "krzysio.kurek at wp dot pl" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/82229] GCC7's LTO underperforms compared to GCC6 Date: Sun, 15 Apr 2018 11:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: lto, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: krzysio.kurek at wp dot pl X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: Message-ID: <bug-82229-4-ozQP0MDACq@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-82229-4@http.gcc.gnu.org/bugzilla/> References: <bug-82229-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01747.txt.bz2 Content-length: 658 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229 --- Comment #19 from krzysio.kurek at wp dot pl --- I'm sorry if it's not clear, English isn't my native language. So to reiterate. The normal, unoptimized path is: World::update() simulates world which uses Random::get() to generate a random number. Random::get() calls std::uniform_int_distribution, which then calls std::mersenne_twister_engine(). And this is what GCC7 uses. Now GCC6 with LTO manages to optimize the path by: Calling Random::get() only once per frame. Omitting std::uniform_int_distribution, calling std::mersenne_twister_engine() instead every time a random number is needed. >From gcc-bugs-return-601624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 11:06:15 2018 Return-Path: <gcc-bugs-return-601624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45633 invoked by alias); 15 Apr 2018 11:06:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 45433 invoked by uid 48); 15 Apr 2018 11:06:10 -0000 From: "krzysio.kurek at wp dot pl" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/82229] GCC7's LTO underperforms compared to GCC6 Date: Sun, 15 Apr 2018 11:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: lto, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: krzysio.kurek at wp dot pl X-Bugzilla-Status: REOPENED 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 resolution Message-ID: <bug-82229-4-fW0NfLDGmc@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-82229-4@http.gcc.gnu.org/bugzilla/> References: <bug-82229-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01748.txt.bz2 Content-length: 398 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229 krzysio.kurek at wp dot pl changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID |--- --- Comment #20 from krzysio.kurek at wp dot pl --- Reopening. >From gcc-bugs-return-601625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 12:01:00 2018 Return-Path: <gcc-bugs-return-601625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125589 invoked by alias); 15 Apr 2018 12:00:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125383 invoked by uid 48); 15 Apr 2018 12:00:41 -0000 From: "olegendo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/42947] multilib and startup files paths differ on sh4 with -m4 and without -m4 where -m4 is default multilib Date: Sun, 15 Apr 2018 12:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo 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: <bug-42947-4-a1xlOTNILi@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-42947-4@http.gcc.gnu.org/bugzilla/> References: <bug-42947-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01749.txt.bz2 Content-length: 306 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42947 --- Comment #7 from Oleg Endo <olegendo at gcc dot gnu.org> --- (In reply to Sergei Trofimovich from comment #6) > Created attachment 43931 [details] Thanks for the patch Sergei. Are there any known drawbacks of dropping SYSROOT_SUFFIX_SPEC support? >From gcc-bugs-return-601626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 14:28:47 2018 Return-Path: <gcc-bugs-return-601626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108482 invoked by alias); 15 Apr 2018 14:28:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108426 invoked by uid 48); 15 Apr 2018 14:28:43 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71235] march=silvermont turns on aes by default Date: Sun, 15 Apr 2018 14:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-71235-4-4i87PrMmbL@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-71235-4@http.gcc.gnu.org/bugzilla/> References: <bug-71235-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01750.txt.bz2 Content-length: 546 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71235 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The documentation documents that -march=sandybridge includes -maes. The lowest common denominator is getting too far away from the most common CPUs of the category. >From gcc-bugs-return-601627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 14:40:46 2018 Return-Path: <gcc-bugs-return-601627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57386 invoked by alias); 15 Apr 2018 14:40:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57347 invoked by uid 48); 15 Apr 2018 14:40:41 -0000 From: "m.vorobyov at cs dot msu.ru" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71235] march=silvermont turns on aes by default Date: Sun, 15 Apr 2018 14:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: m.vorobyov at cs dot msu.ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-71235-4-rrapLdwLnc@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-71235-4@http.gcc.gnu.org/bugzilla/> References: <bug-71235-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01751.txt.bz2 Content-length: 253 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71235 --- Comment #3 from Mikhail Vorobyov <m.vorobyov at cs dot msu.ru> --- Maybe it should be said more precisely that -march isn't for all cores of family but for only ones which have those extensions? >From gcc-bugs-return-601628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 15:05:48 2018 Return-Path: <gcc-bugs-return-601628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100889 invoked by alias); 15 Apr 2018 15:05:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100872 invoked by uid 48); 15 Apr 2018 15:05:44 -0000 From: "linux at carewolf dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85406] New: Unnecessary blend when vectorizing short-cutted calculations Date: Sun, 15 Apr 2018 15:05: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: linux at carewolf 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: <bug-85406-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01752.txt.bz2 Content-length: 1600 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85406 Bug ID: 85406 Summary: Unnecessary blend when vectorizing short-cutted calculations Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: linux at carewolf dot com Target Milestone: --- If you have something like this: inline unsigned qPremultiply(unsigned x) { const unsigned a = x >> 24; if (a == 255) return x; unsigned t = (x & 0xff00ff) * a; t = (t + ((t >> 8) & 0xff00ff) + 0x800080) >> 8; t &= 0xff00ff; x = ((x >> 8) & 0xff) * a; x = (x + ((x >> 8) & 0xff) + 0x80); x &= 0xff00; return x | t | (a << 24); } Gcc will vectorize it so that the longer calculation is always performed and with an added blend in the end to merge the two different return values. This is however unnecessary as the calculation will give the same result, and thus the blend can be saved. Also in any case it is actually a bit unsafe to vectorize as the performance difference between the two branches is substantial, and it happens that in this case the short-cut is likely to be valid most of the time, so a nonvectorized loop might be faster than a vectorized one by doing a lot less. The latter can be fixed, if the short-cut was also vectorized, for instance making the test for 4 values at a time and skip the long route if none of them need it. >From gcc-bugs-return-601629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 15:14:15 2018 Return-Path: <gcc-bugs-return-601629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105792 invoked by alias); 15 Apr 2018 15:14:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105768 invoked by uid 48); 15 Apr 2018 15:14:06 -0000 From: "linux at carewolf dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85406] Unnecessary blend when vectorizing short-cutted calculations Date: Sun, 15 Apr 2018 15:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: linux at carewolf 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: <bug-85406-4-mWU4r5cYku@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85406-4@http.gcc.gnu.org/bugzilla/> References: <bug-85406-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01753.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85406 --- Comment #1 from Allan Jensen <linux at carewolf dot com> --- Note it might be hard to figure out for the compiler that the result for a==255 will leave the input unchanged, but you can observe the same if you instead test for a == 0 (and return 0). In that case the compiler should have enough math deduction to be able to tell that the result of a==0 is always 0. >From gcc-bugs-return-601630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 15:31:10 2018 Return-Path: <gcc-bugs-return-601630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7014 invoked by alias); 15 Apr 2018 15:31:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6968 invoked by uid 48); 15 Apr 2018 15:31:06 -0000 From: "vehre at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/83606] [6/7/8 Regression] co-indexed array RHS yields incorrect result in assignment to vector-indexed LHS Date: Sun, 15 Apr 2018 15:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vehre at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: vehre at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-83606-4-OL7tMrBS11@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83606-4@http.gcc.gnu.org/bugzilla/> References: <bug-83606-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01754.txt.bz2 Content-length: 201 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83606 --- Comment #7 from vehre at gcc dot gnu.org --- Backporting to gcc-6 and -7 is possible. The patch applies cleanly and all regression tests pass. >From gcc-bugs-return-601631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 17:35:41 2018 Return-Path: <gcc-bugs-return-601631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27006 invoked by alias); 15 Apr 2018 17:35:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26965 invoked by uid 48); 15 Apr 2018 17:35:35 -0000 From: "john at mcfarlane dot name" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85125] constant expression with const_cast UB does not emit error Date: Sun, 15 Apr 2018 17:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: accepts-invalid, diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: john at mcfarlane dot name 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: <bug-85125-4-wyKpxzk08F@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85125-4@http.gcc.gnu.org/bugzilla/> References: <bug-85125-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01755.txt.bz2 Content-length: 799 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85125 --- Comment #2 from John McFarlane <john at mcfarlane dot name> --- Here are two more: constexpr int dubious_increment(int i) { return ++i + ++i; } static_assert(dubious_increment(0) == 3); constexpr int dubious_increment(int i) { return ++++i; } static_assert(dubious_increment(0) == 2); The former might be a special case because it produces warnings when compiled at a high-enough warning level (-Wall) but continues to compile nevertheless. (Clan, warns at any level but also happily compiles.) The second just compiles without warning no matter what. Would these be classes as the same issue or should I submit a separate report? Also, I'm not trying very hard to find these so I suspect there are more. >From gcc-bugs-return-601632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 19:15:41 2018 Return-Path: <gcc-bugs-return-601632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130198 invoked by alias); 15 Apr 2018 19:15:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130070 invoked by uid 48); 15 Apr 2018 19:15:35 -0000 From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85407] New: Replace gcc_assert in module.c:read_module by more helpful diagnostics Date: Sun, 15 Apr 2018 19:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gmx dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: <bug-85407-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01756.txt.bz2 Content-length: 874 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85407 Bug ID: 85407 Summary: Replace gcc_assert in module.c:read_module by more helpful diagnostics Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: anlauf at gmx dot de Target Milestone: --- Created attachment 43939 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43939&action=edit Patch When reading inconsistent module files, an assert can be triggered in read_module(). The attached patch replaces the assert by an error message which may be more informative for the user. See https://gcc.gnu.org/ml/fortran/2018-04/msg00023.html and context for discussion and proposed Changelog. >From gcc-bugs-return-601633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 21:26:39 2018 Return-Path: <gcc-bugs-return-601633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113732 invoked by alias); 15 Apr 2018 21:26:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 113665 invoked by uid 48); 15 Apr 2018 21:26:35 -0000 From: "andrewjenner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Sun, 15 Apr 2018 21:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: andrewjenner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-TQnPICAWjq@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01757.txt.bz2 Content-length: 440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #24 from Andrew Jenner <andrewjenner at gcc dot gnu.org> --- Sorry for my lack of communication on this. Realistically, it doesn't look like I'm going to be able to get the powerpcspe port to the appropriate state by the GCC 8 rc1, so please feel free to deprecate or remove as you see fit. I will continue to work on it with the aim of re-adding it in stage 1. Thanks. >From gcc-bugs-return-601634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 21:46:24 2018 Return-Path: <gcc-bugs-return-601634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124579 invoked by alias); 15 Apr 2018 21:46:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124503 invoked by uid 48); 15 Apr 2018 21:46:20 -0000 From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85080] [8 regression] gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c fails starting with r248678 Date: Sun, 15 Apr 2018 21:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85080-4-W5h2SEKgpS@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85080-4@http.gcc.gnu.org/bugzilla/> References: <bug-85080-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01758.txt.bz2 Content-length: 541 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85080 --- Comment #4 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- _Set8 wasn't supposed to be profitable before -- but this is an old test, predating reasonable unaligned storage accesses with Power8 and later. We should have vectorized both loops as soon as that came along, but without Robin's changes we missed that opportunity. Both of them vectorizing now is correct. I'll see if I can alter the test to be executed only for targets with expensive unaligned storage accesses. >From gcc-bugs-return-601635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 21:47:55 2018 Return-Path: <gcc-bugs-return-601635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126096 invoked by alias); 15 Apr 2018 21:47:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126027 invoked by uid 48); 15 Apr 2018 21:47:51 -0000 From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85080] [8 regression] gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c fails starting with r248678 Date: Sun, 15 Apr 2018 21:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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 Message-ID: <bug-85080-4-mCRn1DPEl7@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85080-4@http.gcc.gnu.org/bugzilla/> References: <bug-85080-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01759.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85080 Bill Schmidt <wschmidt at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW >From gcc-bugs-return-601636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Apr 15 22:43:04 2018 Return-Path: <gcc-bugs-return-601636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40873 invoked by alias); 15 Apr 2018 22:43:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40800 invoked by uid 48); 15 Apr 2018 22:42:59 -0000 From: "peter at cordes dot ca" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81274] x86 optimizer emits unnecessary LEA instruction when using AVX intrinsics Date: Sun, 15 Apr 2018 22:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: peter at cordes dot ca X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-81274-4-F09CcjjCuP@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81274-4@http.gcc.gnu.org/bugzilla/> References: <bug-81274-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01760.txt.bz2 Content-length: 1435 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81274 Peter Cordes <peter at cordes dot ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |peter at cordes dot ca --- Comment #1 from Peter Cordes <peter at cordes dot ca> --- This LEA stuff is part of what gcc does to align the stack by 32 for spilling AVX locals. Gcc's stack-align sequence is over-complicated and ties up an extra register for the whole function (add volatile to the local and see the -O3 code). Or at least it was; it seems gcc8 trunk just makes a stack frame with EBP / RBP but references 32-byte aligned locals from aligned RSP instead of unaligned RBP. It used to copy the address of the return address to make a full copy of ret-addr / saved-RBP for the aligned stack frame, which was super weird. https://godbolt.org/g/RLJNtd. (With an alloca or something, gcc8 does the same crazy stack-frame stuff as gcc7, otherwise it's much cleaner, like clang) ---- The actual bug here is that it's not fully optimized away when it turns out that no 32-byte spills / reloads from locals are left in the function. gcc for x86-64 sometimes has a few leftover instructions like that in more complex functions using __m256; this is not exclusively an i386 problem, but it's happens more easily for 32-bit it seems. >From gcc-bugs-return-601637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 00:20:39 2018 Return-Path: <gcc-bugs-return-601637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129830 invoked by alias); 16 Apr 2018 00:20:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129787 invoked by uid 48); 16 Apr 2018 00:20:35 -0000 From: "dingcurie at icloud dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/51628] __attribute__((packed)) is unsafe in some cases Date: Mon, 16 Apr 2018 00:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.5.1 X-Bugzilla-Keywords: patch, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dingcurie at icloud dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-51628-4-lkKB19xRVG@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-51628-4@http.gcc.gnu.org/bugzilla/> References: <bug-51628-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01761.txt.bz2 Content-length: 256 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51628 --- Comment #52 from W.H. Ding <dingcurie at icloud dot com> --- (In reply to rguenther@suse.de from comment #48) So, is there an old bug that covers my problem, or should I file a new one? Thank you. >From gcc-bugs-return-601638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 01:13:03 2018 Return-Path: <gcc-bugs-return-601638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90255 invoked by alias); 16 Apr 2018 01:13:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90191 invoked by uid 48); 16 Apr 2018 01:12:57 -0000 From: "richard-gccbugzilla at metafoo dot co.uk" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/76995] type-id/expression in cstyle-cast are disambiguated incorrectly Date: Mon, 16 Apr 2018 01:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: richard-gccbugzilla at metafoo dot co.uk 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: cc Message-ID: <bug-76995-4-7ryeRRlBCc@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-76995-4@http.gcc.gnu.org/bugzilla/> References: <bug-76995-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01762.txt.bz2 Content-length: 1665 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76995 Richard Smith <richard-gccbugzilla at metafoo dot co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |richard-gccbugzilla@metafoo | |.co.uk --- Comment #2 from Richard Smith <richard-gccbugzilla at metafoo dot co.uk> --- This code is valid, and GCC is incorrect to reject it (as is Clang and EDG, of course). The expression context (T()) is ambiguous: it could either be a C-style cast to the function type 'T()' or a parenthesized functional cast expression constructing an object of type 'T'. A correct parser is required to look at what follows the construct to figure out which of these two cases we're in: if the following tokens form a valid cast-expression, then it's an (ill-formed) cast to a function type. Otherwise, it's a parenthesized functional cast. The following tokens are (args...), which do not form a valid cast-expression, so the overall expression unambiguously parses the same as 'mytype()(args...)', rather than as a type cast. And for the record: I think this language rule is ridiculous. As far as I can determine, the only cases that result in this ambiguity involve a choice between a cast to a function type and something else; since a cast to a function type is not meaningful, we could -- and arguably should -- change the grammar to treat such cases as the non-cast interpretation. But I think that argues even more strongly that GCC is wrong to reject this. >From gcc-bugs-return-601639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 02:01:43 2018 Return-Path: <gcc-bugs-return-601639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46872 invoked by alias); 16 Apr 2018 02:01:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 45950 invoked by uid 55); 16 Apr 2018 02:01:38 -0000 From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/85326] `make check` fails with `--disable-bootstrap` and `--enable-languages=c` Date: Mon, 16 Apr 2018 02:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: <bug-85326-4-XBr7k344mL@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85326-4@http.gcc.gnu.org/bugzilla/> References: <bug-85326-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01763.txt.bz2 Content-length: 751 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85326 --- Comment #5 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Author: wschmidt Date: Mon Apr 16 02:00:43 2018 New Revision: 259393 URL: https://gcc.gnu.org/viewcvs?rev=259393&root=gcc&view=rev Log: [gcc/testsuite] 2018-04-15 Bill Schmidt <wschmidt@linux.ibm.com> PR testsuite/85326 * g++.dg/ext/undef-bool-1.C: New file. * gcc.target/powerpc/powerpc.exp: Remove .C support. * gcc.target/powerpc/undef-bool-1.C: Remove file. Added: trunk/gcc/testsuite/g++.dg/ext/undef-bool-1.C Removed: trunk/gcc/testsuite/gcc.target/powerpc/undef-bool-1.C Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/powerpc/powerpc.exp >From gcc-bugs-return-601641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 02:19:50 2018 Return-Path: <gcc-bugs-return-601641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84811 invoked by alias); 16 Apr 2018 02:19:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84654 invoked by uid 48); 16 Apr 2018 02:19:46 -0000 From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84842] ICE in verify_target_availability, at sel-sched.c:1569 Date: Mon, 16 Apr 2018 02:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-84842-4-D1JrPcWNCa@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84842-4@http.gcc.gnu.org/bugzilla/> References: <bug-84842-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01765.txt.bz2 Content-length: 265 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84842 --- Comment #6 from Arseny Solokha <asolokha at gmx dot com> --- Created attachment 43941 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43941&action=edit c3 testcase dumps w/o -fselective-scheduling2 >From gcc-bugs-return-601640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 02:19:18 2018 Return-Path: <gcc-bugs-return-601640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82375 invoked by alias); 16 Apr 2018 02:19:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82280 invoked by uid 48); 16 Apr 2018 02:19:12 -0000 From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84842] ICE in verify_target_availability, at sel-sched.c:1569 Date: Mon, 16 Apr 2018 02:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-84842-4-xQM2ksMNJp@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84842-4@http.gcc.gnu.org/bugzilla/> References: <bug-84842-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01764.txt.bz2 Content-length: 264 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84842 --- Comment #5 from Arseny Solokha <asolokha at gmx dot com> --- Created attachment 43940 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43940&action=edit c3 testcase dumps w/ -fselective-scheduling2 >From gcc-bugs-return-601642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 03:49:38 2018 Return-Path: <gcc-bugs-return-601642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36747 invoked by alias); 16 Apr 2018 03:49:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36682 invoked by uid 48); 16 Apr 2018 03:49:33 -0000 From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83886] [8 Regression] ICE in cfg_layout_redirect_edge_and_branch, at cfgrtl.c:4433 Date: Mon, 16 Apr 2018 03:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 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: <bug-83886-4-cVyAVxopyI@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83886-4@http.gcc.gnu.org/bugzilla/> References: <bug-83886-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01766.txt.bz2 Content-length: 196 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83886 --- Comment #3 from Arseny Solokha <asolokha at gmx dot com> --- I cannot reproduce it anymore w/ gcc-8.0.0-alpha20180415 snapshot (r259389). >From gcc-bugs-return-601643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 05:51:54 2018 Return-Path: <gcc-bugs-return-601643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60477 invoked by alias); 16 Apr 2018 05:51:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60440 invoked by uid 48); 16 Apr 2018 05:51:50 -0000 From: "tjoener at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71235] march=silvermont turns on aes by default Date: Mon, 16 Apr 2018 05:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tjoener at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-71235-4-MutMwkiTmD@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-71235-4@http.gcc.gnu.org/bugzilla/> References: <bug-71235-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01767.txt.bz2 Content-length: 348 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71235 --- Comment #4 from Jan De Kock <tjoener at gmail dot com> --- @Jakub, isn't that the whole point? To be the lowest common denominator? In the case of silvermont, the desktop SKUs (Bay-Trail-D) and mobile SKUs (Bay-Trail-M), both don't support AES. That's a pretty large group if you ask me >From gcc-bugs-return-601644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 06:01:00 2018 Return-Path: <gcc-bugs-return-601644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75678 invoked by alias); 16 Apr 2018 06:01:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75440 invoked by uid 55); 16 Apr 2018 06:00:50 -0000 From: "jkoval at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84413] -mtune=skylake-avx512,cannonlake,icelake disable many optimizations Date: Mon, 16 Apr 2018 06:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jkoval 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: Message-ID: <bug-84413-4-LfpPEtZF1w@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84413-4@http.gcc.gnu.org/bugzilla/> References: <bug-84413-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01768.txt.bz2 Content-length: 581 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84413 --- Comment #3 from Julia Koval <jkoval at gcc dot gnu.org> --- Author: jkoval Date: Mon Apr 16 05:59:52 2018 New Revision: 259395 URL: https://gcc.gnu.org/viewcvs?rev=259395&root=gcc&view=rev Log: Add sse_unaligned_load_optimal and sse_unaligned_store_optimal to Skylake. gcc/ PR target/84413 * config/i386/x86-tune.def (X86_TUNE_SSE_UNALIGNED_LOAD_OPTIMAL, X86_TUNE_SSE_UNALIGNED_STORE_OPTIMAL): Add m_SKYLAKE_AVX512 Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/x86-tune.def >From gcc-bugs-return-601645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 06:26:46 2018 Return-Path: <gcc-bugs-return-601645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75694 invoked by alias); 16 Apr 2018 06:26:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75626 invoked by uid 48); 16 Apr 2018 06:26:41 -0000 From: "npickito at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/84856] Bootstrap failure on riscv: comparison of integer expressions of different signedness Date: Mon, 16 Apr 2018 06:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: npickito at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: wilson at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-84856-4-rrQNcCImJm@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84856-4@http.gcc.gnu.org/bugzilla/> References: <bug-84856-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01769.txt.bz2 Content-length: 772 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84856 Kito Cheng <npickito at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |npickito at gmail dot com --- Comment #7 from Kito Cheng <npickito at gmail dot com> --- Hi Jim: Your fixed changed the stack alignment at all, MIN_STACK_BOUNDARY is only used in backed, but STACK_BOUNDARY will reference in may place to align the stack. riscv32-elf-gcc gcc/testsuite/gcc.c-torture/execute/20010518-1.c -o - -S ... .globl main .type main, @function main: addi sp,sp,-40 <------ sw ra,36(sp) sw s0,32(sp) ... >From gcc-bugs-return-601646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 07:13:14 2018 Return-Path: <gcc-bugs-return-601646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8849 invoked by alias); 16 Apr 2018 07:13:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5311 invoked by uid 48); 16 Apr 2018 07:13:08 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83886] [8 Regression] ICE in cfg_layout_redirect_edge_and_branch, at cfgrtl.c:4433 Date: Mon, 16 Apr 2018 07:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-83886-4-9XsunjsijL@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83886-4@http.gcc.gnu.org/bugzilla/> References: <bug-83886-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01770.txt.bz2 Content-length: 447 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83886 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Resolved in r259244. >From gcc-bugs-return-601647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 07:20:30 2018 Return-Path: <gcc-bugs-return-601647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108189 invoked by alias); 16 Apr 2018 07:20:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108133 invoked by uid 48); 16 Apr 2018 07:20:26 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/82229] GCC7's LTO underperforms compared to GCC6 Date: Mon, 16 Apr 2018 07:20: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: 7.2.0 X-Bugzilla-Keywords: lto, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: WAITING 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 Message-ID: <bug-82229-4-1qcJ3b76R3@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-82229-4@http.gcc.gnu.org/bugzilla/> References: <bug-82229-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01771.txt.bz2 Content-length: 645 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |WAITING --- Comment #21 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Ok, so you can use compiler hints line attribute always_inline or inline. Apart from that you can use PGO (-fprofile-generate/-fprofile-use) to provide even more hints. For the analysis, please attach perf report log files for slow and fast version. That should help us. >From gcc-bugs-return-601648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 07:27:42 2018 Return-Path: <gcc-bugs-return-601648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114591 invoked by alias); 16 Apr 2018 07:27:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114467 invoked by uid 48); 16 Apr 2018 07:27:37 -0000 From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85408] New: ICE in patch_jump_insn, at cfgrtl.c:1271 Date: Mon, 16 Apr 2018 07:27: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: <bug-85408-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01772.txt.bz2 Content-length: 3304 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85408 Bug ID: 85408 Summary: ICE in patch_jump_insn, at cfgrtl.c:1271 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: powerpc-*-linux-gnu*, powerpcspe-*-linux-gnu* gcc-8.0.0-alpha20180415 snapshot (r259389) ICEs when compiling the following snippet w/ -O2 (-O3, -Ofast) -fselective-scheduling -fmodulo-sched -fgraphite-identity -freorder-blocks-and-partition -fno-tree-loop-im: int um; void od (void) { int vq = 0; for (;;) { while (um < 1) vq = (short int) um; while (vq < 1) { for (um = 0; um < 2; ++um) { } ++vq; } } } % powerpc-e300c3-linux-gnu-gcc-8.0.0-alpha20180415 -O2 -fselective-scheduling -fmodulo-sched -fgraphite-identity -freorder-blocks-and-partition -fno-tree-loop-im -c smjpdkm5.c during RTL pass: sched1 smjpdkm5.c: In function 'od': smjpdkm5.c:22:1: internal compiler error: in patch_jump_insn, at cfgrtl.c:1271 } ^ 0x74d7a2 patch_jump_insn /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/cfgrtl.c:1271 0x74dd52 redirect_branch_edge /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/cfgrtl.c:1297 0x74de22 rtl_redirect_edge_and_branch /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/cfgrtl.c:1430 0x7315c8 redirect_edge_and_branch(edge_def*, basic_block_def*) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/cfghooks.c:369 0x138eec9 try_forward_edges /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/cfgcleanup.c:550 0x138eec9 try_optimize_cfg /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/cfgcleanup.c:2942 0x13910ab cleanup_cfg(int) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/cfgcleanup.c:3156 0xc1a15f sel_global_init /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:7667 0xc1a15f run_selective_scheduling() /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:7730 0xbf0d04 rest_of_handle_sched /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sched-rgn.c:3718 0xbf0d04 execute /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sched-rgn.c:3828 I've been hitting it for a while but am filing a PR only now, when many selective scheduling fixes have actually started landing on the trunk. >From gcc-bugs-return-601649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 07:27:43 2018 Return-Path: <gcc-bugs-return-601649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114601 invoked by alias); 16 Apr 2018 07:27:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114486 invoked by uid 48); 16 Apr 2018 07:27:38 -0000 From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85409] New: ICE in alloc_succs_info, at sel-sched-ir.c:4730 Date: Mon, 16 Apr 2018 07:27: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: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget attachments.created Message-ID: <bug-85409-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01773.txt.bz2 Content-length: 4676 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85409 Bug ID: 85409 Summary: ICE in alloc_succs_info, at sel-sched-ir.c:4730 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: powerpc-*-linux-gnu*, powerpcspe-*-linux-gnu* Created attachment 43942 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43942&action=edit Testcase gcc-8.0.0-alpha20180415 snapshot (r259389) ICEs when compiling the attached snippet w/ -O1 -fselective-scheduling -fschedule-insns -fvar-tracking-assignments. % powerpc-e300c3-linux-gnu-gcc-8.0.0-alpha20180415 -O1 -fselective-scheduling -fschedule-insns -fvar-tracking-assignments -w -c anctgs2z.c during RTL pass: sched1 anctgs2z.c: In function 'ew': anctgs2z.c:106:1: internal compiler error: in alloc_succs_info, at sel-sched-ir.c:4730 } ^ 0xbff5b2 alloc_succs_info /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched-ir.c:4730 0xbff5b2 compute_succs_info(rtx_insn*, short) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched-ir.c:4767 0xc0e2b1 compute_av_set_at_bb_end /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:2752 0xc0e2b1 compute_av_set_inside_bb /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:2981 0xc0e3f6 compute_av_set_at_bb_end /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:2772 0xc0e3f6 compute_av_set_inside_bb /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:2981 0xc0e3f6 compute_av_set_at_bb_end /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:2772 0xc0e3f6 compute_av_set_inside_bb /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:2981 0xc0e3f6 compute_av_set_at_bb_end /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:2772 0xc0e3f6 compute_av_set_inside_bb /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:2981 0xc0e3f6 compute_av_set_at_bb_end /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:2772 0xc0e3f6 compute_av_set_inside_bb /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:2981 0xc0e3f6 compute_av_set_at_bb_end /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:2772 0xc0e3f6 compute_av_set_inside_bb /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:2981 0xc0e3f6 compute_av_set_at_bb_end /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:2772 0xc0e3f6 compute_av_set_inside_bb /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:2981 0xc0e3f6 compute_av_set_at_bb_end /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:2772 0xc0e3f6 compute_av_set_inside_bb /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:2981 0xc0e3f6 compute_av_set_at_bb_end /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:2772 0xc0e3f6 compute_av_set_inside_bb /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:2981 I've been hitting it for a while but am filing a PR only now, when many selective scheduling fixes have actually started landing on the trunk. >From gcc-bugs-return-601650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 08:24:40 2018 Return-Path: <gcc-bugs-return-601650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99112 invoked by alias); 16 Apr 2018 08:24:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98767 invoked by uid 48); 16 Apr 2018 08:24:34 -0000 From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85410] New: ICE in create_block_for_bookkeeping, at sel-sched.c:4563 Date: Mon, 16 Apr 2018 08:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: <bug-85410-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01774.txt.bz2 Content-length: 4502 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85410 Bug ID: 85410 Summary: ICE in create_block_for_bookkeeping, at sel-sched.c:4563 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: powerpc-*-linux-gnu gcc-8.0.0-alpha20180415 snapshot (r259389) ICEs when compiling the following snippet w/ -O3 (-Ofast) -fselective-scheduling -fvar-tracking-assignments: void nl (int fg, int lb) { long long unsigned int xj = ~0; double vu; while ((lb - (!fg + 1)) != xj) lb = fg = vu; } % powerpc-e300c3-linux-gnu-gcc-8.0.0-alpha20180415 -O3 -fselective-scheduling -fvar-tracking-assignments -w -c chreru5r.c during RTL pass: sched1 chreru5r.c: In function 'nl': chreru5r.c:9:1: internal compiler error: in create_block_for_bookkeeping, at sel-sched.c:4563 } ^ 0xc0f988 create_block_for_bookkeeping /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:4563 0xc0f988 find_place_for_bookkeeping /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:4700 0xc0f988 generate_bookkeeping_insn /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:4800 0xc0f988 move_op_at_first_insn /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:6077 0xc10243 code_motion_path_driver /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:6669 0xc10bc9 code_motion_process_successors /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:6356 0xc10bc9 code_motion_path_driver /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:6622 0xc10bc9 code_motion_process_successors /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:6356 0xc10bc9 code_motion_path_driver /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:6622 0xc10bc9 code_motion_process_successors /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:6356 0xc10bc9 code_motion_path_driver /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:6622 0xc11415 move_op /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:6714 0xc11415 move_exprs_to_boundary /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:5237 0xc11415 schedule_expr_on_boundary /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:5450 0xc15488 fill_insns /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:5592 0xc172ce schedule_on_fences /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:7366 0xc172ce sel_sched_region_2 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:7504 0xc18341 sel_sched_region_1 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:7546 0xc19935 sel_sched_region(int) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:7647 0xc1a289 run_selective_scheduling() /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:7733 >From gcc-bugs-return-601651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 08:25:29 2018 Return-Path: <gcc-bugs-return-601651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103168 invoked by alias); 16 Apr 2018 08:25:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103070 invoked by uid 48); 16 Apr 2018 08:25:24 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/76995] type-id/expression in cstyle-cast are disambiguated incorrectly Date: Mon, 16 Apr 2018 08: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: 6.2.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on resolution everconfirmed Message-ID: <bug-76995-4-SANjwwqbqu@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-76995-4@http.gcc.gnu.org/bugzilla/> References: <bug-76995-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01775.txt.bz2 Content-length: 601 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76995 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|RESOLVED |NEW Last reconfirmed| |2018-04-16 Resolution|INVALID |--- Ever confirmed|0 |1 --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- Confirmed then. >From gcc-bugs-return-601652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 08:32:03 2018 Return-Path: <gcc-bugs-return-601652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128533 invoked by alias); 16 Apr 2018 08:32:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128396 invoked by uid 55); 16 Apr 2018 08:31:55 -0000 From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85112] [8 Regression] ICE with invalid constexpr Date: Mon, 16 Apr 2018 08:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85112-4-LZxG7Yakzi@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85112-4@http.gcc.gnu.org/bugzilla/> References: <bug-85112-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01776.txt.bz2 Content-length: 883 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85112 --- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> --- Author: paolo Date: Mon Apr 16 08:31:23 2018 New Revision: 259397 URL: https://gcc.gnu.org/viewcvs?rev=259397&root=gcc&view=rev Log: 2018-04-16 Paolo Carlini <paolo.carlini@oracle.com> Jason Merrill <jason@redhat.com> PR c++/85112 * convert.c (convert_to_integer_1): Use direct recursion for enumeral types and types with a precision less than the number of bits in their mode. /testsuite 2018-04-16 Paolo Carlini <paolo.carlini@oracle.com> Jason Merrill <jason@redhat.com> PR c++/85112 * g++.dg/cpp0x/pr85112.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp0x/pr85112.C Modified: trunk/gcc/ChangeLog trunk/gcc/convert.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-601653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 08:33:27 2018 Return-Path: <gcc-bugs-return-601653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37789 invoked by alias); 16 Apr 2018 08:33:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33228 invoked by uid 48); 16 Apr 2018 08:33:23 -0000 From: "abel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85408] ICE in patch_jump_insn, at cfgrtl.c:1271 Date: Mon, 16 Apr 2018 08:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: abel at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: <bug-85408-4-YoOTRKxTkz@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85408-4@http.gcc.gnu.org/bugzilla/> References: <bug-85408-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01777.txt.bz2 Content-length: 1099 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85408 Andrey Belevantsev <abel at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-16 CC| |abel at gcc dot gnu.org, | |amonakov at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Andrey Belevantsev <abel at gcc dot gnu.org> --- We fail when trying to call cleanup_cfg. The edge we're trying to redirect looks like an indirect jump so I'm not sure why it's not a computed_jump_p (tablejump?) (gdb) p insn $11 = (rtx_insn *) 0x7ffff673c240 (gdb) pr warning: Expression is not an assignment (and might have no effect) (jump_insn/j 93 92 86 13 (set (pc) (reg:SI 160)) 628 {*indirect_jumpsi} (expr_list:REG_DEAD (reg:SI 160) (nil)) -> 17) (gdb) p computed_jump_p (insn) $12 = 0 >From gcc-bugs-return-601654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 08:34:00 2018 Return-Path: <gcc-bugs-return-601654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54198 invoked by alias); 16 Apr 2018 08:34:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54078 invoked by uid 48); 16 Apr 2018 08:33:56 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85409] [8 Regression] ICE in alloc_succs_info, at sel-sched-ir.c:4730 Date: Mon, 16 Apr 2018 08:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: 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 version keywords cf_reconfirmed_on cc everconfirmed short_desc target_milestone Message-ID: <bug-85409-4-9foerJRCzv@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85409-4@http.gcc.gnu.org/bugzilla/> References: <bug-85409-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01778.txt.bz2 Content-length: 1317 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85409 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Version|unknown |8.0 Keywords|ice-on-invalid-code |ice-on-valid-code Last reconfirmed| |2018-04-16 CC| |abel at gcc dot gnu.org, | |amonakov at gcc dot gnu.org, | |jakub at gcc dot gnu.org Ever confirmed|0 |1 Summary|ICE in alloc_succs_info, at |[8 Regression] ICE in |sel-sched-ir.c:4730 |alloc_succs_info, at | |sel-sched-ir.c:4730 Target Milestone|--- |8.0 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- With -m32 -mcpu=e300c3 -O1 -fselective-scheduling -fschedule-insns -fvar-tracking-assignments I've bisected it to r259231. It requires explicit -fvar-tracking-assignments people rarely use, so I think this doesn't deserve to be a P1. >From gcc-bugs-return-601655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 08:38:13 2018 Return-Path: <gcc-bugs-return-601655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65576 invoked by alias); 16 Apr 2018 08:38:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65516 invoked by uid 48); 16 Apr 2018 08:38:08 -0000 From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85409] [8 Regression] ICE in alloc_succs_info, at sel-sched-ir.c:4730 Date: Mon, 16 Apr 2018 08:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: 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: <bug-85409-4-pF5qT6wyS0@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85409-4@http.gcc.gnu.org/bugzilla/> References: <bug-85409-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01779.txt.bz2 Content-length: 330 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85409 --- Comment #2 from Arseny Solokha <asolokha at gmx dot com> --- (In reply to Jakub Jelinek from comment #1) > I've bisected it to r259231. Interesting. I reduced it from a file I have since 8.0.0-alpha20180121 snapshot timeframe, and the backtrace was the same back then. >From gcc-bugs-return-601656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 08:46:49 2018 Return-Path: <gcc-bugs-return-601656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84457 invoked by alias); 16 Apr 2018 08:46:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84376 invoked by uid 48); 16 Apr 2018 08:46:44 -0000 From: "abel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85409] [8 Regression] ICE in alloc_succs_info, at sel-sched-ir.c:4730 Date: Mon, 16 Apr 2018 08:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: abel 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: <bug-85409-4-aymMcbG0BK@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85409-4@http.gcc.gnu.org/bugzilla/> References: <bug-85409-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01780.txt.bz2 Content-length: 955 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85409 --- Comment #3 from Andrey Belevantsev <abel at gcc dot gnu.org> --- This one is cool. We hit an assert saying we cannot hold of successor info anymore. The succs vector size is of max_ws (maximum lookahead) + 1, but guess what, there's a lot of debug insns and these are not counted against windowsize when computing the availability set because of: 2949 if (DEBUG_INSN_P (last_insn)) 2950 continue; 2951 2952 if (end_ws > max_ws) 2953 { 2954 /* We can reach max lookahead size at bb_header, so clean av_set 2955 first. */ 2956 INSN_WS_LEVEL (last_insn) = global_level; 2957 2958 if (sched_verbose >= 6) 2959 sel_print ("Insn %d is beyond the software lookahead window size\n", 2960 INSN_UID (last_insn)); 2961 break; 2962 } 2963 2964 end_ws++; Thoughts? >From gcc-bugs-return-601657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 08:51:55 2018 Return-Path: <gcc-bugs-return-601657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89550 invoked by alias); 16 Apr 2018 08:51:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89450 invoked by uid 48); 16 Apr 2018 08:51:50 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85409] [8 Regression] ICE in alloc_succs_info, at sel-sched-ir.c:4730 Date: Mon, 16 Apr 2018 08:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: 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: <bug-85409-4-SQw7nC5ODr@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85409-4@http.gcc.gnu.org/bugzilla/> References: <bug-85409-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01781.txt.bz2 Content-length: 629 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85409 --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The general rule is that DEBUG_INSN_P should not affect code-gen related decisions and the compiler needs to cope with them as best as it can when the decisions have been made. sel-sched already violates that though. You could have separate lookahead for non-debug and debug insns (or space in there), though of course need to handle the case when there are really way too many debug insns among very few other insns (you can have millions of debug insns with no other insns in between in corner cases). >From gcc-bugs-return-601658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 08:52:33 2018 Return-Path: <gcc-bugs-return-601658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90609 invoked by alias); 16 Apr 2018 08:52:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90554 invoked by uid 48); 16 Apr 2018 08:52:29 -0000 From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85400] R_SPARC_TLS_*: invalid relocations generated for optimized builds on sparc Date: Mon, 16 Apr 2018 08:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: link-failure, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: <bug-85400-4-3WKcVGSPgH@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85400-4@http.gcc.gnu.org/bugzilla/> References: <bug-85400-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01782.txt.bz2 Content-length: 2114 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85400 Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-04-16 CC| |ebotcazou at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > In Solaris 10 & 11 using GCC versions 4.8, 4.9.2, 7.2.0 I get relocation > errors when thread_local variables are used in a struct/class. Example code > that reproduces the problem: > > > struct Test { > > int blah( int y ) { > > thread_local mything = 3; > > mything = y > 0 ? y : mything; > > return mything; > > } > > }; > > int stuff( Test& test, int y ) { > > return test.blah(y); > > } This doesn't compile for me: pr85400.C: In member function 'int Test::blah(int)': pr85400.C:5:18: error: 'mything' does not name a type thread_local mything = 3; ^~~~~~~ pr85400.C:6:5: error: 'mything' was not declared in this scope mything = y > 0 ? y : mything; ^~~~~~~ > * The compilers I built and those produced by OpenCSW use the Solaris > assembler (/usr/ccs/bin/as) instead of gas. Do you have local patches? My compiler is the stock GCC 8.x: Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/nfs/homes/homes/botcazou/gcc-head/install_sparc/bin/../libexec/gcc/sparc-sun-solaris2.10/8.0.1/lto-wrapper Target: sparc-sun-solaris2.10 Configured with: /homes/botcazou/gcc-head/src/configure --build=sparc-sun-solaris2.10 --prefix=/homes/botcazou/gcc-head/install_sparc --with-as=/homes/botcazou/gcc-head/install_sparc/bin/as --with-gmp=/homes/botcazou/support/sparc --with-mpfr=/homes/botcazou/support/sparc --with-mpc=/homes/botcazou/support/sparc --enable-languages=all --disable-nls Thread model: posix gcc version 8.0.1 20180325 (experimental) (GCC) >From gcc-bugs-return-601659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 08:56:44 2018 Return-Path: <gcc-bugs-return-601659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54759 invoked by alias); 16 Apr 2018 08:56:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54353 invoked by uid 48); 16 Apr 2018 08:56:40 -0000 From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85112] [8 Regression] ICE with invalid constexpr Date: Mon, 16 Apr 2018 08:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85112-4-bI8WzTqEgk@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85112-4@http.gcc.gnu.org/bugzilla/> References: <bug-85112-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01783.txt.bz2 Content-length: 437 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85112 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> --- Fixed. >From gcc-bugs-return-601660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 09:23:22 2018 Return-Path: <gcc-bugs-return-601660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92483 invoked by alias); 16 Apr 2018 09:23:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92440 invoked by uid 48); 16 Apr 2018 09:23:17 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/85411] New: [openacc] Move GOMP_OPENACC_DIM parsing out of nvptx plugin Date: Mon, 16 Apr 2018 09:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: trivial X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: <bug-85411-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01784.txt.bz2 Content-length: 854 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85411 Bug ID: 85411 Summary: [openacc] Move GOMP_OPENACC_DIM parsing out of nvptx plugin Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- As mentioned here ( https://gcc.gnu.org/ml/gcc-patches/2017-02/msg01020.html ): ... the GOMP_OPENACC_DIM parsing conceptually belongs into generic libgomp code, instead of the nvptx plugin. (But that aspect can be cleaned up later: currently, the nvptx plugin is the only one supporting/using it.) ... [ And re-iterated here: PR85129 comment 3 ] >From gcc-bugs-return-601661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 09:25:03 2018 Return-Path: <gcc-bugs-return-601661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94169 invoked by alias); 16 Apr 2018 09:25:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93761 invoked by uid 48); 16 Apr 2018 09:24:29 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/85129] [openacc] Document GOMP_OPENACC_DIM Date: Mon, 16 Apr 2018 09:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: vries 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: <bug-85129-4-fVNQln8PO3@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85129-4@http.gcc.gnu.org/bugzilla/> References: <bug-85129-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01785.txt.bz2 Content-length: 771 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85129 --- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Thomas Schwinge from comment #3) > (In reply to Tom de Vries from comment #2) > > GOMP_OPENACC_DIM seems to be the odd one here, and we should document > > the non-standard behaviour that it supports being set in main using setenv. > > Amongst other things, in > <http://mid.mail-archive.com/87r32z87mx.fsf@euler.schwinge.homeip.net> I > wondered whether "GOMP_OPENACC_DIM parsing conceptually belongs into generic > libgomp code, instead of the nvptx plugin. (But [...] currently, the nvptx > plugin is the only one supporting/using it.)". > Ack. Filed PR85411 - "[openacc] Move GOMP_OPENACC_DIM parsing out of nvptx plugin" >From gcc-bugs-return-601662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 09:29:32 2018 Return-Path: <gcc-bugs-return-601662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99894 invoked by alias); 16 Apr 2018 09:29:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99845 invoked by uid 48); 16 Apr 2018 09:29:27 -0000 From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85412] New: [8 Regression] ICE in put_TImodes, at sel-sched.c:7191 Date: Mon, 16 Apr 2018 09:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: <bug-85412-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01786.txt.bz2 Content-length: 2639 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85412 Bug ID: 85412 Summary: [8 Regression] ICE in put_TImodes, at sel-sched.c:7191 Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: x86_64-pc-linux-gnu gcc-8.0.0-alpha20180415 snapshot (r259389) ICEs when compiling the following snippet w/ -march=haswell -O2 (-O3) -fselective-scheduling2 -fsel-sched-pipelining -fno-tree-ch -fno-tree-loop-im: int n7; int rf (double as, long int u1, int sp, int fy) { int ku = 0, us = 1, lo = sp; while (fy < 1) { const long int pg = 5; const unsigned int g5 = 3; ku = as + us; if (fy == 0) n7 /= u1; else { const long long unsigned int w7 = 3; us = 0; as = u1 / w7 + u1; } fy = sp % pg + n7 / g5; } if (ku < 1) lo = u1; return lo; } % x86_64-pc-linux-gnu-gcc-8.0.0-alpha20180415 -march=haswell -O2 -fselective-scheduling2 -fsel-sched-pipelining -fno-tree-ch -fno-tree-loop-im -c t4byfoly.c during RTL pass: sched2 t4byfoly.c: In function 'rf': t4byfoly.c:32:1: internal compiler error: in put_TImodes, at sel-sched.c:7191 } ^ 0x64f37b put_TImodes /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:7191 0x64f37b sel_region_target_finish /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:7238 0x64f37b sel_region_finish /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:7289 0x64f37b sel_sched_region(int) /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:7658 0xc6ef38 run_selective_scheduling() /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:7733 0xc4e9a5 rest_of_handle_sched2 /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sched-rgn.c:3732 0xc4e9a5 execute /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sched-rgn.c:3876 I've been hitting it for a while but am filing a PR only now, when many selective scheduling fixes have actually started landing on the trunk. >From gcc-bugs-return-601663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 09:31:54 2018 Return-Path: <gcc-bugs-return-601663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102613 invoked by alias); 16 Apr 2018 09:31:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102196 invoked by uid 48); 16 Apr 2018 09:31:32 -0000 From: "dilyan.palauzov at aegee dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/85413] New: "./configure --with-build-config=bootstrap-lto " != "BOOT_CFLAGS +=-flto " Date: Mon, 16 Apr 2018 09:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dilyan.palauzov at aegee dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85413-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01787.txt.bz2 Content-length: 1075 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85413 Bug ID: 85413 Summary: "./configure --with-build-config=bootstrap-lto " != "BOOT_CFLAGS +=-flto " Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dilyan.palauzov at aegee dot org Target Milestone: --- https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/doc/install.texi;h=64ad2445a335f270200e359812bc9d2213bd2405;hb=HEAD#l2457 says: ./configure --with-build-config=bootstrap-lto is the same as adding -flto to BOOT_CFLAGS, but providing that config/bootstrap-lto.mk contains more code than just adding -flto, this seems not to be correct. Moreover the text in gcc/doc/instal.texi concerning the equivalence originates from 2010, but config/bootstrap-lto.ml was last modified in 2014. In 2010 bootstrap-lto.m4 indeed only added -flto, not it appends also =jobserver. >From gcc-bugs-return-601664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 09:37:55 2018 Return-Path: <gcc-bugs-return-601664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109283 invoked by alias); 16 Apr 2018 09:37:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109116 invoked by uid 48); 16 Apr 2018 09:37:51 -0000 From: "avieira at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83009] gcc.target/aarch64/store_v2vec_lanes.c fails with -mabi=ilp32 Date: Mon, 16 Apr 2018 09:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: avieira at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: avieira at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-83009-4-rkSk76vLyt@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83009-4@http.gcc.gnu.org/bugzilla/> References: <bug-83009-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01788.txt.bz2 Content-length: 210 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83009 --- Comment #7 from avieira at gcc dot gnu.org --- Bootstrap and regression testing looks good. Ill put the patch up on the ML when we enter stage 1 again. >From gcc-bugs-return-601665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 09:42:35 2018 Return-Path: <gcc-bugs-return-601665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124390 invoked by alias); 16 Apr 2018 09:42:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120644 invoked by uid 48); 16 Apr 2018 09:41:36 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85408] ICE in patch_jump_insn, at cfgrtl.c:1271 Date: Mon, 16 Apr 2018 09:42: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: 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-85408-4-uO5eM6ds9l@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85408-4@http.gcc.gnu.org/bugzilla/> References: <bug-85408-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01789.txt.bz2 Content-length: 3006 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85408 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org, | |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- This is a complete mess. bb-reorder.c has fix_crossing_unconditional_branches for targets that don't define HAS_LONG_UNCOND_BRANCHES to true. One thing which isn't clear is if it is right that these branches have JUMP_LABEL attached to them. If not, then e.g. --- gcc/bb-reorder.c.jj 2018-04-13 21:49:36.000000000 +0200 +++ gcc/bb-reorder.c 2018-04-16 11:18:33.328681163 +0200 @@ -2178,7 +2178,7 @@ fix_crossing_unconditional_branches (voi label = JUMP_LABEL (last_insn); label_addr = gen_rtx_LABEL_REF (Pmode, label); - LABEL_NUSES (label) += 1; + LABEL_NUSES (label)++; /* Get a register to use for the indirect jump. */ @@ -2187,7 +2187,8 @@ fix_crossing_unconditional_branches (voi /* Generate indirect the jump sequence. */ start_sequence (); - emit_move_insn (new_reg, label_addr); + rtx_insn *last = emit_move_insn (new_reg, label_addr); + add_reg_note (last, REG_LABEL_OPERAND, label); emit_indirect_jump (new_reg); indirect_jump_sequence = get_insns (); end_sequence (); @@ -2210,9 +2211,6 @@ fix_crossing_unconditional_branches (voi emit_insn_before (indirect_jump_sequence, last_insn); delete_insn (last_insn); - JUMP_LABEL (jump_insn) = label; - LABEL_NUSES (label)++; - /* Make BB_END for cur_bb be the jump instruction (NOT the barrier instruction at the end of the sequence...). */ fixes this ICE. Another thing is that these indirect jumps are shortly afterwards "optimized" into direct jumps anyway, even without the above patch with the same testcase e.g. without -fmodulo-sched option, with the patch even with that option. The thing is, with hot/cold partitioning we don't really know how far from each other the hot and cold partitions will be. On PowerPC the direct branch is I think 26-bit (with bottom two bits assumed to be 0 and reused for some flags) and thus considered insufficient. x86_64 in the default model has both conditional and unconditinal jumps with signed 32-bit immediates and thus considered ok. So, no matter whether we emit the JUMP_LABEL or not on the indirect jump, we should also make sure we don't turn those indirect jumps into direct jumps if they are crossing and !HAVE_LONG_UNCOND_BRANCH. Lastly, HAVE_LONG_UNCOND_BRANCH true is probably not ok for x86_64 -mcmodel=large. Honza, thoughts on this? >From gcc-bugs-return-601666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 09:44:39 2018 Return-Path: <gcc-bugs-return-601666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128052 invoked by alias); 16 Apr 2018 09:44:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127967 invoked by uid 48); 16 Apr 2018 09:44:35 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/85411] [openacc] Move GOMP_OPENACC_DIM parsing out of nvptx plugin Date: Mon, 16 Apr 2018 09:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: openacc, patch X-Bugzilla-Severity: trivial X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: <bug-85411-4-09roN4nlBi@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85411-4@http.gcc.gnu.org/bugzilla/> References: <bug-85411-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01790.txt.bz2 Content-length: 413 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85411 Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> --- https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00747.html >From gcc-bugs-return-601667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 10:08:14 2018 Return-Path: <gcc-bugs-return-601667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71043 invoked by alias); 16 Apr 2018 10:08:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70876 invoked by uid 48); 16 Apr 2018 10:08:02 -0000 From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84733] [8 Regression] internal compiler error: Segmentation fault (check_local_shadow()) Date: Mon, 16 Apr 2018 10:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84733-4-P3qdiH5WyP@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84733-4@http.gcc.gnu.org/bugzilla/> References: <bug-84733-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01791.txt.bz2 Content-length: 519 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84733 --- Comment #10 from Paolo Carlini <paolo.carlini at oracle dot com> --- In fact, if I slightly tweak the testcase to avoid the error by defining 'e' we would ICE again, because binding->type is found null without a preceding diagnostic. Thus I wonder if my patchlet in Comment 7 is actually correct or is papering over a deeper issue?!? struct c { ~c(); } b; void f() { try { d: ; } catch (int) { } decltype(b) a; int e; struct e { } f; } >From gcc-bugs-return-601668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 10:16:08 2018 Return-Path: <gcc-bugs-return-601668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25290 invoked by alias); 16 Apr 2018 10:16:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22577 invoked by uid 48); 16 Apr 2018 10:15:58 -0000 From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84733] [8 Regression] internal compiler error: Segmentation fault (check_local_shadow()) Date: Mon, 16 Apr 2018 10:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84733-4-phY8GJQgEg@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84733-4@http.gcc.gnu.org/bugzilla/> References: <bug-84733-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01792.txt.bz2 Content-length: 271 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84733 --- Comment #11 from Paolo Carlini <paolo.carlini at oracle dot com> --- Nope. Something deeper. The new testcase would be accepted but the declaration of the int variable 'e' would not be usable, would be ignored. >From gcc-bugs-return-601669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 10:41:25 2018 Return-Path: <gcc-bugs-return-601669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18911 invoked by alias); 16 Apr 2018 10:41:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18841 invoked by uid 48); 16 Apr 2018 10:41:20 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85412] [8 Regression] ICE in put_TImodes, at sel-sched.c:7191 Date: Mon, 16 Apr 2018 10:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-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: <bug-85412-4-IseocVBnA1@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85412-4@http.gcc.gnu.org/bugzilla/> References: <bug-85412-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01793.txt.bz2 Content-length: 3873 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85412 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |abel at gcc dot gnu.org, | |amonakov at gcc dot gnu.org, | |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Can't reproduce in my bisect seed, so can't bisect. Can reproduce with current trunk though. 7188 clock = INSN_SCHED_CYCLE (insn); 7189 cost = (last_clock == -1) ? 1 : clock - last_clock; 7190 7191 gcc_assert (cost >= 0); clock is 0, last_clock is 37, so cost is -37. Though, s_i_d array has just length of 52 and insn here (created by #1 0x0000000000acef21 in emit_insn (x=0x7fffefdfef40) at ../../gcc/emit-rtl.c:5116 #2 0x0000000000f56d77 in create_insn_rtx_from_pattern (pattern=0x7fffefdfef40, label=0x0) at ../../gcc/sel-sched-ir.c:5753 #3 0x0000000000f56f09 in create_copy_of_insn_rtx (insn_rtx=0x7fffefc58ec0) at ../../gcc/sel-sched-ir.c:5798 #4 0x0000000000f686b1 in emit_bookkeeping_insn (place_to_insert=0x7fffefe070c0, c_expr=0x7fffffffd8c0, new_seqno=100) at ../../gcc/sel-sched.c:4768 #5 0x0000000000f6881e in generate_bookkeeping_insn (c_expr=0x7fffffffd8c0, e1=<edge 0x7fffefddc600 (9 -> 4)>, e2=<edge 0x7fffefddc600 (9 -> 4)>) at ../../gcc/sel-sched.c:4805 #6 0x0000000000f6b58b in move_op_at_first_insn (insn=0x7fffefdf88c0, lparams=0x7fffffffd440, static_params=0x7fffffffd7e0) at ../../gcc/sel-sched.c:6077 #7 0x0000000000f6c2b2 in code_motion_path_driver (insn=0x7fffefdf88c0, orig_ops=0x0, path=0x2d193d0, local_params_in=0x7fffffffd440, static_params=0x7fffffffd7e0) at ../../gcc/sel-sched.c:6669 #8 0x0000000000f6bad6 in code_motion_process_successors (insn=0x7fffefdebe58, orig_ops=0x2d19f88, path=0x2d193d0, static_params=0x7fffffffd7e0) at ../../gcc/sel-sched.c:6356 #9 0x0000000000f6c199 in code_motion_path_driver (insn=0x7fffefdebe58, orig_ops=0x2d19f88, path=0x2d193d0, local_params_in=0x7fffffffd630, static_params=0x7fffffffd7e0) at ../../gcc/sel-sched.c:6622 #10 0x0000000000f6bad6 in code_motion_process_successors (insn=0x7fffefdebea0, orig_ops=0x2d1b4a0, path=0x2d1bb30, static_params=0x7fffffffd7e0) at ../../gcc/sel-sched.c:6356 #11 0x0000000000f6c199 in code_motion_path_driver (insn=0x7fffefdebea0, orig_ops=0x2d1b4a0, path=0x2d1bb30, local_params_in=0x7fffffffd7b0, static_params=0x7fffffffd7e0) at ../../gcc/sel-sched.c:6622 #12 0x0000000000f6c3af in move_op (insn=0x7fffefc58bc0, orig_ops=0x2d1b860, expr_vliw=0x2d1bef8, dest=0x0, c_expr=0x7fffffffd8c0, should_move=0x7fffffffd89a) at ../../gcc/sel-sched.c:6714 #13 0x0000000000f696eb in move_exprs_to_boundary (bnd=0x2d19360, expr_vliw=0x2d1bef8, expr_seq=0x2d1b860, c_expr=0x7fffffffd8c0) at ../../gcc/sel-sched.c:5237 #14 0x0000000000f6a24b in schedule_expr_on_boundary (bnd=0x2d19360, expr_vliw=0x2d1bef8, seqno=-13) at ../../gcc/sel-sched.c:5450 #15 0x0000000000f6a6ec in fill_insns (fence=0x2d1b598, seqno=-13, scheduled_insns_tailpp=0x7fffffffda90) at ../../gcc/sel-sched.c:5592 #16 0x0000000000f6dbbd in schedule_on_fences (fences=0x2d1a2d0, max_seqno=32, scheduled_insns_tailpp=0x7fffffffda90) at ../../gcc/sel-sched.c:7366 #17 0x0000000000f6e0ae in sel_sched_region_2 (orig_max_seqno=34) at ../../gcc/sel-sched.c:7504 #18 0x0000000000f6e22d in sel_sched_region_1 () at ../../gcc/sel-sched.c:7546 #19 0x0000000000f6e683 in sel_sched_region (rgn=0) at ../../gcc/sel-sched.c:7647 has INSN_LUID 0. >From gcc-bugs-return-601670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 11:03:47 2018 Return-Path: <gcc-bugs-return-601670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41276 invoked by alias); 16 Apr 2018 11:03:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41190 invoked by uid 48); 16 Apr 2018 11:03:38 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/85129] [openacc] Document GOMP_OPENACC_DIM Date: Mon, 16 Apr 2018 11:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: vries 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: <bug-85129-4-O5wQvmkWPm@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85129-4@http.gcc.gnu.org/bugzilla/> References: <bug-85129-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01794.txt.bz2 Content-length: 549 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85129 --- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Tom de Vries from comment #0) > I. trunk > > The GOMP_OPENACC_DIM environment variable is not documented (it should have > an entry in libgomp.texi at 'OpenACC Environment Variables'). Atm, in trunk, fopenacc-dim does not yet support the '-' syntax, so the only dimension that GOMP_OPENACC_DIM can influence is gang. It probably doesn't make any sense to document GOMP_OPENACC_DIM until it's fully functioning. >From gcc-bugs-return-601671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 11:08:17 2018 Return-Path: <gcc-bugs-return-601671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54657 invoked by alias); 16 Apr 2018 11:08:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54510 invoked by uid 48); 16 Apr 2018 11:08:13 -0000 From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85414] New: [8 Regression] ICE: in ix86_expand_prologue, at config/i386/i386.c:13810 with -Og -fgcse Date: Mon, 16 Apr 2018 11:08: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.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget attachments.created Message-ID: <bug-85414-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01795.txt.bz2 Content-length: 2601 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85414 Bug ID: 85414 Summary: [8 Regression] ICE: in ix86_expand_prologue, at config/i386/i386.c:13810 with -Og -fgcse Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 43943 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43943&action=edit reduced testcase Compiler output: $ x86_64-pc-linux-gnu-gcc -Og -fgcse testcase.c during RTL pass: pro_and_epilogue testcase.c: In function 'foo': testcase.c:6:1: internal compiler error: in ix86_expand_prologue, at config/i386/i386.c:13810 } ^ 0x10fdb4b ix86_expand_prologue() /repo/gcc-trunk/gcc/config/i386/i386.c:13810 0x13b584a gen_prologue() /repo/gcc-trunk/gcc/config/i386/i386.md:13246 0x10d65d8 target_gen_prologue /repo/gcc-trunk/gcc/config/i386/i386.md:19662 0xa0b127 make_prologue_seq /repo/gcc-trunk/gcc/function.c:5926 0xa0b2c4 thread_prologue_and_epilogue_insns() /repo/gcc-trunk/gcc/function.c:6043 0xa0be22 rest_of_handle_thread_prologue_and_epilogue /repo/gcc-trunk/gcc/function.c:6534 0xa0be22 execute /repo/gcc-trunk/gcc/function.c:6576 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. $ x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-259397-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.0.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra --disable-bootstrap --with-cloog --with-ppl --with-isl --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-259397-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix gcc version 8.0.1 20180416 (experimental) (GCC) >From gcc-bugs-return-601672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 11:17:09 2018 Return-Path: <gcc-bugs-return-601672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104845 invoked by alias); 16 Apr 2018 11:17:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102527 invoked by uid 48); 16 Apr 2018 11:17:04 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85414] [8 Regression] ICE: in ix86_expand_prologue, at config/i386/i386.c:13810 with -Og -fgcse Date: Mon, 16 Apr 2018 11:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 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: <bug-85414-4-tQUj8UvaHU@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85414-4@http.gcc.gnu.org/bugzilla/> References: <bug-85414-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01796.txt.bz2 Content-length: 696 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85414 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-16 CC| |edlinger at gcc dot gnu.org, | |jakub at gcc dot gnu.org Target Milestone|--- |8.0 Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Started with r248798. >From gcc-bugs-return-601673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 11:23:21 2018 Return-Path: <gcc-bugs-return-601673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34916 invoked by alias); 16 Apr 2018 11:23:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33339 invoked by uid 55); 16 Apr 2018 11:23:16 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84945] [8 Regression] UBSAN: gcc/config/i386/i386.c:33312:22: runtime error: shift exponent 32 is too large for 32-bit type 'int' Date: Mon, 16 Apr 2018 11:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: 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: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84945-4-T5tArRml4b@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84945-4@http.gcc.gnu.org/bugzilla/> References: <bug-84945-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01797.txt.bz2 Content-length: 579 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84945 --- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Mon Apr 16 11:22:40 2018 New Revision: 259398 URL: https://gcc.gnu.org/viewcvs?rev=259398&root=gcc&view=rev Log: PR target/84945 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid -Wdangling-else warnings. Mask shift counts to avoid -Wshift-count-negative and -Wshift-count-overflow false positives. Modified: trunk/libgcc/ChangeLog trunk/libgcc/config/i386/cpuinfo.c >From gcc-bugs-return-601674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 11:24:55 2018 Return-Path: <gcc-bugs-return-601674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104612 invoked by alias); 16 Apr 2018 11:24:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100471 invoked by uid 55); 16 Apr 2018 11:24:51 -0000 From: "jkoval at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84331] Execution failures on Skylake server with -march=native Date: Mon, 16 Apr 2018 11:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ABI X-Bugzilla-Severity: normal X-Bugzilla-Who: jkoval 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: <bug-84331-4-4tD3JdWyD9@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84331-4@http.gcc.gnu.org/bugzilla/> References: <bug-84331-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01798.txt.bz2 Content-length: 1381 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84331 --- Comment #1 from Julia Koval <jkoval at gcc dot gnu.org> --- Author: jkoval Date: Mon Apr 16 11:23:55 2018 New Revision: 259399 URL: https://gcc.gnu.org/viewcvs?rev=259399&root=gcc&view=rev Log: Fixed g++.dg/ext/mv16.C with -march=native. gcc/ PR target/84331 * gcc/config.gcc: Support "skylake". * gcc/config/i386/i386-c.c (ix86_target_macros_internal): Handle PROCESSOR_SKYLAKE. * gcc/config/i386/i386.c (m_SKYLAKE): Define. (processor_target_table): Add "skylake". (ix86_option_override_internal): Add "skylake". (get_builtin_code_for_version): Handle PROCESSOR_SKYLAKE, PROCESSOR_CANNONLAKE. (get_builtin_code_for_version): Fix priority for PROCESSOR_ICELAKE_CLIENT, PROCESSOR_ICELAKE_SERVER, PROCESSOR_SKYLAKE-AVX512. * gcc/config/i386/i386.h (processor_costs): Define TARGET_SKYLAKE. (processor_type): Add PROCESSOR_SKYLAKE. gcc/testsuite/ PR target/84331 * gcc/testsuite/gcc.target/i386/funcspec-56.inc: Test arch=skylake. Modified: trunk/gcc/ChangeLog trunk/gcc/config.gcc trunk/gcc/config/i386/i386-c.c trunk/gcc/config/i386/i386.c trunk/gcc/config/i386/i386.h trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/i386/funcspec-56.inc >From gcc-bugs-return-601675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 11:28:44 2018 Return-Path: <gcc-bugs-return-601675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67863 invoked by alias); 16 Apr 2018 11:28:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67777 invoked by uid 48); 16 Apr 2018 11:28:40 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83983] FAIL: g++.dg/lto/pr83121 (test for LTO warnings, pr83121_0.C line 8) Date: Mon, 16 Apr 2018 11:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: <bug-83983-4-dXouNBlaWs@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83983-4@http.gcc.gnu.org/bugzilla/> References: <bug-83983-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01799.txt.bz2 Content-length: 521 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83983 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org --- Comment #11 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- I worked on that with Honza and we have proper fix. Let me test. >From gcc-bugs-return-601676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 11:29:24 2018 Return-Path: <gcc-bugs-return-601676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69215 invoked by alias); 16 Apr 2018 11:29:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69136 invoked by uid 48); 16 Apr 2018 11:29:19 -0000 From: "frederik.engels24 at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85415] New: internal compiler error: in finish_member_declaration, at cp/semantics.c:2984 Date: Mon, 16 Apr 2018 11:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: frederik.engels24 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: <bug-85415-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01800.txt.bz2 Content-length: 7200 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85415 Bug ID: 85415 Summary: internal compiler error: in finish_member_declaration, at cp/semantics.c:2984 Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: frederik.engels24 at gmail dot com Target Milestone: --- Created attachment 43944 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43944&action=edit testcase triggering error Not sure if this is similar to #82722. Seems to happen when trying to use fold expressions, but the same thing occurred when I used std::make_tuple to execute over all tuple members. The same code compiles in clang 6.0.0 and MSVC Here is the full output, with the testcase as an attachment Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp Thread model: posix gcc version 7.3.1 20180312 (GCC) COLLECT_GCC_OPTIONS='-v' '-Wall' '-Wextra' '-save-temps' '-std=c++1z' '-o' 'testcase' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/cc1plus -E -quiet -v -D_GNU_SOURCE testcase.cpp -mtune=generic -march=x86-64 -std=c++1z -Wall -Wextra -fpch-preprocess -o testcase.ii ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../x86_64-pc-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1 /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/x86_64-pc-linux-gnu /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/backward /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/include /usr/local/include /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/include-fixed /usr/include End of search list. COLLECT_GCC_OPTIONS='-v' '-Wall' '-Wextra' '-save-temps' '-std=c++1z' '-o' 'testcase' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/cc1plus -fpreprocessed testcase.ii -quiet -dumpbase testcase.cpp -mtune=generic -march=x86-64 -auxbase testcase -Wall -Wextra -std=c++1z -version -o testcase.s GNU C++14 (GCC) version 7.3.1 20180312 (x86_64-pc-linux-gnu) compiled by GNU C version 7.3.1 20180312, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.18-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C++14 (GCC) version 7.3.1 20180312 (x86_64-pc-linux-gnu) compiled by GNU C version 7.3.1 20180312, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.18-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 3fb60f63f2e4dccab1b015b716b8b627 testcase.cpp: In instantiation of âtuple_vector<Ts>::clear_all()::<lambda(auto:1& ...)> [with auto:1 = {std::vector<int, std::allocator<int> >, std::vector<bool, std::allocator<bool> >, std::vector<double, std::allocator<double> >}; Ts = {int, bool, double}]â: /usr/include/c++/7.3.1/type_traits:2428:26: required by substitution of âtemplate<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = tuple_vector<Ts>::clear_all() [with Ts = {int, bool, double}]::<lambda(auto:1& ...)>; _Args = {std::vector<int, std::allocator<int> >&, std::vector<bool, std::allocator<bool> >&, std::vector<double, std::allocator<double> >&}]â /usr/include/c++/7.3.1/type_traits:2439:55: required from âstruct std::__result_of_impl<false, false, tuple_vector<Ts>::clear_all() [with Ts = {int, bool, double}]::<lambda(auto:1& ...)>, std::vector<int, std::allocator<int> >&, std::vector<bool, std::allocator<bool> >&, std::vector<double, std::allocator<double> >&>â /usr/include/c++/7.3.1/type_traits:2444:12: required from âstruct std::__invoke_result<tuple_vector<Ts>::clear_all() [with Ts = {int, bool, double}]::<lambda(auto:1& ...)>, std::vector<int, std::allocator<int> >&, std::vector<bool, std::allocator<bool> >&, std::vector<double, std::allocator<double> >&>â /usr/include/c++/7.3.1/bits/invoke.h:89:5: required by substitution of âtemplate<class _Callable, class ... _Args> constexpr typename std::__invoke_result<_Functor, _ArgTypes>::type std::__invoke(_Callable&&, _Args&& ...) [with _Callable = tuple_vector<Ts>::clear_all() [with Ts = {int, bool, double}]::<lambda(auto:1& ...)>; _Args = {std::vector<int, std::allocator<int> >&, std::vector<bool, std::allocator<bool> >&, std::vector<double, std::allocator<double> >&}]â /usr/include/c++/7.3.1/tuple:1662:27: required from âconstexpr decltype(auto) std::__apply_impl(_Fn&&, _Tuple&&, std::index_sequence<_Idx ...>) [with _Fn = tuple_vector<Ts>::clear_all() [with Ts = {int, bool, double}]::<lambda(auto:1& ...)>; _Tuple = std::tuple<std::vector<int, std::allocator<int> >, std::vector<bool, std::allocator<bool> >, std::vector<double, std::allocator<double> > >&; long unsigned int ..._Idx = {0, 1, 2}; std::index_sequence<_Idx ...> = std::integer_sequence<long unsigned int, 0, 1, 2>]â /usr/include/c++/7.3.1/tuple:1671:31: required from âconstexpr decltype(auto) std::apply(_Fn&&, _Tuple&&) [with _Fn = tuple_vector<Ts>::clear_all() [with Ts = {int, bool, double}]::<lambda(auto:1& ...)>; _Tuple = std::tuple<std::vector<int, std::allocator<int> >, std::vector<bool, std::allocator<bool> >, std::vector<double, std::allocator<double> > >&]â testcase.cpp:17:19: required from âvoid tuple_vector<Ts>::clear_all() [with Ts = {int, bool, double}]â testcase.cpp:28:27: required from here testcase.cpp:19:84: internal compiler error: in finish_member_declaration, at cp/semantics.c:2984 (clear<typename std::remove_reference_t<decltype(vectors)>::value_type>(), ...); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.archlinux.org/> for instructions. >From gcc-bugs-return-601677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 11:32:02 2018 Return-Path: <gcc-bugs-return-601677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98519 invoked by alias); 16 Apr 2018 11:32:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98392 invoked by uid 55); 16 Apr 2018 11:31:58 -0000 From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85403] internal compiler error: ... config/i386/i386.c:32347 Date: Mon, 16 Apr 2018 11:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85403-4-F08uaIVLCu@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85403-4@http.gcc.gnu.org/bugzilla/> References: <bug-85403-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01801.txt.bz2 Content-length: 3650 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85403 --- Comment #1 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Mon Apr 16 11:31:22 2018 New Revision: 259400 URL: https://gcc.gnu.org/viewcvs?rev=259400&root=gcc&view=rev Log: i386: Check error_mark_node in multiversioning Since CET is applied to the whole program, it is correct to disallow -fcf-protection=full without -mcet. But compiler shouldn't crash. gcc/ PR target/85403 * config/i386/i386.c (get_builtin_code_for_version): Check error_mark_node. gcc/testsuite/ PR target/85403 * gcc.target/i386/pr85403.c: New test. --- gcc/config/i386/i386.c | 2 ++ gcc/testsuite/g++.dg/ext/mv1.C | 2 +- gcc/testsuite/g++.dg/ext/mv14.C | 2 +- gcc/testsuite/g++.dg/ext/mv15.C | 2 +- gcc/testsuite/g++.dg/ext/mv16.C | 2 +- gcc/testsuite/g++.dg/ext/mv17.C | 2 +- gcc/testsuite/g++.dg/ext/mv18.C | 2 +- gcc/testsuite/g++.dg/ext/mv19.C | 2 +- gcc/testsuite/g++.dg/ext/mv20.C | 2 +- gcc/testsuite/g++.dg/ext/mv21.C | 2 +- gcc/testsuite/g++.dg/ext/mv22.C | 2 +- gcc/testsuite/g++.dg/ext/mv23.C | 2 +- gcc/testsuite/g++.dg/ext/mv26.C | 1 + gcc/testsuite/g++.dg/ext/mv6.C | 2 +- gcc/testsuite/g++.dg/ext/mvc1.C | 1 + gcc/testsuite/gcc.target/i386/cet-notrack-icf-1.c | 2 +- gcc/testsuite/gcc.target/i386/cet-notrack-icf-3.c | 2 +- gcc/testsuite/gcc.target/i386/cet-property-2.c | 2 +- gcc/testsuite/gcc.target/i386/mvc1.c | 1 + gcc/testsuite/gcc.target/i386/mvc10.c | 1 + gcc/testsuite/gcc.target/i386/mvc11.c | 2 +- gcc/testsuite/gcc.target/i386/mvc6.c | 2 +- gcc/testsuite/gcc.target/i386/mvc7.c | 1 + gcc/testsuite/gcc.target/i386/mvc8.c | 2 +- gcc/testsuite/gcc.target/i386/mvc9.c | 2 +- gcc/testsuite/gcc.target/i386/pr81213.c | 1 + gcc/testsuite/gcc.target/i386/pr81214.c | 1 + gcc/testsuite/gcc.target/i386/pr85403.c | 10 ++++++++++ gcc/testsuite/gcc.target/i386/sse-26.c | 2 +- 29 files changed, 39 insertions(+), 20 deletions(-) create mode 100644 gcc/testsuite/gcc.target/i386/pr85403.c diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 6fa5b0add02..8a73fc0d316 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -32344,6 +32344,8 @@ get_builtin_code_for_version (tree decl, tree *predicate_list) &global_options_set); gcc_assert (target_node); + if (target_node == error_mark_node) + return 0; new_target = TREE_TARGET_OPTION (target_node); gcc_assert (new_target); diff --git a/gcc/testsuite/gcc.target/i386/pr85403.c b/gcc/testsuite/gcc.target/i386/pr85403.c new file mode 100644 index 00000000000..f4fb12dd4e2 --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/pr85403.c @@ -0,0 +1,10 @@ +/* { dg-do compile } */ +/* { dg-options "-fcf-protection -mcet" } */ +/* { dg-require-ifunc "" } */ + +__attribute__((target_clones("avx","arch=slm","arch=core-avx2","default"))) +int +foo () +{ + return -2; +} /* { dg-error "requires Intel CET support" } */ Added: trunk/gcc/testsuite/gcc.target/i386/pr85403.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-601678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 11:39:45 2018 Return-Path: <gcc-bugs-return-601678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86470 invoked by alias); 16 Apr 2018 11:39:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81563 invoked by uid 48); 16 Apr 2018 11:39:41 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887 Date: Mon, 16 Apr 2018 11:39: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.1 X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: bug_status assigned_to Message-ID: <bug-85391-4-DxT0UXThZ6@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85391-4@http.gcc.gnu.org/bugzilla/> References: <bug-85391-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01802.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org >From gcc-bugs-return-601679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 11:42:10 2018 Return-Path: <gcc-bugs-return-601679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33405 invoked by alias); 16 Apr 2018 11:42:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20474 invoked by uid 48); 16 Apr 2018 11:41:57 -0000 From: "martin@mpa-garching.mpg.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85416] New: Massive performance regression when switching on "-march=native" Date: Mon, 16 Apr 2018 11:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: martin@mpa-garching.mpg.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: <bug-85416-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01803.txt.bz2 Content-length: 1005 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85416 Bug ID: 85416 Summary: Massive performance regression when switching on "-march=native" Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: martin@mpa-garching.mpg.de Target Milestone: --- Created attachment 43945 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43945&action=edit Test case When compiling the attached test case with g++ -O3 -std=c++14 testcase.cc and measuring the runtime via time ./a.out I get a CPU time of roughly 1.3 seconds Recompiling with g++ -O3 -std=c++14 -march=native testcase.cc increases run time to over 8 seconds. CPU: Intel Core i5-5300U This was measured on trunk (gcc version 8.0.1 20180411), but I see similar performance degradations already in gcc 5.4. >From gcc-bugs-return-601680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 11:43:29 2018 Return-Path: <gcc-bugs-return-601680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118860 invoked by alias); 16 Apr 2018 11:43:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114175 invoked by uid 48); 16 Apr 2018 11:43:24 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85405] [6/7 Regression] ICE in odr_types_equivalent_p, at ipa-devirt.c:1581 Date: Mon, 16 Apr 2018 11:43: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: 6.4.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: <bug-85405-4-Y1cM4jpjEo@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85405-4@http.gcc.gnu.org/bugzilla/> References: <bug-85405-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01804.txt.bz2 Content-length: 591 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85405 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed|2018-04-15 00:00:00 |2018-04-16 Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- I've got patch for that. >From gcc-bugs-return-601681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 12:15:54 2018 Return-Path: <gcc-bugs-return-601681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98366 invoked by alias); 16 Apr 2018 12:15:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87565 invoked by uid 48); 16 Apr 2018 12:15:47 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85403] internal compiler error: ... config/i386/i386.c:32347 Date: Mon, 16 Apr 2018 12:15: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: <bug-85403-4-VUmQwSnsfY@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85403-4@http.gcc.gnu.org/bugzilla/> References: <bug-85403-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01805.txt.bz2 Content-length: 468 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85403 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |8.0 --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- Fixed. >From gcc-bugs-return-601682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 12:25:32 2018 Return-Path: <gcc-bugs-return-601682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32293 invoked by alias); 16 Apr 2018 12:25:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32199 invoked by uid 48); 16 Apr 2018 12:25:24 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85414] [8 Regression] ICE: in ix86_expand_prologue, at config/i386/i386.c:13810 with -Og -fgcse Date: Mon, 16 Apr 2018 12:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 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: Message-ID: <bug-85414-4-HrGLWxuS8e@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85414-4@http.gcc.gnu.org/bugzilla/> References: <bug-85414-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01806.txt.bz2 Content-length: 1852 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85414 --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The problem is likely with the caching of ix86_compute_frame_layout results, at least if I call this function at the beginning of ix86_expand_prologue, it doesn't ICE anymore. What changes in particular is ix86_nsaved_regs () on this testcase, during lra -> lra_eliminate -> update_reg_eliminate it still returns 1, but during pro_and_epilogue already 2. The difference is in register 41. What happens is: 1) fwprop1 adds a REG_EQUAL to the umulditi3_1 instruction: (insn 13 12 111 3 (parallel [ (set (reg:TI 99) (mult:TI (zero_extend:TI (subreg/s/v:DI (reg:TI 94) 0)) (zero_extend:TI (reg:DI 100)))) (clobber (reg:CC 17 flags)) ]) "pr85414.c":5 366 {*umulditi3_1} (expr_list:REG_EQUAL (mult:TI (zero_extend:TI (subreg/s/v:DI (reg:TI 94) 0)) (const_int 59 [0x3b])) (expr_list:REG_DEAD (reg:DI 100) (expr_list:REG_DEAD (reg:TI 94) (expr_list:REG_UNUSED (reg:CC 17 flags) (nil)))))) 2) then probably based on the /s/v flags on the subreg that indicate SUBREG_PROMOTED_VAR_P and SUBREG_PROMOTED_UNSIGNED_P, the cse_local pass "optimizes" the REG_EQUAL note to (mult:TI (subreg:TI (subreg/s/v:DI (reg:TI 94) 0) 0) (const_int 59 [0x3b])) That actually looks to me like invalid RTL, subreg of a subreg is not valid. I guess it should have been just (mult:TI (reg:TI 94) (const_int 59 [0x3b])). 3) then the subreg2 pass just replaces uses of (reg:TI 94) subregs with (reg:DI 146) 4) during LRA we have (mult:TI (subreg:TI (reg:DI 40 r11 [146]) 0) (const_int 59 [0x3b])) and that refers to the r12 too, but nothing earlier recognized it as used (nor it is actually used in the insn). >From gcc-bugs-return-601683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 12:37:18 2018 Return-Path: <gcc-bugs-return-601683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51728 invoked by alias); 16 Apr 2018 12:37:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51666 invoked by uid 48); 16 Apr 2018 12:37:14 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/85417] New: Extra test failures with -fcf-protection -mcet Date: Mon, 16 Apr 2018 12:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: <bug-85417-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01807.txt.bz2 Content-length: 1425 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 Bug ID: 85417 Summary: Extra test failures with -fcf-protection -mcet Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: ubizjak at gmail dot com Target Milestone: --- When RUNTESTFLAGS="--target_board='unix{-fcf-protection\ -mcet}'" is used with "make check", there are extra test failures like: FAIL: gcc.target/i386/mvc1.c (test for excess errors) [hjl@gnu-4 gcc]$ /export/build/gnu/gcc-test/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc-test/build-x86_64-linux/gcc/ /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/mvc1.c -fcf-protection -mcet -fno-diagnostics-show-caret -fdiagnostics-color=never -ansi -pedantic-errors -lm -o ./mvc1.exe /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/mvc1.c: In function \u2018foo.resolver\u2019: /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.target/i386/mvc1.c:27:1: error: \u2018-fcf-protection=full\u2019 requires Intel CET support. Use -mcet or both of -mibt and -mshstk options to enable CET [hjl@gnu-4 gcc]$ Since CET is applied to the whole program, we can't disable CET in one function. >From gcc-bugs-return-601684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 12:46:02 2018 Return-Path: <gcc-bugs-return-601684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118281 invoked by alias); 16 Apr 2018 12:46:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118195 invoked by uid 48); 16 Apr 2018 12:45:56 -0000 From: "matz at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug demangler/85304] Segmentation fault Date: Mon, 16 Apr 2018 12:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: demangler X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: matz 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: <bug-85304-4-49FsMwBsnq@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85304-4@http.gcc.gnu.org/bugzilla/> References: <bug-85304-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01808.txt.bz2 Content-length: 1955 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85304 Michael Matz <matz at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matz at gcc dot gnu.org --- Comment #1 from Michael Matz <matz at gcc dot gnu.org> --- Similar to https://sourceware.org/bugzilla/show_bug.cgi?id=23008, the testcase contains a mangled name with roughly 29000 successive 'E' characters. Processing one 'E' character involves calling these three routines: 5 0x00000000004e8901 in demangle_expression (work=0x7fffffffd810, mangled=0x7fffffffd710, s=0x7fffffffd540, tk=tk_integral) at ../../libiberty/cplus-dem.c:1895 1895 success = demangle_template_value_parm (work, mangled, s, tk); (gdb) #4 0x00000000004e98cb in demangle_template_value_parm (work=0x7fffffffd810, mangled=0x7fffffffd710, s=0x7fffffffd540, tk=tk_integral) at ../../libiberty/cplus-dem.c:2069 2069 success = demangle_integral_value (work, mangled, s); (gdb) #3 0x00000000004e8b82 in demangle_integral_value (work=0x7fffffffd810, mangled=0x7fffffffd710, s=0x7fffffffd540) at ../../libiberty/cplus-dem.c:1916 1916 success = demangle_expression (work, mangled, s, tk_integral); That advances *mangled by one character and uses 496 bytes of stack while doing that (when compiled by gcc-6 with address sanitizer). The linux default stack of 8 MB is good for 16893 of the E characters until stack overflow occurs. Without sanitizer we need less stack per recursion level, so that the testcase doesn't cause a proplem (but just increasing the number of 'E' will make it segfault there as well). It seems all is working as designed, you request it to demangle a recursive structure of > 20000 levels deep and get what can be expected from that, a stack overflow. >From gcc-bugs-return-601685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 12:49:49 2018 Return-Path: <gcc-bugs-return-601685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127746 invoked by alias); 16 Apr 2018 12:49:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127679 invoked by uid 48); 16 Apr 2018 12:49:44 -0000 From: "martin@mpa-garching.mpg.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85416] Massive performance regression when switching on "-march=native" Date: Mon, 16 Apr 2018 12:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: martin@mpa-garching.mpg.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85416-4-nLUfuOn4vg@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85416-4@http.gcc.gnu.org/bugzilla/> References: <bug-85416-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01809.txt.bz2 Content-length: 216 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85416 --- Comment #1 from Martin Reinecke <martin@mpa-garching.mpg.de> --- Just re-tested on an Intel Core i5-4570; on this CPU, there is no performance degradation. >From gcc-bugs-return-601686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 13:31:00 2018 Return-Path: <gcc-bugs-return-601686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85638 invoked by alias); 16 Apr 2018 13:30:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85212 invoked by uid 48); 16 Apr 2018 13:30:37 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84463] [6/7/8 Regression] Supposedly-incompliant "error: '* key0' is not a constant expression" Date: Mon, 16 Apr 2018 13:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cf_known_to_work short_desc everconfirmed cf_known_to_fail Message-ID: <bug-84463-4-99UTmPFXPT@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84463-4@http.gcc.gnu.org/bugzilla/> References: <bug-84463-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01810.txt.bz2 Content-length: 945 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84463 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-16 Known to work| |5.5.0 Summary|Supposedly-incompliant |[6/7/8 Regression] |"error: '* key0' is not a |Supposedly-incompliant |constant expression" |"error: '* key0' is not a | |constant expression" Ever confirmed|0 |1 Known to fail| |6.4.0, 7.3.0, 8.0.1 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Started to fail with r230365 ("Merge C++ delayed folding branch.") >From gcc-bugs-return-601687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 13:39:51 2018 Return-Path: <gcc-bugs-return-601687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130883 invoked by alias); 16 Apr 2018 13:39:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128074 invoked by uid 48); 16 Apr 2018 13:39:47 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85414] [8 Regression] ICE: in ix86_expand_prologue, at config/i386/i386.c:13810 with -Og -fgcse Date: Mon, 16 Apr 2018 13:39: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.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created Message-ID: <bug-85414-4-mW3r1EcRQV@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85414-4@http.gcc.gnu.org/bugzilla/> References: <bug-85414-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01811.txt.bz2 Content-length: 637 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85414 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 43946 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43946&action=edit gcc8-pr85414.patch Untested fix. We really should never generate subreg of subreg, period. >From gcc-bugs-return-601688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 13:49:40 2018 Return-Path: <gcc-bugs-return-601688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103507 invoked by alias); 16 Apr 2018 13:49:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103181 invoked by uid 48); 16 Apr 2018 13:49:35 -0000 From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84842] ICE in verify_target_availability, at sel-sched.c:1569 Date: Mon, 16 Apr 2018 13:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84842-4-a6ElD8t1QH@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84842-4@http.gcc.gnu.org/bugzilla/> References: <bug-84842-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01812.txt.bz2 Content-length: 453 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84842 --- Comment #7 from Alexander Monakov <amonakov at gcc dot gnu.org> --- The testcase is not easily reproducible because the rs6000 backend has some implicit dependencies on capabilities of configure-time binutils, and they are not visible as 'gcc -v' flags. So, to reproduce this we need to know the version and configure flags of cross binutils that were found and checked by gcc's configure. >From gcc-bugs-return-601689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 14:04:52 2018 Return-Path: <gcc-bugs-return-601689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95068 invoked by alias); 16 Apr 2018 14:04:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90419 invoked by uid 48); 16 Apr 2018 14:04:43 -0000 From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84842] ICE in verify_target_availability, at sel-sched.c:1569 Date: Mon, 16 Apr 2018 14:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84842-4-h46bPcQXYD@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84842-4@http.gcc.gnu.org/bugzilla/> References: <bug-84842-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01813.txt.bz2 Content-length: 253 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84842 --- Comment #8 from Alexander Monakov <amonakov at gcc dot gnu.org> --- Or as Jakub (thanks!) noted on IRC, gcc/auto-host.h from the build tree may be also helpful and simpler for us to work with. >From gcc-bugs-return-601690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 14:06:05 2018 Return-Path: <gcc-bugs-return-601690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101648 invoked by alias); 16 Apr 2018 14:06:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101551 invoked by uid 48); 16 Apr 2018 14:06:00 -0000 From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887 Date: Mon, 16 Apr 2018 14:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka 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: attachments.created Message-ID: <bug-85391-4-B7aFu9KqVC@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85391-4@http.gcc.gnu.org/bugzilla/> References: <bug-85391-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01814.txt.bz2 Content-length: 891 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 --- Comment #14 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Created attachment 43947 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43947&action=edit Proposed fix We looked into this with Maritn todday. There are two bugs: one is the fact that lto.c forgets to register the type in case it was within strongly connected component after its outer type. The order depends on hash values and is not well determined. We do not want to test TYPE_CANONICAL being non-NULL. Martin is testing it. Other is the fact that Eric's last change make odr types compatible when one of them is incomplete. This is not necessarily the case. The patch should fix the ordering issue by going the slow path in case type already in hashtable is incomplete. In this case it won't take long to compare it with the other type anyway. >From gcc-bugs-return-601691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 14:35:25 2018 Return-Path: <gcc-bugs-return-601691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106168 invoked by alias); 16 Apr 2018 14:35:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102781 invoked by uid 48); 16 Apr 2018 14:35:20 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85417] Extra test failures with -fcf-protection -mcet Date: Mon, 16 Apr 2018 14:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc component everconfirmed Message-ID: <bug-85417-4-1FtzHcLLZP@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85417-4@http.gcc.gnu.org/bugzilla/> References: <bug-85417-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01815.txt.bz2 Content-length: 812 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-16 CC| |igor.v.tsimbalist at intel dot com Component|testsuite |target Ever confirmed|0 |1 --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- Since CET is compatible with all processors with multi-byte NOPs, which covers all 64-bit processors as well as 32-bit processors starting with Pentium Pro, fcf-protection should be allowed on these processors. >From gcc-bugs-return-601692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 14:50:45 2018 Return-Path: <gcc-bugs-return-601692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28020 invoked by alias); 16 Apr 2018 14:50:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27950 invoked by uid 55); 16 Apr 2018 14:50:41 -0000 From: "acsawdey at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83660] ICE with vec_extract inside expression statement Date: Mon, 16 Apr 2018 14:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: acsawdey at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: acsawdey at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-83660-4-qmrCQXX10f@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83660-4@http.gcc.gnu.org/bugzilla/> References: <bug-83660-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01816.txt.bz2 Content-length: 803 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 --- Comment #14 from acsawdey at gcc dot gnu.org --- Author: acsawdey Date: Mon Apr 16 14:50:06 2018 New Revision: 259403 URL: https://gcc.gnu.org/viewcvs?rev=259403&root=gcc&view=rev Log: 2018-04-16 Aaron Sawdey <acsawdey@linux.ibm.com> PR target/83660 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Mark vec_extract expression as having side effects to make sure it gets a cleanup point. 2018-04-16 Aaron Sawdey <acsawdey@linux.ibm.com> PR target/83660 * gcc.target/powerpc/pr83660.C: New test. Added: trunk/gcc/testsuite/gcc.target/powerpc/pr83660.C Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000-c.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-601693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 14:52:07 2018 Return-Path: <gcc-bugs-return-601693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29660 invoked by alias); 16 Apr 2018 14:52:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29407 invoked by uid 48); 16 Apr 2018 14:52:03 -0000 From: "acsawdey at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83660] ICE with vec_extract inside expression statement Date: Mon, 16 Apr 2018 14:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: acsawdey at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: acsawdey at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-83660-4-cYFTcf1Szg@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83660-4@http.gcc.gnu.org/bugzilla/> References: <bug-83660-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01817.txt.bz2 Content-length: 408 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 acsawdey at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #15 from acsawdey at gcc dot gnu.org --- Fixed in 259403. >From gcc-bugs-return-601694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 14:58:40 2018 Return-Path: <gcc-bugs-return-601694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41134 invoked by alias); 16 Apr 2018 14:58:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40947 invoked by uid 48); 16 Apr 2018 14:58:35 -0000 From: "Azim.Khan at arm dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85418] New: -Wformat-truncation on inlinned function Date: Mon, 16 Apr 2018 14:58: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: Azim.Khan at arm 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: <bug-85418-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01818.txt.bz2 Content-length: 760 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85418 Bug ID: 85418 Summary: -Wformat-truncation on inlinned function Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: Azim.Khan at arm dot com Target Milestone: --- See following code: ``` #include <stdio.h> void f(const char s[5], size_t len) { char b[5]; snprintf(b, len, "%s", s); } int main() { f("Hello World", 4); return 0; } ``` On compiling it with -O2/3 f() gets inlinned and snprintf format checks apply to it even though parameters to snprintf are parameters within f(). >From gcc-bugs-return-601695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 15:06:18 2018 Return-Path: <gcc-bugs-return-601695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61783 invoked by alias); 16 Apr 2018 15:06:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61713 invoked by uid 48); 16 Apr 2018 15:06:14 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84463] [6/7/8 Regression] Supposedly-incompliant "error: '* key0' is not a constant expression" Date: Mon, 16 Apr 2018 15:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created Message-ID: <bug-84463-4-LgrInWKhUY@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84463-4@http.gcc.gnu.org/bugzilla/> References: <bug-84463-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01819.txt.bz2 Content-length: 578 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84463 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 43948 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43948&action=edit gcc8-pr84463.patch Untested fix. >From gcc-bugs-return-601696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 15:10:43 2018 Return-Path: <gcc-bugs-return-601696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85536 invoked by alias); 16 Apr 2018 15:10:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85499 invoked by uid 48); 16 Apr 2018 15:10:39 -0000 From: "terra at gnome dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85419] New: Incorrect determination of null pointer constant Date: Mon, 16 Apr 2018 15:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: terra at gnome dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: <bug-85419-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01820.txt.bz2 Content-length: 1484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85419 Bug ID: 85419 Summary: Incorrect determination of null pointer constant Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: terra at gnome dot org Target Milestone: --- Created attachment 43949 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43949&action=edit Preprocessed source code Priority: low #include <stdio.h> int main (int argc,char **argv) { printf ("%p\n", 0 ? (void *restrict)0 : (int *)0); return 0; } As I read C99's section 6.3.2.3, (void *restrict)0 is *not* a null pointer constant. I am reading section 6.5.15 as saying the ?: is valid with type void *restrict. %p is valid for such a pointer. gcc disagrees: # gcc -std=c99 -pedantic -Wall t.c t.c: In function âmainâ: t.c:6:3: warning: format â%pâ expects argument of type âvoid *â, but argument 2 has type âint *â [-Wformat=] printf ("%p\n", 0 ? (void *restrict)0 : (int *)0); ^ I.e., it thinks (void *restrict)0 is a null pointer constant. Hence ?: becomes an int* and %p isn't valid for that in a pedantic sense. Removing the "restrict" clearly makes the program invalid in a pedantic sense. I.e., Section 6.7.3 #7 is wrong. Details: stock OpenSuSE 42.3 >From gcc-bugs-return-601697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 15:13:56 2018 Return-Path: <gcc-bugs-return-601697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97470 invoked by alias); 16 Apr 2018 15:13:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97377 invoked by uid 48); 16 Apr 2018 15:13:52 -0000 From: "sirl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85420] New: More -Wrestrict false positives with -fsanitize=undefined Date: Mon, 16 Apr 2018 15:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: sirl 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 target_milestone attachments.created Message-ID: <bug-85420-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01821.txt.bz2 Content-length: 1301 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 Bug ID: 85420 Summary: More -Wrestrict false positives with -fsanitize=undefined Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: sirl at gcc dot gnu.org Target Milestone: --- Created attachment 43950 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43950&action=edit C testcase The attached testcases produce extra warnings of the "may overlap" kind with -Wrestrict -fsanitize=undefined (PR85365 covers the "same destination" kind). # gcc-8 -c -O2 -fsanitize=undefined -Wrestrict t5.c t5.c: In function 'c': t5.c:6:5: warning: 'strcpy' accessing 1 byte at offsets 0 and [0, 1] may overlap 1 byte at offset 0 [-Wrestrict] strcpy(b, b + a); ^~~~~~~~~~~~~~~~ g++-8 -c -O2 -fsanitize=undefined -Wrestrict t6.cpp t6.cpp: In member function 'int c::m_fn1()': t6.cpp:13:9: warning: 'char* strcat(char*, const char*)' accessing 4096 or more bytes at offsets 0 and 4095 may overlap 1 byte at offset 4095 [-Wrestrict] strcat(e, d.b); ~~~~~~^~~~~~~~ >From gcc-bugs-return-601698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 15:14:32 2018 Return-Path: <gcc-bugs-return-601698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99998 invoked by alias); 16 Apr 2018 15:14:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98408 invoked by uid 48); 16 Apr 2018 15:14:28 -0000 From: "sirl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85420] More -Wrestrict false positives with -fsanitize=undefined Date: Mon, 16 Apr 2018 15:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: sirl at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85420-4-GqGO5Fj9Ba@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85420-4@http.gcc.gnu.org/bugzilla/> References: <bug-85420-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01822.txt.bz2 Content-length: 228 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 --- Comment #1 from Franz Sirl <sirl at gcc dot gnu.org> --- Created attachment 43951 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43951&action=edit C++ testcase >From gcc-bugs-return-601699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 15:26:24 2018 Return-Path: <gcc-bugs-return-601699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103935 invoked by alias); 16 Apr 2018 15:26:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103878 invoked by uid 48); 16 Apr 2018 15:26:20 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84463] [6/7/8 Regression] Supposedly-incompliant "error: '* key0' is not a constant expression" Date: Mon, 16 Apr 2018 15:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority target_milestone Message-ID: <bug-84463-4-PtABsbmaII@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84463-4@http.gcc.gnu.org/bugzilla/> References: <bug-84463-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01823.txt.bz2 Content-length: 342 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84463 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Target Milestone|--- |6.5 >From gcc-bugs-return-601700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 15:38:28 2018 Return-Path: <gcc-bugs-return-601700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18184 invoked by alias); 16 Apr 2018 15:38:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18096 invoked by uid 48); 16 Apr 2018 15:38:24 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85420] More -Wrestrict false positives with -fsanitize=undefined Date: Mon, 16 Apr 2018 15:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-85420-4-WVxDzz8EBO@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85420-4@http.gcc.gnu.org/bugzilla/> References: <bug-85420-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01824.txt.bz2 Content-length: 723 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The #c0 testcase is always UB if the function is called, why doesn't it deserve a warning? Either a is initially 0, then already the first iteration invokes UB (strcpy (b, b)) and -Wrestrict is right, or a is 1 and strcpy (b, b + 1) invokes UB because it dereferences b[1] in the first iteration, or a is different and and b + a invokes UB. >From gcc-bugs-return-601701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 15:39:22 2018 Return-Path: <gcc-bugs-return-601701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19280 invoked by alias); 16 Apr 2018 15:39:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19228 invoked by uid 48); 16 Apr 2018 15:39:16 -0000 From: "skpgkp1 at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85421] New: [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405 Date: Mon, 16 Apr 2018 15:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: skpgkp1 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: <bug-85421-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01825.txt.bz2 Content-length: 2052 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85421 Bug ID: 85421 Summary: [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: skpgkp1 at gmail dot com Target Milestone: --- Created attachment 43952 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43952&action=edit Preprocessed reproducer file. This issue found while compiling HHVM sources. GCC 8 regressed with ICE between 04/10/2018 and 04/11/2018 ICE with 04/11/2018 compiler $g++ --version g++ (GCC) 8.0.1 20180411 (experimental) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $g++ -std=gnu++1y -O3 -o QCRAMCodec.cpp.o -c QCRAMCodec.cpp.i -w during IPA pass: cp QCRAMCodec.cpp.i:128:1: internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405 } // namespace bk ^ 0x6ce400 ipa_propagate_frequency(cgraph_node*) ../../gcc-main.3V7F/gcc/ipa-profile.c:405 0xce6ca3 symbol_table::remove_unreachable_nodes(_IO_FILE*) ../../gcc-main.3V7F/gcc/ipa.c:701 0xdc7f09 execute_todo ../../gcc-main.3V7F/gcc/passes.c:2062 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. Work fine with 04/10/2018 compiler. $g++ --version g++ (GCC) 8.0.1 20180410 (experimental) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $g++ -std=gnu++1y -O3 -o QCRAMCodec.cpp.o -c QCRAMCodec.cpp.i -w $ echo $? 0 >From gcc-bugs-return-601702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 15:45:05 2018 Return-Path: <gcc-bugs-return-601702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55605 invoked by alias); 16 Apr 2018 15:45:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55346 invoked by uid 48); 16 Apr 2018 15:44:59 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84842] [7/8 Regression] ICE in verify_target_availability, at sel-sched.c:1569 Date: Mon, 16 Apr 2018 15:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority cc target_milestone short_desc Message-ID: <bug-84842-4-nz3DBG0VTA@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84842-4@http.gcc.gnu.org/bugzilla/> References: <bug-84842-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01826.txt.bz2 Content-length: 1043 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84842 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 CC| |jakub at gcc dot gnu.org Target Milestone|--- |7.4 Summary|ICE in |[7/8 Regression] ICE in |verify_target_availability, |verify_target_availability, |at sel-sched.c:1569 |at sel-sched.c:1569 --- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Started with r241631 (at least the #c3 testcase). You need -m32 which isn't entirely obvious from it, and -mcpu=power8 is essential, so either you need gas with that support around, or e.g. hand-edit auto-host.h to make sure HAVE_AS_CMPB, HAVE_AS_DFP, HAVE_AS_FPRND, HAVE_AS_POPCNTD, HAVE_AS_POWER8 are defined to 1, then make -j16 cc1. >From gcc-bugs-return-601703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 15:46:04 2018 Return-Path: <gcc-bugs-return-601703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64045 invoked by alias); 16 Apr 2018 15:46:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61575 invoked by uid 48); 16 Apr 2018 15:45:37 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85422] New: [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find Date: Mon, 16 Apr 2018 15:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: <bug-85422-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01827.txt.bz2 Content-length: 1460 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 Bug ID: 85422 Summary: [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- When compiling this program: ... int main (void) { #pragma acc parallel #pragma acc loop for (int i = 1; i < 10; i++) for (;;) ; return 0; } ... we run into this ICE: ... to1: internal compiler error: Segmentation fault 0xac51ff crash_signal gcc/toplev.c:325 0x62cc08 flow_loops_find(loops*) gcc/cfgloop.c:468 0x961b3b input_cfg gcc/lto-streamer-in.c:841 0x961b3b input_function gcc/lto-streamer-in.c:1069 0x961b3b lto_read_body_or_constructor gcc/lto-streamer-in.c:1287 0x961b3b lto_input_variable_constructor(lto_file_decl_data*, varpool_node*, char const*) gcc/lto-streamer-in.c:1345 0x651d4e cgraph_node::get_untransformed_body() gcc/cgraph.c:3667 0x6604d2 cgraph_node::expand() gcc/cgraphunit.c:2109 0x661df2 output_in_order gcc/cgraphunit.c:2381 0x661df2 symbol_table::compile() gcc/cgraphunit.c:2623 0x5adccc lto_main() gcc/lto/lto.c:3382 ... >From gcc-bugs-return-601705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 15:49:57 2018 Return-Path: <gcc-bugs-return-601705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108655 invoked by alias); 16 Apr 2018 15:49:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100810 invoked by uid 48); 16 Apr 2018 15:49:52 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84955] [7/8 Regression] Incorrect OpenACC tile expansion Date: Mon, 16 Apr 2018 15:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: openacc, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: cesar at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84955-4-YUColEzpJj@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84955-4@http.gcc.gnu.org/bugzilla/> References: <bug-84955-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01829.txt.bz2 Content-length: 320 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84955 --- Comment #7 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to cesar from comment #6) > It should be noted that GCC also chokes with any empty OpenACC loop in > general. Filed as PR85422 - [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find >From gcc-bugs-return-601704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 15:49:39 2018 Return-Path: <gcc-bugs-return-601704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80909 invoked by alias); 16 Apr 2018 15:49:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69708 invoked by uid 48); 16 Apr 2018 15:49:15 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find Date: Mon, 16 Apr 2018 15:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: <bug-85422-4-YastOnMmka@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85422-4@http.gcc.gnu.org/bugzilla/> References: <bug-85422-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01828.txt.bz2 Content-length: 491 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |openacc --- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> --- Tentative patch was submitted here ( https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00316.html ) and committed, but reverted again. >From gcc-bugs-return-601706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 15:55:12 2018 Return-Path: <gcc-bugs-return-601706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54160 invoked by alias); 16 Apr 2018 15:55:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54023 invoked by uid 48); 16 Apr 2018 15:55:08 -0000 From: "acsawdey at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83660] ICE with vec_extract inside expression statement Date: Mon, 16 Apr 2018 15:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: acsawdey at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: acsawdey at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-83660-4-Y3gtcRSDCe@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83660-4@http.gcc.gnu.org/bugzilla/> References: <bug-83660-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01830.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 acsawdey at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #16 from acsawdey at gcc dot gnu.org --- Possibly need backports to both 7 and 6. >From gcc-bugs-return-601707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 16:04:17 2018 Return-Path: <gcc-bugs-return-601707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71310 invoked by alias); 16 Apr 2018 16:04:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70822 invoked by uid 48); 16 Apr 2018 16:04:08 -0000 From: "sirl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85420] More -Wrestrict false positives with -fsanitize=undefined Date: Mon, 16 Apr 2018 16:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: sirl 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: <bug-85420-4-qDot3SR7QE@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85420-4@http.gcc.gnu.org/bugzilla/> References: <bug-85420-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01831.txt.bz2 Content-length: 281 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 --- Comment #3 from Franz Sirl <sirl at gcc dot gnu.org> --- Hmm, this maybe creduce'd too much, the original source reads more like strcpy(b, b + a + 10); which would be only UB for sure if strlen(b + a + 10) >= 9, or? >From gcc-bugs-return-601708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 16:13:09 2018 Return-Path: <gcc-bugs-return-601708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44069 invoked by alias); 16 Apr 2018 16:13:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43973 invoked by uid 48); 16 Apr 2018 16:13:04 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85420] More -Wrestrict false positives with -fsanitize=undefined Date: Mon, 16 Apr 2018 16:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85420-4-dlHRkpbc5G@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85420-4@http.gcc.gnu.org/bugzilla/> References: <bug-85420-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01832.txt.bz2 Content-length: 422 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Franz Sirl from comment #3) > Hmm, this maybe creduce'd too much, the original source reads more like > > strcpy(b, b + a + 10); > > which would be only UB for sure if strlen(b + a + 10) >= 9, or? If b was actually a larger array, then yes, otherwise even b + 10 would be UB. >From gcc-bugs-return-601709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 16:21:10 2018 Return-Path: <gcc-bugs-return-601709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53093 invoked by alias); 16 Apr 2018 16:21:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53052 invoked by uid 48); 16 Apr 2018 16:21:06 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85417] -fcf-protection should provide CET protection on x86 Date: Mon, 16 Apr 2018 16:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone short_desc Message-ID: <bug-85417-4-HNMBZXbjys@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85417-4@http.gcc.gnu.org/bugzilla/> References: <bug-85417-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01833.txt.bz2 Content-length: 744 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 Summary|Extra test failures with |-fcf-protection should |-fcf-protection -mcet |provide CET protection on | |x86 --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- I am working to enable CET on Linux with a single binary. -fcf-protection should provide CET protection on x86 by default. We can add a command-line option if we want a different implementation. >From gcc-bugs-return-601710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 16:38:27 2018 Return-Path: <gcc-bugs-return-601710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7657 invoked by alias); 16 Apr 2018 16:38:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7586 invoked by uid 48); 16 Apr 2018 16:38:20 -0000 From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug web/82686] Debian sid powerpc64-unknown-linux-gnu 4.13.0-1-powerpc64 bootstrap breaks in stage3 with unexpected requirement for bdw-gc Date: Mon, 16 Apr 2018 16:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: dclarke at blastwave 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: <bug-82686-4-YIZblsUris@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-82686-4@http.gcc.gnu.org/bugzilla/> References: <bug-82686-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01834.txt.bz2 Content-length: 857 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686 --- Comment #13 from Dennis Clarke <dclarke at blastwave dot org> --- Finally managed to get a decent looking three stage bootstrap to complete without bizarre errors. Thanks to Matthias Klose for the suggestion to get away from that gc issue entirely. Testsuite is running however I am not thrilled with what I see : === gcc Summary === # of expected passes 112961 # of unexpected failures 910 # of unexpected successes 22 # of expected failures 347 # of unresolved testcases 1 # of unsupported tests 2794 /usr/local/build/gcc-7.3.0_linux_4.15.0-2-powerpc64_ppc64.005/gcc/xgcc version 7.3.0 (genunix Mon Apr 16 00:04:56 GMT 2018) I'll followup with the libquadmath issues that may yet exist. Not sure yet. Dennis >From gcc-bugs-return-601711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 16:56:39 2018 Return-Path: <gcc-bugs-return-601711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109182 invoked by alias); 16 Apr 2018 16:56:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109129 invoked by uid 48); 16 Apr 2018 16:56:35 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85421] [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405 Date: Mon, 16 Apr 2018 16:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone everconfirmed Message-ID: <bug-85421-4-Ge8OUD5cMD@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85421-4@http.gcc.gnu.org/bugzilla/> References: <bug-85421-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01835.txt.bz2 Content-length: 609 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85421 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-16 CC| |mjambor at suse dot cz Target Milestone|--- |8.0 Ever confirmed|0 |1 --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- It is caused by r259319. >From gcc-bugs-return-601712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 17:17:56 2018 Return-Path: <gcc-bugs-return-601712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5455 invoked by alias); 16 Apr 2018 17:17:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5211 invoked by uid 48); 16 Apr 2018 17:17:51 -0000 From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85423] New: [8 Regression] ICE in code_motion_process_successors, at sel-sched.c:6403 Date: Mon, 16 Apr 2018 17:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: <bug-85423-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01836.txt.bz2 Content-length: 3989 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85423 Bug ID: 85423 Summary: [8 Regression] ICE in code_motion_process_successors, at sel-sched.c:6403 Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: x86_64-pc-linux-gnu gcc-8.0.0-alpha20180415 snapshot (r259389) ICEs when compiling the following snippet w/ -march=nano -O2 (-O3, -Ofast) -fselective-scheduling2 -fvar-tracking-assignments -fno-guess-branch-probability -fno-peephole2 -fno-ssa-phiopt -fno-tree-pre --param max-jump-thread-duplication-stmts=8: int vn, xm; void i1 (int); void mb (int *ap, int ev) { while (vn < 1) { i1 (vn); ev += *ap && ++vn; while (xm < 1) ++xm; if (*ap == 0) *ap = ev; ++vn; } } % x86_64-unknown-linux-gnu-gcc-8.0.0-alpha20180415 -march=nano -O2 -fselective-scheduling2 -fvar-tracking-assignments -fno-guess-branch-probability -fno-peephole2 -fno-ssa-phiopt -fno-tree-pre --param max-jump-thread-duplication-stmts=8 -w -c l7diilgr.c during RTL pass: sched2 l7diilgr.c: In function 'mb': l7diilgr.c:23:1: internal compiler error: in code_motion_process_successors, at sel-sched.c:6403 } ^ 0xc6c314 code_motion_process_successors /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:6400 0xc6c314 code_motion_path_driver /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:6622 0xc6be6e code_motion_process_successors /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:6356 0xc6be6e code_motion_path_driver /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:6622 0xc6be6e code_motion_process_successors /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:6356 0xc6be6e code_motion_path_driver /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:6622 0xc6c512 move_op /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:6714 0xc6c512 move_exprs_to_boundary /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:5237 0xc6c512 schedule_expr_on_boundary /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:5450 0xc705ac fill_insns /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:5592 0xc705ac schedule_on_fences /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:7366 0xc705ac sel_sched_region_2 /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:7504 0xc71d28 sel_sched_region_1 /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:7546 0xc725ae sel_sched_region(int) /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:7647 0xc734c1 run_selective_scheduling() /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sel-sched.c:7733 0xc52d45 rest_of_handle_sched2 /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sched-rgn.c:3732 0xc52d45 execute /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/sched-rgn.c:3876 >From gcc-bugs-return-601713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 17:29:13 2018 Return-Path: <gcc-bugs-return-601713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20745 invoked by alias); 16 Apr 2018 17:29:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20703 invoked by uid 48); 16 Apr 2018 17:29:08 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85420] missing -Wrestrict with -fsanitize=undefined Date: Mon, 16 Apr 2018 17:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc component short_desc everconfirmed Message-ID: <bug-85420-4-0eIwuoByfE@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85420-4@http.gcc.gnu.org/bugzilla/> References: <bug-85420-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01837.txt.bz2 Content-length: 1762 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-16 CC| |msebor at gcc dot gnu.org Component|middle-end |tree-optimization Summary|More -Wrestrict false |missing -Wrestrict with |positives with |-fsanitize=undefined |-fsanitize=undefined | Ever confirmed|0 |1 --- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> --- The warning for attachment 43950 is intended and the bug is actually in failing to issue it without -fsanitize=undefined. Unlike for raw memory functions such as memcpy, for string functions like strcpy -Wrestrict triggers even for possible overlaps. I.e., copying a substring of the same array is designed to warn whether or not the overlap is certain, as in: char a[32]; void f (int i) { __builtin_strcpy (a, a + i); // -Wrestrict expected here } This doesn't work completely consistently -- e.g., the above won't warn if a is changed to a pointer -- but the basic idea is that strcpy is too "unpredictable" to be safely used to copy substrings within the same array. So confirming for the missing warning. The warning in attachment 43951 looks like a different bug in -Wrestrict: it doesn't consider the sizes of the two array members and so it doesn't distinguish between them. Let me open a separate report for this. >From gcc-bugs-return-601714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 17:36:51 2018 Return-Path: <gcc-bugs-return-601714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29924 invoked by alias); 16 Apr 2018 17:36:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29782 invoked by uid 48); 16 Apr 2018 17:36:46 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85420] missing -Wrestrict with -fsanitize=undefined Date: Mon, 16 Apr 2018 17:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85420-4-QDSo2hPugb@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85420-4@http.gcc.gnu.org/bugzilla/> References: <bug-85420-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01838.txt.bz2 Content-length: 793 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 --- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Martin Sebor from comment #5) > The warning for attachment 43950 [details] is intended and the bug is > actually in failing to issue it without -fsanitize=undefined. Unlike for > raw memory functions such as memcpy, for string functions like strcpy > -Wrestrict triggers even for possible overlaps. That is a bad decision. The overlap is something much better caught at runtime, where it can be accurately, and not just throw mostly false positive warnings at user when there is nothing wrong with the code and hardly anything that can be done to avoid the false positive warnings. -fsanitize=address can diagnose strcpy etc. overlap just fine. >From gcc-bugs-return-601715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 17:40:11 2018 Return-Path: <gcc-bugs-return-601715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32235 invoked by alias); 16 Apr 2018 17:40:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32207 invoked by uid 48); 16 Apr 2018 17:40:07 -0000 From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85421] [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405 Date: Mon, 16 Apr 2018 17:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-85421-4-gf1eP3HYCI@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85421-4@http.gcc.gnu.org/bugzilla/> References: <bug-85421-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01839.txt.bz2 Content-length: 427 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85421 Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jamborm at gcc dot gnu.org --- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> --- will have a look the first thing tomorrow. >From gcc-bugs-return-601716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 17:51:57 2018 Return-Path: <gcc-bugs-return-601716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50823 invoked by alias); 16 Apr 2018 17:51:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50759 invoked by uid 48); 16 Apr 2018 17:51:53 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85423] [8 Regression] ICE in code_motion_process_successors, at sel-sched.c:6403 Date: Mon, 16 Apr 2018 17:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: 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: <bug-85423-4-VqQI3AwOJu@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85423-4@http.gcc.gnu.org/bugzilla/> References: <bug-85423-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01840.txt.bz2 Content-length: 770 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85423 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-16 CC| |abel at gcc dot gnu.org, | |amonakov at gcc dot gnu.org, | |jakub at gcc dot gnu.org Target Milestone|--- |8.0 Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Started with r259231. >From gcc-bugs-return-601717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 17:53:27 2018 Return-Path: <gcc-bugs-return-601717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64600 invoked by alias); 16 Apr 2018 17:53:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64550 invoked by uid 48); 16 Apr 2018 17:53:22 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85420] missing -Wrestrict with -fsanitize=undefined Date: Mon, 16 Apr 2018 17:53: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.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85420-4-19h7yoPEUl@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85420-4@http.gcc.gnu.org/bugzilla/> References: <bug-85420-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01841.txt.bz2 Content-length: 633 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 --- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> --- Whether that's a good or bad decision is a matter of opinion. Most coding guidelines advise against using strcpy even between distinct objects. I happen to think that's unnecessarily restrictive when the size of the destination is known to be large enough for the source string, but I do feel it's unsafe to use strcpy to copy substrings within the same array and that using memcpy is preferable. (The strengths and weaknesses of warnings and sanitizers are well known and don't need to be debated here.) >From gcc-bugs-return-601718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 18:01:51 2018 Return-Path: <gcc-bugs-return-601718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107164 invoked by alias); 16 Apr 2018 18:01:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107099 invoked by uid 55); 16 Apr 2018 18:01:47 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84955] [7/8 Regression] Incorrect OpenACC tile expansion Date: Mon, 16 Apr 2018 18:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: openacc, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: cesar at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84955-4-9q19DAy0jp@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84955-4@http.gcc.gnu.org/bugzilla/> References: <bug-84955-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01842.txt.bz2 Content-length: 944 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84955 --- Comment #8 from Tom de Vries <vries at gcc dot gnu.org> --- Author: vries Date: Mon Apr 16 18:01:09 2018 New Revision: 259406 URL: https://gcc.gnu.org/viewcvs?rev=259406&root=gcc&view=rev Log: [openacc] Fix ICE when compiling tile loop containing infinite loop 2018-04-16 Cesar Philippidis <cesar@codesourcery.com> Tom de Vries <tom@codesourcery.com> PR middle-end/84955 * omp-expand.c (expand_oacc_for): Add dummy false branch for tiled basic blocks without omp continue statements. * testsuite/libgomp.oacc-c-c++-common/pr84955.c: New test. * testsuite/libgomp.oacc-fortran/pr84955.f90: New test. Added: trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/pr84955.c trunk/libgomp/testsuite/libgomp.oacc-fortran/pr84955.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/omp-expand.c trunk/libgomp/ChangeLog >From gcc-bugs-return-601719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 18:19:20 2018 Return-Path: <gcc-bugs-return-601719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59565 invoked by alias); 16 Apr 2018 18:19:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59487 invoked by uid 55); 16 Apr 2018 18:19:15 -0000 From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85080] [8 regression] gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c fails starting with r248678 Date: Mon, 16 Apr 2018 18:19: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: wschmidt 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: <bug-85080-4-QMkCxPH49e@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85080-4@http.gcc.gnu.org/bugzilla/> References: <bug-85080-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01843.txt.bz2 Content-length: 616 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85080 --- Comment #5 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Author: wschmidt Date: Mon Apr 16 18:18:42 2018 New Revision: 259407 URL: https://gcc.gnu.org/viewcvs?rev=259407&root=gcc&view=rev Log: [gcc/testsuite] 2018-04-16 Bill Schmidt <wschmidt@linux.ibm.com> PR target/85080 * gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c: Skip dump checks if the target supports efficient unaligned storage accesses. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c >From gcc-bugs-return-601720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 18:21:56 2018 Return-Path: <gcc-bugs-return-601720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62808 invoked by alias); 16 Apr 2018 18:21:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62742 invoked by uid 48); 16 Apr 2018 18:21:52 -0000 From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85080] [8 regression] gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c fails starting with r248678 Date: Mon, 16 Apr 2018 18:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: <bug-85080-4-ZR4QRQ0U99@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85080-4@http.gcc.gnu.org/bugzilla/> References: <bug-85080-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01844.txt.bz2 Content-length: 427 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85080 Bill Schmidt <wschmidt at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Fixed. >From gcc-bugs-return-601721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 18:38:17 2018 Return-Path: <gcc-bugs-return-601721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96783 invoked by alias); 16 Apr 2018 18:38:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96707 invoked by uid 48); 16 Apr 2018 18:38:12 -0000 From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887 Date: Mon, 16 Apr 2018 18:38: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.1 X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85391-4-2VSl8o4XoD@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85391-4@http.gcc.gnu.org/bugzilla/> References: <bug-85391-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01845.txt.bz2 Content-length: 536 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 --- Comment #15 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > We looked into this with Martin todday. There are two bugs: one is the fact > that lto.c forgets to register the type in case it was within strongly > connected component after its outer type. The order depends on hash values > and is not well determined. We do not want to test TYPE_CANONICAL being > non-NULL. Martin is testing it. OK, thanks for sorting this out. It helps when specialists kick in. ;-) >From gcc-bugs-return-601722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 18:43:34 2018 Return-Path: <gcc-bugs-return-601722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109700 invoked by alias); 16 Apr 2018 18:43:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109658 invoked by uid 55); 16 Apr 2018 18:43:29 -0000 From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/82499] x86: small stack initial adjustments could use push Date: Mon, 16 Apr 2018 18:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-82499-4-1KmBA4CbxV@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-82499-4@http.gcc.gnu.org/bugzilla/> References: <bug-82499-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01846.txt.bz2 Content-length: 1514 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82499 --- Comment #6 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Mon Apr 16 18:42:57 2018 New Revision: 259408 URL: https://gcc.gnu.org/viewcvs?rev=259408&root=gcc&view=rev Log: i386: Move struct ix86_frame to machine_function Make ix86_frame available to i386 code generation. This is needed to backport the patch set of -mindirect-branch= to mitigate variant #2 of the speculative execution vulnerabilities on x86 processors identified by CVE-2017-5715, aka Spectre. Backport from mainline 2017-10-13 H.J. Lu <hongjiu.lu@intel.com> PR target/82499 * config/i386/i386.h (ix86_red_zone_size): New. 2017-06-01 Bernd Edlinger <bernd.edlinger@hotmail.de> * config/i386/i386.c (ix86_frame): Moved to ... * config/i386/i386.h (ix86_frame): Here. (machine_function): Add frame. * config/i386/i386.c (ix86_compute_frame_layout): Repace the frame argument with &cfun->machine->frame. (ix86_can_use_return_insn_p): Don't pass &frame to ix86_compute_frame_layout. Copy frame from cfun->machine->frame. (ix86_can_eliminate): Likewise. (ix86_expand_prologue): Likewise. (ix86_expand_epilogue): Likewise. (ix86_expand_split_stack_prologue): Likewise. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/i386/i386.c branches/gcc-6-branch/gcc/config/i386/i386.h >From gcc-bugs-return-601723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 18:45:47 2018 Return-Path: <gcc-bugs-return-601723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24148 invoked by alias); 16 Apr 2018 18:45:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14946 invoked by uid 55); 16 Apr 2018 18:45:37 -0000 From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83905] ix86_expand_epilogue modifies the copy of cfun->machine->frame Date: Mon, 16 Apr 2018 18:45: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: hjl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-83905-4-ipifAYcm8G@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83905-4@http.gcc.gnu.org/bugzilla/> References: <bug-83905-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01847.txt.bz2 Content-length: 961 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83905 --- Comment #5 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Mon Apr 16 18:44:43 2018 New Revision: 259411 URL: https://gcc.gnu.org/viewcvs?rev=259411&root=gcc&view=rev Log: i386: Use const reference of struct ix86_frame to avoid copy We can use const reference of struct ix86_frame to avoid making a local copy of ix86_frame. ix86_expand_epilogue makes a local copy of struct ix86_frame and uses the reg_save_offset field as a local variable. This patch uses a separate local variable for reg_save_offset. Tested on x86-64 with ada. Backport from mainline PR target/83905 * config/i386/i386.c (ix86_expand_prologue): Use cost reference of struct ix86_frame. (ix86_expand_epilogue): Likewise. Add a local variable for the reg_save_offset field in struct ix86_frame. Modified: branches/gcc-6-branch/gcc/ChangeLog >From gcc-bugs-return-601724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 18:48:37 2018 Return-Path: <gcc-bugs-return-601724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129833 invoked by alias); 16 Apr 2018 18:48:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129733 invoked by uid 48); 16 Apr 2018 18:48:31 -0000 From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug web/82686] Debian sid powerpc64-unknown-linux-gnu 4.13.0-1-powerpc64 bootstrap breaks in stage3 with unexpected requirement for bdw-gc Date: Mon, 16 Apr 2018 18:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: dclarke at blastwave 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: <bug-82686-4-27uQdpez1h@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-82686-4@http.gcc.gnu.org/bugzilla/> References: <bug-82686-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01848.txt.bz2 Content-length: 257 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686 --- Comment #14 from Dennis Clarke <dclarke at blastwave dot org> --- Since this bug was a "bootstrap" issue I think I should close it as simply an issue related to the garbage collector libs needed. >From gcc-bugs-return-601725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 18:55:43 2018 Return-Path: <gcc-bugs-return-601725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15375 invoked by alias); 16 Apr 2018 18:55:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15321 invoked by uid 55); 16 Apr 2018 18:55:38 -0000 From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/83839] [8 Regression] bootstrap fails in gcc/config/i386/i386.c on darwin Date: Mon, 16 Apr 2018 18:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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: <bug-83839-4-ugeCsUWcCg@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83839-4@http.gcc.gnu.org/bugzilla/> References: <bug-83839-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01849.txt.bz2 Content-length: 12249 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83839 --- Comment #10 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Mon Apr 16 18:55:04 2018 New Revision: 259414 URL: https://gcc.gnu.org/viewcvs?rev=259414&root=gcc&view=rev Log: x86: Add -mfunction-return= Add -mfunction-return= option to convert function return to call and return thunks. The default is 'keep', which keeps function return unmodified. 'thunk' converts function return to call and return thunk. 'thunk-inline' converts function return to inlined call and return thunk. 'thunk-extern' converts function return to external call and return thunk provided in a separate object file. You can control this behavior for a specific function by using the function attribute function_return. Function return thunk is the same as memory thunk for -mindirect-branch= where the return address is at the top of the stack: __x86_return_thunk: call L2 L1: pause lfence jmp L1 L2: lea 8(%rsp), %rsp|lea 4(%esp), %esp ret and function return becomes jmp __x86_return_thunk -mindirect-branch= tests are updated with -mfunction-return=keep to avoid false test failures when -mfunction-return=thunk is added to RUNTESTFLAGS for "make check". gcc/ Backport from mainline 2018-01-14 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386-protos.h (ix86_output_function_return): New. * config/i386/i386.c (ix86_set_indirect_branch_type): Also set function_return_type. (indirect_thunk_name): Add ret_p to indicate thunk for function return. (output_indirect_thunk_function): Pass false to indirect_thunk_name. (ix86_output_indirect_branch_via_reg): Likewise. (ix86_output_indirect_branch_via_push): Likewise. (output_indirect_thunk_function): Create alias for function return thunk if regno < 0. (ix86_output_function_return): New function. (ix86_handle_fndecl_attribute): Handle function_return. (ix86_attribute_table): Add function_return. * config/i386/i386.h (machine_function): Add function_return_type. * config/i386/i386.md (simple_return_internal): Use ix86_output_function_return. (simple_return_internal_long): Likewise. * config/i386/i386.opt (mfunction-return=): New option. (indirect_branch): Mention -mfunction-return=. * doc/extend.texi: Document function_return function attribute. * doc/invoke.texi: Document -mfunction-return= option. gcc/testsuite/ Backport from mainline 2018-01-14 H.J. Lu <hongjiu.lu@intel.com> * gcc.target/i386/indirect-thunk-1.c (dg-options): Add -mfunction-return=keep. * gcc.target/i386/indirect-thunk-2.c: Likewise. * gcc.target/i386/indirect-thunk-3.c: Likewise. * gcc.target/i386/indirect-thunk-4.c: Likewise. * gcc.target/i386/indirect-thunk-5.c: Likewise. * gcc.target/i386/indirect-thunk-6.c: Likewise. * gcc.target/i386/indirect-thunk-7.c: Likewise. * gcc.target/i386/indirect-thunk-attr-1.c: Likewise. * gcc.target/i386/indirect-thunk-attr-2.c: Likewise. * gcc.target/i386/indirect-thunk-attr-3.c: Likewise. * gcc.target/i386/indirect-thunk-attr-4.c: Likewise. * gcc.target/i386/indirect-thunk-attr-5.c: Likewise. * gcc.target/i386/indirect-thunk-attr-6.c: Likewise. * gcc.target/i386/indirect-thunk-attr-7.c: Likewise. * gcc.target/i386/indirect-thunk-attr-8.c: Likewise. * gcc.target/i386/indirect-thunk-bnd-1.c: Likewise. * gcc.target/i386/indirect-thunk-bnd-2.c: Likewise. * gcc.target/i386/indirect-thunk-bnd-3.c: Likewise. * gcc.target/i386/indirect-thunk-bnd-4.c: Likewise. * gcc.target/i386/indirect-thunk-extern-1.c: Likewise. * gcc.target/i386/indirect-thunk-extern-2.c: Likewise. * gcc.target/i386/indirect-thunk-extern-3.c: Likewise. * gcc.target/i386/indirect-thunk-extern-4.c: Likewise. * gcc.target/i386/indirect-thunk-extern-5.c: Likewise. * gcc.target/i386/indirect-thunk-extern-6.c: Likewise. * gcc.target/i386/indirect-thunk-extern-7.c: Likewise. * gcc.target/i386/indirect-thunk-inline-1.c: Likewise. * gcc.target/i386/indirect-thunk-inline-2.c: Likewise. * gcc.target/i386/indirect-thunk-inline-3.c: Likewise. * gcc.target/i386/indirect-thunk-inline-4.c: Likewise. * gcc.target/i386/indirect-thunk-inline-5.c: Likewise. * gcc.target/i386/indirect-thunk-inline-6.c: Likewise. * gcc.target/i386/indirect-thunk-inline-7.c: Likewise. * gcc.target/i386/ret-thunk-1.c: New test. * gcc.target/i386/ret-thunk-10.c: Likewise. * gcc.target/i386/ret-thunk-11.c: Likewise. * gcc.target/i386/ret-thunk-12.c: Likewise. * gcc.target/i386/ret-thunk-13.c: Likewise. * gcc.target/i386/ret-thunk-14.c: Likewise. * gcc.target/i386/ret-thunk-15.c: Likewise. * gcc.target/i386/ret-thunk-16.c: Likewise. * gcc.target/i386/ret-thunk-2.c: Likewise. * gcc.target/i386/ret-thunk-3.c: Likewise. * gcc.target/i386/ret-thunk-4.c: Likewise. * gcc.target/i386/ret-thunk-5.c: Likewise. * gcc.target/i386/ret-thunk-6.c: Likewise. * gcc.target/i386/ret-thunk-7.c: Likewise. * gcc.target/i386/ret-thunk-8.c: Likewise. * gcc.target/i386/ret-thunk-9.c: Likewise. i386: Don't use ASM_OUTPUT_DEF for TARGET_MACHO ASM_OUTPUT_DEF isn't defined for TARGET_MACHO. Use ASM_OUTPUT_LABEL to generate the __x86_return_thunk label, instead of the set directive. Update testcase to remove the __x86_return_thunk label check. Since -fno-pic is ignored on Darwin, update testcases to sscan or "push" only on Linux. gcc/ Backport from mainline 2018-01-15 H.J. Lu <hongjiu.lu@intel.com> PR target/83839 * config/i386/i386.c (output_indirect_thunk_function): Use ASM_OUTPUT_LABEL, instead of ASM_OUTPUT_DEF, for TARGET_MACHO for __x86.return_thunk. gcc/testsuite/ Backport from mainline 2018-01-15 H.J. Lu <hongjiu.lu@intel.com> PR target/83839 * gcc.target/i386/indirect-thunk-1.c: Scan for "push" only on Linux. * gcc.target/i386/indirect-thunk-2.c: Likewise. * gcc.target/i386/indirect-thunk-3.c: Likewise. * gcc.target/i386/indirect-thunk-4.c: Likewise. * gcc.target/i386/indirect-thunk-7.c: Likewise. * gcc.target/i386/indirect-thunk-attr-1.c: Likewise. * gcc.target/i386/indirect-thunk-attr-2.c: Likewise. * gcc.target/i386/indirect-thunk-attr-5.c: Likewise. * gcc.target/i386/indirect-thunk-attr-6.c: Likewise. * gcc.target/i386/indirect-thunk-attr-7.c: Likewise. * gcc.target/i386/indirect-thunk-extern-1.c: Likewise. * gcc.target/i386/indirect-thunk-extern-2.c: Likewise. * gcc.target/i386/indirect-thunk-extern-3.c: Likewise. * gcc.target/i386/indirect-thunk-extern-4.c: Likewise. * gcc.target/i386/indirect-thunk-extern-7.c: Likewise. * gcc.target/i386/indirect-thunk-register-1.c: Likewise. * gcc.target/i386/indirect-thunk-register-3.c: Likewise. * gcc.target/i386/indirect-thunk-register-4.c: Likewise. * gcc.target/i386/ret-thunk-10.c: Likewise. * gcc.target/i386/ret-thunk-11.c: Likewise. * gcc.target/i386/ret-thunk-12.c: Likewise. * gcc.target/i386/ret-thunk-13.c: Likewise. * gcc.target/i386/ret-thunk-14.c: Likewise. * gcc.target/i386/ret-thunk-15.c: Likewise. * gcc.target/i386/ret-thunk-9.c: Don't check the __x86_return_thunk label. Scan for "push" only for Linux. Added: branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-1.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-10.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-11.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-12.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-13.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-14.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-15.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-16.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-2.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-3.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-4.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-5.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-6.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-7.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-8.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-9.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/i386/i386-protos.h branches/gcc-6-branch/gcc/config/i386/i386.c branches/gcc-6-branch/gcc/config/i386/i386.h branches/gcc-6-branch/gcc/config/i386/i386.md branches/gcc-6-branch/gcc/config/i386/i386.opt branches/gcc-6-branch/gcc/doc/extend.texi branches/gcc-6-branch/gcc/doc/invoke.texi branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-1.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-2.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-3.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-4.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-5.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-6.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-7.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-1.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-2.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-3.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-4.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-5.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-6.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-7.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-8.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-1.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-2.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-3.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-4.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-1.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-2.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-3.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-4.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-5.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-6.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-1.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-2.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-3.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-4.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-5.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-6.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-7.c >From gcc-bugs-return-601726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 19:04:39 2018 Return-Path: <gcc-bugs-return-601726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30195 invoked by alias); 16 Apr 2018 19:04:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30177 invoked by uid 48); 16 Apr 2018 19:04:34 -0000 From: "meissner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85424] New: The __builtin_packlongdouble function might have issues with the output overlapping the inputs Date: Mon, 16 Apr 2018 19:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: meissner 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: <bug-85424-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01850.txt.bz2 Content-length: 1947 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85424 Bug ID: 85424 Summary: The __builtin_packlongdouble function might have issues with the output overlapping the inputs Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: meissner at gcc dot gnu.org Target Milestone: --- When I was working on PR target/85075, I noticed the big endian version of the compiler would not build the 32-bit library that used the function to create an explicit IBM extended double value. The problem is the pattern: (define_insn_and_split "pack<mode>" [(set (match_operand:FMOVE128 0 "register_operand" "=d,&d") (unspec:FMOVE128 [(match_operand:<FP128_64> 1 "register_operand" "0,d") (match_operand:<FP128_64> 2 "register_operand" "d,d")] UNSPEC_PACK_128BIT))] "FLOAT128_2REG_P (<MODE>mode)" "@ fmr %L0,%2 #" "&& reload_completed && REGNO (operands[0]) != REGNO (operands[1])" [(set (match_dup 3) (match_dup 1)) (set (match_dup 4) (match_dup 2))] { unsigned dest_hi = REGNO (operands[0]); unsigned dest_lo = dest_hi + 1; gcc_assert (!IN_RANGE (REGNO (operands[1]), dest_hi, dest_lo)); gcc_assert (!IN_RANGE (REGNO (operands[2]), dest_hi, dest_lo)); operands[3] = gen_rtx_REG (<FP128_64>mode, dest_hi); operands[4] = gen_rtx_REG (<FP128_64>mode, dest_lo); } [(set_attr "type" "fpsimple,fp") (set_attr "length" "4,8")]) Generated an insn not found message, when one of the input operands overlapped the output. In the case I saw, operand1 was the same as the second output register. It is better to just delete the support for the register overlapping (and hence trying to save a move), then to see this pop again in somewhat rare circumstances. >From gcc-bugs-return-601728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 19:05:37 2018 Return-Path: <gcc-bugs-return-601728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32386 invoked by alias); 16 Apr 2018 19:05:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32323 invoked by uid 48); 16 Apr 2018 19:05:32 -0000 From: "gerhard.heinzel at aei dot mpg.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85425] New: gcc 6.2.1 fails to catch error in function calling arguments Date: Mon, 16 Apr 2018 19:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.heinzel at aei dot mpg.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: <bug-85425-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01852.txt.bz2 Content-length: 5734 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85425 Bug ID: 85425 Summary: gcc 6.2.1 fails to catch error in function calling arguments Product: gcc Version: 6.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.heinzel at aei dot mpg.de Target Milestone: --- Created attachment 43953 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43953&action=edit preprocessed single C input file Dear gcc maintainers, First let me say that I am a very happy and grateful user of gcc since about 25 years. I program in C under Linux and try to encourage my students to do the same. Such C programs are the workhorse of my physics research group, although I have to admit that the younger students now prefer C++ which I never really got used to. Anyway, here is the bug: The attached program, which is already reduced to a single file that contains about 5% of the code of the full thing, does _NOT_ trigger an error although in my opinion it should, when compiled with gcc-6 -Wall -Wextra -c fail_contour.i A function is called with messed up order of parameters, mixing int with double. The function is declared and defined as contour_point_t ghhrobust_search (contour_point_t * p, contour_point_t plast, double ax, double ay, int type) but called as p = ghhrobust_search (ptrials, plast, type, ax, ay); where the integer variable "type" is at position 3 instead of at the end. gcc (version info below) does not catch this error, which I consider a bug. Possibly I made a stupid mistake, in which case I'd be grateful for a short notice. I have tried to follow the bug reporting instructions. If this is a real problem, I'd of course be willing to submit more information or try to reduce the problem further to a minimal case, although I suspect that you are much better at that than I am. With best greetings and thanks for your support, Gerhard Heinzel. ----- Using built-in specs. COLLECT_GCC=gcc-6 Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,fortran,ada,go --enable-offload-targets=hsa --enable-checking=release --with-gxx-include-dir=/usr/include/c++/6 --enable-ssp --disable-libssp --disable-libvtv --disable-libcc1 --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --with-default-libstdcxx-abi=gcc4-compatible --enable-version-specific-runtime-libs --enable-linker-build-id --enable-linux-futex --enable-gnu-indirect-function --program-suffix=-6 --without-system-libunwind --enable-multilib --with-arch-32=x86-64 --with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linux Thread model: posix gcc version 6.2.1 20160826 [gcc-6-branch revision 239773] (SUSE Linux) COLLECT_GCC_OPTIONS='-v' '-save-temps' '-Wall' '-Wextra' '-c' '-mtune=generic' '-march=x86-64' /usr/lib64/gcc/x86_64-suse-linux/6/cc1 -E -quiet -v fail_contour.c -mtune=generic -march=x86-64 -Wall -Wextra -fpch-preprocess -o fail_contour.i #include "..." search starts here: #include <...> search starts here: /usr/lib64/gcc/x86_64-suse-linux/6/include /usr/local/include /usr/lib64/gcc/x86_64-suse-linux/6/include-fixed /usr/lib64/gcc/x86_64-suse-linux/6/../../../../x86_64-suse-linux/include /usr/include End of search list. COLLECT_GCC_OPTIONS='-v' '-save-temps' '-Wall' '-Wextra' '-c' '-mtune=generic' '-march=x86-64' /usr/lib64/gcc/x86_64-suse-linux/6/cc1 -fpreprocessed fail_contour.i -quiet -dumpbase fail_contour.c -mtune=generic -march=x86-64 -auxbase fail_contour -Wall -Wextra -version -o fail_contour.s GNU C11 (SUSE Linux) version 6.2.1 20160826 [gcc-6-branch revision 239773] (x86_64-suse-linux) compiled by GNU C version 6.2.1 20160826 [gcc-6-branch revision 239773], GMP version 5.1.3, MPFR version 3.1.2, MPC version 1.0.2, isl version none GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C11 (SUSE Linux) version 6.2.1 20160826 [gcc-6-branch revision 239773] (x86_64-suse-linux) compiled by GNU C version 6.2.1 20160826 [gcc-6-branch revision 239773], GMP version 5.1.3, MPFR version 3.1.2, MPC version 1.0.2, isl version none GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 9c15a1c4f36e0692cc50ecfa3c25d889 COLLECT_GCC_OPTIONS='-v' '-save-temps' '-Wall' '-Wextra' '-c' '-mtune=generic' '-march=x86-64' /usr/lib64/gcc/x86_64-suse-linux/6/../../../../x86_64-suse-linux/bin/as -v --64 -o fail_contour.o fail_contour.s GNU assembler version 2.29.1 (x86_64-suse-linux) using BFD version (GNU Binutils; openSUSE Leap 42.3) 2.29.1 COMPILER_PATH=/usr/lib64/gcc/x86_64-suse-linux/6/:/usr/lib64/gcc/x86_64-suse-linux/6/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/6/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/6/../../../../x86_64-suse-linux/bin/ LIBRARY_PATH=/usr/lib64/gcc/x86_64-suse-linux/6/:/usr/lib64/gcc/x86_64-suse-linux/6/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib64/gcc/x86_64-suse-linux/6/../../../../x86_64-suse-linux/lib/:/usr/lib64/gcc/x86_64-suse-linux/6/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-save-temps' '-Wall' '-Wextra' '-c' '-mtune=generic' '-march=x86-64' >From gcc-bugs-return-601727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 19:05:25 2018 Return-Path: <gcc-bugs-return-601727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31625 invoked by alias); 16 Apr 2018 19:05:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31576 invoked by uid 48); 16 Apr 2018 19:05:21 -0000 From: "meissner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85424] The __builtin_packlongdouble function might have issues with the output overlapping the inputs Date: Mon, 16 Apr 2018 19:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: meissner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: meissner at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to everconfirmed Message-ID: <bug-85424-4-wA93MSzqHb@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85424-4@http.gcc.gnu.org/bugzilla/> References: <bug-85424-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01851.txt.bz2 Content-length: 804 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85424 Michael Meissner <meissner at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-04-16 CC| |dje at gcc dot gnu.org, | |meissner at gcc dot gnu.org, | |segher at gcc dot gnu.org, | |wschmidt at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |meissner at gcc dot gnu.org Ever confirmed|0 |1 >From gcc-bugs-return-601729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 19:07:09 2018 Return-Path: <gcc-bugs-return-601729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34445 invoked by alias); 16 Apr 2018 19:07:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34414 invoked by uid 55); 16 Apr 2018 19:07:05 -0000 From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84530] -mfunction-return=thunk does not work for simple_return_pop_internal insn Date: Mon, 16 Apr 2018 19:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84530-4-Sqsx1KCbDE@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84530-4@http.gcc.gnu.org/bugzilla/> References: <bug-84530-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01853.txt.bz2 Content-length: 3032 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84530 --- Comment #6 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Mon Apr 16 19:06:32 2018 New Revision: 259420 URL: https://gcc.gnu.org/viewcvs?rev=259420&root=gcc&view=rev Log: i386: Update -mfunction-return= for return with pop When -mfunction-return= is used, simple_return_pop_internal should pop return address into ECX register, adjust stack by bytes to pop from stack and jump to the return thunk via ECX register. Revision 257992 removed the bool argument from ix86_output_indirect_jmp. Update comments to reflect it. Tested on i686 and x86-64. gcc/ Backport from mainline 2018-02-26 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (ix86_output_indirect_jmp): Update comments. 2018-02-26 H.J. Lu <hongjiu.lu@intel.com> PR target/84530 * config/i386/i386-protos.h (ix86_output_indirect_jmp): Remove the bool argument. (ix86_output_indirect_function_return): New prototype. (ix86_split_simple_return_pop_internal): Likewise. * config/i386/i386.c (indirect_return_via_cx): New. (indirect_return_via_cx_bnd): Likewise. (indirect_thunk_name): Handle return va CX_REG. (output_indirect_thunk_function): Create alias for __x86_return_thunk_[re]cx and __x86_return_thunk_[re]cx_bnd. (ix86_output_indirect_jmp): Remove the bool argument. (ix86_output_indirect_function_return): New function. (ix86_split_simple_return_pop_internal): Likewise. * config/i386/i386.md (*indirect_jump): Don't pass false to ix86_output_indirect_jmp. (*tablejump_1): Likewise. (simple_return_pop_internal): Change it to define_insn_and_split. Call ix86_split_simple_return_pop_internal to split it for -mfunction-return=. (simple_return_indirect_internal): Call ix86_output_indirect_function_return instead of ix86_output_indirect_jmp. gcc/testsuite/ Backport from mainline 2018-02-26 H.J. Lu <hongjiu.lu@intel.com> PR target/84530 * gcc.target/i386/ret-thunk-22.c: New test. * gcc.target/i386/ret-thunk-23.c: Likewise. * gcc.target/i386/ret-thunk-24.c: Likewise. * gcc.target/i386/ret-thunk-25.c: Likewise. * gcc.target/i386/ret-thunk-26.c: Likewise. Added: branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-22.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-23.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-24.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-25.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-26.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/i386/i386-protos.h branches/gcc-6-branch/gcc/config/i386/i386.c branches/gcc-6-branch/gcc/config/i386/i386.md branches/gcc-6-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-601730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 19:08:51 2018 Return-Path: <gcc-bugs-return-601730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36918 invoked by alias); 16 Apr 2018 19:08:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36434 invoked by uid 55); 16 Apr 2018 19:08:47 -0000 From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84039] x86 retpolines and CFI Date: Mon, 16 Apr 2018 19: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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl 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: <bug-84039-4-UpW0n7xmcd@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84039-4@http.gcc.gnu.org/bugzilla/> References: <bug-84039-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01854.txt.bz2 Content-length: 8877 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84039 --- Comment #5 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Mon Apr 16 19:08:14 2018 New Revision: 259421 URL: https://gcc.gnu.org/viewcvs?rev=259421&root=gcc&view=rev Log: i386: Add TARGET_INDIRECT_BRANCH_REGISTER For --- struct C { virtual ~C(); virtual void f(); }; void f (C *p) { p->f(); p->f(); } --- -mindirect-branch=thunk-extern -O2 on x86-64 GNU/Linux generates: _Z1fP1C: .LFB0: .cfi_startproc pushq %rbx .cfi_def_cfa_offset 16 .cfi_offset 3, -16 movq (%rdi), %rax movq %rdi, %rbx jmp .LIND1 .LIND0: pushq 16(%rax) jmp __x86_indirect_thunk .LIND1: call .LIND0 movq (%rbx), %rax movq %rbx, %rdi popq %rbx .cfi_def_cfa_offset 8 movq 16(%rax), %rax jmp __x86_indirect_thunk_rax .cfi_endproc x86-64 is supposed to have asynchronous unwind tables by default, but there is nothing that reflects the change in the (relative) frame address after .LIND0. That region really has to be moved outside of the .cfi_startproc/.cfi_endproc bracket. This patch adds TARGET_INDIRECT_BRANCH_REGISTER to force indirect branch via register whenever -mindirect-branch= is used. Now, -mindirect-branch=thunk-extern -O2 on x86-64 GNU/Linux generates: _Z1fP1C: .LFB0: .cfi_startproc pushq %rbx .cfi_def_cfa_offset 16 .cfi_offset 3, -16 movq (%rdi), %rax movq %rdi, %rbx movq 16(%rax), %rax call __x86_indirect_thunk_rax movq (%rbx), %rax movq %rbx, %rdi popq %rbx .cfi_def_cfa_offset 8 movq 16(%rax), %rax jmp __x86_indirect_thunk_rax .cfi_endproc so that "-mindirect-branch=thunk-extern" is equivalent to "-mindirect-branch=thunk-extern -mindirect-branch-register", which is used by Linux kernel. gcc/ Backport from mainline 2018-02-26 H.J. Lu <hongjiu.lu@intel.com> PR target/84039 * config/i386/constraints.md (Bs): Replace ix86_indirect_branch_register with TARGET_INDIRECT_BRANCH_REGISTER. (Bw): Likewise. * config/i386/i386.md (indirect_jump): Likewise. (tablejump): Likewise. (*sibcall_memory): Likewise. (*sibcall_value_memory): Likewise. Peepholes of indirect call and jump via memory: Likewise. (*sibcall_GOT_32): Disallowed for TARGET_INDIRECT_BRANCH_REGISTER. (*sibcall_value_GOT_32): Likewise. * config/i386/predicates.md (indirect_branch_operand): Likewise. (GOT_memory_operand): Likewise. (call_insn_operand): Likewise. (sibcall_insn_operand): Likewise. (GOT32_symbol_operand): Likewise. * config/i386/i386.h (TARGET_INDIRECT_BRANCH_REGISTER): New. gcc/testsuite/ Backport from mainline 2018-02-26 H.J. Lu <hongjiu.lu@intel.com> PR target/84039 * gcc.target/i386/indirect-thunk-1.c: Updated. * gcc.target/i386/indirect-thunk-2.c: Likewise. * gcc.target/i386/indirect-thunk-3.c: Likewise. * gcc.target/i386/indirect-thunk-4.c: Likewise. * gcc.target/i386/indirect-thunk-5.c: Likewise. * gcc.target/i386/indirect-thunk-6.c: Likewise. * gcc.target/i386/indirect-thunk-7.c: Likewise. * gcc.target/i386/indirect-thunk-attr-1.c: Likewise. * gcc.target/i386/indirect-thunk-attr-2.c: Likewise. * gcc.target/i386/indirect-thunk-attr-3.c: Likewise. * gcc.target/i386/indirect-thunk-attr-4.c: Likewise. * gcc.target/i386/indirect-thunk-attr-5.c: Likewise. * gcc.target/i386/indirect-thunk-attr-6.c: Likewise. * gcc.target/i386/indirect-thunk-attr-7.c: Likewise. * gcc.target/i386/indirect-thunk-bnd-1.c: Likewise. * gcc.target/i386/indirect-thunk-bnd-2.c: Likewise. * gcc.target/i386/indirect-thunk-bnd-3.c: Likewise. * gcc.target/i386/indirect-thunk-bnd-4.c: Likewise. * gcc.target/i386/indirect-thunk-extern-1.c: Likewise. * gcc.target/i386/indirect-thunk-extern-2.c: Likewise. * gcc.target/i386/indirect-thunk-extern-3.c: Likewise. * gcc.target/i386/indirect-thunk-extern-4.c: Likewise. * gcc.target/i386/indirect-thunk-extern-5.c: Likewise. * gcc.target/i386/indirect-thunk-extern-6.c: Likewise. * gcc.target/i386/indirect-thunk-extern-7.c: Likewise. * gcc.target/i386/indirect-thunk-inline-1.c: Likewise. * gcc.target/i386/indirect-thunk-inline-2.c: Likewise. * gcc.target/i386/indirect-thunk-inline-3.c: Likewise. * gcc.target/i386/indirect-thunk-inline-4.c: Likewise. * gcc.target/i386/indirect-thunk-inline-5.c: Likewise. * gcc.target/i386/indirect-thunk-inline-6.c: Likewise. * gcc.target/i386/indirect-thunk-inline-7.c: Likewise. * gcc.target/i386/ret-thunk-9.c: Likewise. * gcc.target/i386/ret-thunk-10.c: Likewise. * gcc.target/i386/ret-thunk-11.c: Likewise. * gcc.target/i386/ret-thunk-12.c: Likewise. * gcc.target/i386/ret-thunk-13.c: Likewise. * gcc.target/i386/ret-thunk-14.c: Likewise. * gcc.target/i386/ret-thunk-15.c: Likewise. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/i386/constraints.md branches/gcc-6-branch/gcc/config/i386/i386.h branches/gcc-6-branch/gcc/config/i386/i386.md branches/gcc-6-branch/gcc/config/i386/predicates.md branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-1.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-2.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-3.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-4.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-5.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-6.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-7.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-1.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-2.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-3.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-4.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-5.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-6.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-7.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-1.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-2.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-3.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-bnd-4.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-1.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-2.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-3.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-4.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-5.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-6.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-1.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-2.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-3.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-4.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-5.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-6.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-7.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-10.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-11.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-12.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-13.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-14.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-15.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-9.c >From gcc-bugs-return-601731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 19:11:49 2018 Return-Path: <gcc-bugs-return-601731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44036 invoked by alias); 16 Apr 2018 19:11:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43995 invoked by uid 55); 16 Apr 2018 19:11:45 -0000 From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84574] Function return thunks shouldn't be aliased to indirect branch thunks Date: Mon, 16 Apr 2018 19:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84574-4-qk5aVBzefQ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84574-4@http.gcc.gnu.org/bugzilla/> References: <bug-84574-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01855.txt.bz2 Content-length: 1817 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84574 --- Comment #4 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Mon Apr 16 19:11:13 2018 New Revision: 259422 URL: https://gcc.gnu.org/viewcvs?rev=259422&root=gcc&view=rev Log: i386: Don't generate alias for function return thunk Function return thunks shouldn't be aliased to indirect branch thunks since indirect branch thunks are placed in COMDAT section and a COMDAT section with indirect branch may not have function return thunk. This patch generates function return thunks directly. gcc/ Backport from mainline PR target/84574 * config/i386/i386.c (indirect_thunk_needed): Update comments. (indirect_thunk_bnd_needed): Likewise. (indirect_thunks_used): Likewise. (indirect_thunks_bnd_used): Likewise. (indirect_return_needed): New. (indirect_return_bnd_needed): Likewise. (output_indirect_thunk_function): Add a bool argument for function return. (output_indirect_thunk_function): Don't generate alias for function return thunk. (ix86_code_end): Call output_indirect_thunk_function to generate function return thunks. (ix86_output_function_return): Set indirect_return_bnd_needed and indirect_return_needed instead of indirect_thunk_bnd_needed and indirect_thunk_needed. gcc/testsuite/ Backport from mainline PR target/84574 * gcc.target/i386/ret-thunk-9.c: Expect __x86_return_thunk label instead of __x86_indirect_thunk label. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/i386/i386.c branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/ret-thunk-9.c >From gcc-bugs-return-601732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 19:25:11 2018 Return-Path: <gcc-bugs-return-601732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47488 invoked by alias); 16 Apr 2018 19:25:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 45582 invoked by uid 48); 16 Apr 2018 19:24:52 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85419] Incorrect determination of null pointer constant Date: Mon, 16 Apr 2018 19: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: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor 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 cc resolution Message-ID: <bug-85419-4-eg2tQ9HpTh@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85419-4@http.gcc.gnu.org/bugzilla/> References: <bug-85419-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01856.txt.bz2 Content-length: 673 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85419 Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |msebor at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- Because they don't produce lvalues top-level qualifiers in casts are meaningless. As a result (void* restrict)0 is the same as (void*)0 and the result is a null pointer constant. >From gcc-bugs-return-601733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 19:42:40 2018 Return-Path: <gcc-bugs-return-601733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72474 invoked by alias); 16 Apr 2018 19:42:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72407 invoked by uid 48); 16 Apr 2018 19:42:35 -0000 From: "sasha2048 at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvNzkwMDldIE1pc3NpbmcgJ2luY29uc2lzdGVudCBkZWR1Y3Rp?= =?UTF-8?B?b24gZm9yIOKAmGF1dG/igJknIGVycm9yIHdoZW4gaGF2aW5nIGEgZGVwZW5k?= =?UTF-8?B?ZW50IGluaXRpYWxpemVyIGFuZCBhIG5vbmRlcGVuZGVudCBvbmUgaW4gdGhl?= =?UTF-8?B?IHNhbWUgZGVjbGFyYXRpb24=?Date: Mon, 16 Apr 2018 19:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: sasha2048 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-79009-4-EDXsDPBIiB@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-79009-4@http.gcc.gnu.org/bugzilla/> References: <bug-79009-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01857.txt.bz2 Content-length: 677 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79009 Sasha Unknown <sasha2048 at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sasha2048 at gmail dot com --- Comment #2 from Sasha Unknown <sasha2048 at gmail dot com> --- I confirm that this still happens on my g++-7 (Ubuntu 7.2.0-1ubuntu1~16.04) 7.2.0. My test program (essentially the same as original): template<typename T> struct S {}; template<typename T> void f() { auto s = S<T>(), i = 1; } int main() { f<int>(); return 0; } >From gcc-bugs-return-601734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 19:48:58 2018 Return-Path: <gcc-bugs-return-601734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89670 invoked by alias); 16 Apr 2018 19:48:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89276 invoked by uid 48); 16 Apr 2018 19:48:25 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85425] gcc 6.2.1 fails to catch error in function calling arguments Date: Mon, 16 Apr 2018 19:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.2.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: <bug-85425-4-RIVeht5lvc@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85425-4@http.gcc.gnu.org/bugzilla/> References: <bug-85425-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01858.txt.bz2 Content-length: 1115 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85425 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- The example can be reduced to: void ghhrobust_search (double ay, int type) { } void f(int i, double d) { ghhrobust_search(i, d); } This must not produce an error, because it is 100% valid according to the C standard. An int can be converted to a double and a double can be converted to an int, so the code is valid. If you use -Wconversion you get a warning: a.c: In function âvoid f(int, double)â: a.c:3:48: warning: conversion to âintâ from âdoubleâ may alter its value [-Wfloat-conversion] void f(int i, double d) { ghhrobust_search(i, d); } ^ This seems to be what you're looking for. Indeed, compiling your attached code with -Wconversion gives a warning on the relevant line: fail_contour.c: In function âcontour_traceâ: fail_contour.c:203:56: warning: conversion to âintâ from âdoubleâ may alter its value [-Wfloat-conversion] >From gcc-bugs-return-601735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 19:58:09 2018 Return-Path: <gcc-bugs-return-601735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119291 invoked by alias); 16 Apr 2018 19:58:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119267 invoked by uid 48); 16 Apr 2018 19:58:04 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85418] -Wformat-truncation on inlinned function Date: Mon, 16 Apr 2018 19:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: 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: keywords bug_status cc resolution Message-ID: <bug-85418-4-aEP42VEhfk@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85418-4@http.gcc.gnu.org/bugzilla/> References: <bug-85418-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01859.txt.bz2 Content-length: 959 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85418 Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |RESOLVED CC| |msebor at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- The warning is intended (and designed to trigger across inlined function calls). The call to snprintf() truncates the string which may be unintended. To avoid the warning either use the return value of the snprintf function to take some action (i.e., handle the truncation) or use the len argument to specify the precision of the %s directive like so: snprintf (b, sizeof b, "%.*s", (int)len, s); >From gcc-bugs-return-601736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 20:00:45 2018 Return-Path: <gcc-bugs-return-601736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122780 invoked by alias); 16 Apr 2018 20:00:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122293 invoked by uid 48); 16 Apr 2018 20:00:02 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvNzkwMDldIE1pc3NpbmcgJ2luY29uc2lzdGVudCBkZWR1Y3Rp?= =?UTF-8?B?b24gZm9yIOKAmGF1dG/igJknIGVycm9yIHdoZW4gaGF2aW5nIGEgZGVwZW5k?= =?UTF-8?B?ZW50IGluaXRpYWxpemVyIGFuZCBhIG5vbmRlcGVuZGVudCBvbmUgaW4gdGhl?= =?UTF-8?B?IHNhbWUgZGVjbGFyYXRpb24=?Date: Mon, 16 Apr 2018 20:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: <bug-79009-4-462RhggLw3@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-79009-4@http.gcc.gnu.org/bugzilla/> References: <bug-79009-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01860.txt.bz2 Content-length: 1727 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79009 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-16 Ever confirmed|0 |1 --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- Confirmed. Clang rejects the original with: auto.cc:5:3: error: 'auto' deduced as 'long' in declaration of 'i' and deduced as 'int' in declaration of 'j' auto i = t, j = 1; ^ ~ ~ auto.cc:25:3: note: in instantiation of function template specialization 'foo<long>' requested here foo (0L); ^ auto.cc:12:3: error: 'auto' deduced as 'int' in declaration of 'i' and deduced as 'long' in declaration of 'j' auto i = 1, j = t, k = 2; ^ ~ ~ auto.cc:26:3: note: in instantiation of function template specialization 'bar<long>' requested here bar (0L); ^ auto.cc:19:3: error: 'auto' deduced as 'int' in declaration of 'i' and deduced as 'long' in declaration of 'j' auto i = t, j = u; ^ ~ ~ auto.cc:27:3: note: in instantiation of function template specialization 'foo<int, long>' requested here foo (1, 2L); ^ 3 errors generated. And similarly for comment 2: auto.cc:7:9: error: 'auto' deduced as 'S<int>' in declaration of 's' and deduced as 'int' in declaration of 'i' auto s = S<T>(), i = 1; ^ ~~~~~~ ~ auto.cc:11:9: note: in instantiation of function template specialization 'f<int>' requested here f<int>(); ^ 1 error generated. >From gcc-bugs-return-601737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 20:02:46 2018 Return-Path: <gcc-bugs-return-601737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125298 invoked by alias); 16 Apr 2018 20:02:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125147 invoked by uid 48); 16 Apr 2018 20:02:41 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/59960] accepts ill-formed 'auto a1 = t1, a2 = t2;' where t1 and t2 have different template types Date: Mon, 16 Apr 2018 20:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-59960-4-kiTqWtYA6b@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-59960-4@http.gcc.gnu.org/bugzilla/> References: <bug-59960-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01861.txt.bz2 Content-length: 619 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59960 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- As noted in comment 1 this is a dup of another bug with additional details, so I'm closing this one despite it being reported first. *** This bug has been marked as a duplicate of bug 79009 *** >From gcc-bugs-return-601738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 20:02:47 2018 Return-Path: <gcc-bugs-return-601738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125508 invoked by alias); 16 Apr 2018 20:02:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125220 invoked by uid 48); 16 Apr 2018 20:02:43 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvNzkwMDldIE1pc3NpbmcgJ2luY29uc2lzdGVudCBkZWR1Y3Rp?= =?UTF-8?B?b24gZm9yIOKAmGF1dG/igJknIGVycm9yIHdoZW4gaGF2aW5nIGEgZGVwZW5k?= =?UTF-8?B?ZW50IGluaXRpYWxpemVyIGFuZCBhIG5vbmRlcGVuZGVudCBvbmUgaW4gdGhl?= =?UTF-8?B?IHNhbWUgZGVjbGFyYXRpb24=?Date: Mon, 16 Apr 2018 20:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: 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: <bug-79009-4-hlMjIgKH3c@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-79009-4@http.gcc.gnu.org/bugzilla/> References: <bug-79009-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01862.txt.bz2 Content-length: 440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79009 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gcc at abeckmann dot de --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- *** Bug 59960 has been marked as a duplicate of this bug. *** >From gcc-bugs-return-601739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 20:05:48 2018 Return-Path: <gcc-bugs-return-601739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2805 invoked by alias); 16 Apr 2018 20:05:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2784 invoked by uid 48); 16 Apr 2018 20:05:44 -0000 From: "gerhard.heinzel at aei dot mpg.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85425] gcc 6.2.1 fails to catch error in function calling arguments Date: Mon, 16 Apr 2018 20:05: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.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gerhard.heinzel at aei dot mpg.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85425-4-SLkYktKIB1@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85425-4@http.gcc.gnu.org/bugzilla/> References: <bug-85425-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01863.txt.bz2 Content-length: 1468 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85425 --- Comment #2 from Gerhard Heinzel <gerhard.heinzel at aei dot mpg.de> --- (In reply to Jonathan Wakely from comment #1) Many thanks for your quick response. I normally don't use -Wconversion because it floods me with uninteresting errors about size_t, floor(), and code from bison/flex etc. But I'll try to use it more now. Cheers, Gerhard > The example can be reduced to: > > void ghhrobust_search (double ay, int type) { } > > void f(int i, double d) { ghhrobust_search(i, d); } > > This must not produce an error, because it is 100% valid according to the C > standard. An int can be converted to a double and a double can be converted > to an int, so the code is valid. > > If you use -Wconversion you get a warning: > > > a.c: In function âvoid f(int, double)â: > a.c:3:48: warning: conversion to âintâ from âdoubleâ may alter its value > [-Wfloat-conversion] > void f(int i, double d) { ghhrobust_search(i, d); } > ^ > > This seems to be what you're looking for. Indeed, compiling your attached > code with -Wconversion gives a warning on the relevant line: > > fail_contour.c: In function âcontour_traceâ: > fail_contour.c:203:56: warning: conversion to âintâ from âdoubleâ may alter > its value [-Wfloat-conversion] >From gcc-bugs-return-601740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 20:20:58 2018 Return-Path: <gcc-bugs-return-601740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82460 invoked by alias); 16 Apr 2018 20:20:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79276 invoked by uid 48); 16 Apr 2018 20:20:53 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85425] gcc 6.2.1 fails to catch error in function calling arguments Date: Mon, 16 Apr 2018 20:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.2.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on everconfirmed bug_severity Message-ID: <bug-85425-4-BzWDk7COAY@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85425-4@http.gcc.gnu.org/bugzilla/> References: <bug-85425-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01864.txt.bz2 Content-length: 1446 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85425 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-16 Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Gerhard Heinzel from comment #2) > (In reply to Jonathan Wakely from comment #1) > > Many thanks for your quick response. > I normally don't use -Wconversion because it floods me with > uninteresting errors about size_t, floor(), and code from bison/flex etc. Yes, it's true that it produces a lot of warnings (which is why it isn't enabled by -Wall). It might be possible to add a new warning for cases where the arguments are "obviously" transposed. For example, in my reduced version: void ghhrobust_search (double ay, int type) { } void f(int i, double d) { ghhrobust_search(i, d); } Although both conversions are allowed by the language, the fact that swapping the arguments would require no conversions could be used to detect cases that might be accidental. Confirming as an enhancement request for a new warning. >From gcc-bugs-return-601741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 20:31:37 2018 Return-Path: <gcc-bugs-return-601741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51304 invoked by alias); 16 Apr 2018 20:31:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39437 invoked by uid 55); 16 Apr 2018 20:31:32 -0000 From: "phantall at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85400] R_SPARC_TLS_*: invalid relocations generated for optimized builds on sparc Date: Mon, 16 Apr 2018 20:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: link-failure, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: phantall at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85400-4-TlNWVP5433@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85400-4@http.gcc.gnu.org/bugzilla/> References: <bug-85400-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01865.txt.bz2 Content-length: 2654 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85400 --- Comment #2 from Brian Vandenberg <phantall at gmail dot com> --- Sorry, I was hand-typing from an air-gapped network. I left the type name out; line 5 should read: > thread_local int mything = 3; -brian On Mon, Apr 16, 2018 at 2:52 AM, ebotcazou at gcc dot gnu.org < gcc-bugzilla@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85400 > > Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: > > What |Removed |Added > ------------------------------------------------------------ > ---------------- > Status|UNCONFIRMED |WAITING > Last reconfirmed| |2018-04-16 > CC| |ebotcazou at gcc dot > gnu.org > Ever confirmed|0 |1 > > --- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > > In Solaris 10 & 11 using GCC versions 4.8, 4.9.2, 7.2.0 I get relocation > > errors when thread_local variables are used in a struct/class. Example > code > > that reproduces the problem: > > > > > struct Test { > > > int blah( int y ) { > > > thread_local mything = 3; > > > mything = y > 0 ? y : mything; > > > return mything; > > > } > > > }; > > > int stuff( Test& test, int y ) { > > > return test.blah(y); > > > } > > This doesn't compile for me: > > pr85400.C: In member function 'int Test::blah(int)': > pr85400.C:5:18: error: 'mything' does not name a type > thread_local mything = 3; > ^~~~~~~ > pr85400.C:6:5: error: 'mything' was not declared in this scope > mything = y > 0 ? y : mything; > ^~~~~~~ > > > * The compilers I built and those produced by OpenCSW use the Solaris > > assembler (/usr/ccs/bin/as) instead of gas. > > Do you have local patches? My compiler is the stock GCC 8.x: > > Using built-in specs. > COLLECT_GCC=g++ > COLLECT_LTO_WRAPPER=/nfs/homes/homes/botcazou/gcc-head/ > install_sparc/bin/../libexec/gcc/sparc-sun-solaris2.10/8.0.1/lto-wrapper > Target: sparc-sun-solaris2.10 > Configured with: /homes/botcazou/gcc-head/src/configure > --build=sparc-sun-solaris2.10 --prefix=/homes/botcazou/gcc- > head/install_sparc > --with-as=/homes/botcazou/gcc-head/install_sparc/bin/as > --with-gmp=/homes/botcazou/support/sparc > --with-mpfr=/homes/botcazou/support/sparc > --with-mpc=/homes/botcazou/support/sparc --enable-languages=all > --disable-nls > Thread model: posix > gcc version 8.0.1 20180325 (experimental) (GCC) > > -- > You are receiving this mail because: > You reported the bug. > >From gcc-bugs-return-601742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 21:01:13 2018 Return-Path: <gcc-bugs-return-601742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38992 invoked by alias); 16 Apr 2018 21:01:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36321 invoked by uid 48); 16 Apr 2018 21:01:09 -0000 From: "wilson at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/84856] Bootstrap failure on riscv: comparison of integer expressions of different signedness Date: Mon, 16 Apr 2018 21:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wilson at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: wilson at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84856-4-dhTeWUSl5h@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84856-4@http.gcc.gnu.org/bugzilla/> References: <bug-84856-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01866.txt.bz2 Content-length: 816 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84856 --- Comment #8 from Jim Wilson <wilson at gcc dot gnu.org> --- I copied the design of the patch from the i386 backend, so in theory it should work. The layout of the stack is completely at the control of the target backend, so uses of STACK_BOUNDARY outside the backend should not be a problem. I did some sanity checking when I made the check, but now that you point the problem out I see that I missed two cases. outgoing_args_size and pretend_args_size are not longer rounded to the PREFERRED_STACK_BOUNDARY size, they are rounded to the smaller STACK_BOUNDARY size instead. We can fix this in riscv_compute_frame_info by adding RISCV_STACK_ALIGN macro calls around the uses of these two values. This is a simple fix. I'm testing a patch now. >From gcc-bugs-return-601743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 21:30:46 2018 Return-Path: <gcc-bugs-return-601743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120061 invoked by alias); 16 Apr 2018 21:30:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119703 invoked by uid 48); 16 Apr 2018 21:30:39 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85417] -fcf-protection should provide CET protection on x86 Date: Mon, 16 Apr 2018 21:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85417-4-XCdFwf40Xn@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85417-4@http.gcc.gnu.org/bugzilla/> References: <bug-85417-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01867.txt.bz2 Content-length: 249 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 --- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- Created attachment 43954 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43954&action=edit A patch I am testing this patch. >From gcc-bugs-return-601744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 21:36:12 2018 Return-Path: <gcc-bugs-return-601744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125551 invoked by alias); 16 Apr 2018 21:36:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125439 invoked by uid 55); 16 Apr 2018 21:36:08 -0000 From: "aoliva at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85039] [6/7/8 Regression] internal compiler error: in nested_anon_class_index, at cp/mangle.c:1626 Date: Mon, 16 Apr 2018 21:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85039-4-kMNwfiVSWd@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85039-4@http.gcc.gnu.org/bugzilla/> References: <bug-85039-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01868.txt.bz2 Content-length: 1741 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85039 --- Comment #5 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- Author: aoliva Date: Mon Apr 16 21:35:34 2018 New Revision: 259423 URL: https://gcc.gnu.org/viewcvs?rev=259423&root=gcc&view=rev Log: [PR c++/85039] no type definitions in builtin offsetof Types defined within a __builtin_offsetof argument don't always get properly recorded as members of their context types, so if they're anonymous, we may fail to assign them an anon type index for mangling and ICE. We shouldn't allow types to be introduced in __builtin_offsetof, I think, and Jason says the std committee agrees, so I've arranged for us to reject them. Even then, we still parse the definitions and attempt to assign mangled names to its member functions, so the ICE remains. Since we've already reported an error, we might as well complete the name assignment with an arbitrary index, thus avoiding the ICE. We used to have a test that expected to be able to define types in __builtin_offsetof; this patch removes that specific test. for gcc/cp/ChangeLog PR c++/85039 * parser.c (cp_parser_builtin_offset): Reject type definitions. * mangle.c (nested_anon_class_index): Avoid crash returning -1 if we've seen errors. for gcc/testsuite/ChangeLog PR c++/85039 * g++.dg/pr85039-1.C: New. * g++.dg/pr85039-2.C: New. * g++.dg/parse/semicolon3.C: Remove test_offsetof. Added: trunk/gcc/testsuite/g++.dg/pr85039-1.C trunk/gcc/testsuite/g++.dg/pr85039-2.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/mangle.c trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/parse/semicolon3.C >From gcc-bugs-return-601745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 21:49:08 2018 Return-Path: <gcc-bugs-return-601745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27967 invoked by alias); 16 Apr 2018 21:49:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27918 invoked by uid 48); 16 Apr 2018 21:49:03 -0000 From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85421] [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405 Date: Mon, 16 Apr 2018 21:49: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc component assigned_to Message-ID: <bug-85421-4-JdUE7Ur3LW@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85421-4@http.gcc.gnu.org/bugzilla/> References: <bug-85421-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01869.txt.bz2 Content-length: 1526 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85421 Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |marxin at gcc dot gnu.org Component|c++ |ipa Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> --- Mine. Fixed by the following: diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c index b2627ffd05f..4e0e20af409 100644 --- a/gcc/ipa-cp.c +++ b/gcc/ipa-cp.c @@ -3863,6 +3863,7 @@ create_specialized_node (struct cgraph_node *node, new_node = node->create_virtual_clone (callers, replace_trees, args_to_skip, "constprop"); + bool have_self_recursive_calls = !self_recursive_calls.is_empty (); for (unsigned j = 0; j < self_recursive_calls.length (); j++) { cgraph_edge *cs = next_edge_clone[self_recursive_calls[j]->uid]; @@ -3870,6 +3871,8 @@ create_specialized_node (struct cgraph_node *node, gcc_assert (cs->caller == new_node); cs->redirect_callee_duplicating_thunks (new_node); } + if (have_self_recursive_calls) + new_node->expand_all_artificial_thunks (); ipa_set_node_agg_value_chain (new_node, aggvals); for (av = aggvals; av; av = av->next) >From gcc-bugs-return-601746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 22:20:09 2018 Return-Path: <gcc-bugs-return-601746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74382 invoked by alias); 16 Apr 2018 22:20:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74307 invoked by uid 48); 16 Apr 2018 22:20:04 -0000 From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85400] R_SPARC_TLS_*: invalid relocations generated for optimized builds on sparc Date: Mon, 16 Apr 2018 22:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: link-failure, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: <bug-85400-4-aNWanKPTPK@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85400-4@http.gcc.gnu.org/bugzilla/> References: <bug-85400-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01870.txt.bz2 Content-length: 427 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85400 Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Thanks, I can reproduce now, including with the GNU assembler. >From gcc-bugs-return-601747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 22:20:44 2018 Return-Path: <gcc-bugs-return-601747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75401 invoked by alias); 16 Apr 2018 22:20:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75344 invoked by uid 48); 16 Apr 2018 22:20:40 -0000 From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85400] R_SPARC_TLS_*: invalid relocations generated for optimized builds on sparc Date: Mon, 16 Apr 2018 22:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: link-failure, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: <bug-85400-4-8CDDBSMPCY@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85400-4@http.gcc.gnu.org/bugzilla/> References: <bug-85400-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01871.txt.bz2 Content-length: 471 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85400 Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org --- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Investigating. >From gcc-bugs-return-601748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 22:21:04 2018 Return-Path: <gcc-bugs-return-601748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76202 invoked by alias); 16 Apr 2018 22:21:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76116 invoked by uid 48); 16 Apr 2018 22:21:00 -0000 From: "aoliva at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85039] [6/7 Regression] internal compiler error: in nested_anon_class_index, at cp/mangle.c:1626 Date: Mon, 16 Apr 2018 22:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-invalid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to short_desc Message-ID: <bug-85039-4-EsA7GBgIL8@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85039-4@http.gcc.gnu.org/bugzilla/> References: <bug-85039-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01872.txt.bz2 Content-length: 748 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85039 Alexandre Oliva <aoliva at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW Assignee|aoliva at gcc dot gnu.org |unassigned at gcc dot gnu.org Summary|[6/7/8 Regression] internal |[6/7 Regression] internal |compiler error: in |compiler error: in |nested_anon_class_index, at |nested_anon_class_index, at |cp/mangle.c:1626 |cp/mangle.c:1626 --- Comment #6 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- Fixed for 8 >From gcc-bugs-return-601749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 16 22:36:18 2018 Return-Path: <gcc-bugs-return-601749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38519 invoked by alias); 16 Apr 2018 22:36:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38431 invoked by uid 48); 16 Apr 2018 22:36:10 -0000 From: "aoliva at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/80290] [6/7/8 Regression] g++ uses unreasonable amount of memory compiling nested string maps Date: Mon, 16 Apr 2018 22:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0.1 X-Bugzilla-Keywords: memory-hog, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status Message-ID: <bug-80290-4-ZlZ8jpPExC@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-80290-4@http.gcc.gnu.org/bugzilla/> References: <bug-80290-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01873.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80290 Alexandre Oliva <aoliva at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Status|NEW |ASSIGNED --- Comment #20 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- Patch posted https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00709.html >From gcc-bugs-return-601750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 02:01:11 2018 Return-Path: <gcc-bugs-return-601750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68960 invoked by alias); 17 Apr 2018 02:01:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67742 invoked by uid 48); 17 Apr 2018 02:01:06 -0000 From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85426] New: ICE in patch_jump_insn, at cfgrtl.c:1271 Date: Tue, 17 Apr 2018 02:01: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: <bug-85426-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01874.txt.bz2 Content-length: 3612 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85426 Bug ID: 85426 Summary: ICE in patch_jump_insn, at cfgrtl.c:1271 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: powerpc-*-linux-gnu*, powerpcspe-*-linux-gnu* gcc-8.0.0-alpha20180415 snapshot (r259389) ICEs when compiling the following snippet w/ -mcpu=8548 -O1 (-O2, -O3, -Ofast) -fmodulo-sched -fprefetch-loop-arrays -freorder-blocks-and-partition -ftree-parallelize-loops=2 -fno-ivopts: long long unsigned int c8 (int *zf, int v2) { int ns; long long unsigned int sv = 0; for (ns = 0; ns < v2; ++ns) sv += zf[ns] / ns; return sv; } % powerpc-e300c3-linux-gnu-gcc-8.0.0-alpha20180415 -mcpu=8548 -O1 -fmodulo-sched -fprefetch-loop-arrays -freorder-blocks-and-partition -ftree-parallelize-loops=2 -fno-ivopts -c t3kxgcui.c during RTL pass: sms t3kxgcui.c: In function 'c8._loopfn.0': t3kxgcui.c:7:3: internal compiler error: in patch_jump_insn, at cfgrtl.c:1271 for (ns = 0; ns < v2; ++ns) ^ 0x74d7a2 patch_jump_insn /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/cfgrtl.c:1271 0x74dd52 redirect_branch_edge /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/cfgrtl.c:1297 0x74e02a cfg_layout_redirect_edge_and_branch /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/cfgrtl.c:4437 0x74e1d7 cfg_layout_redirect_edge_and_branch_force /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/cfgrtl.c:4451 0x7319f8 redirect_edge_and_branch_force(edge_def*, basic_block_def*) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/cfghooks.c:486 0x7327ed make_forwarder_block(basic_block_def*, bool (*)(edge_def*), void (*)(basic_block_def*)) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/cfghooks.c:893 0x73bbff merge_latch_edges /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/cfgloop.c:780 0x73bbff disambiguate_multiple_latches /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/cfgloop.c:831 0x73bbff disambiguate_loops_with_multiple_latches() /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/cfgloop.c:844 0xa73474 apply_loop_flags /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/loop-init.c:54 0xa74105 loop_optimizer_init(unsigned int) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/loop-init.c:123 0x14c78d5 sms_schedule /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/modulo-sched.c:1354 0x14ca3a2 execute /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/modulo-sched.c:3345 >From gcc-bugs-return-601751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 02:11:02 2018 Return-Path: <gcc-bugs-return-601751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129262 invoked by alias); 17 Apr 2018 02:11:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129179 invoked by uid 48); 17 Apr 2018 02:10:57 -0000 From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84842] [7/8 Regression] ICE in verify_target_availability, at sel-sched.c:1569 Date: Tue, 17 Apr 2018 02:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-84842-4-KW8ID3sl6H@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84842-4@http.gcc.gnu.org/bugzilla/> References: <bug-84842-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01875.txt.bz2 Content-length: 236 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84842 --- Comment #10 from Arseny Solokha <asolokha at gmx dot com> --- Created attachment 43955 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43955&action=edit gcc/auto-host.h >From gcc-bugs-return-601752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 02:17:25 2018 Return-Path: <gcc-bugs-return-601752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68921 invoked by alias); 17 Apr 2018 02:17:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66429 invoked by uid 48); 17 Apr 2018 02:17:20 -0000 From: "npickito at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/84856] Bootstrap failure on riscv: comparison of integer expressions of different signedness Date: Tue, 17 Apr 2018 02:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: npickito at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: wilson at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84856-4-ilSdEGU4E4@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84856-4@http.gcc.gnu.org/bugzilla/> References: <bug-84856-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01876.txt.bz2 Content-length: 225 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84856 --- Comment #9 from Kito Cheng <npickito at gmail dot com> --- Hi Jim: Yeah, you are right, so I guess just some missing in back-end now, thanks your quick response :) >From gcc-bugs-return-601753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 03:16:12 2018 Return-Path: <gcc-bugs-return-601753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110618 invoked by alias); 17 Apr 2018 03:16:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110555 invoked by uid 48); 17 Apr 2018 03:16:07 -0000 From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/85413] "./configure --with-build-config=bootstrap-lto " != "BOOT_CFLAGS +=-flto " Date: Tue, 17 Apr 2018 03:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85413-4-Z7XpqRaSP6@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85413-4@http.gcc.gnu.org/bugzilla/> References: <bug-85413-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01877.txt.bz2 Content-length: 295 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85413 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The difference between -flto and -flto=jobserver is minor (just speed of linking). I don't think this minor difference would cause the need to update the documentation. >From gcc-bugs-return-601754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 05:17:14 2018 Return-Path: <gcc-bugs-return-601754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77668 invoked by alias); 17 Apr 2018 05:17:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77620 invoked by uid 48); 17 Apr 2018 05:17:09 -0000 From: "shlei930 at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85427] New: internal compiler error: in constant_lower_bound, at poly-int.h:1527 Date: Tue, 17 Apr 2018 05:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: shlei930 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85427-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01878.txt.bz2 Content-length: 2111 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85427 Bug ID: 85427 Summary: internal compiler error: in constant_lower_bound, at poly-int.h:1527 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: shlei930 at gmail dot com Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk Target: x86_64-pc-linux-gnu Configured with: ../gcc/configure --prefix=/home/suhua/compilers/trunk/root-gcc --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix gcc version 8.0.1 20180416 (experimental) [trunk revision 259396] (GCC) $ gcc-trunk abc.c during RTL pass: expand abc.c: In function âfn1â: abc.c:3:13: internal compiler error: in constant_lower_bound, at poly-int.h:1527 int fn1() { fn1(a, b, c, d, e, f, g, h, i, j, k); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0x5ff4f0 long constant_lower_bound<1u, long>(poly_int_pod<1u, long> const&) ../../gcc/gcc/poly-int.h:1527 0x5ff4f0 expand_call(tree_node*, rtx_def*, int) ../../gcc/gcc/calls.c:3763 0x9b26ab expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../gcc/gcc/expr.c:11007 0x8ad45e expand_expr ../../gcc/gcc/expr.h:280 0x8ad45e expand_call_stmt ../../gcc/gcc/cfgexpand.c:2690 0x8ad45e expand_gimple_stmt_1 ../../gcc/gcc/cfgexpand.c:3624 0x8ad45e expand_gimple_stmt ../../gcc/gcc/cfgexpand.c:3790 0x8ae4df expand_gimple_basic_block ../../gcc/gcc/cfgexpand.c:5819 0x8b30b7 execute ../../gcc/gcc/cfgexpand.c:6425 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. $ cat abc.c typedef struct { char type[900000000000000000]; } t; t a, b, c, d, e, f, g, h, i, j, k; int fn1() { fn1(a, b, c, d, e, f, g, h, i, j, k); } >From gcc-bugs-return-601755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 05:41:18 2018 Return-Path: <gcc-bugs-return-601755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12046 invoked by alias); 17 Apr 2018 05:41:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11961 invoked by uid 55); 17 Apr 2018 05:41:12 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85329] [8 Regression] ICE in add_to_same_comdat_group, at symtab.c:460 Date: Tue, 17 Apr 2018 05:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 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: ASSIGNED 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: Message-ID: <bug-85329-4-Ym77cwpi1Z@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85329-4@http.gcc.gnu.org/bugzilla/> References: <bug-85329-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01879.txt.bz2 Content-length: 1228 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85329 --- Comment #7 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Author: marxin Date: Tue Apr 17 05:40:39 2018 New Revision: 259428 URL: https://gcc.gnu.org/viewcvs?rev=259428&root=gcc&view=rev Log: Make redirection only for target_clones: V3 (PR ipa/85329). 2018-04-17 Martin Liska <mliska@suse.cz> PR ipa/85329 * multiple_target.c (create_dispatcher_calls): Set apostrophes for target_clone error message. Make default implementation clone to be a local declaration. (separate_attrs): Add new argument and check for an empty string. (expand_target_clones): Handle it. (ipa_target_clone): Make redirection just for target_clones functions. 2018-04-17 Martin Liska <mliska@suse.cz> PR ipa/85329 * g++.dg/ext/pr85329-2.C: New test. * g++.dg/ext/pr85329.C: New test. * gcc.target/i386/mvc12.c: New test. Added: trunk/gcc/testsuite/g++.dg/ext/pr85329-2.C trunk/gcc/testsuite/g++.dg/ext/pr85329.C trunk/gcc/testsuite/gcc.target/i386/mvc12.c Modified: trunk/gcc/ChangeLog trunk/gcc/multiple_target.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-601756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 05:42:13 2018 Return-Path: <gcc-bugs-return-601756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13382 invoked by alias); 17 Apr 2018 05:42:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13280 invoked by uid 48); 17 Apr 2018 05:42:06 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85329] [8 Regression] ICE in add_to_same_comdat_group, at symtab.c:460 Date: Tue, 17 Apr 2018 05:42: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: 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: RESOLVED X-Bugzilla-Resolution: FIXED 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: bug_status resolution Message-ID: <bug-85329-4-eAsbpXT77K@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85329-4@http.gcc.gnu.org/bugzilla/> References: <bug-85329-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01880.txt.bz2 Content-length: 442 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85329 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Fixed on trunk. >From gcc-bugs-return-601757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 05:42:17 2018 Return-Path: <gcc-bugs-return-601757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14009 invoked by alias); 17 Apr 2018 05:42:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13386 invoked by uid 55); 17 Apr 2018 05:42:12 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85405] [6/7 Regression] ICE in odr_types_equivalent_p, at ipa-devirt.c:1581 Date: Tue, 17 Apr 2018 05:42: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: 6.4.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85405-4-Zlbin8QNny@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85405-4@http.gcc.gnu.org/bugzilla/> References: <bug-85405-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01881.txt.bz2 Content-length: 796 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85405 --- Comment #2 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Author: marxin Date: Tue Apr 17 05:41:40 2018 New Revision: 259429 URL: https://gcc.gnu.org/viewcvs?rev=259429&root=gcc&view=rev Log: Support bitfields in Wodr machinery (PR lto/85405). 2018-04-17 Jan Hubicka <jh@suse.cz> PR lto/85405 * ipa-devirt.c (odr_types_equivalent_p): Handle bit fields. 2018-04-17 Martin Liska <mliska@suse.cz> PR lto/85405 * g++.dg/lto/pr85405_0.C: New test. * g++.dg/lto/pr85405_1.C: New test. Added: trunk/gcc/testsuite/g++.dg/lto/pr85405_0.C trunk/gcc/testsuite/g++.dg/lto/pr85405_1.C Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-devirt.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-601758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 05:42:50 2018 Return-Path: <gcc-bugs-return-601758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15964 invoked by alias); 17 Apr 2018 05:42:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15899 invoked by uid 48); 17 Apr 2018 05:42:46 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85405] [6/7 Regression] ICE in odr_types_equivalent_p, at ipa-devirt.c:1581 Date: Tue, 17 Apr 2018 05:42: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: 6.4.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work cf_known_to_fail Message-ID: <bug-85405-4-hwbkM8LnZP@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85405-4@http.gcc.gnu.org/bugzilla/> References: <bug-85405-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01882.txt.bz2 Content-length: 434 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85405 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |8.0.1 Known to fail|8.0.1 | --- Comment #3 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Fixed on trunk. >From gcc-bugs-return-601759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 06:09:40 2018 Return-Path: <gcc-bugs-return-601759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47723 invoked by alias); 17 Apr 2018 06:09:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46411 invoked by uid 48); 17 Apr 2018 06:09:35 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85427] ICE in constant_lower_bound, at poly-int.h:1527 Date: Tue, 17 Apr 2018 06:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc short_desc everconfirmed cf_known_to_fail Message-ID: <bug-85427-4-Jds0JMUDvH@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85427-4@http.gcc.gnu.org/bugzilla/> References: <bug-85427-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01883.txt.bz2 Content-length: 968 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85427 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-17 CC| |marxin at gcc dot gnu.org Summary|internal compiler error: in |ICE in |constant_lower_bound, at |constant_lower_bound, at |poly-int.h:1527 |poly-int.h:1527 Ever confirmed|0 |1 Known to fail| |6.4.0, 7.3.0, 8.0 --- Comment #1 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Confirmed, all releases I have ICE. On GCC 5,6,7 there is a compile hog fixed on trunk in r258704. If I backport the patch to GCC-7 I see the same ICE. >From gcc-bugs-return-601760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 06:21:23 2018 Return-Path: <gcc-bugs-return-601760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36746 invoked by alias); 17 Apr 2018 06:21:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36284 invoked by uid 48); 17 Apr 2018 06:21:18 -0000 From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85426] ICE in patch_jump_insn, at cfgrtl.c:1271 Date: Tue, 17 Apr 2018 06:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85426-4-KmhqMs2iHJ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85426-4@http.gcc.gnu.org/bugzilla/> References: <bug-85426-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01884.txt.bz2 Content-length: 180 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85426 --- Comment #1 from Arseny Solokha <asolokha at gmx dot com> --- Martin, is this PR actually related to selective scheduling? >From gcc-bugs-return-601761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 06:22:05 2018 Return-Path: <gcc-bugs-return-601761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51024 invoked by alias); 17 Apr 2018 06:22:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50989 invoked by uid 48); 17 Apr 2018 06:22:01 -0000 From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85417] -fcf-protection should provide CET protection on x86 Date: Tue, 17 Apr 2018 06:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85417-4-UsGF93Bith@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85417-4@http.gcc.gnu.org/bugzilla/> References: <bug-85417-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01885.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 --- Comment #4 from UroÅ¡ Bizjak <ubizjak at gmail dot com> --- (In reply to H.J. Lu from comment #2) > I am working to enable CET on Linux with a single binary. -fcf-protection > should provide CET protection on x86 by default. We can add a command-line > option if we want a different implementation. This should remain an opt-in feature, not opt-out. We can have --with-fcf-protection configure option to override the default. >From gcc-bugs-return-601762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 06:27:12 2018 Return-Path: <gcc-bugs-return-601762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19752 invoked by alias); 17 Apr 2018 06:27:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19682 invoked by uid 48); 17 Apr 2018 06:27:07 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85415] internal compiler error: in finish_member_declaration, at cp/semantics.c:2984 Date: Tue, 17 Apr 2018 06:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.1 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed cf_known_to_fail Message-ID: <bug-85415-4-rRaaVasrST@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85415-4@http.gcc.gnu.org/bugzilla/> References: <bug-85415-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01886.txt.bz2 Content-length: 745 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85415 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-17 CC| |marxin at gcc dot gnu.org, | |nathan at gcc dot gnu.org Ever confirmed|0 |1 Known to fail| |7.3.0, 8.0.1 --- Comment #1 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- ICE started with r243723. Before that it was rejected. >From gcc-bugs-return-601763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 06:29:17 2018 Return-Path: <gcc-bugs-return-601763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76182 invoked by alias); 17 Apr 2018 06:29:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76063 invoked by uid 48); 17 Apr 2018 06:29:13 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85426] ICE in patch_jump_insn, at cfgrtl.c:1271 Date: Tue, 17 Apr 2018 06:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-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: blocked Message-ID: <bug-85426-4-PZSYMJpJDV@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85426-4@http.gcc.gnu.org/bugzilla/> References: <bug-85426-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01887.txt.bz2 Content-length: 545 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85426 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|85099 | --- Comment #2 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Ups, I overlooked, it's modulo scheduler used in options. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85099 [Bug 85099] [meta-bug] selective scheduling issues >From gcc-bugs-return-601765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 06:30:55 2018 Return-Path: <gcc-bugs-return-601765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11372 invoked by alias); 17 Apr 2018 06:30:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128903 invoked by uid 48); 17 Apr 2018 06:30:40 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85416] Massive performance regression when switching on "-march=native" Date: Tue, 17 Apr 2018 06:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: <bug-85416-4-8ZEy2IAcBv@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85416-4@http.gcc.gnu.org/bugzilla/> References: <bug-85416-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01889.txt.bz2 Content-length: 170 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85416 --- Comment #3 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- And please output of adding --verbose option. >From gcc-bugs-return-601764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 06:30:25 2018 Return-Path: <gcc-bugs-return-601764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114680 invoked by alias); 17 Apr 2018 06:30:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90852 invoked by uid 48); 17 Apr 2018 06:30:03 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85416] Massive performance regression when switching on "-march=native" Date: Tue, 17 Apr 2018 06:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: <bug-85416-4-r9D0vz5zHf@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85416-4@http.gcc.gnu.org/bugzilla/> References: <bug-85416-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01888.txt.bz2 Content-length: 672 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85416 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-04-17 CC| |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Can't reproduce on Haswell i7 CPU. Can you Martin please attach assembly (-S) for both native and not native build? >From gcc-bugs-return-601766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 07:08:44 2018 Return-Path: <gcc-bugs-return-601766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68698 invoked by alias); 17 Apr 2018 07:08:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68658 invoked by uid 55); 17 Apr 2018 07:08:39 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85281] [8 Regression] Assembler messages: Error: operand size mismatch for `vpbroadcastb' with -mavx512bw -masm=intel Date: Tue, 17 Apr 2018 07:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: assemble-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85281-4-0RqMgrdLm6@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85281-4@http.gcc.gnu.org/bugzilla/> References: <bug-85281-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01890.txt.bz2 Content-length: 2954 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85281 --- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Apr 17 07:08:06 2018 New Revision: 259430 URL: https://gcc.gnu.org/viewcvs?rev=259430&root=gcc&view=rev Log: PR target/85281 * config/i386/sse.md (reduces<mode><mask_scalar_name>, avx512f_vmcmp<mode>3<round_saeonly_name>, avx512f_vmcmp<mode>3_mask<round_saeonly_name>, avx512f_sgetexp<mode><mask_scalar_name><round_saeonly_scalar_name>, avx512f_rndscale<mode><round_saeonly_name>, avx512dq_ranges<mode><mask_scalar_name><round_saeonly_scalar_name>, avx512f_vgetmant<mode><mask_scalar_name><round_saeonly_scalar_name>): Use %<iptr>2 instead of %2 for -masm=intel. (avx512f_vcvtss2usi<round_name>, avx512f_vcvtss2usiq<round_name>, avx512f_vcvttss2usi<round_saeonly_name>, avx512f_vcvttss2usiq<round_saeonly_name>): Use %k1 instead of %1 for -masm=intel. (avx512f_vcvtsd2usi<round_name>, avx512f_vcvtsd2usiq<round_name>, avx512f_vcvttsd2usi<round_saeonly_name>, avx512f_vcvttsd2usiq<round_saeonly_name>, ufloatv2siv2df2<mask_name>): Use %q1 instead of %1 for -masm=intel. (avx512f_sfixupimm<mode><sd_maskz_name><round_saeonly_name>, avx512f_sfixupimm<mode>_mask<round_saeonly_name>): Use %<iptr>3 instead of %3 for -masm=intel. (sse2_shufpd_v2df_mask): Fix a typo, change %{6%} to %{%6%} for -masm=intel. (*avx512vl_<code>v2div2qi2_store): Use %w0 instead of %0 for -masm=intel. (*avx512vl_<code><mode>v4qi2_store): Use %k0 instead of %0 for -masm=intel. (avx512vl_<code><mode>v4qi2_mask_store): Use a single pattern with %k0 and %1 for -masm=intel rather than two patterns, one with %0 and %g1. (*avx512vl_<code><mode>v8qi2_store): Use %q0 instead of %0 for -masm=intel. (avx512vl_<code><mode>v8qi2_mask_store): Use a single pattern with %q0 and %1 for -masm=intel rather than two patterns, one with %0 and %g1 and one with %0 and %1. (avx512er_vmrcp28<mode><round_saeonly_name>, avx512er_vmrsqrt28<mode><round_saeonly_name>): Use %<iptr>1 instead of %1 for -masm=intel. (avx5124fmaddps_4fmaddps_mask, avx5124fmaddps_4fmaddss_mask, avx5124fmaddps_4fnmaddps_mask, avx5124fmaddps_4fnmaddss_mask, avx5124vnniw_vp4dpwssd_mask, avx5124vnniw_vp4dpwssds_mask): Swap order of %0 and %{%4%} for -masm=intel. (avx5124fmaddps_4fmaddps_maskz, avx5124fmaddps_4fmaddss_maskz, avx5124fmaddps_4fnmaddps_maskz, avx5124fmaddps_4fnmaddss_maskz, avx5124vnniw_vp4dpwssd_maskz, avx5124vnniw_vp4dpwssds_maskz): Swap order of %0 and %{%5%}%{z%} for -masm=intel. Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/sse.md >From gcc-bugs-return-601767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 07:12:21 2018 Return-Path: <gcc-bugs-return-601767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52585 invoked by alias); 17 Apr 2018 07:12:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47112 invoked by uid 48); 17 Apr 2018 07:12:16 -0000 From: "martin@mpa-garching.mpg.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85416] Massive performance regression when switching on "-march=native" Date: Tue, 17 Apr 2018 07:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: martin@mpa-garching.mpg.de X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85416-4-vyrgIO6hzA@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85416-4@http.gcc.gnu.org/bugzilla/> References: <bug-85416-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01891.txt.bz2 Content-length: 241 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85416 --- Comment #4 from Martin Reinecke <martin@mpa-garching.mpg.de> --- Created attachment 43956 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43956&action=edit reduced test case >From gcc-bugs-return-601769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 07:13:50 2018 Return-Path: <gcc-bugs-return-601769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59679 invoked by alias); 17 Apr 2018 07:13:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59622 invoked by uid 48); 17 Apr 2018 07:13:46 -0000 From: "martin@mpa-garching.mpg.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85416] Massive performance regression when switching on "-march=native" Date: Tue, 17 Apr 2018 07:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: martin@mpa-garching.mpg.de X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85416-4-rBMMyiC386@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85416-4@http.gcc.gnu.org/bugzilla/> References: <bug-85416-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01893.txt.bz2 Content-length: 261 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85416 --- Comment #6 from Martin Reinecke <martin@mpa-garching.mpg.de> --- Created attachment 43958 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43958&action=edit assembler output with -march=native >From gcc-bugs-return-601768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 07:13:08 2018 Return-Path: <gcc-bugs-return-601768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58590 invoked by alias); 17 Apr 2018 07:13:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58543 invoked by uid 48); 17 Apr 2018 07:13:03 -0000 From: "martin@mpa-garching.mpg.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85416] Massive performance regression when switching on "-march=native" Date: Tue, 17 Apr 2018 07:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: martin@mpa-garching.mpg.de X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85416-4-zkhtMOTaPI@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85416-4@http.gcc.gnu.org/bugzilla/> References: <bug-85416-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01892.txt.bz2 Content-length: 264 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85416 --- Comment #5 from Martin Reinecke <martin@mpa-garching.mpg.de> --- Created attachment 43957 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43957&action=edit assembler output without -march=native >From gcc-bugs-return-601770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 07:16:15 2018 Return-Path: <gcc-bugs-return-601770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62244 invoked by alias); 17 Apr 2018 07:16:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62116 invoked by uid 48); 17 Apr 2018 07:16:06 -0000 From: "martin@mpa-garching.mpg.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85416] Massive performance regression when switching on "-march=native" Date: Tue, 17 Apr 2018 07:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: martin@mpa-garching.mpg.de X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85416-4-Aj4hHmQniz@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85416-4@http.gcc.gnu.org/bugzilla/> References: <bug-85416-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01894.txt.bz2 Content-length: 3040 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85416 --- Comment #7 from Martin Reinecke <martin@mpa-garching.mpg.de> --- Here is the output of --verbose: martin@martin-Latitude-E7450 ~/tmp $ gcc -O3 testcase2.c --verbose -lm -S Using built-in specs. COLLECT_GCC=gcc Target: x86_64-pc-linux-gnu Configured with: /home/martin/codes/gccgit/configure --disable-bootstrap --disable-multilib --prefix=/home/martin/codes/utrunk --enable-languages=c++,fortran --enable-target=all --enable-checking=release Thread model: posix gcc version 8.0.1 20180411 (experimental) [trunk revision b3ed066d3a5:895af22275d:7d24c3846c904b6e1ffea0bee0c58a9f7bcc23cb] (GCC) COLLECT_GCC_OPTIONS='-O3' '-v' '-S' '-mtune=generic' '-march=x86-64' /home/martin/codes/utrunk/libexec/gcc/x86_64-pc-linux-gnu/8.0.1/cc1 -quiet -v -imultiarch x86_64-linux-gnu testcase2.c -quiet -dumpbase testcase2.c -mtune=generic -march=x86-64 -auxbase testcase2 -O3 -version -o testcase2.s GNU C17 (GCC) version 8.0.1 20180411 (experimental) [trunk revision b3ed066d3a5:895af22275d:7d24c3846c904b6e1ffea0bee0c58a9f7bcc23cb] (x86_64-pc-linux-gnu) compiled by GNU C version 5.4.0 20160609, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" ignoring nonexistent directory "/home/martin/codes/utrunk/lib/gcc/x86_64-pc-linux-gnu/8.0.1/../../../../x86_64-pc-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /home/martin/codes/utrunk/lib/gcc/x86_64-pc-linux-gnu/8.0.1/include /usr/local/include /home/martin/codes/utrunk/include /home/martin/codes/utrunk/lib/gcc/x86_64-pc-linux-gnu/8.0.1/include-fixed /usr/include/x86_64-linux-gnu /usr/include End of search list. GNU C17 (GCC) version 8.0.1 20180411 (experimental) [trunk revision b3ed066d3a5:895af22275d:7d24c3846c904b6e1ffea0bee0c58a9f7bcc23cb] (x86_64-pc-linux-gnu) compiled by GNU C version 5.4.0 20160609, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 08c992208389b44fd477c64ce2b4d084 COMPILER_PATH=/home/martin/codes/utrunk/libexec/gcc/x86_64-pc-linux-gnu/8.0.1/:/home/martin/codes/utrunk/libexec/gcc/x86_64-pc-linux-gnu/8.0.1/:/home/martin/codes/utrunk/libexec/gcc/x86_64-pc-linux-gnu/:/home/martin/codes/utrunk/lib/gcc/x86_64-pc-linux-gnu/8.0.1/:/home/martin/codes/utrunk/lib/gcc/x86_64-pc-linux-gnu/ LIBRARY_PATH=/home/martin/codes/utrunk/lib/gcc/x86_64-pc-linux-gnu/8.0.1/:/home/martin/codes/utrunk/lib/gcc/x86_64-pc-linux-gnu/8.0.1/../../../../lib64/:/lib/x86_64-linux-gnu/:/lib/../lib64/:/usr/lib/x86_64-linux-gnu/:/home/martin/codes/utrunk/lib/gcc/x86_64-pc-linux-gnu/8.0.1/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-O3' '-v' '-S' '-mtune=generic' '-march=x86-64' >From gcc-bugs-return-601771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 07:34:47 2018 Return-Path: <gcc-bugs-return-601771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105503 invoked by alias); 17 Apr 2018 07:34:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105409 invoked by uid 48); 17 Apr 2018 07:34:43 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128 Date: Tue, 17 Apr 2018 07:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85381-4-40dZSOJBFP@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85381-4@http.gcc.gnu.org/bugzilla/> References: <bug-85381-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01895.txt.bz2 Content-length: 271 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 --- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> --- I minimized this failure, and ran into PR 80035/81069, so I've backported the fix from trunk: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00774.html >From gcc-bugs-return-601772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 07:44:55 2018 Return-Path: <gcc-bugs-return-601772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57138 invoked by alias); 17 Apr 2018 07:44:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57017 invoked by uid 48); 17 Apr 2018 07:44:51 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85426] ICE in patch_jump_insn, at cfgrtl.c:1271 Date: Tue, 17 Apr 2018 07:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-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: UNCONFIRMED X-Bugzilla-Resolution: X-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: <bug-85426-4-zG5OgWRG5C@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85426-4@http.gcc.gnu.org/bugzilla/> References: <bug-85426-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01896.txt.bz2 Content-length: 411 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85426 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Isn't this just a dup of PR85408? >From gcc-bugs-return-601773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 08:29:00 2018 Return-Path: <gcc-bugs-return-601773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48926 invoked by alias); 17 Apr 2018 08:29:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48802 invoked by uid 55); 17 Apr 2018 08:28:54 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85405] [6/7 Regression] ICE in odr_types_equivalent_p, at ipa-devirt.c:1581 Date: Tue, 17 Apr 2018 08:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 6.4.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85405-4-ufA9u3xYzh@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85405-4@http.gcc.gnu.org/bugzilla/> References: <bug-85405-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01897.txt.bz2 Content-length: 865 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85405 --- Comment #4 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Author: marxin Date: Tue Apr 17 08:28:21 2018 New Revision: 259431 URL: https://gcc.gnu.org/viewcvs?rev=259431&root=gcc&view=rev Log: Fix coding style and add a new test-case (PR lto/85405). 2018-04-17 Martin Liska <mliska@suse.cz> PR lto/85405 * ipa-devirt.c (odr_types_equivalent_p): Remove trailing in message, remote space in between '_G' and '('. 2018-04-17 Martin Liska <mliska@suse.cz> PR lto/85405 * g++.dg/lto/pr85405b_0.C: New test. * g++.dg/lto/pr85405b_1.C: New test. Added: trunk/gcc/testsuite/g++.dg/lto/pr85405b_0.C trunk/gcc/testsuite/g++.dg/lto/pr85405b_1.C Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-devirt.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-601774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 08:49:44 2018 Return-Path: <gcc-bugs-return-601774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104493 invoked by alias); 17 Apr 2018 08:49:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 104418 invoked by uid 55); 17 Apr 2018 08:49:40 -0000 From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85421] [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405 Date: Tue, 17 Apr 2018 08:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85421-4-oAlXHvcFjx@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85421-4@http.gcc.gnu.org/bugzilla/> References: <bug-85421-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01898.txt.bz2 Content-length: 697 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85421 --- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> --- Author: jamborm Date: Tue Apr 17 08:48:41 2018 New Revision: 259432 URL: https://gcc.gnu.org/viewcvs?rev=259432&root=gcc&view=rev Log: Call expand_all_artificial_thunks in ipa-cp if necessary 2018-04-17 Martin Jambor <mjambor@suse.cz> PR ipa/85421 * ipa-cp.c (create_specialized_node): Call expand_all_artificial_thunks if necessary. testsuite/ * g++.dg/ipa/pr85421.C: New test. Added: trunk/gcc/testsuite/g++.dg/ipa/pr85421.C Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-cp.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-601775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 08:53:16 2018 Return-Path: <gcc-bugs-return-601775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107585 invoked by alias); 17 Apr 2018 08:53:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107418 invoked by uid 48); 17 Apr 2018 08:53:12 -0000 From: "stinkingmadgod at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85428] New: constexpr pointer equality comparison not considered constant expression Date: Tue, 17 Apr 2018 08:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: stinkingmadgod at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85428-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01899.txt.bz2 Content-length: 1150 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85428 Bug ID: 85428 Summary: constexpr pointer equality comparison not considered constant expression Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: stinkingmadgod at gmail dot com Target Milestone: --- The following should compile template<typename T> struct S { inline static char c; }; void foo() { constexpr auto t1 = &S<int>::c; constexpr auto t2 = &S<char>::c; static_assert(t1 != t2); } But won't, with error: non-constant condition for static assertion. [expr.eq] says the pointers is specified to be unequal, and [expr.const] says this is a constant expression. However this compiles inline char c1, c2; void bar() { constexpr auto t1 = &c1; constexpr auto t2 = &c2; static_assert(t1 != t2); } Related is bug 70248 where the compiler accepts unspecified equality comparisons as constant expressions when it shouldn't. >From gcc-bugs-return-601776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 08:56:31 2018 Return-Path: <gcc-bugs-return-601776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113068 invoked by alias); 17 Apr 2018 08:56:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112838 invoked by uid 48); 17 Apr 2018 08:56:26 -0000 From: "dilyan.palauzov at aegee dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/85413] "./configure --with-build-config=bootstrap-lto " != "BOOT_CFLAGS +=-flto " Date: Tue, 17 Apr 2018 08:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dilyan.palauzov at aegee 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: <bug-85413-4-0xeMk5C7Nb@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85413-4@http.gcc.gnu.org/bugzilla/> References: <bug-85413-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01900.txt.bz2 Content-length: 842 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85413 --- Comment #2 from ÐилÑн ÐалаÑзов <dilyan.palauzov at aegee dot org> --- config/bootstrap-lto.mk contains more tweaks: # This option enables LTO for stage2 and stage3 in slim mode STAGE2_CFLAGS += -flto=jobserver -frandom-seed=1 STAGE3_CFLAGS += -flto=jobserver -frandom-seed=1 STAGEprofile_CFLAGS += -fno-lto # assumes the host supports the linker plugin LTO_AR = $$r/$(HOST_SUBDIR)/prev-gcc/gcc-ar$(exeext) -B$$r/$(HOST_SUBDIR)/prev-gcc/ LTO_RANLIB = $$r/$(HOST_SUBDIR)/prev-gcc/gcc-ranlib$(exeext) -B$$r/$(HOST_SUBDIR)/prev-gcc/ LTO_EXPORTS = AR="$(LTO_AR)"; export AR; \ RANLIB="$(LTO_RANLIB)"; export RANLIB; LTO_FLAGS_TO_PASS = AR="$(LTO_AR)" RANLIB="$(LTO_RANLIB)" >From gcc-bugs-return-601777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 09:17:44 2018 Return-Path: <gcc-bugs-return-601777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23028 invoked by alias); 17 Apr 2018 09:17:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15907 invoked by uid 55); 17 Apr 2018 09:17:34 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85414] [8 Regression] ICE: in ix86_expand_prologue, at config/i386/i386.c:13810 with -Og -fgcse Date: Tue, 17 Apr 2018 09:17: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.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85414-4-55XUydCYhb@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85414-4@http.gcc.gnu.org/bugzilla/> References: <bug-85414-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01901.txt.bz2 Content-length: 569 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85414 --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Apr 17 09:16:48 2018 New Revision: 259433 URL: https://gcc.gnu.org/viewcvs?rev=259433&root=gcc&view=rev Log: PR middle-end/85414 * rtlhooks.c (gen_lowpart_if_possible): Don't call gen_lowpart_SUBREG on a SUBREG. * gcc.dg/pr85414.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr85414.c Modified: trunk/gcc/ChangeLog trunk/gcc/rtlhooks.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-601778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 09:41:38 2018 Return-Path: <gcc-bugs-return-601778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46932 invoked by alias); 17 Apr 2018 09:41:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46873 invoked by uid 48); 17 Apr 2018 09:41:31 -0000 From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug go/85429] New: Several gotools tests FAIL with Solaris as Date: Tue, 17 Apr 2018 09:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget Message-ID: <bug-85429-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01902.txt.bz2 Content-length: 2249 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85429 Bug ID: 85429 Summary: Several gotools tests FAIL with Solaris as Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: ro at gcc dot gnu.org CC: cmang at google dot com Target Milestone: --- Target: *-*-solaris2.* I noticed that several gotools tests FAIL when using Solaris as. E.g. on x86: === RUN TestGccgoCrashTracebackNodebug --- FAIL: TestGccgoCrashTracebackNodebug (6.01s) crash_test.go:55: building testprogcxx []: exit status 2 # _/vol/gcc/src/hg/trunk/local/libgo/go/runtime/testdata/testprogcxx Assembler: "/var/tmp//ccPwSFPa.s", line 1 : Invalid section attribute "e" for SHF_EXCLUDE is only supported by gas, it seems. I don't know an /bin/as alternative "/var/tmp//ccPwSFPa.s", line 8 : Syntax error Near line: " .section .note.GNU-stack,"",@progbits" "/var/tmp//ccPwSFPa.s", line 9 : Syntax error Near line: " .section .note.GNU-split-stack,"",@progbits" as cannot handle - in section names, it seems, and provides no quoting * On sparc, the situation is worse because the .section syntax differs: # cmd/go/internal/str /usr/ccs/bin/as: "/var/tmp//ccZPzx3b.s", line 6: error: quoted-string operand required /usr/ccs/bin/as: "/var/tmp//ccZPzx3b.s", line 13: error: invalid character (0x40) /usr/ccs/bin/as: "/var/tmp//ccZPzx3b.s", line 13: error: quoted-string operand required /usr/ccs/bin/as: "/var/tmp//ccZPzx3b.s", line 13: error: statement syntax /usr/ccs/bin/as: "/var/tmp//ccZPzx3b.s", line 14: error: invalid character (0x40) /usr/ccs/bin/as: "/var/tmp//ccZPzx3b.s", line 14: error: quoted-string operand required /usr/ccs/bin/as: "/var/tmp//ccZPzx3b.s", line 14: error: statement syntax I'm not sure about the buildid part, but there's probably no point in emitting .note.GNU-stack and .note.GNU-split-stack on Solaris since nothing looks at them anyway. Rainer >From gcc-bugs-return-601779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 09:55:44 2018 Return-Path: <gcc-bugs-return-601779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97671 invoked by alias); 17 Apr 2018 09:55:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97617 invoked by uid 48); 17 Apr 2018 09:55:39 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85414] [8 Regression] ICE: in ix86_expand_prologue, at config/i386/i386.c:13810 with -Og -fgcse Date: Tue, 17 Apr 2018 09:55: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.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85414-4-D9HfC7t1bu@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85414-4@http.gcc.gnu.org/bugzilla/> References: <bug-85414-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01903.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85414 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Fixed. >From gcc-bugs-return-601781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 09:56:18 2018 Return-Path: <gcc-bugs-return-601781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99077 invoked by alias); 17 Apr 2018 09:56:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98738 invoked by uid 48); 17 Apr 2018 09:56:14 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85421] [8 regression] internal compiler error: in ipa_propagate_frequency, at ipa-profile.c:405 Date: Tue, 17 Apr 2018 09:56: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: <bug-85421-4-oXCK7OMiAO@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85421-4@http.gcc.gnu.org/bugzilla/> References: <bug-85421-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01905.txt.bz2 Content-length: 497 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85421 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |jakub at gcc dot gnu.org Resolution|--- |FIXED --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Fixed. >From gcc-bugs-return-601780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 09:56:16 2018 Return-Path: <gcc-bugs-return-601780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98831 invoked by alias); 17 Apr 2018 09:56:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98687 invoked by uid 48); 17 Apr 2018 09:56:11 -0000 From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/63579] New attribute for empty member optimization Date: Tue, 17 Apr 2018 09:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-63579-4-dv2jReuUft@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-63579-4@http.gcc.gnu.org/bugzilla/> References: <bug-63579-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01904.txt.bz2 Content-length: 308 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63579 --- Comment #4 from Marc Glisse <glisse at gcc dot gnu.org> --- The following was adopted for C++20 http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0840r2.html ABI description (not merged yet) https://github.com/itanium-cxx-abi/cxx-abi/pull/50 >From gcc-bugs-return-601782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 10:00:57 2018 Return-Path: <gcc-bugs-return-601782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104170 invoked by alias); 17 Apr 2018 10:00:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103789 invoked by uid 48); 17 Apr 2018 10:00:34 -0000 From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85430] New: [7/8 Regression] ICE: SIGSEGV in memory_operand at recog.c:1358 with -O2 -fno-tree-ccp -fno-tree-fre Date: Tue, 17 Apr 2018 10:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget attachments.created Message-ID: <bug-85430-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01906.txt.bz2 Content-length: 3238 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85430 Bug ID: 85430 Summary: [7/8 Regression] ICE: SIGSEGV in memory_operand at recog.c:1358 with -O2 -fno-tree-ccp -fno-tree-fre Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 43959 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43959&action=edit reduced testcase This happens even with PR85193 fixed. Compiler output: $ x86_64-pc-linux-gnu-gcc -O2 -fno-tree-ccp -fno-tree-fre testcase.c during RTL pass: sched2 testcase.c: In function 'foo': testcase.c:8:1: internal compiler error: Segmentation fault } ^ 0xd6732f crash_signal /repo/gcc-trunk/gcc/toplev.c:325 0xc8d044 memory_operand(rtx_def*, machine_mode) /repo/gcc-trunk/gcc/recog.c:1358 0x12daa03 get_attr_memory(rtx_insn*) /repo/gcc-trunk/gcc/config/i386/i386.md:2473 0x14f2310 insn_default_latency_generic(rtx_insn*) /repo/gcc-trunk/gcc/config/i386/i386.md:16407 0x16fbbe1 insn_sched_cost(rtx_insn*) /repo/gcc-trunk/gcc/haifa-sched.c:1420 0x17012e6 dep_cost_1(_dep*, unsigned int) /repo/gcc-trunk/gcc/haifa-sched.c:1473 0x17032e9 dep_cost(_dep*) /repo/gcc-trunk/gcc/haifa-sched.c:1509 0x17032e9 priority /repo/gcc-trunk/gcc/haifa-sched.c:1660 0x17033de set_priorities(rtx_insn*, rtx_insn*) /repo/gcc-trunk/gcc/haifa-sched.c:7122 0xcf85bd compute_priorities() /repo/gcc-trunk/gcc/sched-rgn.c:3023 0xcfb995 schedule_region /repo/gcc-trunk/gcc/sched-rgn.c:3116 0xcfb995 schedule_insns() /repo/gcc-trunk/gcc/sched-rgn.c:3516 0xcfc1ed schedule_insns() /repo/gcc-trunk/gcc/sched-rgn.c:3501 0xcfc1ed rest_of_handle_sched2 /repo/gcc-trunk/gcc/sched-rgn.c:3740 0xcfc1ed execute /repo/gcc-trunk/gcc/sched-rgn.c:3876 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. $ x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-259430-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.0.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra --disable-bootstrap --with-cloog --with-ppl --with-isl --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-259430-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix gcc version 8.0.1 20180417 (experimental) (GCC) >From gcc-bugs-return-601783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 10:05:58 2018 Return-Path: <gcc-bugs-return-601783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111285 invoked by alias); 17 Apr 2018 10:05:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111155 invoked by uid 48); 17 Apr 2018 10:05:48 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85430] [7/8 Regression] ICE: SIGSEGV in memory_operand at recog.c:1358 with -O2 -fno-tree-ccp -fno-tree-fre Date: Tue, 17 Apr 2018 10:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc target_milestone everconfirmed Message-ID: <bug-85430-4-Dn2Qa6SmVF@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85430-4@http.gcc.gnu.org/bugzilla/> References: <bug-85430-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01907.txt.bz2 Content-length: 668 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85430 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-17 CC| |jakub at gcc dot gnu.org Target Milestone|--- |7.4 Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Started with r240006. >From gcc-bugs-return-601784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 10:17:37 2018 Return-Path: <gcc-bugs-return-601784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10532 invoked by alias); 17 Apr 2018 10:17:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10443 invoked by uid 48); 17 Apr 2018 10:17:32 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85430] [7/8 Regression] ICE: SIGSEGV in memory_operand at recog.c:1358 with -O2 -fno-tree-ccp -fno-tree-fre Date: Tue, 17 Apr 2018 10:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc assigned_to Message-ID: <bug-85430-4-eBeKN8jSLR@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85430-4@http.gcc.gnu.org/bugzilla/> References: <bug-85430-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01908.txt.bz2 Content-length: 1567 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85430 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |uros at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- This fixes it. Let me look for other similar issues. --- gcc/config/i386/i386.md.jj 2018-04-05 20:34:31.989020754 +0200 +++ gcc/config/i386/i386.md 2018-04-17 12:14:19.550691464 +0200 @@ -10713,7 +10713,7 @@ (define_insn "*ashlqi3_1_slp" { switch (get_attr_type (insn)) { - case TYPE_ALU: + case TYPE_ALU1: gcc_assert (operands[1] == const1_rtx); return "add{b}\t%0, %0"; @@ -10729,12 +10729,12 @@ (define_insn "*ashlqi3_1_slp" (cond [(and (and (match_test "TARGET_DOUBLE_WITH_ADD") (match_operand 0 "register_operand")) (match_operand 1 "const1_operand")) - (const_string "alu") + (const_string "alu1") ] (const_string "ishift1"))) (set (attr "length_immediate") (if_then_else - (ior (eq_attr "type" "alu") + (ior (eq_attr "type" "alu1") (and (eq_attr "type" "ishift1") (and (match_operand 1 "const1_operand") (ior (match_test "TARGET_SHIFT1") >From gcc-bugs-return-601786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 10:20:43 2018 Return-Path: <gcc-bugs-return-601786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30714 invoked by alias); 17 Apr 2018 10:20:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27918 invoked by uid 48); 17 Apr 2018 10:20:39 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85431] UBSAN: ../../gcc/dse.c:303:15: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int' Date: Tue, 17 Apr 2018 10:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0.1 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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: version blocked target_milestone Message-ID: <bug-85431-4-j1543Hf8qP@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85431-4@http.gcc.gnu.org/bugzilla/> References: <bug-85431-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01910.txt.bz2 Content-length: 542 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85431 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unknown |8.0.1 Blocks| |63426 Target Milestone|--- |8.0 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 [Bug 63426] [meta-bug] Issues found with -fsanitize=undefined >From gcc-bugs-return-601785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 10:20:05 2018 Return-Path: <gcc-bugs-return-601785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13398 invoked by alias); 17 Apr 2018 10:20:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13293 invoked by uid 48); 17 Apr 2018 10:20:00 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85431] New: UBSAN: ../../gcc/dse.c:303:15: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int' Date: Tue, 17 Apr 2018 10:20: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 cc target_milestone Message-ID: <bug-85431-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01909.txt.bz2 Content-length: 2148 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85431 Bug ID: 85431 Summary: UBSAN: ../../gcc/dse.c:303:15: 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: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: rsandifo at gcc dot gnu.org Target Milestone: --- Following causes UBSAN: $ UBSAN_OPTIONS="print_stacktrace=1" ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/torture/pr85022.c -c -O ../../gcc/dse.c:303:15: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int' #0 0x2ecd348 in lowpart_bitmask ../../gcc/dse.c:303 #1 0x2ed2512 in record_store ../../gcc/dse.c:1649 #2 0x2ed89d4 in scan_insn ../../gcc/dse.c:2542 #3 0x2ed9251 in dse_step1 ../../gcc/dse.c:2657 #4 0x2eded20 in rest_of_handle_dse ../../gcc/dse.c:3574 #5 0x2edef5c in execute ../../gcc/dse.c:3632 #6 0x15a1a8b in execute_one_pass(opt_pass*) ../../gcc/passes.c:2497 #7 0x15a2255 in execute_pass_list_1 ../../gcc/passes.c:2586 #8 0x15a22cc in execute_pass_list_1 ../../gcc/passes.c:2587 #9 0x15a234c in execute_pass_list(function*, opt_pass*) ../../gcc/passes.c:2597 #10 0xc44bc3 in cgraph_node::expand() ../../gcc/cgraphunit.c:2139 #11 0xc45ad0 in expand_all_functions ../../gcc/cgraphunit.c:2275 #12 0xc47448 in symbol_table::compile() ../../gcc/cgraphunit.c:2624 #13 0xc479c9 in symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.c:2717 #14 0x18b1667 in compile_file ../../gcc/toplev.c:480 #15 0x18b5448 in do_compile ../../gcc/toplev.c:2132 #16 0x18b592c in toplev::main(int, char**) ../../gcc/toplev.c:2267 #17 0x320b531 in main ../../gcc/main.c:39 #18 0x7ffff5ca9a86 in __libc_start_main (/lib64/libc.so.6+0x21a86) #19 0x8210c9 in _start (/home/marxin/Programming/gcc/objdir2/gcc/cc1+0x8210c9) >From gcc-bugs-return-601787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 10:51:43 2018 Return-Path: <gcc-bugs-return-601787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100267 invoked by alias); 17 Apr 2018 10:51:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100185 invoked by uid 48); 17 Apr 2018 10:51:38 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84640] gcc/fortran/simplify.c:2587:9: runtime error: pointer index expression with base 0x0000090de160 overflowed to 0xffffffffc0632960 Date: Tue, 17 Apr 2018 10:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.0.1 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: <bug-84640-4-f8yHf4S7Kz@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84640-4@http.gcc.gnu.org/bugzilla/> References: <bug-84640-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01911.txt.bz2 Content-length: 1563 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84640 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #2 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Can be easily seen with: diff --git a/gcc/fortran/simplify.c b/gcc/fortran/simplify.c index a970e017c90..66d9450d457 100644 --- a/gcc/fortran/simplify.c +++ b/gcc/fortran/simplify.c @@ -2171,7 +2171,9 @@ gfc_simplify_cshift (gfc_expr *array, gfc_expr *shift, gfc_expr *dim) while (count[n] == extent[n]) { count[n] = 0; + fprintf (stderr, "p: %p, ss_ex[n]: %ld\n", rptr, ss_ex[n]); rptr -= ss_ex[n]; + fprintf (stderr, "p2: %p\n", rptr); sptr -= ss_ex[n]; if (shiftvec) hptr -= hs_ex[n]; Then: $ ./gcc/xgcc -Bgcc /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/simplify_cshift_1.f90 -c -O p: 0x7824c48, ss_ex[n]: 433791696997 p2: 0xfffffcd807824920 p: 0x400000780db40, ss_ex[n]: 433791696997 p2: 0x3fcd80780d818 p: 0x40000078170e0, ss_ex[n]: 433791696997 p2: 0x3fcd807816db8 p: 0x4000007818be0, ss_ex[n]: 12 p2: 0x4000007818b80 p: 0x80781f5d0, ss_ex[n]: 126035584 p2: 0x7cb68c1d0 p: 0x10078216b0, ss_ex[n]: -1008 p2: 0x1007823630 p: 0x784b9a8, ss_ex[n]: 8589921888 p2: 0xfffffff0078646a8 So rptr points to an invalid memory. Question is whether a store/load from the address can happen? >From gcc-bugs-return-601788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 10:55:40 2018 Return-Path: <gcc-bugs-return-601788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3889 invoked by alias); 17 Apr 2018 10:55:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3796 invoked by uid 48); 17 Apr 2018 10:55:36 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/84637] gcc/dbxout.c:684:14: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'; cast to an unsigned type to negate this value to itself Date: Tue, 17 Apr 2018 10:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0.1 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: Message-ID: <bug-84637-4-g1w9vgX6FY@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84637-4@http.gcc.gnu.org/bugzilla/> References: <bug-84637-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01912.txt.bz2 Content-length: 239 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84637 --- Comment #2 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Thanks for explanation. Do you plan to remove it in the future from GCC or will you leave it there unmaintained? >From gcc-bugs-return-601789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 11:19:06 2018 Return-Path: <gcc-bugs-return-601789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55511 invoked by alias); 17 Apr 2018 11:19:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55410 invoked by uid 48); 17 Apr 2018 11:19:01 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128 Date: Tue, 17 Apr 2018 11:19: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: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85381-4-sfhtGcN7tn@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85381-4@http.gcc.gnu.org/bugzilla/> References: <bug-85381-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01913.txt.bz2 Content-length: 4113 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 --- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Tom de Vries from comment #2) > I minimized this failure, and ran into PR 80035/81069, so I've backported > the fix from trunk: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00774.html With that fixed, I run into another failure. Minimized: ... int main (void) { long long v1; #pragma acc parallel num_gangs (640) num_workers(1) vector_length (128) #pragma acc loop for (v1 = 0; v1 < 20; v1 += 2) ; return 0; } ... With ptx: ... // BEGIN PREAMBLE .version 3.1 .target sm_30 .address_size 64 // END PREAMBLE // BEGIN FUNCTION DECL: main$_omp_fn$0 .entry main$_omp_fn$0; // BEGIN FUNCTION DEF: main$_omp_fn$0 .entry main$_omp_fn$0 { .reg .u64 %r23; .reg .u64 %r24; // fork 4; bar.sync 0; // forked 4; // joining 4; bar.sync 0; // join 4; ret; } //:FUNC_MAP "main$_omp_fn$0", 0x280, 0x1, 0x80 ^@ ... Intriguing detail about this example: passes with GOMP_NVPTX_JIT=-O0, hangs with GOMP_NVPTX_JIT=-O1, but seemingly the same SASS is generated: ... //--------------------- .text.main$_omp_fn$0 -------------------------- .section .text.main$_omp_fn$0,"ax",@progbits .sectionflags @"SHF_BARRIERS=1" .sectioninfo @"SHI_REGISTERS=2" .align 32 .text.main$_omp_fn$0: .type main$_omp_fn$0,@function .size main$_omp_fn$0,(.L_8 - main$_omp_fn$0) .other main$_omp_fn$0,@"STO_CUDA_ENTRY STV_DEFAULT" main$_omp_fn$0: /*0008*/ MOV R1, c[0x0][0x20]; /*0010*/ BAR.SYNC 0x0; /*0018*/ BAR.SYNC 0x0; /*0028*/ EXIT; .L_1: /*0030*/ BRA `(.L_1); .L_8: ... The only difference is at 0020, but that's only visible with cuobjdump: ... /*0010*/ BAR.SYNC 0x0; /* 0xf0a81b8000070000 */ /*0018*/ BAR.SYNC 0x0; /* 0xf0a81b8000070000 */ /* 0x001f8000ffe01fef */ /*0028*/ EXIT; /* 0xe30000000007000f */ ... vs ... /*0010*/ BAR.SYNC 0x0; /* 0xf0a81b8000070000 */ /*0018*/ BAR.SYNC 0x0; /* 0xf0a81b8000070000 */ /* 0x001f8000ffe007ff */ /*0028*/ EXIT; /* 0xe30000000007000f */ ... >From gcc-bugs-return-601790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 11:59:57 2018 Return-Path: <gcc-bugs-return-601790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73644 invoked by alias); 17 Apr 2018 11:59:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73583 invoked by uid 48); 17 Apr 2018 11:59:53 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887 Date: Tue, 17 Apr 2018 11:59: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.1 X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: <bug-85391-4-n93W0qgoKN@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85391-4@http.gcc.gnu.org/bugzilla/> References: <bug-85391-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01914.txt.bz2 Content-length: 1401 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|marxin at gcc dot gnu.org |hubicka at gcc dot gnu.org --- Comment #16 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- (In reply to Jan Hubicka from comment #14) > Created attachment 43947 [details] > Proposed fix > > We looked into this with Maritn todday. There are two bugs: one is the fact > that lto.c forgets to register the type in case it was within strongly > connected component after its outer type. The order depends on hash values > and is not well determined. We do not want to test TYPE_CANONICAL being > non-NULL. Martin is testing it. > > Other is the fact that Eric's last change make odr types compatible when one > of them is incomplete. This is not necessarily the case. The patch should > fix the ordering issue by going the slow path in case type already in > hashtable is incomplete. In this case it won't take long to compare it with > the other type anyway. Unfortunately with the suggested patch I see the same ICE for same types as seen in: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391#c1 Minimal test-case this time is 12 files, would take a really long time to reduce. >From gcc-bugs-return-601791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 12:09:34 2018 Return-Path: <gcc-bugs-return-601791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18867 invoked by alias); 17 Apr 2018 12:09:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18084 invoked by uid 48); 17 Apr 2018 12:09:29 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85417] -fcf-protection should provide CET protection on x86 Date: Tue, 17 Apr 2018 12:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85417-4-lovGeTGZ6P@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85417-4@http.gcc.gnu.org/bugzilla/> References: <bug-85417-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01915.txt.bz2 Content-length: 948 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 --- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to UroÅ¡ Bizjak from comment #4) > (In reply to H.J. Lu from comment #2) > > I am working to enable CET on Linux with a single binary. -fcf-protection > > should provide CET protection on x86 by default. We can add a command-line > > option if we want a different implementation. > > This should remain an opt-in feature, not opt-out. We can have > --with-fcf-protection configure option to override the default. -fcf-protection -mcet can't be used with IFUNC features, like symbol multiversioning or target clone since IBT/SHSTK are applied to the whole program and they may be disabled in some functions. But -fcf-protection can be implemented with the NOP portion of IBT/SHSTK, which is compatible with all functions. Without this, IFUNC can't be used on Linux when -fcf-protection is enabled by default. >From gcc-bugs-return-601792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 12:24:56 2018 Return-Path: <gcc-bugs-return-601792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45780 invoked by alias); 17 Apr 2018 12:24:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 45365 invoked by uid 48); 17 Apr 2018 12:24:05 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85432] New: Wodr can be more verbose for C code Date: Tue, 17 Apr 2018 12:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 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: <bug-85432-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01916.txt.bz2 Content-length: 2118 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85432 Bug ID: 85432 Summary: Wodr can be more verbose for C code Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: hubicka at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Let's consider: $ cat 1.c struct A { int a; double b; }; extern void foo (struct A *); int main() { struct A a; foo (&a); return a.a; } $ cat 2.c struct A { int a; }; void foo (struct A *a) { a->a = 123; } $ gcc *.c -flto 1.c:7:13: warning: type of âfooâ does not match original declaration [-Wlto-type-mismatch] extern void foo (struct A *); ^ 2.c:7:6: note: âfooâ was previously declared here void foo (struct A *a) ^ 2.c:7:6: note: code may be misoptimized unless -fno-strict-aliasing is used C++ FE is more verbose: g++ *.c -flto 1.c:1:8: warning: type âstruct Aâ violates the C++ One Definition Rule [-Wodr] struct A ^ 2.c:1:8: note: a different type is defined in another translation unit struct A ^ 1.c:4:10: note: the first difference of corresponding definitions is field âbâ double b; ^ 2.c:1:8: note: a type with different number of fields is defined in another translation unit struct A ^ 1.c:7:13: warning: âfooâ violates the C++ One Definition Rule [-Wodr] extern void foo (struct A *); ^ 2.c:7:6: note: type mismatch in parameter 1 void foo (struct A *a) ^ 2.c:1:8: note: type âstruct Aâ itself violates the C++ One Definition Rule struct A ^ 1.c:1:8: note: the incompatible type is defined here struct A ^ 2.c:7:6: note: âfooâ was previously declared here void foo (struct A *a) ^ 2.c:7:6: note: code may be misoptimized unless -fno-strict-aliasing is used >From gcc-bugs-return-601793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 12:25:12 2018 Return-Path: <gcc-bugs-return-601793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46811 invoked by alias); 17 Apr 2018 12:25:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46736 invoked by uid 48); 17 Apr 2018 12:25:07 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85432] Wodr can be more verbose for C code Date: Tue, 17 Apr 2018 12:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: version bug_severity Message-ID: <bug-85432-4-jIaE1qVj9T@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85432-4@http.gcc.gnu.org/bugzilla/> References: <bug-85432-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01917.txt.bz2 Content-length: 358 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85432 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unknown |8.0.1 Severity|normal |enhancement >From gcc-bugs-return-601794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 12:26:13 2018 Return-Path: <gcc-bugs-return-601794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49760 invoked by alias); 17 Apr 2018 12:26:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49728 invoked by uid 48); 17 Apr 2018 12:26:09 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85428] constexpr pointer equality comparison not considered constant expression Date: Tue, 17 Apr 2018 12:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on everconfirmed Message-ID: <bug-85428-4-bi4zLpBSpl@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85428-4@http.gcc.gnu.org/bugzilla/> References: <bug-85428-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01918.txt.bz2 Content-length: 465 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85428 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-17 Ever confirmed|0 |1 >From gcc-bugs-return-601795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 12:27:00 2018 Return-Path: <gcc-bugs-return-601795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57755 invoked by alias); 17 Apr 2018 12:26:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57711 invoked by uid 48); 17 Apr 2018 12:26:55 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85433] New: -fdiagnostics-color=auto doesn't work properly with LTO Date: Tue, 17 Apr 2018 12:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: 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: <bug-85433-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01919.txt.bz2 Content-length: 1172 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85433 Bug ID: 85433 Summary: -fdiagnostics-color=auto doesn't work properly with LTO Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: dmalcolm at gcc dot gnu.org Target Milestone: --- Running: $ cat 1.c struct A { int a; double b; }; extern void foo (struct A *); int main() { struct A a; foo (&a); return a.a; } $ cat 2.c struct A { int a; }; $ gcc *.c -fdiagnostics-color=auto -flto 1.c:7:13: warning: type of âfooâ does not match original declaration [-Wlto-type-mismatch] extern void foo (struct A *); ^ 2.c:7:6: note: âfooâ was previously declared here void foo (struct A *a) ^ 2.c:7:6: note: code may be misoptimized unless -fno-strict-aliasing is used Does not produce color output, while: $ gcc *.c -fdiagnostics-color=always -flto does. David is it a known issue? >From gcc-bugs-return-601796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 12:30:55 2018 Return-Path: <gcc-bugs-return-601796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73208 invoked by alias); 17 Apr 2018 12:30:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72859 invoked by uid 48); 17 Apr 2018 12:30:48 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70248] constexpr initialization with unspecified equality expression accepted Date: Tue, 17 Apr 2018 12:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: minor 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: <bug-70248-4-r52wFVdUqX@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-70248-4@http.gcc.gnu.org/bugzilla/> References: <bug-70248-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01920.txt.bz2 Content-length: 474 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70248 --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- GCC trunk (8.0.1 20180410) now rejects comment 0 with: c0.cc:4:24: error: a reinterpret_cast is not a constant expression constexpr int A::*bx = (int(A::*))&B::x; ^~~~~~~~~~~~~ c0.cc:5:24: error: a reinterpret_cast is not a constant expression constexpr int A::*cx = (int(A::*))&C::x; ^~~~~~~~~~~~~ >From gcc-bugs-return-601797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 12:50:16 2018 Return-Path: <gcc-bugs-return-601797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13705 invoked by alias); 17 Apr 2018 12:50:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13513 invoked by uid 48); 17 Apr 2018 12:50:07 -0000 From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85416] Massive performance regression when switching on "-march=native" Date: Tue, 17 Apr 2018 12:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-85416-4-Hyr5CZemIm@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85416-4@http.gcc.gnu.org/bugzilla/> References: <bug-85416-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01921.txt.bz2 Content-length: 440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85416 Alexander Monakov <amonakov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #8 from Alexander Monakov <amonakov at gcc dot gnu.org> --- Can you also run the tests under 'perf stat'? >From gcc-bugs-return-601798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 13:01:47 2018 Return-Path: <gcc-bugs-return-601798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36279 invoked by alias); 17 Apr 2018 13:01:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36193 invoked by uid 48); 17 Apr 2018 13:01:40 -0000 From: "martin@mpa-garching.mpg.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85416] Massive performance regression when switching on "-march=native" Date: Tue, 17 Apr 2018 13:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: martin@mpa-garching.mpg.de X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85416-4-Drkmcfcmz8@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85416-4@http.gcc.gnu.org/bugzilla/> References: <bug-85416-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01922.txt.bz2 Content-length: 2225 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85416 --- Comment #9 from Martin Reinecke <martin@mpa-garching.mpg.de> --- Sure! martin@martin-Latitude-E7450 ~/tmp $ gcc -O3 testcase2.c -lm martin@martin-Latitude-E7450 ~/tmp $ perf stat ./a.out Performance counter stats for './a.out': 1109,985866 task-clock (msec) # 0,999 CPUs utilized 2 context-switches # 0,002 K/sec 0 cpu-migrations # 0,000 K/sec 2.000 page-faults # 0,002 M/sec 3.155.388.780 cycles # 2,843 GHz 6.717.336.961 instructions # 2,13 insn per cycle 979.526.022 branches # 882,467 M/sec 38.112 branch-misses # 0,00% of all branches 1,110639187 seconds time elapsed martin@martin-Latitude-E7450 ~/tmp $ gcc -O3 testcase2.c -march=native -lm martin@martin-Latitude-E7450 ~/tmp $ perf stat ./a.out Performance counter stats for './a.out': 7724,004864 task-clock (msec) # 1,000 CPUs utilized 86 context-switches # 0,011 K/sec 1 cpu-migrations # 0,000 K/sec 2.004 page-faults # 0,259 K/sec 22.129.645.853 cycles # 2,865 GHz 6.723.657.441 instructions # 0,30 insn per cycle 980.761.202 branches # 126,976 M/sec 171.813 branch-misses # 0,02% of all branches 7,726058359 seconds time elapsed >From gcc-bugs-return-601799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 13:16:16 2018 Return-Path: <gcc-bugs-return-601799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98923 invoked by alias); 17 Apr 2018 13:16:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98875 invoked by uid 48); 17 Apr 2018 13:16:12 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85416] Massive performance regression when switching on "-march=native" Date: Tue, 17 Apr 2018 13:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: <bug-85416-4-eblL6w3cCl@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85416-4@http.gcc.gnu.org/bugzilla/> References: <bug-85416-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01923.txt.bz2 Content-length: 206 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85416 --- Comment #10 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- And please rebuild the binaries with -g and attach perf annotate output. Thanks. >From gcc-bugs-return-601800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 13:20:18 2018 Return-Path: <gcc-bugs-return-601800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108134 invoked by alias); 17 Apr 2018 13:20:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108077 invoked by uid 48); 17 Apr 2018 13:20:13 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128 Date: Tue, 17 Apr 2018 13:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85381-4-onpCu1rNeV@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85381-4@http.gcc.gnu.org/bugzilla/> References: <bug-85381-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01924.txt.bz2 Content-length: 722 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 --- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> --- This looks like a JIT bug, but with this tentative patch: ... diff --git a/gcc/config/nvptx/nvptx.c b/gcc/config/nvptx/nvptx.c index 8c478c874bd..ac394ee1ae6 100644 --- a/gcc/config/nvptx/nvptx.c +++ b/gcc/config/nvptx/nvptx.c @@ -4479,7 +4479,7 @@ nvptx_process_pars (parallel *par) threads = nvptx_mach_vector_length (); } - if (!empty || !is_call) + if (!(empty || is_call)) { /* Insert begin and end synchronizations. */ emit_insn_before (nvptx_cta_sync (barrier, threads), ... no barriers are generated, and the minimized testcase passes. >From gcc-bugs-return-601801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 13:22:16 2018 Return-Path: <gcc-bugs-return-601801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110088 invoked by alias); 17 Apr 2018 13:22:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109930 invoked by uid 48); 17 Apr 2018 13:22:11 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128 Date: Tue, 17 Apr 2018 13:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85381-4-qaJ4jY44z2@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85381-4@http.gcc.gnu.org/bugzilla/> References: <bug-85381-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01925.txt.bz2 Content-length: 325 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 --- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Tom de Vries from comment #4) > This looks like a JIT bug, but with this tentative patch: ... > no barriers are generated, and the minimized testcase passes. And the original test-case passes. >From gcc-bugs-return-601802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 13:23:36 2018 Return-Path: <gcc-bugs-return-601802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111562 invoked by alias); 17 Apr 2018 13:23:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111511 invoked by uid 48); 17 Apr 2018 13:23:32 -0000 From: "martin@mpa-garching.mpg.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85416] Massive performance regression when switching on "-march=native" Date: Tue, 17 Apr 2018 13:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: martin@mpa-garching.mpg.de X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85416-4-mxmWKJ3kq7@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85416-4@http.gcc.gnu.org/bugzilla/> References: <bug-85416-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01926.txt.bz2 Content-length: 269 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85416 --- Comment #11 from Martin Reinecke <martin@mpa-garching.mpg.de> --- Created attachment 43960 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43960&action=edit perf annotate output without -march=native >From gcc-bugs-return-601803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 13:24:31 2018 Return-Path: <gcc-bugs-return-601803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114116 invoked by alias); 17 Apr 2018 13:24:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112425 invoked by uid 48); 17 Apr 2018 13:24:04 -0000 From: "martin@mpa-garching.mpg.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85416] Massive performance regression when switching on "-march=native" Date: Tue, 17 Apr 2018 13:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: martin@mpa-garching.mpg.de X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85416-4-oGW3K0DEYm@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85416-4@http.gcc.gnu.org/bugzilla/> References: <bug-85416-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01927.txt.bz2 Content-length: 266 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85416 --- Comment #12 from Martin Reinecke <martin@mpa-garching.mpg.de> --- Created attachment 43961 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43961&action=edit perf annotate output with -march=native >From gcc-bugs-return-601804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 13:31:29 2018 Return-Path: <gcc-bugs-return-601804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12646 invoked by alias); 17 Apr 2018 13:31:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12557 invoked by uid 48); 17 Apr 2018 13:31:23 -0000 From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85416] Massive performance regression when switching on "-march=native" Date: Tue, 17 Apr 2018 13:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85416-4-xwhnG96uYL@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85416-4@http.gcc.gnu.org/bugzilla/> References: <bug-85416-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01928.txt.bz2 Content-length: 722 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85416 --- Comment #13 from Alexander Monakov <amonakov at gcc dot gnu.org> --- This is most likely a variant of https://bugzilla.redhat.com/show_bug.cgi?id=1421121 so hitting this bug requires a specific CPU model. It looks as if SSE-AVX transition penalties appear when switching between pure-SSE sinf code and VEX-prefixed SSE code in the main program after the ld.so runtime resolver affects AVX state tracking in the CPU. I'm not sure if any patches have landed on Glibc side to avoid this, but in any case this should be re-reported against Glibc if needed, GCC cannot improve the situation. An easy workaround would be to pass -Wl,-z,now when linking. >From gcc-bugs-return-601805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 13:40:09 2018 Return-Path: <gcc-bugs-return-601805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22900 invoked by alias); 17 Apr 2018 13:40:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21808 invoked by uid 48); 17 Apr 2018 13:39:58 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85433] -fdiagnostics-color=auto doesn't work properly with LTO Date: Tue, 17 Apr 2018 13:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-85433-4-JUdhMsg7h9@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85433-4@http.gcc.gnu.org/bugzilla/> References: <bug-85433-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01929.txt.bz2 Content-length: 1094 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85433 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- If you use -save-temps -v and rerun the lto1 invocation printed in there, it is colored. The way -fdiagnostics-color=auto works is it verifies TERM is not dumb and that isatty (2). The problem with LTO is that the latter is not the case, collect2 creates a file instead lderrout = make_temp_file (".le"); and uses that as stderr of the linker which is what becomes stderr of lto1 too. Dunno why we need to use files for there, if that is the case, perhaps either collect2 or gcc driver should for -flto linking and -fdiagnostics-color=auto (or if that is the default, for lack of -fdiagnostics-color too) check whether the stderr is a terminal and if yes, pass -fdiagnostics-color=always instead. >From gcc-bugs-return-601806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 13:46:07 2018 Return-Path: <gcc-bugs-return-601806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80572 invoked by alias); 17 Apr 2018 13:46:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79341 invoked by uid 48); 17 Apr 2018 13:46:02 -0000 From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85416] Massive performance regression when switching on "-march=native" Date: Tue, 17 Apr 2018 13:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov 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: <bug-85416-4-w3lbwYJoBI@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85416-4@http.gcc.gnu.org/bugzilla/> References: <bug-85416-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01930.txt.bz2 Content-length: 577 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85416 Alexander Monakov <amonakov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #14 from Alexander Monakov <amonakov at gcc dot gnu.org> --- Ah, the linked report actually says very clearly that fixes landed in Glibc 2.25, so I'll close this bug: nothing to do on GCC side about this. >From gcc-bugs-return-601807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 13:54:26 2018 Return-Path: <gcc-bugs-return-601807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126314 invoked by alias); 17 Apr 2018 13:54:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126232 invoked by uid 48); 17 Apr 2018 13:54:17 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/71960] __glibcxx_assert and Debug Mode checks can't be used in constexpr functions Date: Tue, 17 Apr 2018 13:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: minor X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: <bug-71960-4-0S8Bw68vI8@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-71960-4@http.gcc.gnu.org/bugzilla/> References: <bug-71960-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01931.txt.bz2 Content-length: 611 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71960 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-17 Ever confirmed|0 |1 --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- See patch and discussion at https://gcc.gnu.org/ml/libstdc++/2018-03/msg00032.html and https://gcc.gnu.org/ml/libstdc++/2018-03/msg00033.html >From gcc-bugs-return-601808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 14:01:01 2018 Return-Path: <gcc-bugs-return-601808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17926 invoked by alias); 17 Apr 2018 14:00:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17673 invoked by uid 48); 17 Apr 2018 14:00:24 -0000 From: "thopre01 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85434] New: Address of stack protector guard spilled to stack on ARM Date: Tue, 17 Apr 2018 14:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: thopre01 at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: thopre01 at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget attachments.created Message-ID: <bug-85434-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01932.txt.bz2 Content-length: 1239 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85434 Bug ID: 85434 Summary: Address of stack protector guard spilled to stack on ARM Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: target Assignee: thopre01 at gcc dot gnu.org Reporter: thopre01 at gcc dot gnu.org Target Milestone: --- Target: arm-linux-gnueabihf Created attachment 43962 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43962&action=edit Testcase for stack protector spilling guard address When compiling the attached file with -mcpu=cortex-a57 -std=c99 -Os -fpic -fstack-protector-strong the address to the stack gets spilled on the stack where an attacker using buffer overflow could overwrite it and thus control what is the canari checked against: ldr r3, [sp] <--- accessing spilled address of guard from stack mov r0, r4 ldr r2, [sp, #228] ldr r3, [r3] cmp r2, r3 beq .L18 bl __stack_chk_fail(PLT) I can reproduce this on GCC 7 and trunk at least. >From gcc-bugs-return-601809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 14:08:45 2018 Return-Path: <gcc-bugs-return-601809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89285 invoked by alias); 17 Apr 2018 14:08:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89253 invoked by uid 48); 17 Apr 2018 14:08:41 -0000 From: "thopre01 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85434] Address of stack protector guard spilled to stack on ARM Date: Tue, 17 Apr 2018 14: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.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: thopre01 at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: thopre01 at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: <bug-85434-4-fSNogfjFvX@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85434-4@http.gcc.gnu.org/bugzilla/> References: <bug-85434-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01933.txt.bz2 Content-length: 803 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85434 Thomas Preud'homme <thopre01 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-04-17 Ever confirmed|0 |1 --- Comment #1 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> --- This is caused by missing stack_protect_set and stack_protect_test pattern in ARM backend. It would be nice though if the address could be marked such that it doesn't go on the stack to have the default implementation a bit more robust. It might be worth having a warning if the override is not done as well. >From gcc-bugs-return-601810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 14:09:28 2018 Return-Path: <gcc-bugs-return-601810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127970 invoked by alias); 17 Apr 2018 14:09:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123227 invoked by uid 48); 17 Apr 2018 14:09:24 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/83077] sso-string @ gnu-versioned-namespace. Date: Tue, 17 Apr 2018 14:09: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: <bug-83077-4-SlBQfzNA5U@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83077-4@http.gcc.gnu.org/bugzilla/> References: <bug-83077-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01934.txt.bz2 Content-length: 291 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83077 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|8.0 |9.0 >From gcc-bugs-return-601811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 14:13:57 2018 Return-Path: <gcc-bugs-return-601811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29114 invoked by alias); 17 Apr 2018 14:13:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29082 invoked by uid 48); 17 Apr 2018 14:13:53 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85435] New: undefined behaviour in std::char_traits<signed char>::move Date: Tue, 17 Apr 2018 14:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85435-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01935.txt.bz2 Content-length: 1389 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85435 Bug ID: 85435 Summary: undefined behaviour in std::char_traits<signed char>::move Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- #include <string> int main() { std::char_traits<signed char>::move(nullptr, nullptr, 0); } Compiled with UBsan shows: /home/jwakely/gcc/8/include/c++/8.0.1/bits/char_traits.h:188:52: runtime error: null pointer passed as argument 1, which is declared to never be null /home/jwakely/gcc/8/include/c++/8.0.1/bits/char_traits.h:188:52: runtime error: null pointer passed as argument 2, which is declared to never be null The move member for the primary template needs this fix: --- a/libstdc++-v3/include/bits/char_traits.h +++ b/libstdc++-v3/include/bits/char_traits.h @@ -185,6 +185,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION char_traits<_CharT>:: move(char_type* __s1, const char_type* __s2, std::size_t __n) { + if (__n == 0) + return __s1; return static_cast<_CharT*>(__builtin_memmove(__s1, __s2, __n * sizeof(char_type))); } >From gcc-bugs-return-601812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 14:15:35 2018 Return-Path: <gcc-bugs-return-601812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30954 invoked by alias); 17 Apr 2018 14:15:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30403 invoked by uid 48); 17 Apr 2018 14:15:02 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85435] undefined behaviour in std::char_traits<signed char>::move Date: Tue, 17 Apr 2018 14:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on see_also everconfirmed Message-ID: <bug-85435-4-U8SVAXziEv@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85435-4@http.gcc.gnu.org/bugzilla/> References: <bug-85435-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01936.txt.bz2 Content-length: 554 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85435 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-17 See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=65049 Ever confirmed|0 |1 >From gcc-bugs-return-601813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 14:21:42 2018 Return-Path: <gcc-bugs-return-601813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68816 invoked by alias); 17 Apr 2018 14:21:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64504 invoked by uid 48); 17 Apr 2018 14:21:38 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/84442] FAIL: 30_threads/thread/cons/terminate.cc (test for excess errors) Date: Tue, 17 Apr 2018 14:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84442-4-sYdto2giMy@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84442-4@http.gcc.gnu.org/bugzilla/> References: <bug-84442-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01937.txt.bz2 Content-length: 168 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84442 --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- Dave, does the patch in comment 3 fix the FAIL? >From gcc-bugs-return-601815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 14:27:37 2018 Return-Path: <gcc-bugs-return-601815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15041 invoked by alias); 17 Apr 2018 14:27:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14961 invoked by uid 48); 17 Apr 2018 14:27:33 -0000 From: "acsawdey at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85436] New: [7 Regression] ICE compiling go code with -mcpu=power9 Date: Tue, 17 Apr 2018 14:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: acsawdey at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget attachments.created Message-ID: <bug-85436-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01939.txt.bz2 Content-length: 1076 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85436 Bug ID: 85436 Summary: [7 Regression] ICE compiling go code with -mcpu=power9 Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: acsawdey at gcc dot gnu.org CC: bergner at gcc dot gnu.org, segher at gcc dot gnu.org, wschmidt at gcc dot gnu.org Target Milestone: --- Target: powerpc64le-linux-gnu Created attachment 43964 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43964&action=edit reduced test case To reproduce: Build gcc-7-branch using: configure --disable-bootstrap --enable-languages=c,c++,go --with-long-double-128 --enable-secureplt --disable-multilib --without-ppl --without-cloog --without-libelf gcc/gccgo -Bgcc -O3 -Lpowerpc64le-linux-gnu/libgo -S bug_reduced.go -mcpu=power9 This affects 259009 through the head of the gcc-7-branch. >From gcc-bugs-return-601814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 14:27:21 2018 Return-Path: <gcc-bugs-return-601814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14269 invoked by alias); 17 Apr 2018 14:27:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14218 invoked by uid 48); 17 Apr 2018 14:27:16 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/84637] gcc/dbxout.c:684:14: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'; cast to an unsigned type to negate this value to itself Date: Tue, 17 Apr 2018 14:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: <bug-84637-4-KPNW1SdDra@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84637-4@http.gcc.gnu.org/bugzilla/> References: <bug-84637-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01938.txt.bz2 Content-length: 603 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84637 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 43963 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43963&action=edit gcc8-pr84637.patch I think in this case the fix is rather obvious (though, untested so far and not proposing it for GCC8). >From gcc-bugs-return-601816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 14:37:47 2018 Return-Path: <gcc-bugs-return-601816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60463 invoked by alias); 17 Apr 2018 14:37:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59864 invoked by uid 48); 17 Apr 2018 14:37:41 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70248] constexpr initialization with unspecified equality expression accepted Date: Tue, 17 Apr 2018 14:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: minor X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-70248-4-tYEkUnpfSc@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-70248-4@http.gcc.gnu.org/bugzilla/> References: <bug-70248-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01940.txt.bz2 Content-length: 670 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70248 --- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- Rejecting the test case because of the initialization is a regression. The cast is not a reinterpret cast. GCC gives the same error with a static cast too: $ gcc -S -Wall pr70248.C pr70248.C:4:24: error: a reinterpret_cast is not a constant expression constexpr int A::*bx = static_cast<int(A::*)>(&B::x); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pr70248.C:5:24: error: a reinterpret_cast is not a constant expression constexpr int A::*cx = static_cast<int(A::*)>(&C::x); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >From gcc-bugs-return-601817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 14:53:56 2018 Return-Path: <gcc-bugs-return-601817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123639 invoked by alias); 17 Apr 2018 14:53:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123559 invoked by uid 48); 17 Apr 2018 14:53:52 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70248] constexpr initialization with unspecified equality expression accepted Date: Tue, 17 Apr 2018 14:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: minor X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-70248-4-QeLVP00nUm@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-70248-4@http.gcc.gnu.org/bugzilla/> References: <bug-70248-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01941.txt.bz2 Content-length: 479 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70248 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That started with r249088. >From gcc-bugs-return-601818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 14:54:14 2018 Return-Path: <gcc-bugs-return-601818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124562 invoked by alias); 17 Apr 2018 14:54:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124320 invoked by uid 48); 17 Apr 2018 14:54:09 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85437] New: [8 Regression] member pointer static upcast rejected in a constexpr context Date: Tue, 17 Apr 2018 14:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85437-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01942.txt.bz2 Content-length: 914 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85437 Bug ID: 85437 Summary: [8 Regression] member pointer static upcast rejected in a constexpr context Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- The following valid test case (extracted from bug 70248) is accepted by GCC 7 (and Clang and ICC) but rejected by GCC 8: $ cat pr70248.C && gcc -S -Wall pr70248.C struct A {}; struct B : A { int x; }; constexpr int A::*bx = static_cast<int(A::*)>(&B::x); pr70248.C:4:24: error: a reinterpret_cast is not a constant expression constexpr int A::*bx = static_cast<int(A::*)>(&B::x); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >From gcc-bugs-return-601819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 14:55:44 2018 Return-Path: <gcc-bugs-return-601819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126035 invoked by alias); 17 Apr 2018 14:55:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125985 invoked by uid 48); 17 Apr 2018 14:55:39 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/70248] constexpr initialization with unspecified equality expression accepted Date: Tue, 17 Apr 2018 14:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: minor X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also Message-ID: <bug-70248-4-uwIwxWZZhb@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-70248-4@http.gcc.gnu.org/bugzilla/> References: <bug-70248-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01943.txt.bz2 Content-length: 494 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70248 Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=85437 --- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> --- I raised bug 85437 for the regression. >From gcc-bugs-return-601820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 14:55:55 2018 Return-Path: <gcc-bugs-return-601820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127438 invoked by alias); 17 Apr 2018 14:55:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126836 invoked by uid 48); 17 Apr 2018 14:55:50 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85438] New: [8 Regression] invalid "a reinterpret_cast is not a constant expression" diagnostics since r249088 Date: Tue, 17 Apr 2018 14:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: minor X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc dependson blocked target_milestone Message-ID: <bug-85438-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01944.txt.bz2 Content-length: 1405 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85438 Bug ID: 85438 Summary: [8 Regression] invalid "a reinterpret_cast is not a constant expression" diagnostics since r249088 Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: accepts-invalid Severity: minor Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org CC: daniel.kruegler at googlemail dot com, jakub at gcc dot gnu.org, jason at gcc dot gnu.org, msebor at gcc dot gnu.org, unassigned at gcc dot gnu.org, webrown.cpp at gmail dot com Depends on: 70248 Blocks: 55004 Target Milestone: --- +++ This bug was initially created as a clone of Bug #70248 +++ struct A {}; struct B : A { int x; }; constexpr int A::*bx = (int(A::*))&B::x; is rejected since r249088 with: pr70248-2.C:3:24: error: a reinterpret_cast is not a constant expression constexpr int A::*bx = (int(A::*))&B::x; ^~~~~~~~~~~~~ Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 [Bug 55004] [meta-bug] constexpr issues https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70248 [Bug 70248] constexpr initialization with unspecified equality expression accepted >From gcc-bugs-return-601822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 14:56:39 2018 Return-Path: <gcc-bugs-return-601822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128903 invoked by alias); 17 Apr 2018 14:56:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128488 invoked by uid 48); 17 Apr 2018 14:56:35 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85438] [8 Regression] invalid "a reinterpret_cast is not a constant expression" diagnostics since r249088 Date: Tue, 17 Apr 2018 14:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: minor 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: keywords bug_status cf_reconfirmed_on target_milestone everconfirmed Message-ID: <bug-85438-4-gsbSpATQYJ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85438-4@http.gcc.gnu.org/bugzilla/> References: <bug-85438-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01946.txt.bz2 Content-length: 616 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85438 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|accepts-invalid |rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-17 Target Milestone|--- |8.0 Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- clang++ and older g++ accept it. >From gcc-bugs-return-601821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 14:56:36 2018 Return-Path: <gcc-bugs-return-601821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128536 invoked by alias); 17 Apr 2018 14:56:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128457 invoked by uid 48); 17 Apr 2018 14:56:32 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85437] [8 Regression] member pointer static upcast rejected in a constexpr context Date: Tue, 17 Apr 2018 14:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: <bug-85437-4-jSe205ibsq@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85437-4@http.gcc.gnu.org/bugzilla/> References: <bug-85437-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01945.txt.bz2 Content-length: 977 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85437 Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- The first revision to reject the test case is r249088: Overhaul pointer-to-member conversion and template argument handling. * call.c (standard_conversion): Avoid creating ck_pmem when the class type is the same. * cvt.c (can_convert_qual): Split from perform_qualification_conversions. * constexpr.c (cxx_eval_constant_expression): Check it. * typeck.c (convert_ptrmem): Only cplus_expand_constant if adjustment is necessary. * pt.c (check_valid_ptrmem_cst_expr): Compare class types. (convert_nontype_argument): Avoid redundant error. >From gcc-bugs-return-601823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 14:58:43 2018 Return-Path: <gcc-bugs-return-601823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3937 invoked by alias); 17 Apr 2018 14:58:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3906 invoked by uid 48); 17 Apr 2018 14:58:38 -0000 From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85437] [8 Regression] member pointer static upcast rejected in a constexpr context Date: Tue, 17 Apr 2018 14:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: <bug-85437-4-ALpEOiIfjO@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85437-4@http.gcc.gnu.org/bugzilla/> References: <bug-85437-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01947.txt.bz2 Content-length: 561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85437 Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-17 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Confirmed. >From gcc-bugs-return-601824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 15:01:48 2018 Return-Path: <gcc-bugs-return-601824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36795 invoked by alias); 17 Apr 2018 15:01:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36651 invoked by uid 48); 17 Apr 2018 15:01:43 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85438] [8 Regression] invalid "a reinterpret_cast is not a constant expression" diagnostics since r249088 Date: Tue, 17 Apr 2018 15:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: minor X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85438-4-6u0qzHk69A@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85438-4@http.gcc.gnu.org/bugzilla/> References: <bug-85438-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01948.txt.bz2 Content-length: 515 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85438 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- There is one NOP_EXPR created by *** This bug has been marked as a duplicate of bug 85437 *** >From gcc-bugs-return-601825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 15:01:50 2018 Return-Path: <gcc-bugs-return-601825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37009 invoked by alias); 17 Apr 2018 15:01:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36738 invoked by uid 48); 17 Apr 2018 15:01:45 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/55004] [meta-bug] constexpr issues Date: Tue, 17 Apr 2018 15:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-55004-4-X5eYWlGsh0@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-55004-4@http.gcc.gnu.org/bugzilla/> References: <bug-55004-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01950.txt.bz2 Content-length: 530 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 85438, which changed state. Bug 85438 Summary: [8 Regression] invalid "a reinterpret_cast is not a constant expression" diagnostics since r249088 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85438 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE >From gcc-bugs-return-601826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 15:01:54 2018 Return-Path: <gcc-bugs-return-601826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37483 invoked by alias); 17 Apr 2018 15:01:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36701 invoked by uid 48); 17 Apr 2018 15:01:45 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85437] [8 Regression] member pointer static upcast rejected in a constexpr context Date: Tue, 17 Apr 2018 15:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-85437-4-KGn05lRvaG@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85437-4@http.gcc.gnu.org/bugzilla/> References: <bug-85437-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01949.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85437 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- *** Bug 85438 has been marked as a duplicate of this bug. *** >From gcc-bugs-return-601827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 15:07:52 2018 Return-Path: <gcc-bugs-return-601827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103457 invoked by alias); 17 Apr 2018 15:07:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103403 invoked by uid 48); 17 Apr 2018 15:07:47 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85437] [8 Regression] member pointer static upcast rejected in a constexpr context Date: Tue, 17 Apr 2018 15:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: rejects-valid 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: <bug-85437-4-ZtvKfoN6lI@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85437-4@http.gcc.gnu.org/bugzilla/> References: <bug-85437-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01951.txt.bz2 Content-length: 559 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85437 --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- convert_ptrmem here creates a NOP_EXPR around the PTRMEM_CST, even when it is for a static cast rather than reinterpret_cast. The OFFSET_TYPEs are different, but they have the same TREE_TYPE etc. Then constexpr.c doesn't consider that cast to be usable in constant expressions and because it is called with allow_non_constant, it wraps the new PTRMEM_CST with another NOP_EXPR and that is where following constexpr.c call errors on. >From gcc-bugs-return-601828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 15:10:50 2018 Return-Path: <gcc-bugs-return-601828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121329 invoked by alias); 17 Apr 2018 15:10:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118797 invoked by uid 48); 17 Apr 2018 15:10:45 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85437] [8 Regression] member pointer static upcast rejected in a constexpr context Date: Tue, 17 Apr 2018 15:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: rejects-valid 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 target_milestone Message-ID: <bug-85437-4-IFC6WYi6rl@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85437-4@http.gcc.gnu.org/bugzilla/> References: <bug-85437-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01952.txt.bz2 Content-length: 2337 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85437 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org Target Milestone|--- |8.0 --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (gdb) p debug_tree (type) <offset_type 0x7fffefd9d150 type <integer_type 0x7fffefc625e8 int public type_6 SI size <integer_cst 0x7fffefc650c0 constant 32> unit-size <integer_cst 0x7fffefc650d8 constant 4> align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7fffefc625e8 precision:32 min <integer_cst 0x7fffefc65078 -2147483648> max <integer_cst 0x7fffefc65090 2147483647> pointer_to_this <pointer_type 0x7fffefc6aa80>> DI size <integer_cst 0x7fffefc45e70 type <integer_type 0x7fffefc620a8 bitsizetype> constant 64> unit-size <integer_cst 0x7fffefc45e88 type <integer_type 0x7fffefc62000 sizetype> constant 8> align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7fffefd9d150 basetype <record_type 0x7fffefd88150 A>> $4 = void (gdb) p debug_tree (op->typed.type) <offset_type 0x7fffefd9d3f0 type <integer_type 0x7fffefc625e8 int public type_6 SI size <integer_cst 0x7fffefc650c0 constant 32> unit-size <integer_cst 0x7fffefc650d8 constant 4> align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7fffefc625e8 precision:32 min <integer_cst 0x7fffefc65078 -2147483648> max <integer_cst 0x7fffefc65090 2147483647> pointer_to_this <pointer_type 0x7fffefc6aa80>> DI size <integer_cst 0x7fffefc45e70 type <integer_type 0x7fffefc620a8 bitsizetype> constant 64> unit-size <integer_cst 0x7fffefc45e88 type <integer_type 0x7fffefc62000 sizetype> constant 8> align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7fffefd9d3f0 basetype <record_type 0x7fffefd889d8 B>> Ah, one has basetype A, the other B, and both: 4600 if (same_type_ignoring_top_level_qualifiers_p (type, 4601 TREE_TYPE (op)) 4602 || can_convert_qual (type, op)) tests fail in this case. >From gcc-bugs-return-601829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 15:16:51 2018 Return-Path: <gcc-bugs-return-601829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120234 invoked by alias); 17 Apr 2018 15:16:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120131 invoked by uid 48); 17 Apr 2018 15:16:42 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85435] undefined behaviour in std::char_traits<signed char>::move Date: Tue, 17 Apr 2018 15:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ 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: cc Message-ID: <bug-85435-4-IUlVVfCIeq@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85435-4@http.gcc.gnu.org/bugzilla/> References: <bug-85435-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01953.txt.bz2 Content-length: 716 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85435 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- This isn't important to fix just because ubsan will be happy, but the optimizers actively derive non-NULL range for the pointers from the memmove call and so could optimize away say comparisons against NULL of those pointers etc. So, if it is valid for the move method on char_traits to be called with NULL, the fix is very important. >From gcc-bugs-return-601830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 15:22:45 2018 Return-Path: <gcc-bugs-return-601830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93395 invoked by alias); 17 Apr 2018 15:22:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93183 invoked by uid 48); 17 Apr 2018 15:22:41 -0000 From: "krzysio.kurek at wp dot pl" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/82229] GCC7's LTO underperforms compared to GCC6 Date: Tue, 17 Apr 2018 15:22: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: 7.2.0 X-Bugzilla-Keywords: lto, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: krzysio.kurek at wp dot pl X-Bugzilla-Status: WAITING 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: Message-ID: <bug-82229-4-OIN1o1mrxW@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-82229-4@http.gcc.gnu.org/bugzilla/> References: <bug-82229-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01954.txt.bz2 Content-length: 221 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229 --- Comment #22 from krzysio.kurek at wp dot pl --- I'm sorry but profiling doesn't seem to be well documented, what tools should I use to generate a profiling log? >From gcc-bugs-return-601831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 15:33:22 2018 Return-Path: <gcc-bugs-return-601831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121323 invoked by alias); 17 Apr 2018 15:33:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121259 invoked by uid 48); 17 Apr 2018 15:33:16 -0000 From: "ramana at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85203] cmse_nonsecure_caller intrinsic returns incorrect results Date: Tue, 17 Apr 2018 15:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ramana at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: thopre01 at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone Message-ID: <bug-85203-4-aiVWiIJ7mV@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85203-4@http.gcc.gnu.org/bugzilla/> References: <bug-85203-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01955.txt.bz2 Content-length: 581 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85203 Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |ramana at gcc dot gnu.org Resolution|--- |FIXED Target Milestone|--- |7.4 --- Comment #4 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> --- Fixed I'm assuming ? >From gcc-bugs-return-601832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 15:36:17 2018 Return-Path: <gcc-bugs-return-601832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126699 invoked by alias); 17 Apr 2018 15:36:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126613 invoked by uid 48); 17 Apr 2018 15:36:11 -0000 From: "ramana at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/85380] gnatbind fails with small executable & restricted runtime Date: Tue, 17 Apr 2018 15:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ramana at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-85380-4-iJ1lhJSBNC@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85380-4@http.gcc.gnu.org/bugzilla/> References: <bug-85380-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01956.txt.bz2 Content-length: 541 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85380 Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu.org, | |ramana at gcc dot gnu.org --- Comment #1 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> --- Adding Eric to the CC list as someone who could comment on this ? >From gcc-bugs-return-601833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 15:36:30 2018 Return-Path: <gcc-bugs-return-601833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127440 invoked by alias); 17 Apr 2018 15:36:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127377 invoked by uid 48); 17 Apr 2018 15:36:26 -0000 From: "thopre01 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85434] Address of stack protector guard spilled to stack on ARM Date: Tue, 17 Apr 2018 15: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: 8.0.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: thopre01 at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: thopre01 at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85434-4-MejjAN90YF@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85434-4@http.gcc.gnu.org/bugzilla/> References: <bug-85434-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01957.txt.bz2 Content-length: 582 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85434 --- Comment #2 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> --- (In reply to Thomas Preud'homme from comment #1) > This is caused by missing stack_protect_set and stack_protect_test pattern > in ARM backend. It would be nice though if the address could be marked such > that it doesn't go on the stack to have the default implementation a bit > more robust. It might be worth having a warning if the override is not done > as well. Nope sorry, the address is put in a register before the test pattern is called. >From gcc-bugs-return-601834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 15:58:18 2018 Return-Path: <gcc-bugs-return-601834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2456 invoked by alias); 17 Apr 2018 15:58:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2388 invoked by uid 48); 17 Apr 2018 15:58:13 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85431] UBSAN: ../../gcc/dse.c:303:15: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int' Date: Tue, 17 Apr 2018 15:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed attachments.created Message-ID: <bug-85431-4-ZOoo7lb2Fy@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85431-4@http.gcc.gnu.org/bugzilla/> References: <bug-85431-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01958.txt.bz2 Content-length: 689 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85431 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-04-17 Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 43965 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43965&action=edit gcc8-pr85421.patch Untested fix. >From gcc-bugs-return-601835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 16:02:22 2018 Return-Path: <gcc-bugs-return-601835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11498 invoked by alias); 17 Apr 2018 16:02:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11442 invoked by uid 48); 17 Apr 2018 16:02:18 -0000 From: "acsawdey at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85436] [7 Regression] ICE compiling go code with -mcpu=power9 Date: Tue, 17 Apr 2018 16: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: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: acsawdey at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85436-4-pBshFy919u@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85436-4@http.gcc.gnu.org/bugzilla/> References: <bug-85436-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01959.txt.bz2 Content-length: 334 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85436 --- Comment #1 from acsawdey at gcc dot gnu.org --- Created attachment 43966 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43966&action=edit shorter reduced test case I've further reduced the test case and now it's only 38 lines so so should be easier to work with. >From gcc-bugs-return-601836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 16:11:28 2018 Return-Path: <gcc-bugs-return-601836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126645 invoked by alias); 17 Apr 2018 16:11:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126603 invoked by uid 48); 17 Apr 2018 16:11:23 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85435] undefined behaviour in std::char_traits<signed char>::move Date: Tue, 17 Apr 2018 16: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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85435-4-LOWCZ2hEit@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85435-4@http.gcc.gnu.org/bugzilla/> References: <bug-85435-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01960.txt.bz2 Content-length: 403 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85435 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- The library will never call it with a null pointer, but users could do. Not many people use char_traits directly though. Probably even fewer use the primary template, because there are specializations for char, wchar_t, char16_t and char32_t which were already fixed for PR 65049. >From gcc-bugs-return-601837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 16:16:41 2018 Return-Path: <gcc-bugs-return-601837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29855 invoked by alias); 17 Apr 2018 16:16:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29827 invoked by uid 48); 17 Apr 2018 16:16:36 -0000 From: "foddex at foddex dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85439] New: mt19937_64 producing unexpected result only in certain configuration Date: Tue, 17 Apr 2018 16:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: foddex at foddex dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: <bug-85439-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01961.txt.bz2 Content-length: 2242 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85439 Bug ID: 85439 Summary: mt19937_64 producing unexpected result only in certain configuration Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: foddex at foddex dot net Target Milestone: --- Created attachment 43967 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43967&action=edit Code mentioned in report My sincere apologies if this doesn't belong here, I'm not a regular. In my tests to establish STL's mersenne twister's reproducability, I have found an interesting problem that I think is a bug in the libstdc++ runtime in Linux, but I may be wrong. I ran the attached code on the various platforms and compiler combinations: LINUX: - g++ version 7.3.1 20180130 (Red Hat 7.3.1-2) on Fedora 26 4.12.14-300 - clang++ version 4.0.1 (tags/RELEASE_401/final) on Fedora 26 4.12.14-300 - clang++ version 6.0.0 (tags/RELEASE_600/final) on Arch Linux 4.15.13-1 OSX: - clang++ 9.1.0 Apple LLVM on High Sierra WINDOWS: - MSVC2017 15.6.6 on Windows 10 For g++ and clang++ the compilations options are identical on all platforms: main.cpp -std=c++11 On MSVC a default solution was used. The output on Linux is as follows: 32 bits gen, uint32_t: 3499211612 32 bits gen, uint64_t: 15028999435905310454 64 bits gen, uint32_t: 3379370269 64 bits gen, uint64_t: 14514284786278117030 32 bits gen, float: 0.814724 64 bits gen, float: 0.786821 32 bits gen, double: 0.135477 64 bits gen, double: 0.786821 The output of the clang++ on OS X and MSVC applications is as follows: 32 bits gen, uint32_t: 3499211612 32 bits gen, uint64_t: 15028999435905310454 64 bits gen, uint32_t: 4143361702 64 bits gen, uint64_t: 14514284786278117030 32 bits gen, float: 0.814724 64 bits gen, float: 0.786821 32 bits gen, double: 0.135477 64 bits gen, double: 0.786821 Note that the output only differs on the 3rd line. Since MSVC and clang agree on all tests, and their implementations are independent, I came to the conclusion it must be a bug in libstd++ on Linux. >From gcc-bugs-return-601838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 16:35:36 2018 Return-Path: <gcc-bugs-return-601838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22217 invoked by alias); 17 Apr 2018 16:35:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21607 invoked by uid 55); 17 Apr 2018 16:35:30 -0000 From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/85326] `make check` fails with `--disable-bootstrap` and `--enable-languages=c` Date: Tue, 17 Apr 2018 16:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85326-4-RF0pwF81n6@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85326-4@http.gcc.gnu.org/bugzilla/> References: <bug-85326-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01962.txt.bz2 Content-length: 4907 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85326 --- Comment #6 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Apr 17 16:34:56 2018 New Revision: 259435 URL: https://gcc.gnu.org/viewcvs?rev=259435&root=gcc&view=rev Log: [AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present PR testsuite/85326 * gcc.target/arm/pr54300.C: Move to... * g++.dg/other/pr54300.C: ... Here. Add target directives. * gcc.target/arm/pr55073.C: Move to... * g++.dg/other/pr55073.C: ... Here. Add target directives. * gcc.target/arm/pr56184.C: Move to... * g++.dg/other/pr56184.C: ... Here. Add target directives. * gcc.target/arm/pr59985.C: Move to... * g++.dg/other/pr59985.C: ... Here. Add target directives. * gcc.target/aarch64/pr60675.C: Move to... * g++.dg/other/pr60675.C: ... Here. Add target directives. * gcc.target/aarch64/pr81422.C: Move to... * g++.dg/other/pr81422.C: ... Here. Add target directives. * gcc.target/aarch64/sve/const_pred_1.C: Move to... * g++.dg/other/sve_const_pred_1.C: ... Here. Add target directives. * gcc.target/aarch64/sve/const_pred_2.C: Move to... * g++.dg/other/sve_const_pred_2.C: ... Here. Add target directives. * gcc.target/aarch64/sve/const_pred_3.C: Move to... * g++.dg/other/sve_const_pred_3.C: ... Here. Add target directives. * gcc.target/aarch64/sve/const_pred_4.C: Move to... * g++.dg/other/sve_const_pred_4.C: ... Here. Add target directives. * gcc.target/aarch64/sve/tls_2.C: Move to... * g++.dg/other/sve_tls_2.C: ... Here. Add target directives. * gcc.target/aarch64/pr81414.C: Rename to... * gcc.target/aarch64/pr81414.c: ... This. * gcc.target/aarch64/simd/pr67896.C: Rename to... * gcc.target/aarch64/simd/pr67896.c: ... This. Update error expected messages. * gcc.target/aarch64/sve/vcond_1.C: Rename to... * gcc.target/aarch64/sve/vcond_1.c: ... This. Avoid use of stdint.h. * gcc.target/aarch64/sve/vcond_1_run.C: Rename to... * gcc.target/aarch64/sve/vcond_1_run.c: ... This. Update include file name. Added: trunk/gcc/testsuite/g++.dg/other/pr54300.C - copied, changed from r259434, trunk/gcc/testsuite/gcc.target/arm/pr54300.C trunk/gcc/testsuite/g++.dg/other/pr55073.C - copied, changed from r259434, trunk/gcc/testsuite/gcc.target/arm/pr55073.C trunk/gcc/testsuite/g++.dg/other/pr56184.C - copied, changed from r259434, trunk/gcc/testsuite/gcc.target/arm/pr56184.C trunk/gcc/testsuite/g++.dg/other/pr59985.C - copied, changed from r259434, trunk/gcc/testsuite/gcc.target/arm/pr59985.C trunk/gcc/testsuite/g++.dg/other/pr60675.C - copied, changed from r259434, trunk/gcc/testsuite/gcc.target/aarch64/pr60675.C trunk/gcc/testsuite/g++.dg/other/pr81422.C - copied unchanged from r259434, trunk/gcc/testsuite/gcc.target/aarch64/pr81422.C trunk/gcc/testsuite/g++.dg/other/sve_const_pred_1.C - copied, changed from r259434, trunk/gcc/testsuite/gcc.target/aarch64/sve/const_pred_1.C trunk/gcc/testsuite/g++.dg/other/sve_const_pred_2.C - copied, changed from r259434, trunk/gcc/testsuite/gcc.target/aarch64/sve/const_pred_2.C trunk/gcc/testsuite/g++.dg/other/sve_const_pred_3.C - copied, changed from r259434, trunk/gcc/testsuite/gcc.target/aarch64/sve/const_pred_3.C trunk/gcc/testsuite/g++.dg/other/sve_const_pred_4.C - copied, changed from r259434, trunk/gcc/testsuite/gcc.target/aarch64/sve/const_pred_4.C trunk/gcc/testsuite/g++.dg/other/sve_tls_2.C - copied, changed from r259434, trunk/gcc/testsuite/gcc.target/aarch64/sve/tls_2.C trunk/gcc/testsuite/gcc.target/aarch64/pr81414.c - copied unchanged from r259434, trunk/gcc/testsuite/gcc.target/aarch64/pr81414.C trunk/gcc/testsuite/gcc.target/aarch64/simd/pr67896.c Removed: trunk/gcc/testsuite/gcc.target/aarch64/pr60675.C trunk/gcc/testsuite/gcc.target/aarch64/pr81414.C trunk/gcc/testsuite/gcc.target/aarch64/pr81422.C trunk/gcc/testsuite/gcc.target/aarch64/simd/pr67896.C trunk/gcc/testsuite/gcc.target/aarch64/sve/const_pred_1.C trunk/gcc/testsuite/gcc.target/aarch64/sve/const_pred_2.C trunk/gcc/testsuite/gcc.target/aarch64/sve/const_pred_3.C trunk/gcc/testsuite/gcc.target/aarch64/sve/const_pred_4.C trunk/gcc/testsuite/gcc.target/aarch64/sve/tls_2.C trunk/gcc/testsuite/gcc.target/arm/pr54300.C trunk/gcc/testsuite/gcc.target/arm/pr55073.C trunk/gcc/testsuite/gcc.target/arm/pr56184.C trunk/gcc/testsuite/gcc.target/arm/pr59985.C Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/aarch64/sve/vcond_1.C trunk/gcc/testsuite/gcc.target/aarch64/sve/vcond_1_run.C >From gcc-bugs-return-601839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 17:01:18 2018 Return-Path: <gcc-bugs-return-601839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25735 invoked by alias); 17 Apr 2018 17:01:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25691 invoked by uid 48); 17 Apr 2018 17:01:13 -0000 From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] New: libquadmath and quadmath.h do not exist on ppc64 Date: Tue, 17 Apr 2018 17:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dclarke at blastwave dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01963.txt.bz2 Content-length: 3780 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 Bug ID: 85440 Summary: libquadmath and quadmath.h do not exist on ppc64 Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libquadmath Assignee: unassigned at gcc dot gnu.org Reporter: dclarke at blastwave dot org Target Milestone: --- Seems fairly clear that while the info file does get installed into share/info/libquadmath.info the actual lib and header do not exist. Could be bug 55821 here again. You can see the testsuite report at : https://gcc.gnu.org/ml/gcc-testresults/2018-04/msg01351.html The ramifications here seem to be that one can not compile much of anything that uses the new 128-bit IEEE 754-2008 datatypes on this platform and any attempt to do so results in : foo.c:3:10: fatal error: quadmath.h: No such file or directory #include <quadmath.h> ^~~~~~~~~~~~ compilation terminated. Any attempt to use the -mabi=ieeelongdouble option results in horrific results that are no where even remotely close to correct : nix$ cat ld.c #define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> int main ( int argc, char *argv[] ) { int j; /* correct 128 bit big endian hex representation of pi is * 0x40 00 92 1f b5 44 42 d1 84 69 89 8c c5 17 01 b8 */ long double pi = 3.14159265358979323846264338327950288419716939937510L; printf("\nstack address of variable \"pi\" is %p\n", &pi ); printf("\ncontents : 0x" ); for ( j=0; j<sizeof(long double); j++ ) printf("%02x ", ((unsigned char *)&pi)[j] ); printf("\n" ); printf("%+42.38Lf\n", pi ); printf(" +3.1415926535897932384626433832795028841971 <- pi\n" ); return (EXIT_SUCCESS); } nix$ nix$ /usr/local/gcc7/bin/gcc -m64 -g -Wl,-rpath=/usr/local/lib -mcpu=970 -maltivec -mfull-toc -mregnames -mabi=ieeelongdouble -o ld ld.c gcc: warning: using IEEE extended precision long double cc1: warning: using IEEE extended precision long double nix$ ./ld stack address of variable "pi" is 0x7ffffa5fb8c0 contents : 0x40 00 92 1f b5 44 42 d1 84 69 89 8c c5 17 01 b8 +2.07134954084936184770526779175270348787 +3.1415926535897932384626433832795028841971 <- pi nix$ We can see the obvious error from printf here as well as the two different representations in the assembly from the use of the -mabi=ieeelongdouble versus the -mabi=ibmlongdouble : nix$ nix$ /usr/local/gcc7/bin/gcc -m64 -g -Wl,-rpath=/usr/local/lib -mcpu=970 -maltivec -mfull-toc -mregnames -mabi=ibmlongdouble -S -o ld.s ld.c ; grep "quad" ld.s | grep "0x" gcc: warning: using IBM extended precision long double cc1: warning: using IBM extended precision long double .quad 0x400921fb54442d18,0x3ca1a62633145c06 nix$ nix$ /usr/local/gcc7/bin/gcc -m64 -g -Wl,-rpath=/usr/local/lib -mcpu=970 -maltivec -mfull-toc -mregnames -mabi=ieeelongdouble -S -o ld.s ld.c ; grep "quad" ld.s | grep "0x" gcc: warning: using IEEE extended precision long double cc1: warning: using IEEE extended precision long double .quad 0x4000921fb54442d1,0x8469898cc51701b8 nix$ One of those is clearly correct and the other clearly wrong. libquadmath was designed to address these sort of cross platform bizarre issues and gnu libc has implementations for various issues. Is the real problem gnu libc ? The GNU C Library version 2.26 is now available https://sourceware.org/ml/libc-alpha/2017-08/msg00010.html The GNU C Library version 2.27 is now available https://sourceware.org/ml/libc-announce/2018/msg00000.html Or perhaps non-IBM Power variations are simply not supported? >From gcc-bugs-return-601840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 17:02:10 2018 Return-Path: <gcc-bugs-return-601840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28476 invoked by alias); 17 Apr 2018 17:02:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27912 invoked by uid 55); 17 Apr 2018 17:02:04 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85430] [7/8 Regression] ICE: SIGSEGV in memory_operand at recog.c:1358 with -O2 -fno-tree-ccp -fno-tree-fre Date: Tue, 17 Apr 2018 17:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85430-4-P1C3WnETeV@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85430-4@http.gcc.gnu.org/bugzilla/> References: <bug-85430-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01964.txt.bz2 Content-length: 553 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85430 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Apr 17 17:01:31 2018 New Revision: 259436 URL: https://gcc.gnu.org/viewcvs?rev=259436&root=gcc&view=rev Log: PR target/85430 * config/i386/i386.md (*ashlqi3_1_slp): Use alu1 type instead of alu. * gcc.dg/pr85430.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr85430.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.md trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-601842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 17:07:39 2018 Return-Path: <gcc-bugs-return-601842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35673 invoked by alias); 17 Apr 2018 17:07:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35528 invoked by uid 48); 17 Apr 2018 17:07:35 -0000 From: "thopre01 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85434] Address of stack protector guard spilled to stack on ARM Date: Tue, 17 Apr 2018 17:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: thopre01 at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: thopre01 at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85434-4-tyyfEB546f@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85434-4@http.gcc.gnu.org/bugzilla/> References: <bug-85434-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01966.txt.bz2 Content-length: 1748 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85434 --- Comment #3 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> --- (In reply to Thomas Preud'homme from comment #2) > (In reply to Thomas Preud'homme from comment #1) > > This is caused by missing stack_protect_set and stack_protect_test pattern > > in ARM backend. It would be nice though if the address could be marked such > > that it doesn't go on the stack to have the default implementation a bit > > more robust. It might be worth having a warning if the override is not done > > as well. > > Nope sorry, the address is put in a register before the test pattern is > called. This happens when expanding the tree that holds the guard's address. It's a symbol_ref for which the default expand code of loading into a register is used. This happens also for AArch64 and I suspect for x86 as well. What makes it worse on ARM is that cse_local sees 2 SET instructions computing the address of the guard and reuse the register being set in the first instruction instead of recomputing again. Because of the distance between that first SET and the comparison between guard and canari the chances of getting the address spilled are higher. This does not happen for AArch64 because the mov of symbol_ref generates an UNSPEC of a memory address whereas ARM generates a MEM of an UNSPEC symbol_ref. However I suppose with scheduling it's possible for the set of guard address and following test of guard against canari to be moved apart and spill to happen in theory. My feeling is that the target patterns should also do the address computation, ie stack_protect_set and stack_protect_test would take that MEM of symbol_ref instead of expanding it first. Thoughts? >From gcc-bugs-return-601841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 17:07:18 2018 Return-Path: <gcc-bugs-return-601841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34777 invoked by alias); 17 Apr 2018 17:07:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34686 invoked by uid 55); 17 Apr 2018 17:07:09 -0000 From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/85326] `make check` fails with `--disable-bootstrap` and `--enable-languages=c` Date: Tue, 17 Apr 2018 17:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85326-4-npVG2ve45t@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85326-4@http.gcc.gnu.org/bugzilla/> References: <bug-85326-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01965.txt.bz2 Content-length: 745 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85326 --- Comment #7 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Apr 17 17:06:36 2018 New Revision: 259437 URL: https://gcc.gnu.org/viewcvs?rev=259437&root=gcc&view=rev Log: PR testsuite/85326 Commit missing hunk from r259435. Added: trunk/gcc/testsuite/gcc.target/aarch64/sve/vcond_1.c - copied unchanged from r259435, trunk/gcc/testsuite/gcc.target/aarch64/sve/vcond_1.C trunk/gcc/testsuite/gcc.target/aarch64/sve/vcond_1_run.c - copied unchanged from r259435, trunk/gcc/testsuite/gcc.target/aarch64/sve/vcond_1_run.C Removed: trunk/gcc/testsuite/gcc.target/aarch64/sve/vcond_1.C trunk/gcc/testsuite/gcc.target/aarch64/sve/vcond_1_run.C >From gcc-bugs-return-601843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 17:24:01 2018 Return-Path: <gcc-bugs-return-601843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129156 invoked by alias); 17 Apr 2018 17:24:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129069 invoked by uid 48); 17 Apr 2018 17:23:56 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find Date: Tue, 17 Apr 2018 17:24: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: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_fail Message-ID: <bug-85422-4-cCl2OqLNLf@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85422-4@http.gcc.gnu.org/bugzilla/> References: <bug-85422-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01967.txt.bz2 Content-length: 410 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |6.4.0, 7.3.0 --- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> --- Reproduces with gcc-6-branch and gcc-7-branch. >From gcc-bugs-return-601844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 17:37:19 2018 Return-Path: <gcc-bugs-return-601844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43712 invoked by alias); 17 Apr 2018 17:37:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43663 invoked by uid 48); 17 Apr 2018 17:37:14 -0000 From: "sebastian321123 at interia dot pl" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85441] New: Empty loops not optimised away Date: Tue, 17 Apr 2018 17:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sebastian321123 at interia dot pl X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85441-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01968.txt.bz2 Content-length: 5399 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85441 Bug ID: 85441 Summary: Empty loops not optimised away Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sebastian321123 at interia dot pl Target Milestone: --- This code compiles for a long time and has high memory usage (roughly 2GiB). I suspect that empty loops are not removed. Code: constexpr double foo(const unsigned int N) { for (unsigned int i = 0; i != N; ++i) { for (unsigned int i = 0; i != N; ++i) { } } return 7; } int main() { return foo(4393u); } Command line: $ time env g++ -v --std=c++14 foo.cpp -o foo Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp Thread model: posix gcc version 7.3.1 20180312 (GCC) COLLECT_GCC_OPTIONS='-v' '-std=c++14' '-o' 'foo' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/cc1plus -quiet -v -D_GNU_SOURCE foo.cpp -quiet -dumpbase foo.cpp -mtune=generic -march=x86-64 -auxbase foo -std=c++14 -version -o /tmp/cc3hVZ3b.s GNU C++14 (GCC) version 7.3.1 20180312 (x86_64-pc-linux-gnu) compiled by GNU C version 7.3.1 20180312, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.18-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../x86_64-pc-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1 /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/x86_64-pc-linux-gnu /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/backward /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/include /usr/local/include /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/include-fixed /usr/include End of search list. GNU C++14 (GCC) version 7.3.1 20180312 (x86_64-pc-linux-gnu) compiled by GNU C version 7.3.1 20180312, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.18-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 3fb60f63f2e4dccab1b015b716b8b627 COLLECT_GCC_OPTIONS='-v' '-std=c++14' '-o' 'foo' '-shared-libgcc' '-mtune=generic' '-march=x86-64' as -v --64 -o /tmp/ccO93I4M.o /tmp/cc3hVZ3b.s GNU assembler version 2.29.1 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.29.1 COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-std=c++14' '-o' 'foo' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cckfgL6n.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o foo /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../.. /tmp/ccO93I4M.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/crtn.o COLLECT_GCC_OPTIONS='-v' '-std=c++14' '-o' 'foo' '-shared-libgcc' '-mtune=generic' '-march=x86-64' env g++ -v --std=c++14 foo.cpp -o foo 21.46s user 1.34s system 99% cpu 22.901 total I am using Arch Linux. I can also confirm this behaviour for --std=c++17. >From gcc-bugs-return-601845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 17:41:15 2018 Return-Path: <gcc-bugs-return-601845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53343 invoked by alias); 17 Apr 2018 17:41:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53091 invoked by uid 48); 17 Apr 2018 17:41:09 -0000 From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/84842] [7/8 Regression] ICE in verify_target_availability, at sel-sched.c:1569 Date: Tue, 17 Apr 2018 17:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: <bug-84842-4-AAZXiAA5DR@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84842-4@http.gcc.gnu.org/bugzilla/> References: <bug-84842-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01969.txt.bz2 Content-length: 1438 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84842 Alexander Monakov <amonakov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-17 Ever confirmed|0 |1 --- Comment #11 from Alexander Monakov <amonakov at gcc dot gnu.org> --- Thanks, I managed to reproduce it. The unusual thing here is hardreg 63 being considered call-clobbered in its reg_raw_mode=TImode but not narrower modes. We have (insn 97 29 98 4 (set (reg:DI 63 31 [160]) (unspec:DI [ (reg:SI 29 29) ] UNSPEC_LFIWAX)) "pr84842.i":5 344 {lfiwax} (expr_list:REG_DEAD (reg:SI 29 29) (nil))) and sched-deps noting a REG_DEP_OUTPUT dependence on regno 63 against a preceding call insn according to rs6000_hard_regno_call_part_clobbered (regno=63, mode=E_TImode). I assume what the backend in conveying there is that only the low part of the register will be preserved by callees. However, when we move up the instruction we don't have a dependence. The LHS is DImode, so that seems correct as well: sched-deps had a more conservative answer because its dependence lists are not separated per mode. Andrey, does the above make sense? Can the assert be relaxed? >From gcc-bugs-return-601846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 17:55:21 2018 Return-Path: <gcc-bugs-return-601846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69973 invoked by alias); 17 Apr 2018 17:55:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69924 invoked by uid 48); 17 Apr 2018 17:55:17 -0000 From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug web/82686] Debian sid powerpc64-unknown-linux-gnu 4.13.0-1-powerpc64 bootstrap breaks in stage3 with unexpected requirement for bdw-gc Date: Tue, 17 Apr 2018 17:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: dclarke at blastwave 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: <bug-82686-4-7glezxA1nS@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-82686-4@http.gcc.gnu.org/bugzilla/> References: <bug-82686-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01970.txt.bz2 Content-length: 299 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686 --- Comment #15 from Dennis Clarke <dclarke at blastwave dot org> --- The real issue here is libquadmath which seems to be based on sources from Sun Microsystems software implementation of the 128-bit floating point operations. see 85440 >From gcc-bugs-return-601847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 18:22:44 2018 Return-Path: <gcc-bugs-return-601847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25221 invoked by alias); 17 Apr 2018 18:22:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25170 invoked by uid 55); 17 Apr 2018 18:22:40 -0000 From: "meissner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85424] The __builtin_packlongdouble function might have issues with the output overlapping the inputs Date: Tue, 17 Apr 2018 18:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: meissner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: meissner at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85424-4-YvSMaF9Gez@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85424-4@http.gcc.gnu.org/bugzilla/> References: <bug-85424-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01971.txt.bz2 Content-length: 550 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85424 --- Comment #1 from Michael Meissner <meissner at gcc dot gnu.org> --- Author: meissner Date: Tue Apr 17 18:22:08 2018 New Revision: 259441 URL: https://gcc.gnu.org/viewcvs?rev=259441&root=gcc&view=rev Log: 2018-04-17 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/85424 * config/rs6000/rs6000.md (pack<mode>): Do not try handle a pack where the inputs overlap with the output. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000.md >From gcc-bugs-return-601848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 18:41:57 2018 Return-Path: <gcc-bugs-return-601848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118573 invoked by alias); 17 Apr 2018 18:41:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118530 invoked by uid 48); 17 Apr 2018 18:41:52 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85441] Empty loops not optimised away Date: Tue, 17 Apr 2018 18:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: compile-time-hog, memory-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on everconfirmed Message-ID: <bug-85441-4-SSF2LRN5iX@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85441-4@http.gcc.gnu.org/bugzilla/> References: <bug-85441-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01972.txt.bz2 Content-length: 765 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85441 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |compile-time-hog, | |memory-hog Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-17 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- You didn't use any optimization flags, so nothing is optimized away. But it should be possible to skip evaluation of empty loops inside constant expression evaluation. >From gcc-bugs-return-601849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 18:46:31 2018 Return-Path: <gcc-bugs-return-601849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11230 invoked by alias); 17 Apr 2018 18:46:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11147 invoked by uid 48); 17 Apr 2018 18:46:26 -0000 From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85430] [7/8 Regression] ICE: SIGSEGV in memory_operand at recog.c:1358 with -O2 -fno-tree-ccp -fno-tree-fre Date: Tue, 17 Apr 2018 18:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85430-4-nZF1uDiLFZ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85430-4@http.gcc.gnu.org/bugzilla/> References: <bug-85430-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01973.txt.bz2 Content-length: 500 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85430 --- Comment #4 from Zdenek Sojka <zsojka at seznam dot cz> --- Observation about generated code: $ x86_64-pc-linux-gnu-gcc -O2 -fno-tree-ccp -fno-tree-fre testcase.c -S -o- ... foo: movl %edi, %eax addb %al, %al ret ... which looks superior to code generated by -O1/-O2/-O3/-Os/-Og : ... foo: movsbl %dil, %edx addl %edx, %edx movl %edi, %eax movb %dl, %al ret ... >From gcc-bugs-return-601850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 19:44:50 2018 Return-Path: <gcc-bugs-return-601850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64532 invoked by alias); 17 Apr 2018 19:44:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64440 invoked by uid 48); 17 Apr 2018 19:44:45 -0000 From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84630] [6/7/8 Regression] ICE: TYPE_NAME() used on error_mark_node in tsubst_lambda_expr, at cp/pt.c:17141 Date: Tue, 17 Apr 2018 19:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: <bug-84630-4-RKEaMObX40@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84630-4@http.gcc.gnu.org/bugzilla/> References: <bug-84630-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01974.txt.bz2 Content-length: 477 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84630 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |paolo.carlini at oracle dot com --- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> --- Seems easy. >From gcc-bugs-return-601851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 20:20:34 2018 Return-Path: <gcc-bugs-return-601851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12076 invoked by alias); 17 Apr 2018 20:20:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12007 invoked by uid 48); 17 Apr 2018 20:20:27 -0000 From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug go/84948] [8 regression] ICE in set_from, at go/gofrontend/types.cc:2660 Date: Tue, 17 Apr 2018 20:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at airs dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84948-4-VQHtVtcNFN@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84948-4@http.gcc.gnu.org/bugzilla/> References: <bug-84948-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01975.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84948 --- Comment #1 from Ian Lance Taylor <ian at airs dot com> --- That is just the start of the problem. The garbage collector assumes that all pointers are aligned to their natural boundary. That is, it expects that on a system with four byte pointers, they are always aligned to a four byte boundary when stored in memory. The garbage collector's data structures are designed around that assumption. That will be hard to change. >From gcc-bugs-return-601852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 20:23:30 2018 Return-Path: <gcc-bugs-return-601852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72358 invoked by alias); 17 Apr 2018 20:23:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72227 invoked by uid 55); 17 Apr 2018 20:23:23 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/85230] asan: false positives in kernel on allocas Date: Tue, 17 Apr 2018 20:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85230-4-CcLZWjjyYW@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85230-4@http.gcc.gnu.org/bugzilla/> References: <bug-85230-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01976.txt.bz2 Content-length: 760 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85230 --- Comment #22 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Apr 17 20:22:50 2018 New Revision: 259446 URL: https://gcc.gnu.org/viewcvs?rev=259446&root=gcc&view=rev Log: PR sanitizer/85230 * asan.c (handle_builtin_stack_restore): Adjust comment. Emit __asan_allocas_unpoison call and last_alloca_addr = new_sp before __builtin_stack_restore rather than after it. * builtins.c (expand_asan_emit_allocas_unpoison): Pass arg1 + (virtual_dynamic_stack_rtx - stack_pointer_rtx) as second argument instead of virtual_dynamic_stack_rtx. Modified: trunk/gcc/ChangeLog trunk/gcc/asan.c trunk/gcc/builtins.c >From gcc-bugs-return-601853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 20:33:38 2018 Return-Path: <gcc-bugs-return-601853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2217 invoked by alias); 17 Apr 2018 20:33:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2116 invoked by uid 48); 17 Apr 2018 20:33:33 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/85230] asan: false positives in kernel on allocas Date: Tue, 17 Apr 2018 20:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: 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 Message-ID: <bug-85230-4-pafSasyNJa@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85230-4@http.gcc.gnu.org/bugzilla/> References: <bug-85230-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01977.txt.bz2 Content-length: 604 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85230 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-04-17 Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #23 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Fixed for 8+ so far, backports will come later. >From gcc-bugs-return-601854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 20:42:54 2018 Return-Path: <gcc-bugs-return-601854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2884 invoked by alias); 17 Apr 2018 20:42:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 131008 invoked by uid 48); 17 Apr 2018 20:42:49 -0000 From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85436] [7 Regression] ICE compiling go code with -mcpu=power9 Date: Tue, 17 Apr 2018 20:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: <bug-85436-4-O22U1zqq9c@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85436-4@http.gcc.gnu.org/bugzilla/> References: <bug-85436-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01978.txt.bz2 Content-length: 703 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85436 Peter Bergner <bergner at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43964|0 |1 is obsolete| | Attachment #43966|0 |1 is obsolete| | --- Comment #2 from Peter Bergner <bergner at gcc dot gnu.org> --- Created attachment 43968 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43968&action=edit An even smaller test case This is a one function test case which helps reading the rtl dumps >From gcc-bugs-return-601855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 20:44:32 2018 Return-Path: <gcc-bugs-return-601855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17257 invoked by alias); 17 Apr 2018 20:44:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15966 invoked by uid 55); 17 Apr 2018 20:44:22 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/85326] `make check` fails with `--disable-bootstrap` and `--enable-languages=c` Date: Tue, 17 Apr 2018 20:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite 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: <bug-85326-4-Ie47Xuwg1J@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85326-4@http.gcc.gnu.org/bugzilla/> References: <bug-85326-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01979.txt.bz2 Content-length: 698 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85326 --- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Apr 17 20:43:49 2018 New Revision: 259447 URL: https://gcc.gnu.org/viewcvs?rev=259447&root=gcc&view=rev Log: PR testsuite/85326 * g++.dg/other/pr81422.C: Require effective target tls and c++11. * g++.dg/other/pr60675.C: Likewise. Remove -std=c++11 from dg-options. * g++.dg/other/sve_tls_2.C: Require effective target tls. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/other/pr60675.C trunk/gcc/testsuite/g++.dg/other/pr81422.C trunk/gcc/testsuite/g++.dg/other/sve_tls_2.C >From gcc-bugs-return-601856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 20:47:57 2018 Return-Path: <gcc-bugs-return-601856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21099 invoked by alias); 17 Apr 2018 20:47:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21045 invoked by uid 48); 17 Apr 2018 20:47:52 -0000 From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85434] Address of stack protector guard spilled to stack on ARM Date: Tue, 17 Apr 2018 20:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: wilco at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: thopre01 at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-85434-4-AkHsJtbBX9@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85434-4@http.gcc.gnu.org/bugzilla/> References: <bug-85434-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01980.txt.bz2 Content-length: 711 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85434 Wilco <wilco at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wilco at gcc dot gnu.org --- Comment #4 from Wilco <wilco at gcc dot gnu.org> --- Clearly rematerialization isn't working correctly. Immediates and constant addresses like this should never be spilled (using MOV/MOVK could increase codesize, but with -Os you should use the literal pool anyway). Check legitimate_constant_p returns true, see https://gcc.gnu.org/ml/gcc-patches/2017-08/msg00052.html for how it's done on AArch64. >From gcc-bugs-return-601857-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 20:50:07 2018 Return-Path: <gcc-bugs-return-601857-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24817 invoked by alias); 17 Apr 2018 20:50:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24665 invoked by uid 48); 17 Apr 2018 20:50:01 -0000 From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/84640] gcc/fortran/simplify.c:2587:9: runtime error: pointer index expression with base 0x0000090de160 overflowed to 0xffffffffc0632960 Date: Tue, 17 Apr 2018 20:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc assigned_to target_milestone bug_severity Message-ID: <bug-84640-4-w6dp1zYN9u@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84640-4@http.gcc.gnu.org/bugzilla/> References: <bug-84640-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01981.txt.bz2 Content-length: 1007 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84640 Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |tkoenig at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot gnu.org Target Milestone|--- |9.0 Severity|normal |enhancement --- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- (In reply to Martin LiÅ¡ka from comment #2) > So rptr points to an invalid memory. Question is whether a store/load from > the address can happen? No; rptr never stores to anywhere afterwards. However, I concur that it would be a good idea to clean up the logic for this part so that invalid pointers are never even generated. Something to look at for gcc 9. >From gcc-bugs-return-601858-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 21:25:20 2018 Return-Path: <gcc-bugs-return-601858-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66772 invoked by alias); 17 Apr 2018 21:25:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66686 invoked by uid 48); 17 Apr 2018 21:25:16 -0000 From: "jsm28 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85442] New: [8 Regression] cxx11-ios_failure.lo build fails for microblaze Date: Tue, 17 Apr 2018 21:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget Message-ID: <bug-85442-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01982.txt.bz2 Content-length: 1079 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85442 Bug ID: 85442 Summary: [8 Regression] cxx11-ios_failure.lo build fails for microblaze Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: jsm28 at gcc dot gnu.org CC: redi at gcc dot gnu.org Target Milestone: --- Target: microblaze-linux-gnu My glibc bot building with build-many-glibcs.py shows the libstdc++ build failing for microblaze: https://sourceware.org/ml/libc-testresults/2018-q2/msg00051.html cxx11-ios_failure-lt.s: Assembler messages: cxx11-ios_failure-lt.s: Fatal error: duplicate .debug_line sections Makefile:766: recipe for target 'cxx11-ios_failure.lo' failed make[6]: *** [cxx11-ios_failure.lo] Error 1 Introduced by r259281. I don't know whether this is a bug in the microblaze compiler or in the special makefile code that generates this .s file. >From gcc-bugs-return-601860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 21:39:57 2018 Return-Path: <gcc-bugs-return-601860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14941 invoked by alias); 17 Apr 2018 21:39:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14817 invoked by uid 48); 17 Apr 2018 21:39:51 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85431] UBSAN: ../../gcc/dse.c:303:15: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int' Date: Tue, 17 Apr 2018 21:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85431-4-EBvEXyHCXB@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85431-4@http.gcc.gnu.org/bugzilla/> References: <bug-85431-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01984.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85431 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Fixed. >From gcc-bugs-return-601861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 21:39:57 2018 Return-Path: <gcc-bugs-return-601861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14953 invoked by alias); 17 Apr 2018 21:39:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14865 invoked by uid 48); 17 Apr 2018 21:39:53 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined Date: Tue, 17 Apr 2018 21:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-63426-4-4afVY4b8Y4@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-63426-4@http.gcc.gnu.org/bugzilla/> References: <bug-63426-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01985.txt.bz2 Content-length: 540 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 85431, which changed state. Bug 85431 Summary: UBSAN: ../../gcc/dse.c:303:15: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85431 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-601859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 21:39:22 2018 Return-Path: <gcc-bugs-return-601859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13818 invoked by alias); 17 Apr 2018 21:39:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13538 invoked by uid 55); 17 Apr 2018 21:39:16 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85431] UBSAN: ../../gcc/dse.c:303:15: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int' Date: Tue, 17 Apr 2018 21:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85431-4-DKbcMAO4uR@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85431-4@http.gcc.gnu.org/bugzilla/> References: <bug-85431-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01983.txt.bz2 Content-length: 406 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85431 --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Apr 17 21:38:45 2018 New Revision: 259448 URL: https://gcc.gnu.org/viewcvs?rev=259448&root=gcc&view=rev Log: PR rtl-optimization/85431 * dse.c (record_store): Ignore zero width stores. Modified: trunk/gcc/ChangeLog trunk/gcc/dse.c >From gcc-bugs-return-601862-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 21:41:44 2018 Return-Path: <gcc-bugs-return-601862-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32558 invoked by alias); 17 Apr 2018 21:41:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32022 invoked by uid 55); 17 Apr 2018 21:41:39 -0000 From: "wilson at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/84856] Bootstrap failure on riscv: comparison of integer expressions of different signedness Date: Tue, 17 Apr 2018 21:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wilson at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: wilson at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84856-4-4D0KbmYINq@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84856-4@http.gcc.gnu.org/bugzilla/> References: <bug-84856-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01986.txt.bz2 Content-length: 627 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84856 --- Comment #10 from Jim Wilson <wilson at gcc dot gnu.org> --- Author: wilson Date: Tue Apr 17 21:41:07 2018 New Revision: 259449 URL: https://gcc.gnu.org/viewcvs?rev=259449&root=gcc&view=rev Log: RISC-V: Fix 32-bit stack pointer alignment problem. gcc/ PR 84856 * config/riscv/riscv.c (riscv_compute_frame_info): Add calls to RISCV_STACK_ALIGN when using outgoing_args_size and pretend_args_size. Set arg_pointer_offset after using pretend_args_size. Modified: trunk/gcc/ChangeLog trunk/gcc/config/riscv/riscv.c >From gcc-bugs-return-601863-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 21:52:39 2018 Return-Path: <gcc-bugs-return-601863-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52287 invoked by alias); 17 Apr 2018 21:52:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52174 invoked by uid 48); 17 Apr 2018 21:52:34 -0000 From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/85394] [8 Regression] Unable to run sanitized executables on ppc64le Ubuntu and SLES Date: Tue, 17 Apr 2018 21:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: seurer at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: <bug-85394-4-gVr9hqHtI9@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85394-4@http.gcc.gnu.org/bugzilla/> References: <bug-85394-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01987.txt.bz2 Content-length: 458 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85394 seurer at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |seurer at gcc dot gnu.org --- Comment #3 from seurer at gcc dot gnu.org --- I tested the patch Jakub shows and it works fine on powerpc64 with kernels ranging from 2.6 to 4.13. >From gcc-bugs-return-601864-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 22:19:25 2018 Return-Path: <gcc-bugs-return-601864-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126099 invoked by alias); 17 Apr 2018 22:19:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126040 invoked by uid 55); 17 Apr 2018 22:19:20 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/84637] gcc/dbxout.c:684:14: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'; cast to an unsigned type to negate this value to itself Date: Tue, 17 Apr 2018 22:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84637-4-ky1XiPAJUp@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84637-4@http.gcc.gnu.org/bugzilla/> References: <bug-84637-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01988.txt.bz2 Content-length: 564 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84637 --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Apr 17 22:18:47 2018 New Revision: 259451 URL: https://gcc.gnu.org/viewcvs?rev=259451&root=gcc&view=rev Log: PR debug/84637 * dbxout.c (dbxout_int): Perform negation in unsigned int type. (stabstr_D): Change type of unum from unsigned int to unsigned HOST_WIDE_INT. Perform negation in unsigned HOST_WIDE_INT type. Modified: trunk/gcc/ChangeLog trunk/gcc/dbxout.c >From gcc-bugs-return-601866-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 22:21:49 2018 Return-Path: <gcc-bugs-return-601866-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129708 invoked by alias); 17 Apr 2018 22:21:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129506 invoked by uid 48); 17 Apr 2018 22:21:45 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined Date: Tue, 17 Apr 2018 22:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-63426-4-RzbmmtkDBz@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-63426-4@http.gcc.gnu.org/bugzilla/> References: <bug-63426-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01990.txt.bz2 Content-length: 596 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 84637, which changed state. Bug 84637 Summary: gcc/dbxout.c:684:14: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'; cast to an unsigned type to negate this value to itself https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84637 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-601865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 22:21:49 2018 Return-Path: <gcc-bugs-return-601865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129566 invoked by alias); 17 Apr 2018 22:21:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129468 invoked by uid 48); 17 Apr 2018 22:21:43 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/84637] gcc/dbxout.c:684:14: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'; cast to an unsigned type to negate this value to itself Date: Tue, 17 Apr 2018 22:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-84637-4-gON9EKMFx2@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84637-4@http.gcc.gnu.org/bugzilla/> References: <bug-84637-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01989.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84637 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Fixed. >From gcc-bugs-return-601867-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 22:28:04 2018 Return-Path: <gcc-bugs-return-601867-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44693 invoked by alias); 17 Apr 2018 22:28:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44602 invoked by uid 48); 17 Apr 2018 22:27:59 -0000 From: "xvl5190 at psu dot edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85443] New: internal compiler error: Segmentation fault Date: Tue, 17 Apr 2018 22:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: xvl5190 at psu dot edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-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: <bug-85443-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01991.txt.bz2 Content-length: 801 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85443 Bug ID: 85443 Summary: internal compiler error: Segmentation fault Product: gcc Version: 5.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: xvl5190 at psu dot edu Target Milestone: --- This is the code that triggers the crash: char acDummy[0xf0] __attribute__ ((__BELOW100__)); unsigned short B100 __attribute__ ((__BELOW100__)); unsigned short *p = &B100; unsigned short wData = 0x1234; _Atomic int i = 3; int a1 = sizeof (i + 1); void Do (void) { B100 = wData; } int main (void) { *p = 0x9876; Do (); return (*p == 0x1234) ? 0 : 1; } >From gcc-bugs-return-601868-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 23:11:21 2018 Return-Path: <gcc-bugs-return-601868-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119658 invoked by alias); 17 Apr 2018 23:11:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119621 invoked by uid 48); 17 Apr 2018 23:11:17 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Tue, 17 Apr 2018 23:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-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: <bug-85440-4-UfhvJ58gJd@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01992.txt.bz2 Content-length: 449 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- If you want libquadmath with powerpc* support, you need GCC 8 or later. >From gcc-bugs-return-601869-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 23:19:14 2018 Return-Path: <gcc-bugs-return-601869-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13206 invoked by alias); 17 Apr 2018 23:19:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11843 invoked by uid 48); 17 Apr 2018 23:19:09 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85442] [8 Regression] cxx11-ios_failure.lo build fails for microblaze Date: Tue, 17 Apr 2018 23:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: <bug-85442-4-68czgza4l2@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85442-4@http.gcc.gnu.org/bugzilla/> References: <bug-85442-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01993.txt.bz2 Content-length: 735 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85442 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 43969 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43969&action=edit gcc8-pr85442.patch Perhaps we want to assemble with -g0, because either the .s file already contains debug info from the compiler and then we don't want to add one from the assembler, or the user doesn't want debug info at all. Completely untested though. >From gcc-bugs-return-601870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 17 23:30:39 2018 Return-Path: <gcc-bugs-return-601870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25932 invoked by alias); 17 Apr 2018 23:30:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25835 invoked by uid 48); 17 Apr 2018 23:30:34 -0000 From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug go/85429] Several gotools tests FAIL with Solaris as Date: Tue, 17 Apr 2018 23:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at airs dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85429-4-owN1DfdI0j@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85429-4@http.gcc.gnu.org/bugzilla/> References: <bug-85429-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01994.txt.bz2 Content-length: 297 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85429 --- Comment #1 from Ian Lance Taylor <ian at airs dot com> --- Does the SPARC Solaris assembler support a syntax like .section ".go.buildid",#exclude ? That's what gas seems to support for compatibility. Does that syntax work for x86? >From gcc-bugs-return-601871-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 01:18:40 2018 Return-Path: <gcc-bugs-return-601871-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123408 invoked by alias); 18 Apr 2018 01:18:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123351 invoked by uid 48); 18 Apr 2018 01:18:35 -0000 From: "whh8b at virginia dot edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85444] New: asm specifier on typedef silently ignored Date: Wed, 18 Apr 2018 01:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: whh8b at virginia dot edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: <bug-85444-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01995.txt.bz2 Content-length: 1102 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85444 Bug ID: 85444 Summary: asm specifier on typedef silently ignored Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: whh8b at virginia dot edu Target Milestone: --- Created attachment 43970 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43970&action=edit Patch to add warning for ignored asm specifiers. In a declaration like typedef struct {} x asm ("X"); the asm label is properly ignored but the user is not alerted to this. I am attaching a patch that will add a warning at -Wpedantic to alert the user in a case such as this. This is the first time that I am submitting a patch to GCC and I am really nervous about making sure that I followed the proper protocol. I am sure that there are plenty of things that I am missing but I look forward to cleaning it up and learning the process. Thanks for your patience! >From gcc-bugs-return-601872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 01:21:37 2018 Return-Path: <gcc-bugs-return-601872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23209 invoked by alias); 18 Apr 2018 01:21:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18310 invoked by uid 48); 18 Apr 2018 01:21:32 -0000 From: "whh8b at virginia dot edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85444] asm specifier on typedef silently ignored Date: Wed, 18 Apr 2018 01:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: whh8b at virginia dot edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-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: <bug-85444-4-uTeXjfesuF@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85444-4@http.gcc.gnu.org/bugzilla/> References: <bug-85444-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01996.txt.bz2 Content-length: 372 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85444 --- Comment #1 from Will Hawkins <whh8b at virginia dot edu> --- Created attachment 43971 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43971&action=edit Example that triggers the newly added warning when compiled with -Wpedantic Example that triggers the newly added warning when compiled with -Wpedantic >From gcc-bugs-return-601873-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 01:32:35 2018 Return-Path: <gcc-bugs-return-601873-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25208 invoked by alias); 18 Apr 2018 01:32:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25145 invoked by uid 55); 18 Apr 2018 01:32:31 -0000 From: "dave.anglin at bell dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/84442] FAIL: 30_threads/thread/cons/terminate.cc (test for excess errors) Date: Wed, 18 Apr 2018 01:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dave.anglin at bell dot net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84442-4-KcJ6nT1NaG@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84442-4@http.gcc.gnu.org/bugzilla/> References: <bug-84442-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01997.txt.bz2 Content-length: 376 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84442 --- Comment #5 from dave.anglin at bell dot net --- On 2018-04-17 10:21 AM, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84442 > > --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- > Dave, does the patch in comment 3 fix the FAIL? > Yes, it fixes the fail. Thanks, Dave >From gcc-bugs-return-601874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 02:24:59 2018 Return-Path: <gcc-bugs-return-601874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70994 invoked by alias); 18 Apr 2018 02:24:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67622 invoked by uid 48); 18 Apr 2018 02:24:53 -0000 From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Wed, 18 Apr 2018 02:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dclarke at blastwave 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: <bug-85440-4-Z2ZeSvFm58@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01998.txt.bz2 Content-length: 281 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 --- Comment #2 from Dennis Clarke <dclarke at blastwave dot org> --- Thank you very much Sir! So then .. where is this gcc 8 that you speak of ? Still just a nightly test release or is there an actual tarball hidden away? >From gcc-bugs-return-601876-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 03:32:44 2018 Return-Path: <gcc-bugs-return-601876-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32973 invoked by alias); 18 Apr 2018 03:32:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32875 invoked by uid 48); 18 Apr 2018 03:32:34 -0000 From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug web/82686] Debian sid powerpc64-unknown-linux-gnu 4.13.0-1-powerpc64 bootstrap breaks in stage3 with unexpected requirement for bdw-gc Date: Wed, 18 Apr 2018 03:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: dclarke at blastwave 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: <bug-82686-4-VSYOxKHEV0@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-82686-4@http.gcc.gnu.org/bugzilla/> References: <bug-82686-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02000.txt.bz2 Content-length: 158 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686 --- Comment #16 from Dennis Clarke <dclarke at blastwave dot org> --- Can we close this as a non-issue? >From gcc-bugs-return-601875-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 03:32:27 2018 Return-Path: <gcc-bugs-return-601875-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32156 invoked by alias); 18 Apr 2018 03:32:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32074 invoked by uid 48); 18 Apr 2018 03:32:23 -0000 From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/82037] Debian 8.8 powerpc64-unknown-linux-gnu bootstrap breaks in stage1 with gcc/liblto_plugin.so: wrong ELF class: ELFCLASS64 Date: Wed, 18 Apr 2018 03:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dclarke at blastwave 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: <bug-82037-4-mZM5sqwS1U@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-82037-4@http.gcc.gnu.org/bugzilla/> References: <bug-82037-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg01999.txt.bz2 Content-length: 158 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82037 --- Comment #10 from Dennis Clarke <dclarke at blastwave dot org> --- Can we close this as a non-issue? >From gcc-bugs-return-601878-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 03:47:51 2018 Return-Path: <gcc-bugs-return-601878-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113633 invoked by alias); 18 Apr 2018 03:47:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 113591 invoked by uid 48); 18 Apr 2018 03:47:47 -0000 From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/35363] Missing bit field coalescing optimization Date: Wed, 18 Apr 2018 03:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-35363-4-b9yGvOU8I4@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-35363-4@http.gcc.gnu.org/bugzilla/> References: <bug-35363-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02002.txt.bz2 Content-length: 379 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35363 --- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There are two issues here, one is SLOW_BYTE_ACCESS and the second is the lowering of bit-fields. I am going to fix the lower part for GCC 9. The SLOW_BTYE_ACCESS was being looked at by someone else in the recent past but I can't find the email about it. >From gcc-bugs-return-601877-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 03:47:36 2018 Return-Path: <gcc-bugs-return-601877-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112805 invoked by alias); 18 Apr 2018 03:47:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112709 invoked by uid 48); 18 Apr 2018 03:47:32 -0000 From: "aoliva at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85437] [8 Regression] member pointer static upcast rejected in a constexpr context Date: Wed, 18 Apr 2018 03: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: 8.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva 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: <bug-85437-4-XbrpMY3CmV@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85437-4@http.gcc.gnu.org/bugzilla/> References: <bug-85437-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02001.txt.bz2 Content-length: 486 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85437 Alexandre Oliva <aoliva at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aoliva at gcc dot gnu.org --- Comment #6 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- FTR, there's a patch with various caveats at https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00852.html >From gcc-bugs-return-601879-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 05:18:07 2018 Return-Path: <gcc-bugs-return-601879-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108649 invoked by alias); 18 Apr 2018 05:18:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108531 invoked by uid 55); 18 Apr 2018 05:18:02 -0000 From: "aoliva at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/80290] [6/7/8 Regression] g++ uses unreasonable amount of memory compiling nested string maps Date: Wed, 18 Apr 2018 05: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.0.1 X-Bugzilla-Keywords: memory-hog, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-80290-4-wK7y0hnGx8@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-80290-4@http.gcc.gnu.org/bugzilla/> References: <bug-80290-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02003.txt.bz2 Content-length: 5629 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80290 --- Comment #21 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- Author: aoliva Date: Wed Apr 18 05:17:26 2018 New Revision: 259457 URL: https://gcc.gnu.org/viewcvs?rev=259457&root=gcc&view=rev Log: [PR c++/80290] recycle tinst garbage sooner tinst_level objects are created during template instantiation, and they're most often quite short-lived, but since there's no intervening garbage collection, they accumulate throughout the pass while most by far could be recycled after a short while. The original testcase in PR80290, for example, creates almost 55 million tinst_level objects, all but 10 thousand of them without intervening GC, but we don't need more than 284 of them live at a time. Furthermore, in many cases, TREE_LIST objects are created to stand for the decl in tinst_level. In most cases, those can be recycled as soon as the tinst_level object is recycled; in some relatively common cases, they are modified and reused in up to 3 tinst_level objects. In the same testcase, TREE_LISTs are used in all but 3 thousand of the tinst_level objects, and we don't need more than 89 tinst_level objects with TREE_LISTs live at a time. Furthermore, all but 2 thousand of those are created without intervening GC. This patch arranges for tinst_level objects to be refcounted (I've seen as many as 20 live references to a single tinst_level object in my testing), and for pending_template, tinst_level and TREE_LIST objects that can be recycled to be added to freelists; that's much faster than ggc_free()ing them and reallocating them shortly thereafter. In fact, the introduction of such freelists is what makes this entire patch lighter-weight, when it comes to memory use, and faster. With refcounting alone, the total memory footprint was still about the same, and we spent more time. In order to further reduce memory use, I've arranged for us to create TREE_LISTs lazily, only at points that really need them (when printing error messages). This grows tinst_level by an additional pointer, but since a TREE_LIST holds a lot more than an extra pointer, and tinst_levels with TREE_LISTs used to be allocated tens of thousands of times more often than plain decl ones, we still save memory overall. I was still not quite happy about growing memory use in cases that used template classes but not template overload resolution, so I changed the type of the errors field to unsigned short, from int. With that change, in_system_header_p and refcount move into the same word or half-word that used to hold errors, releasing a full word, bringing tinst_level back to its original size, now without any padding. The errors field is only used to test whether we've had any errors since the expansion of some template, to skip the expansion of further templates. If we get 2^16 errors or more, it is probably reasonable to refrain from expanding further templates, even if we would expand them before this change. With these changes, compile time for the original testcase at -O0, with default checking enabled, is cut down by some 3.7%, total GCable memory allocation is cut down by almost 20%, and total memory use (as reported by GNU time as maxresident) is cut down by slightly over 15%. for gcc/cp/ChangeLog PR c++/80290 * cp-tree.h (struct tinst_level): Split decl into tldcl and targs. Add private split_list_p, tree_list_p, and not_list_p inline const predicates; to_list private member function declaration; free public member function declaration; list_p, get_node and maybe_get_node accessors, and refcount data member. Narrow errors to unsigned short. * error.c (print_instantiation_full_context): Use new accessors. (print_instantiation_partial_context_line): Likewise. Drop const from tinst_level-typed parameter. * mangle.c (mangle_decl_string): Likewise. * pt.c (freelist): New template class. (tree_list_freelist_head): New var. (tree_list_freelist): New fn, along with specializations. (tinst_level_freelist_head): New var. (pending_template_freelist_head): Likewise. (tinst_level_freelist, pending_template_freelist): New fns. (tinst_level::to_list, tinst_level::free): Define. (inc_refcount_use, dec_refcount_use): New fns for tinst_level. (set_refcount_ptr): New template fn. (add_pending_template): Adjust for refcounting, freelists and new accessors. (neglectable_inst_p): Take a NULL d as a non-DECL. (limit_bad_template_recursion): Use new accessors. (push_tinst_level): New overload to create the list. (push_tinst_level_loc): Make it static, split decl into two args, adjust tests and initialization to cope with split lists, use freelist, adjust for refcounting. (push_tinst_level_loc): New wrapper with the old interface. (pop_tinst_level): Adjust for refcounting. (record_last_problematic_instantiation): Likewise. (reopen_tinst_level): Likewise. Use new accessors. (instantiate_alias_template): Adjust for split list. (fn_type_unification): Likewise. (get_partial_spec_bindings): Likewise. (instantiate_pending_templates): Use new accessors. Adjust for refcount. Release pending_template to freelist. (instantiating_current_function_p): Use new accessors. Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/error.c trunk/gcc/cp/mangle.c trunk/gcc/cp/pt.c >From gcc-bugs-return-601880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 06:03:04 2018 Return-Path: <gcc-bugs-return-601880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124163 invoked by alias); 18 Apr 2018 06:03:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124028 invoked by uid 48); 18 Apr 2018 06:03:00 -0000 From: "aoliva at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/80290] [6/7 Regression] g++ uses unreasonable amount of memory compiling nested string maps Date: Wed, 18 Apr 2018 06:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0.1 X-Bugzilla-Keywords: memory-hog, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to short_desc Message-ID: <bug-80290-4-c0H4C19RC7@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-80290-4@http.gcc.gnu.org/bugzilla/> References: <bug-80290-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02004.txt.bz2 Content-length: 789 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80290 Alexandre Oliva <aoliva at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|aoliva at gcc dot gnu.org |unassigned at gcc dot gnu.org Summary|[6/7/8 Regression] g++ uses |[6/7 Regression] g++ uses |unreasonable amount of |unreasonable amount of |memory compiling nested |memory compiling nested |string maps |string maps --- Comment #22 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- The patch is in. I suppose there's still room for improvement, but this was as far as I could get for now. >From gcc-bugs-return-601881-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 06:14:43 2018 Return-Path: <gcc-bugs-return-601881-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56181 invoked by alias); 18 Apr 2018 06:14:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53589 invoked by uid 48); 18 Apr 2018 06:14:39 -0000 From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug web/82686] Debian sid powerpc64-unknown-linux-gnu 4.13.0-1-powerpc64 bootstrap breaks in stage3 with unexpected requirement for bdw-gc Date: Wed, 18 Apr 2018 06:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager 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 cc see_also resolution Message-ID: <bug-82686-4-3h38dPXKeR@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-82686-4@http.gcc.gnu.org/bugzilla/> References: <bug-82686-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02005.txt.bz2 Content-length: 745 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686 Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |egallager at gcc dot gnu.org See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=85440 Resolution|--- |INVALID --- Comment #17 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Dennis Clarke from comment #16) > Can we close this as a non-issue? OK. >From gcc-bugs-return-601882-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 06:51:22 2018 Return-Path: <gcc-bugs-return-601882-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49716 invoked by alias); 18 Apr 2018 06:51:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49630 invoked by uid 48); 18 Apr 2018 06:51:17 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/71959] [OpenACC] lto1: ICE in inline_read_section, at ipa-fnsummary.c:3314 Date: Wed, 18 Apr 2018 06:51: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: 6.1.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc short_desc Message-ID: <bug-71959-4-uXii5jU0xU@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-71959-4@http.gcc.gnu.org/bugzilla/> References: <bug-71959-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02006.txt.bz2 Content-length: 1174 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71959 Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vries at gcc dot gnu.org Summary|[OpenACC] #pragma acc |[OpenACC] lto1: ICE in |parallel leads to segfault |inline_read_section, at |in |ipa-fnsummary.c:3314 |x86_64-pc-linux-gnu-accel-n | |vptx-none-gcc | --- Comment #9 from Tom de Vries <vries at gcc dot gnu.org> --- og7 test-case libgomp.oacc-c++/pr71959.C fails with ICE on trunk: ... during IPA pass: fnsummary lto1: internal compiler error: in inline_read_section, at ipa-fnsummary.c:3314 0x89ed23 inline_read_section gcc/ipa-fnsummary.c:3314 0x89ed23 ipa_fn_summary_read gcc/ipa-fnsummary.c:3365 0x9e2a61 ipa_read_summaries_1 gcc/passes.c:2846 0x5ad5f3 read_cgraph_and_symbols gcc/lto/lto.c:2961 0x5ad5f3 lto_main() lto/lto.c:3356 ... Updating summary. >From gcc-bugs-return-601883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 06:52:22 2018 Return-Path: <gcc-bugs-return-601883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52553 invoked by alias); 18 Apr 2018 06:52:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52452 invoked by uid 48); 18 Apr 2018 06:52:16 -0000 From: "andrew at aj dot id.au" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/80290] [6/7 Regression] g++ uses unreasonable amount of memory compiling nested string maps Date: Wed, 18 Apr 2018 06:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0.1 X-Bugzilla-Keywords: memory-hog, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: andrew at aj dot id.au 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: Message-ID: <bug-80290-4-yHCfhozbkQ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-80290-4@http.gcc.gnu.org/bugzilla/> References: <bug-80290-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02007.txt.bz2 Content-length: 480 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80290 --- Comment #23 from Andrew Jeffery <andrew at aj dot id.au> --- > The patch is in. I suppose there's still room for improvement, but this was as far as I could get for now. Thanks for your effort! I'll take it for a test drive when I get a moment, we hit this case still with one of our codebases. Is there a chance the pach will be backported? I'd love to apply it to the 7.3.0 release (which we're using via Yocto). >From gcc-bugs-return-601884-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 06:58:22 2018 Return-Path: <gcc-bugs-return-601884-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62512 invoked by alias); 18 Apr 2018 06:58:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62456 invoked by uid 55); 18 Apr 2018 06:58:17 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84463] [6/7/8 Regression] Supposedly-incompliant "error: '* key0' is not a constant expression" Date: Wed, 18 Apr 2018 06:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: 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: <bug-84463-4-7fwexxsdo7@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84463-4@http.gcc.gnu.org/bugzilla/> References: <bug-84463-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02008.txt.bz2 Content-length: 1412 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84463 --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Apr 18 06:57:45 2018 New Revision: 259458 URL: https://gcc.gnu.org/viewcvs?rev=259458&root=gcc&view=rev Log: PR c++/84463 * typeck.c (cp_build_addr_expr_1): Move handling of offsetof-like tricks from here to ... * cp-gimplify.c (cp_fold) <case ADDR_EXPR>: ... here. Only use it if INDIRECT_REF's operand is INTEGER_CST cast to pointer type. * g++.dg/cpp0x/constexpr-nullptr-1.C: Add -O1 to dg-options. * g++.dg/cpp0x/constexpr-nullptr-2.C: Expect different diagnostics in two cases. Uncomment two other tests and add expected dg-error for them. * g++.dg/init/struct2.C: Cast to int rather than long to avoid -Wnarrowing diagnostics on some targets for c++11. * g++.dg/parse/array-size2.C: Remove xfail. * g++.dg/cpp0x/constexpr-84463.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-84463.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-gimplify.c trunk/gcc/cp/typeck.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-nullptr-1.C trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-nullptr-2.C trunk/gcc/testsuite/g++.dg/init/struct2.C trunk/gcc/testsuite/g++.dg/parse/array-size2.C >From gcc-bugs-return-601886-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 07:03:33 2018 Return-Path: <gcc-bugs-return-601886-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98758 invoked by alias); 18 Apr 2018 07:03:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97565 invoked by uid 48); 18 Apr 2018 07:03:29 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84463] [6/7 Regression] Supposedly-incompliant "error: '* key0' is not a constant expression" Date: Wed, 18 Apr 2018 07:03: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: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: <bug-84463-4-R8WSt6eg18@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84463-4@http.gcc.gnu.org/bugzilla/> References: <bug-84463-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02010.txt.bz2 Content-length: 653 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84463 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[6/7/8 Regression] |[6/7 Regression] |Supposedly-incompliant |Supposedly-incompliant |"error: '* key0' is not a |"error: '* key0' is not a |constant expression" |constant expression" --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Fixed for 8+. Not really sure if this patch should be backported. >From gcc-bugs-return-601885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 07:03:21 2018 Return-Path: <gcc-bugs-return-601885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96152 invoked by alias); 18 Apr 2018 07:03:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94081 invoked by uid 55); 18 Apr 2018 07:03:14 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/85389] posix_memalign() crash with address sanitizer when passing invalid arguments Date: Wed, 18 Apr 2018 07:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 6.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85389-4-AhNQoKrQei@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85389-4@http.gcc.gnu.org/bugzilla/> References: <bug-85389-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02009.txt.bz2 Content-length: 494 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85389 --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Apr 18 07:02:40 2018 New Revision: 259459 URL: https://gcc.gnu.org/viewcvs?rev=259459&root=gcc&view=rev Log: PR sanitizer/85389 * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change from 0xa0000000000ULL to ~(uptr)0. Modified: trunk/libsanitizer/ChangeLog trunk/libsanitizer/asan/asan_allocator.h >From gcc-bugs-return-601887-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 07:06:34 2018 Return-Path: <gcc-bugs-return-601887-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79308 invoked by alias); 18 Apr 2018 07:06:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72876 invoked by uid 48); 18 Apr 2018 07:06:29 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/85389] posix_memalign() crash with address sanitizer when passing invalid arguments Date: Wed, 18 Apr 2018 07:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 6.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85389-4-kkrStYKUix@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85389-4@http.gcc.gnu.org/bugzilla/> References: <bug-85389-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02011.txt.bz2 Content-length: 222 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85389 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Oops, the above comment doesn't belong to this bug. The commit was supposed to fix PR85394 instead. >From gcc-bugs-return-601888-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 07:07:35 2018 Return-Path: <gcc-bugs-return-601888-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7018 invoked by alias); 18 Apr 2018 07:07:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2201 invoked by uid 48); 18 Apr 2018 07:07:30 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/85394] [8 Regression] Unable to run sanitized executables on ppc64le Ubuntu and SLES Date: Wed, 18 Apr 2018 07:07: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: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: seurer at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85394-4-uJizDu9SNU@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85394-4@http.gcc.gnu.org/bugzilla/> References: <bug-85394-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02012.txt.bz2 Content-length: 872 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85394 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Apr 18 07:02:40 2018 New Revision: 259459 URL: https://gcc.gnu.org/viewcvs?rev=259459&root=gcc&view=rev Log: PR sanitizer/85389 * asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change from 0xa0000000000ULL to ~(uptr)0. Modified: trunk/libsanitizer/ChangeLog trunk/libsanitizer/asan/asan_allocator.h Fixed on the trunk (though backports are still in order to release branches). >From gcc-bugs-return-601889-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 07:47:21 2018 Return-Path: <gcc-bugs-return-601889-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110124 invoked by alias); 18 Apr 2018 07:47:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110076 invoked by uid 48); 18 Apr 2018 07:47:16 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85445] New: [nvptx, openacc] Calls to worker and vector routine broken Date: Wed, 18 Apr 2018 07:47: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: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85445-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02013.txt.bz2 Content-length: 2118 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85445 Bug ID: 85445 Summary: [nvptx, openacc] Calls to worker and vector routine broken Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- og7 test-case ref-1.C fails in execution when run with trunk: ... /* { dg-do run } */ extern "C" int printf (char const *, ...); #pragma acc routine vector void Vector (int *ptr,int n,const int &inc) { #pragma acc loop vector for (unsigned ix = 0; ix < n; ix++) ptr[ix] += inc; } #pragma acc routine worker void Worker (int *ptr, int m, int n, const int &inc) { #pragma acc loop worker for (unsigned ix = 0; ix < m; ix++) Vector(ptr + ix * n, n, inc); } int main () { const int n = 32, m=32; int ary[m][n]; unsigned ix, iy; for (ix = m; ix--;) for (iy = n; iy--;) ary[ix][iy] = (ix << 8) + iy; #pragma acc parallel copy(ary) { Worker (&ary[0][0], m, n, 1<<16); } int err = 0; for (ix = m; ix--;) for (iy = n; iy--;) if (ary[ix][iy] != ((1 << 16) + (ix << 8) + iy)) { printf ("ary[%u][%u] = %x expected %x\n", ix, iy, ary[ix][iy], ((1 << 16) + (ix << 8) + iy)); err++; } if (err) { printf ("%d failed\n", err); return 1; } #pragma acc parallel copy(ary) { Vector (&ary[0][0], m * n, (1<<24) - (1<<16)); } for (ix = m; ix--;) for (iy = n; iy--;) if (ary[ix][iy] != ((1 << 24) + (ix << 8) + iy)) { printf ("ary[%u][%u] = %x expected %x\n", ix, iy, ary[ix][iy], ((1 << 24) + (ix << 8) + iy)); err++; } if (err) { printf ("%d failed\n", err); return 1; } return 0; } ... og7 fix was submitted here ( https://gcc.gnu.org/ml/gcc-patches/2016-08/msg01730.html ) and committed as r239736. >From gcc-bugs-return-601891-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 08:04:54 2018 Return-Path: <gcc-bugs-return-601891-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51743 invoked by alias); 18 Apr 2018 08:04:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51652 invoked by uid 48); 18 Apr 2018 08:04:50 -0000 From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84630] [6/7 Regression] ICE: TYPE_NAME() used on error_mark_node in tsubst_lambda_expr, at cp/pt.c:17141 Date: Wed, 18 Apr 2018 08:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: <bug-84630-4-5r6NYBwKQi@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84630-4@http.gcc.gnu.org/bugzilla/> References: <bug-84630-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02015.txt.bz2 Content-length: 683 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84630 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[6/7/8 Regression] ICE: |[6/7 Regression] ICE: |TYPE_NAME() used on |TYPE_NAME() used on |error_mark_node in |error_mark_node in |tsubst_lambda_expr, at |tsubst_lambda_expr, at |cp/pt.c:17141 |cp/pt.c:17141 --- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> --- Fixed in trunk so far. >From gcc-bugs-return-601890-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 08:04:22 2018 Return-Path: <gcc-bugs-return-601890-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50856 invoked by alias); 18 Apr 2018 08:04:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50782 invoked by uid 55); 18 Apr 2018 08:04:17 -0000 From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84630] [6/7/8 Regression] ICE: TYPE_NAME() used on error_mark_node in tsubst_lambda_expr, at cp/pt.c:17141 Date: Wed, 18 Apr 2018 08:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84630-4-XO0XVJYLeJ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84630-4@http.gcc.gnu.org/bugzilla/> References: <bug-84630-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02014.txt.bz2 Content-length: 728 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84630 --- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> --- Author: paolo Date: Wed Apr 18 08:03:45 2018 New Revision: 259460 URL: https://gcc.gnu.org/viewcvs?rev=259460&root=gcc&view=rev Log: /cp 2018-04-18 Paolo Carlini <paolo.carlini@oracle.com> PR c++/84630 * pt.c (tsubst_lambda_expr): Check begin_lambda_type return value for error_mark_node. /testsuite 2018-04-18 Paolo Carlini <paolo.carlini@oracle.com> PR c++/84630 * g++.dg/cpp0x/pr84630.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp0x/pr84630.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-601892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 08:28:18 2018 Return-Path: <gcc-bugs-return-601892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6614 invoked by alias); 18 Apr 2018 08:28:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6554 invoked by uid 48); 18 Apr 2018 08:28:13 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85446] New: [7/8 Regression] wrong-code on riscv64 Date: Wed, 18 Apr 2018 08:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85446-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02016.txt.bz2 Content-length: 3913 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85446 Bug ID: 85446 Summary: [7/8 Regression] wrong-code on riscv64 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- Starting with r238754 we can miscompile narrowing conversion of pointer to integer compared against constant (unfortunately the only testcase for this I have is for riscv64 (due to different IVOPTS decisions) which has been introduced in r245224, so technically this is just latent bug). Testcase for -O2 -fwrapv -fno-strict-aliasing -mabi=lp64 -march=rv64g typedef struct { void *cdr; void *car; } cons_; typedef cons_ *Cons; typedef struct { union { void *_GCself; unsigned char flags[sizeof (void *) / sizeof (unsigned char)]; } header; void *symvalue; void *symfunction; void *hashcode; void *proplist; void *pname; void *homepackage; } symbol_; typedef symbol_ *Symbol; typedef struct { union { void *_GCself; unsigned char flags[sizeof (void *) / sizeof (unsigned char)]; } header; signed char rectype; unsigned char recflags; unsigned char reclength; unsigned char recxlength; void *ht_maxcount; void *ht_kvtable; void *ht_lookupfn; void *ht_hashcodefn; void *ht_testfn; void *ht_gcinvariantfn; void *ht_rehash_size; void *ht_mincount_threshold; void *ht_mincount; void *ht_test; void *ht_hash; unsigned int ht_size; } *Hashtable; typedef struct { union { void *_GCself; unsigned char flags[sizeof (void *) / sizeof (unsigned char)]; } header; unsigned int length; void *hal_filler; void *hal_itable; void *hal_count; void *hal_freelist; void *hal_data[0]; } *HashedAlist; extern void **STACK; extern struct symbol_tab_ { symbol_ S_nil; symbol_ S_t; } symbol_tab_data; extern unsigned int mv_count; extern void *mv_space[127]; void C_hash_table_iterate (void) { void *state = (STACK -= 1, STACK[0]); if (((unsigned long) state) & (1UL << 62)) { void *table = ((Cons) ((void *) ((unsigned long) state & ((1UL << 56) - 1))))->car; while (1) { unsigned int index = (unsigned long) ((unsigned long) ((((Cons) ((void *) ((unsigned long) state & ((1UL << 56) - 1))))->cdr)) & ((2UL << 55) - 1)); if (index == 0) break; ((Cons) ((void *) ((unsigned long) state & ((1UL << 56) - 1))))->cdr = ((void *) ((unsigned char *) ((((Cons) ((void *) ((unsigned long) state & ((1UL << 56) - 1))))->cdr)) + (long) (-1))); { void **KVptr = &((HashedAlist) ((void *) ((unsigned long) table & ((1UL << 56) - 1))))->hal_data[3 * index - 3]; if (!(KVptr[0] == (void *) 0x380000000FFFFFFUL)) { mv_space[0] = (void *) ((unsigned char *) (&symbol_tab_data.S_t) + (1UL << 58)); mv_space[1] = KVptr[0]; mv_space[2] = KVptr[1]; mv_count = 3; return; } } } } mv_space[0] = (void *) ((unsigned char *) (&symbol_tab_data.S_nil) + (1UL << 58)); mv_count = 1; } The difference between cddce3 and forwprop4 shows the bug: unsigned int index; ... void * prephitmp_40; ... <bb 4> [local count: 1073741825]: # prephitmp_40 = PHI <pretmp_35(3), _11(5)> # ivtmp.14_36 = PHI <ivtmp.14_42(3), ivtmp.14_9(5)> index_46 = (unsigned int) prephitmp_40; - if (index_46 == 0) + if (prephitmp_40 == 0B) goto <bb 7>; [5.50%] else goto <bb 5>; [94.50%] The original was comparing only the low 32-bits of the pointer against 0, the modified code compares the whole pointer against NULL. >From gcc-bugs-return-601893-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 08:29:11 2018 Return-Path: <gcc-bugs-return-601893-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23026 invoked by alias); 18 Apr 2018 08:29:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20633 invoked by uid 48); 18 Apr 2018 08:29:06 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85446] [7/8 Regression] wrong-code on riscv64 Date: Wed, 18 Apr 2018 08:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed Message-ID: <bug-85446-4-sNUbfUscJG@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85446-4@http.gcc.gnu.org/bugzilla/> References: <bug-85446-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02017.txt.bz2 Content-length: 542 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85446 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-04-18 Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Target Milestone|--- |7.4 Ever confirmed|0 |1 >From gcc-bugs-return-601894-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 08:30:40 2018 Return-Path: <gcc-bugs-return-601894-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37560 invoked by alias); 18 Apr 2018 08:30:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37400 invoked by uid 48); 18 Apr 2018 08:30:31 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85446] [7/8 Regression] wrong-code on riscv64 Date: Wed, 18 Apr 2018 08:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85446-4-KkdC0GUYuZ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85446-4@http.gcc.gnu.org/bugzilla/> References: <bug-85446-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02018.txt.bz2 Content-length: 253 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85446 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 43972 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43972&action=edit gcc8-pr85446.patch Untested fix. >From gcc-bugs-return-601895-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 08:34:01 2018 Return-Path: <gcc-bugs-return-601895-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42007 invoked by alias); 18 Apr 2018 08:34:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41904 invoked by uid 48); 18 Apr 2018 08:33:57 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/84149] [8 Regression] SPEC CPU2017 505.mcf/605.mcf ~10% performance regression with r256888 Date: Wed, 18 Apr 2018 08:34: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: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-84149-4-jtmAQ5Ztel@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84149-4@http.gcc.gnu.org/bugzilla/> References: <bug-84149-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02019.txt.bz2 Content-length: 406 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84149 --- Comment #12 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Created attachment 43973 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43973&action=edit Unreduced test-case Unfortunately I see one more ICE (reduced from Firefox w/ -O3). I'm currently reducing that, but hopefully will be possible to debug for unreduced version. >From gcc-bugs-return-601896-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 08:35:26 2018 Return-Path: <gcc-bugs-return-601896-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67498 invoked by alias); 18 Apr 2018 08:35:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65030 invoked by uid 48); 18 Apr 2018 08:35:21 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/84149] [8 Regression] SPEC CPU2017 505.mcf/605.mcf ~10% performance regression with r256888 Date: Wed, 18 Apr 2018 08:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-84149-4-rkg0EZjHmQ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84149-4@http.gcc.gnu.org/bugzilla/> References: <bug-84149-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02020.txt.bz2 Content-length: 1951 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84149 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #13 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- (In reply to Martin LiÅ¡ka from comment #12) > Created attachment 43973 [details] > Unreduced test-case > > Unfortunately I see one more ICE (reduced from Firefox w/ -O3). I'm > currently reducing that, but hopefully will be possible to debug for > unreduced version. $ ./xg++ -B. -O3 -c ~/Downloads/ice.ii /home/marxin/Downloads/ice.ii:5441:214: internal compiler error: in create_specialized_node, at ipa-cp.c:3870 already_AddRefed<nsIURI> nsImageLoadingContent::GetCurrentRequestFinalURI() { nsCOMPtr<nsIURI> uri; if (mCurrentRequest) { mCurrentRequest->GetFinalURI(getter_AddRefs(uri)); } return uri.forget(); } ^ 0x1624b99 create_specialized_node ../../gcc/ipa-cp.c:3870 0x16252a2 decide_about_value<tree_node*> ../../gcc/ipa-cp.c:4699 0x1626440 decide_whether_version_node ../../gcc/ipa-cp.c:4743 0x1626440 ipcp_decision_stage ../../gcc/ipa-cp.c:4906 0x1626440 ipcp_driver ../../gcc/ipa-cp.c:5086 >From gcc-bugs-return-601899-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 08:35:31 2018 Return-Path: <gcc-bugs-return-601899-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68520 invoked by alias); 18 Apr 2018 08:35:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66434 invoked by uid 48); 18 Apr 2018 08:35:24 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/84613] [meta-bug] SPEC compiler performance issues Date: Wed, 18 Apr 2018 08:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-84613-4-EpUcjb4xrG@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84613-4@http.gcc.gnu.org/bugzilla/> References: <bug-84613-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02022.txt.bz2 Content-length: 510 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84613 Bug 84613 depends on bug 84149, which changed state. Bug 84149 Summary: [8 Regression] SPEC CPU2017 505.mcf/605.mcf ~10% performance regression with r256888 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84149 What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- >From gcc-bugs-return-601898-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 08:35:28 2018 Return-Path: <gcc-bugs-return-601898-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68036 invoked by alias); 18 Apr 2018 08:35:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66040 invoked by uid 48); 18 Apr 2018 08:35:23 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84016] [8 Regression] Spec2000 regression around Jan 14 and Jan 19 2018 Date: Wed, 18 Apr 2018 08:35: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: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-84016-4-upiSulvEBa@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84016-4@http.gcc.gnu.org/bugzilla/> References: <bug-84016-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02021.txt.bz2 Content-length: 510 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84016 Bug 84016 depends on bug 84149, which changed state. Bug 84149 Summary: [8 Regression] SPEC CPU2017 505.mcf/605.mcf ~10% performance regression with r256888 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84149 What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- >From gcc-bugs-return-601897-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 08:35:27 2018 Return-Path: <gcc-bugs-return-601897-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67925 invoked by alias); 18 Apr 2018 08:35:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65779 invoked by uid 48); 18 Apr 2018 08:35:22 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95) Date: Wed, 18 Apr 2018 08:35: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: 4.2.0 X-Bugzilla-Keywords: meta-bug, missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: marxin 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: <bug-26163-4-n5ZlklXKDF@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-26163-4@http.gcc.gnu.org/bugzilla/> References: <bug-26163-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02023.txt.bz2 Content-length: 510 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 84149, which changed state. Bug 84149 Summary: [8 Regression] SPEC CPU2017 505.mcf/605.mcf ~10% performance regression with r256888 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84149 What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- >From gcc-bugs-return-601900-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 08:48:42 2018 Return-Path: <gcc-bugs-return-601900-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81189 invoked by alias); 18 Apr 2018 08:48:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 80698 invoked by uid 55); 18 Apr 2018 08:47:59 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Wed, 18 Apr 2018 08:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-WjidE08xmT@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02024.txt.bz2 Content-length: 393 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #25 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Apr 18 08:47:26 2018 New Revision: 259461 URL: https://gcc.gnu.org/viewcvs?rev=259461&root=gcc&view=rev Log: PR target/81084 * config.gcc: Obsolete powerpc*-*-*spe*. Modified: trunk/gcc/ChangeLog trunk/gcc/config.gcc >From gcc-bugs-return-601901-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 08:57:28 2018 Return-Path: <gcc-bugs-return-601901-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91932 invoked by alias); 18 Apr 2018 08:57:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91875 invoked by uid 48); 18 Apr 2018 08:57:23 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85447] New: [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319 Date: Wed, 18 Apr 2018 08:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa 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 attachments.created Message-ID: <bug-85447-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02025.txt.bz2 Content-length: 1978 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 Bug ID: 85447 Summary: [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: jamborm at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Created attachment 43974 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43974&action=edit unreduc Comes from Firefox with -O3: $ ./xg++ -B. -O3 -c ~/Downloads/ice.ii /home/marxin/Downloads/ice.ii:5441:214: internal compiler error: in create_specialized_node, at ipa-cp.c:3870 already_AddRefed<nsIURI> nsImageLoadingContent::GetCurrentRequestFinalURI() { nsCOMPtr<nsIURI> uri; if (mCurrentRequest) { mCurrentRequest->GetFinalURI(getter_AddRefs(uri)); } return uri.forget(); } ^ 0x1624b99 create_specialized_node ../../gcc/ipa-cp.c:3870 0x16252a2 decide_about_value<tree_node*> ../../gcc/ipa-cp.c:4699 0x1626440 decide_whether_version_node ../../gcc/ipa-cp.c:4743 0x1626440 ipcp_decision_stage ../../gcc/ipa-cp.c:4906 0x1626440 ipcp_driver ../../gcc/ipa-cp.c:5086 >From gcc-bugs-return-601902-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 08:58:23 2018 Return-Path: <gcc-bugs-return-601902-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101516 invoked by alias); 18 Apr 2018 08:58:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98344 invoked by uid 48); 18 Apr 2018 08:58:19 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95) Date: Wed, 18 Apr 2018 08:58: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: 4.2.0 X-Bugzilla-Keywords: meta-bug, missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: marxin 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: <bug-26163-4-fHVewZLVw1@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-26163-4@http.gcc.gnu.org/bugzilla/> References: <bug-26163-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02026.txt.bz2 Content-length: 512 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 84149, which changed state. Bug 84149 Summary: [8 Regression] SPEC CPU2017 505.mcf/605.mcf ~10% performance regression with r256888 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84149 What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-601903-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 08:58:24 2018 Return-Path: <gcc-bugs-return-601903-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101650 invoked by alias); 18 Apr 2018 08:58:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97078 invoked by uid 48); 18 Apr 2018 08:58:18 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/84149] [8 Regression] SPEC CPU2017 505.mcf/605.mcf ~10% performance regression with r256888 Date: Wed, 18 Apr 2018 08:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution cf_known_to_fail Message-ID: <bug-84149-4-WxG4irAlWD@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84149-4@http.gcc.gnu.org/bugzilla/> References: <bug-84149-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02028.txt.bz2 Content-length: 504 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84149 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED Known to fail|8.0.1 | --- Comment #14 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- New ICE has a new PR85447. >From gcc-bugs-return-601904-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 08:58:25 2018 Return-Path: <gcc-bugs-return-601904-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101890 invoked by alias); 18 Apr 2018 08:58:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99551 invoked by uid 48); 18 Apr 2018 08:58:20 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/84016] [8 Regression] Spec2000 regression around Jan 14 and Jan 19 2018 Date: Wed, 18 Apr 2018 08:58: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: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-84016-4-My8UMH9iUo@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84016-4@http.gcc.gnu.org/bugzilla/> References: <bug-84016-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02029.txt.bz2 Content-length: 512 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84016 Bug 84016 depends on bug 84149, which changed state. Bug 84149 Summary: [8 Regression] SPEC CPU2017 505.mcf/605.mcf ~10% performance regression with r256888 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84149 What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-601905-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 08:58:27 2018 Return-Path: <gcc-bugs-return-601905-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102146 invoked by alias); 18 Apr 2018 08:58:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100518 invoked by uid 48); 18 Apr 2018 08:58:21 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/84613] [meta-bug] SPEC compiler performance issues Date: Wed, 18 Apr 2018 08:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-84613-4-pNDrlLuu6r@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84613-4@http.gcc.gnu.org/bugzilla/> References: <bug-84613-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02027.txt.bz2 Content-length: 512 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84613 Bug 84613 depends on bug 84149, which changed state. Bug 84149 Summary: [8 Regression] SPEC CPU2017 505.mcf/605.mcf ~10% performance regression with r256888 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84149 What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-601906-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 09:02:11 2018 Return-Path: <gcc-bugs-return-601906-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34858 invoked by alias); 18 Apr 2018 09:02:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14082 invoked by uid 48); 18 Apr 2018 09:02:02 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319 Date: Wed, 18 Apr 2018 09:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority cf_reconfirmed_on version cf_known_to_fail Message-ID: <bug-85447-4-PYaQlmX271@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85447-4@http.gcc.gnu.org/bugzilla/> References: <bug-85447-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02030.txt.bz2 Content-length: 463 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Last reconfirmed| |2018-4-18 Version|unknown |8.0.1 Known to fail| |8.0.1 >From gcc-bugs-return-601908-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 09:03:41 2018 Return-Path: <gcc-bugs-return-601908-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71290 invoked by alias); 18 Apr 2018 09:03:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62697 invoked by uid 48); 18 Apr 2018 09:03:36 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85383] [8 regression] many ICE failures at gcc/toplev.c:325 starting with r259346 Date: Wed, 18 Apr 2018 09:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: <bug-85383-4-MUtQhvfdHJ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85383-4@http.gcc.gnu.org/bugzilla/> References: <bug-85383-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02032.txt.bz2 Content-length: 495 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85383 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |8.0 --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Patch was reverted. >From gcc-bugs-return-601907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 09:03:16 2018 Return-Path: <gcc-bugs-return-601907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42501 invoked by alias); 18 Apr 2018 09:03:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25199 invoked by uid 48); 18 Apr 2018 09:03:08 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85382] code compiled with fno-builtin uses builtin Date: Wed, 18 Apr 2018 09:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 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: 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: <bug-85382-4-S3CNakq7hZ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85382-4@http.gcc.gnu.org/bugzilla/> References: <bug-85382-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02031.txt.bz2 Content-length: 559 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85382 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- __powidf2 is provided by libgcc.a and thus available. -fno-builtin is not intended to prevent GCC from emitting calls to its runtime. >From gcc-bugs-return-601909-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 09:11:57 2018 Return-Path: <gcc-bugs-return-601909-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76274 invoked by alias); 18 Apr 2018 09:11:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73363 invoked by uid 48); 18 Apr 2018 09:11:53 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Wed, 18 Apr 2018 09:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-81084-4-YInShQ9bjV@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02033.txt.bz2 Content-length: 508 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #26 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Port is now obsolete, will be removed in GCC9 unless sufficient maintenance is provided. >From gcc-bugs-return-601910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 09:14:38 2018 Return-Path: <gcc-bugs-return-601910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18914 invoked by alias); 18 Apr 2018 09:14:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12912 invoked by uid 48); 18 Apr 2018 09:14:33 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85390] possible missed optimisation / regression from 6.3 with conditional expression Date: Wed, 18 Apr 2018 09:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget component Message-ID: <bug-85390-4-7KxSfZkyyd@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85390-4@http.gcc.gnu.org/bugzilla/> References: <bug-85390-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02034.txt.bz2 Content-length: 616 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85390 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-*-*, i?86-*-* Component|tree-optimization |rtl-optimization --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- I think we statically predict the test to be non-even and thus avoid the cmov. Not sure if current cores still prefer branches over cmov for well-predicted branches. >From gcc-bugs-return-601911-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 09:17:36 2018 Return-Path: <gcc-bugs-return-601911-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85619 invoked by alias); 18 Apr 2018 09:17:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85534 invoked by uid 48); 18 Apr 2018 09:17:32 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887 Date: Wed, 18 Apr 2018 09:17: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.1 X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: <bug-85391-4-94CO6bEbba@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85391-4@http.gcc.gnu.org/bugzilla/> References: <bug-85391-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02035.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-601912-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 09:26:05 2018 Return-Path: <gcc-bugs-return-601912-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102509 invoked by alias); 18 Apr 2018 09:26:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102259 invoked by uid 48); 18 Apr 2018 09:25:48 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85442] [8 Regression] cxx11-ios_failure.lo build fails for microblaze Date: Wed, 18 Apr 2018 09:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85442-4-uAfr7RDiF0@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85442-4@http.gcc.gnu.org/bugzilla/> References: <bug-85442-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02036.txt.bz2 Content-length: 433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85442 --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Can be reproduced even on x86_64-linux with CXXFLAGS='-g -O2 -D_GNU_SOURCE -gno-as-loc-support' cxx11-ios_failure-lt.s: Assembler messages: cxx11-ios_failure-lt.s: Fatal error: duplicate .debug_line sections make: *** [Makefile:766: cxx11-ios_failure.lo] Error 1 Otherwise it just creates duplicate debug info. >From gcc-bugs-return-601913-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 09:31:44 2018 Return-Path: <gcc-bugs-return-601913-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122749 invoked by alias); 18 Apr 2018 09:31:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119924 invoked by uid 48); 18 Apr 2018 09:31:38 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/80290] [6/7/8 Regression] g++ uses unreasonable amount of memory compiling nested string maps Date: Wed, 18 Apr 2018 09:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0.1 X-Bugzilla-Keywords: memory-hog, patch 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: short_desc Message-ID: <bug-80290-4-OgRMWd2T1p@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-80290-4@http.gcc.gnu.org/bugzilla/> References: <bug-80290-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02037.txt.bz2 Content-length: 1582 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80290 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[6/7 Regression] g++ uses |[6/7/8 Regression] g++ uses |unreasonable amount of |unreasonable amount of |memory compiling nested |memory compiling nested |string maps |string maps --- Comment #24 from Richard Biener <rguenth at gcc dot gnu.org> --- While memory use improved the testcase in comment#10 still shows substantial increase in memory and time for each added init element: 1.24user 0.04system 0:01.28elapsed 100%CPU (0avgtext+0avgdata 170772maxresident)k 1.49user 0.07system 0:01.56elapsed 99%CPU (0avgtext+0avgdata 206396maxresident)k 0inputs+0outputs (0major+50914minor)pagefaults 0swaps 1.70user 0.05system 0:01.76elapsed 100%CPU (0avgtext+0avgdata 233904maxresident)k so we improved some constant factor but didn't really address the underlying issue. Numbers from before the patch (on a loaded system, sorry) were 3.87user 0.10system 0:04.33elapsed 91%CPU (0avgtext+0avgdata 235760maxresident)k 0inputs+0outputs (0major+54479minor)pagefaults 0swaps 5.23user 0.16system 0:06.06elapsed 88%CPU (0avgtext+0avgdata 283860maxresident)k 0inputs+0outputs (0major+64971minor)pagefaults 0swaps 6.17user 0.15system 0:06.90elapsed 91%CPU (0avgtext+0avgdata 323796maxresident)k 0inputs+0outputs (0major+74942minor)pagefaults 0swaps >From gcc-bugs-return-601914-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 09:37:52 2018 Return-Path: <gcc-bugs-return-601914-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11113 invoked by alias); 18 Apr 2018 09:37:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11016 invoked by uid 48); 18 Apr 2018 09:37:40 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85396] _M_t._M_emplace_hint_unique Date: Wed, 18 Apr 2018 09:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget Message-ID: <bug-85396-4-TFetuyeNSd@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85396-4@http.gcc.gnu.org/bugzilla/> References: <bug-85396-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02038.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85396 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |arm --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- It works for me with 6.2.0, 6.3.0 and 6.4.0 on x86_64-linux. >From gcc-bugs-return-601916-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 09:43:32 2018 Return-Path: <gcc-bugs-return-601916-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23707 invoked by alias); 18 Apr 2018 09:43:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23627 invoked by uid 55); 18 Apr 2018 09:43:27 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug go/85429] Several gotools tests FAIL with Solaris as Date: Wed, 18 Apr 2018 09:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85429-4-8pmVjGvIJg@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85429-4@http.gcc.gnu.org/bugzilla/> References: <bug-85429-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02040.txt.bz2 Content-length: 988 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85429 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #1 from Ian Lance Taylor <ian at airs dot com> --- > Does the SPARC Solaris assembler support a syntax like > > .section ".go.buildid",#exclude > > ? That's what gas seems to support for compatibility. It does indeed. I didn't think to look into gas docs because I couldn't find anything in the Solaris SPARC assembler manual. > Does that syntax work for x86? Almost: you need .section .go.buildid,#exclude It's weird that they use the sparc synatx in this case instead of the common "e" flag. One caveat, though: #exclude wasn't present in the original Solaris 10 assemblers. However, both the current ones and the Solaris 11 assemblers do support it. While I'll handle this when adding SHF_EXCLUDE support with Solaris as to gcc proper, I don't know if I care enough about those ancient systems... >From gcc-bugs-return-601915-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 09:43:01 2018 Return-Path: <gcc-bugs-return-601915-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22737 invoked by alias); 18 Apr 2018 09:43:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22387 invoked by uid 48); 18 Apr 2018 09:42:54 -0000 From: "francois.jacq at irsn dot fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85448] New: the compiler selects the wrong subroutine because of bind(c,name=...) Date: Wed, 18 Apr 2018 09:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: francois.jacq at irsn dot fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85448-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02039.txt.bz2 Content-length: 1366 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85448 Bug ID: 85448 Summary: the compiler selects the wrong subroutine because of bind(c,name=...) Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: francois.jacq at irsn dot fr Target Milestone: --- In the following example, the subroutine c_open of the module m2, which should call the subroutine odopen of the module m1, calls itself instead... Tested with gcc 4.9.2 , 5.3.0, 6.3.0 result : dev005{bug} 114 : gfortran -c m1.f90 m2.f90 dev005{bug} 114 : gcc main.c *.o -lgfortran dev005{bug} 114 : ./a.out c_odopen c_odopen c_odopen ... module m1 implicit none contains subroutine odopen(unit) integer,intent(out) :: unit write(*,*) 'odopen' unit=8 end subroutine end module module m2 use iso_c_binding use m1 implicit none contains subroutine c_odopen(unit) bind(c,name="odopen") integer(c_int),intent(out) :: unit write(*,*) 'c_odopen' call odopen(unit) end subroutine end module #include <stdio.h> void odopen(int*); int main(){ int unit; odopen(&unit); printf("unit=%d \n",unit); return 0; } >From gcc-bugs-return-601917-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 09:45:56 2018 Return-Path: <gcc-bugs-return-601917-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25747 invoked by alias); 18 Apr 2018 09:45:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25191 invoked by uid 48); 18 Apr 2018 09:44:43 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/85398] g++ reports "array subscript is above array bounds" when it cannot be sure Date: Wed, 18 Apr 2018 09:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 6.4.0 X-Bugzilla-Keywords: diagnostic, 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: <bug-85398-4-cuh7jWQX5U@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85398-4@http.gcc.gnu.org/bugzilla/> References: <bug-85398-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02041.txt.bz2 Content-length: 675 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85398 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- This is the simple case of GCC optimizing the access to a constant: <bb 2> [50.00%]: max.0_11 = max; if (max.0_11 > 1) goto <bb 3>; [50.00%] else goto <bb 4>; [50.00%] <bb 3> [25.00%]: _13 = right[0]; left[1] = _13; <bb 4> [50.00%]: return; and we warn for the case of max > 1. Similarly we warn for int bar () { return left[2]; } even if we can't prove that bar() is actually executed. We could change the warning to have a "may be above array bounds" form for your case but that wouldn't handle the bar() case. >From gcc-bugs-return-601918-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 09:47:58 2018 Return-Path: <gcc-bugs-return-601918-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64701 invoked by alias); 18 Apr 2018 09:47:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58512 invoked by uid 55); 18 Apr 2018 09:47:50 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug jit/85384] libgccjit does not work if --with-gcc-major-version is used Date: Wed, 18 Apr 2018 09:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: jit X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85384-4-TDB6TYCNKM@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85384-4@http.gcc.gnu.org/bugzilla/> References: <bug-85384-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02042.txt.bz2 Content-length: 1905 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85384 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Apr 18 09:46:58 2018 New Revision: 259462 URL: https://gcc.gnu.org/viewcvs?rev=259462&root=gcc&view=rev Log: PR jit/85384 * acx.m4 (GCC_BASE_VER): Remove \$\$ from sed expression. * configure.ac (gcc-driver-name.h): Honor --with-gcc-major-version by using gcc_base_ver to generate a gcc_driver_version, and use it when generating GCC_DRIVER_NAME. * configure: Regenerate. * configure: Regenerate. Modified: trunk/config/ChangeLog trunk/config/acx.m4 trunk/fixincludes/ChangeLog trunk/fixincludes/configure trunk/gcc/ChangeLog trunk/gcc/configure trunk/gcc/configure.ac trunk/libada/ChangeLog trunk/libada/configure trunk/libatomic/ChangeLog trunk/libatomic/configure trunk/libcc1/ChangeLog trunk/libcc1/configure trunk/libffi/ChangeLog trunk/libffi/configure trunk/libgcc/ChangeLog trunk/libgcc/configure trunk/libgfortran/ChangeLog trunk/libgfortran/configure trunk/libgomp/ChangeLog trunk/libgomp/configure trunk/libhsail-rt/ChangeLog trunk/libhsail-rt/configure trunk/libitm/ChangeLog trunk/libitm/configure trunk/libmpx/ChangeLog trunk/libmpx/configure trunk/libobjc/ChangeLog trunk/libobjc/configure trunk/liboffloadmic/ChangeLog trunk/liboffloadmic/configure trunk/liboffloadmic/plugin/configure trunk/libquadmath/ChangeLog trunk/libquadmath/configure trunk/libsanitizer/ChangeLog trunk/libsanitizer/configure trunk/libssp/ChangeLog trunk/libssp/configure trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/configure trunk/libvtv/ChangeLog trunk/libvtv/configure trunk/lto-plugin/ChangeLog trunk/lto-plugin/configure >From gcc-bugs-return-601919-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 09:51:18 2018 Return-Path: <gcc-bugs-return-601919-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112354 invoked by alias); 18 Apr 2018 09:51:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112024 invoked by uid 48); 18 Apr 2018 09:50:46 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug jit/85384] libgccjit does not work if --with-gcc-major-version is used Date: Wed, 18 Apr 2018 09:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: jit X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85384-4-DfsSyIGwlf@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85384-4@http.gcc.gnu.org/bugzilla/> References: <bug-85384-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02043.txt.bz2 Content-length: 407 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85384 --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Richard prefered David's patch and we have some sed invocations that expect s/something.*// to match everything until end of line in gcc/Makefile.in, so if some sed versions don't do it, it would break other things. So, fixed for GCC8+ so far, should be backported to 7 at some point. >From gcc-bugs-return-601920-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 09:53:19 2018 Return-Path: <gcc-bugs-return-601920-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117524 invoked by alias); 18 Apr 2018 09:53:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 117392 invoked by uid 48); 18 Apr 2018 09:53:15 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85405] [6/7 Regression] ICE in odr_types_equivalent_p, at ipa-devirt.c:1581 Date: Wed, 18 Apr 2018 09:53: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: 6.4.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority target_milestone Message-ID: <bug-85405-4-Q2BRMrZLWS@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85405-4@http.gcc.gnu.org/bugzilla/> References: <bug-85405-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02044.txt.bz2 Content-length: 345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85405 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Target Milestone|--- |6.5 >From gcc-bugs-return-601921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 09:56:16 2018 Return-Path: <gcc-bugs-return-601921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14966 invoked by alias); 18 Apr 2018 09:56:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10980 invoked by uid 48); 18 Apr 2018 09:56:12 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85406] Unnecessary blend when vectorizing short-cutted calculations Date: Wed, 18 Apr 2018 09:56: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: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: <bug-85406-4-n0PotPe5p9@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85406-4@http.gcc.gnu.org/bugzilla/> References: <bug-85406-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02045.txt.bz2 Content-length: 752 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85406 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-04-18 CC| |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- I don't see any vectorization being done on the testcase. Please specify the GCC version you tested as well as the command-line flags and eventually complete the testcase (there's no loop here?). >From gcc-bugs-return-601922-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 09:57:22 2018 Return-Path: <gcc-bugs-return-601922-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82908 invoked by alias); 18 Apr 2018 09:57:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77177 invoked by uid 48); 18 Apr 2018 09:57:16 -0000 From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319 Date: Wed, 18 Apr 2018 09:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to everconfirmed Message-ID: <bug-85447-4-TohuoFwqWM@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85447-4@http.gcc.gnu.org/bugzilla/> References: <bug-85447-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02046.txt.bz2 Content-length: 529 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Jambor <jamborm at gcc dot gnu.org> --- Confirmed and I guess mine. >From gcc-bugs-return-601923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:01:48 2018 Return-Path: <gcc-bugs-return-601923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108552 invoked by alias); 18 Apr 2018 10:01:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106794 invoked by uid 48); 18 Apr 2018 09:59:19 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319 Date: Wed, 18 Apr 2018 10:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85447-4-7WktBz74SX@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85447-4@http.gcc.gnu.org/bugzilla/> References: <bug-85447-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02047.txt.bz2 Content-length: 462 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 --- Comment #2 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Reduced test-case: typedef int a; enum b : a; class c { public: enum { d }; virtual b e(int *, int, const int *) = 0; }; class f : c { b e(int *, int, const int *); b g(); }; b f::e(int *h, int i, const int *j) { if (i == d) return g(); for (;;) e(h, i, j); } int k; c *l; void m() { l->e(&k, c::d, nullptr); } >From gcc-bugs-return-601924-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:03:58 2018 Return-Path: <gcc-bugs-return-601924-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108862 invoked by alias); 18 Apr 2018 10:02:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107964 invoked by uid 48); 18 Apr 2018 10:00:57 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85409] [8/9 Regression] ICE in alloc_succs_info, at sel-sched-ir.c:4730 Date: Wed, 18 Apr 2018 10:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: deferred, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority target_milestone short_desc Message-ID: <bug-85409-4-boy2B6VzlU@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85409-4@http.gcc.gnu.org/bugzilla/> References: <bug-85409-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02048.txt.bz2 Content-length: 615 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85409 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |deferred Priority|P3 |P2 Target Milestone|8.0 |9.0 Summary|[8 Regression] ICE in |[8/9 Regression] ICE in |alloc_succs_info, at |alloc_succs_info, at |sel-sched-ir.c:4730 |sel-sched-ir.c:4730 >From gcc-bugs-return-601925-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:03:59 2018 Return-Path: <gcc-bugs-return-601925-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110087 invoked by alias); 18 Apr 2018 10:03:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108588 invoked by uid 48); 18 Apr 2018 10:01:47 -0000 From: "patrickdepinguin at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/85398] g++ reports "array subscript is above array bounds" when it cannot be sure Date: Wed, 18 Apr 2018 10:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 6.4.0 X-Bugzilla-Keywords: diagnostic, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: patrickdepinguin at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85398-4-P4vcqfqcWt@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85398-4@http.gcc.gnu.org/bugzilla/> References: <bug-85398-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02049.txt.bz2 Content-length: 790 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85398 --- Comment #3 from Thomas De Schampheleire <patrickdepinguin at gmail dot com> --- (In reply to Richard Biener from comment #2) > > We could change the warning to have a "may be above array bounds" form > for your case but that wouldn't handle the bar() case. The problem with giving warnings about potential-but-not-definite issues is that projects that compile with '-Wall -Werror' assume zero warnings to guard quality. But if some warnings are false-positives, this strategy no longer works. The project will fail to compile even though it is perfectly fine. You'd need a way to tell gcc that this code is fine, or put such cases in a separate warning category that is not included in Wall or can be disabled explicitly. >From gcc-bugs-return-601926-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:05:55 2018 Return-Path: <gcc-bugs-return-601926-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113408 invoked by alias); 18 Apr 2018 10:05:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 113332 invoked by uid 48); 18 Apr 2018 10:05:51 -0000 From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84611] [6/7/8 Regression] ICE in operator[], at vec.h:826 (local_class_index()) Date: Wed, 18 Apr 2018 10:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: <bug-84611-4-OwGkqLTaSl@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84611-4@http.gcc.gnu.org/bugzilla/> References: <bug-84611-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02050.txt.bz2 Content-length: 472 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84611 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |paolo.carlini at oracle dot com --- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> --- On it. >From gcc-bugs-return-601927-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:06:51 2018 Return-Path: <gcc-bugs-return-601927-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114729 invoked by alias); 18 Apr 2018 10:06:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114640 invoked by uid 48); 18 Apr 2018 10:06:42 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85412] [8/9 Regression] ICE in put_TImodes, at sel-sched.c:7191 Date: Wed, 18 Apr 2018 10:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: deferred, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority target_milestone short_desc Message-ID: <bug-85412-4-JIgOGvevc5@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85412-4@http.gcc.gnu.org/bugzilla/> References: <bug-85412-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02051.txt.bz2 Content-length: 607 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85412 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |deferred Priority|P3 |P2 Target Milestone|--- |9.0 Summary|[8 Regression] ICE in |[8/9 Regression] ICE in |put_TImodes, at |put_TImodes, at |sel-sched.c:7191 |sel-sched.c:7191 >From gcc-bugs-return-601928-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:18:19 2018 Return-Path: <gcc-bugs-return-601928-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128122 invoked by alias); 18 Apr 2018 10:18:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128033 invoked by uid 48); 18 Apr 2018 10:18:11 -0000 From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319 Date: Wed, 18 Apr 2018 10:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-85447-4-n3w8cG04DD@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85447-4@http.gcc.gnu.org/bugzilla/> References: <bug-85447-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02052.txt.bz2 Content-length: 4104 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> --- The problem here is that IPA-CP clones node cgraph_edge Notify/1680 which has a speculative self-recursive edge. Because it now needs to make sure that eventually clones of such edges call the node clone and not the original node (while the original edge is not redirected and still leads to the original node), it takes such edges out of redirect_callers and stores in a vector to deal with post-cloning. Normally, after create_virtual_clone returns, it walks this vector, finds clones of these self-recursive edges in array next_edge_clone because that is where they are linked by ipcp_edge_duplication_hook, and redirects the clone. However, in this case, before create_virtual_clone returns ipa_fn_summary_t::duplicate is invoked and it re-evaluates edge predicates, during which it decides the edge is impossible, which leads to speculation resolution removing the new edge, clone, ipcp_edge_removal_hook being invoked which deletes it from the linked list of edge clones and subsequently ipa-cp code not finding it there. Breakpoint 6, ipcp_edge_removal_hook (cs=<cgraph_edge Notify.constprop/7327 -> Notify/1680>) at /home/mjambor/gcc/icln/src/gcc/ipa-cp.c:3435 3435 grow_edge_clone_vectors (); (gdb) bt #0 ipcp_edge_removal_hook (cs=<cgraph_edge Notify.constprop/7327 -> Notify/1680>) at /home/mjambor/gcc/icln/src/gcc/ipa-cp.c:3435 #1 0x0000000000be7669 in symbol_table::call_edge_removal_hooks (this=0x7ffff67aa100, e=<cgraph_edge Notify.constprop/7327 -> Notify/1680>) at /home/mjambor/gcc/icln/src/gcc/cgraph.c:329 #2 0x0000000000be8e66 in cgraph_edge::remove (this=<cgraph_edge Notify.constprop/7327 -> Notify/1680>) at /home/mjambor/gcc/icln/src/gcc/cgraph.c:1028 #3 0x0000000000be94c0 in cgraph_edge::resolve_speculation ( this=<cgraph_edge Notify.constprop/7327 -> Notify/1680>, callee_decl=<function_decl 0x7ffff68a2900 __builtin_unreachable>) at /home/mjambor/gcc/icln/src/gcc/cgraph.c:1200 #4 0x0000000000eb8f97 in redirect_to_unreachable (e=<cgraph_edge Notify.constprop/7327 -> Notify/1680>) at /home/mjambor/gcc/icln/src/gcc/ipa-fnsummary.c:239 #5 0x0000000000eb90a0 in edge_set_predicate (e=<cgraph_edge Notify.constprop/7327 -> Notify/1680>, predicate=0x7fffffffd680) at /home/mjambor/gcc/icln/src/gcc/ipa-fnsummary.c:267 #6 0x0000000000eba5ef in ipa_fn_summary_t::duplicate (this=0x7fffe7c702a0, src=<symtab_function 0x7fffec0cb170 Notify/1680>, dst=<symtab_function 0x7ffff519c5c0 Notify.constprop/7327>, info=0x7fffe7c54e70) at /home/mjambor/gcc/icln/src/gcc/ipa-fnsummary.c:714 #7 0x0000000000ec7339 in function_summary<ipa_fn_summary*>::symtab_duplication ( node=<symtab_function 0x7fffec0cb170 Notify/1680>, node2=<symtab_function 0x7ffff519c5c0 Notify.constprop/7327>, data=0x7fffe7c702a0) at /home/mjambor/gcc/icln/src/gcc/symbol-summary.h:189 #8 0x0000000000be7b2c in symbol_table::call_cgraph_duplication_hooks (this=0x7ffff67aa100, node=<symtab_function 0x7fffec0cb170 Notify/1680>, node2=<symtab_function 0x7ffff519c5c0 Notify.constprop/7327>) at /home/mjambor/gcc/icln/src/gcc/cgraph.c:495 #9 0x0000000000c04800 in cgraph_node::create_virtual_clone ( this=<symtab_function 0x7fffec0cb170 Notify/1680>, redirect_callers=..., tree_map=0x7fffee721370, args_to_skip=0x7fffef8570c0, suffix=0x24396e0 "constprop") at /home/mjambor/gcc/icln/src/gcc/cgraphclones.c:618 #10 0x0000000001bf5341 in create_specialized_node (node=<symtab_function 0x7fffec0cb170 Notify/1680>, known_csts=..., known_contexts=..., aggvals=0x0, callers=...) at /home/mjambor/gcc/icln/src/gcc/ipa-cp.c:3863 >From gcc-bugs-return-601929-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:19:08 2018 Return-Path: <gcc-bugs-return-601929-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129103 invoked by alias); 18 Apr 2018 10:19:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129044 invoked by uid 48); 18 Apr 2018 10:19:04 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find Date: Wed, 18 Apr 2018 10:19: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: openacc 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: <bug-85422-4-mu0nj1kEr8@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85422-4@http.gcc.gnu.org/bugzilla/> References: <bug-85422-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02053.txt.bz2 Content-length: 626 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- flags? A simple ./xgcc -fopenacc doesn't reproduce it. With my GCC 7 install I see lto-wrapper: fatal error: problem with building target image for nvptx-none but no way to see the lto1 invocations :/ (tried -Wl,-debug -Wl,-v already) >From gcc-bugs-return-601930-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:20:11 2018 Return-Path: <gcc-bugs-return-601930-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130508 invoked by alias); 18 Apr 2018 10:20:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130416 invoked by uid 48); 18 Apr 2018 10:20:06 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85423] [8 Regression] ICE in code_motion_process_successors, at sel-sched.c:6403 Date: Wed, 18 Apr 2018 10:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: 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: <bug-85423-4-2MBOEW8xd7@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85423-4@http.gcc.gnu.org/bugzilla/> References: <bug-85423-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02054.txt.bz2 Content-length: 152 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85423 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Recent regression, so P1-ish. >From gcc-bugs-return-601931-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:24:50 2018 Return-Path: <gcc-bugs-return-601931-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7930 invoked by alias); 18 Apr 2018 10:24:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6476 invoked by uid 48); 18 Apr 2018 10:24:22 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85423] [8 Regression] ICE in code_motion_process_successors, at sel-sched.c:6403 Date: Wed, 18 Apr 2018 10:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: 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: <bug-85423-4-QziVtO4ode@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85423-4@http.gcc.gnu.org/bugzilla/> References: <bug-85423-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02055.txt.bz2 Content-length: 453 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85423 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Richard Biener from comment #2) > Recent regression, so P1-ish. True, but requires the -fselective-scheduling* -fvar-tracking-assignments combination, which explicitly warns that it doesn't work properly (and doesn't) and I think people rarely use either of those options and even less likely both of them together. >From gcc-bugs-return-601932-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:24:51 2018 Return-Path: <gcc-bugs-return-601932-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8107 invoked by alias); 18 Apr 2018 10:24:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6659 invoked by uid 48); 18 Apr 2018 10:24:25 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85427] ICE in constant_lower_bound, at poly-int.h:1527 Date: Wed, 18 Apr 2018 10:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cc Message-ID: <bug-85427-4-FpARnmRTpm@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85427-4@http.gcc.gnu.org/bugzilla/> References: <bug-85427-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02056.txt.bz2 Content-length: 510 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85427 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code CC| |rsandifo at gcc dot gnu.org --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- I think Richard had a patch for this or a related issue. >From gcc-bugs-return-601933-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:26:36 2018 Return-Path: <gcc-bugs-return-601933-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13107 invoked by alias); 18 Apr 2018 10:26:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13056 invoked by uid 48); 18 Apr 2018 10:26:32 -0000 From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319 Date: Wed, 18 Apr 2018 10:26: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: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85447-4-zBNzqSBKmm@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85447-4@http.gcc.gnu.org/bugzilla/> References: <bug-85447-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02057.txt.bz2 Content-length: 206 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 --- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> --- I guess the best fix is to move the clone-redirecting logic to cgraph::create_clone. >From gcc-bugs-return-601934-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:29:25 2018 Return-Path: <gcc-bugs-return-601934-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24502 invoked by alias); 18 Apr 2018 10:29:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24447 invoked by uid 48); 18 Apr 2018 10:29:21 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find Date: Wed, 18 Apr 2018 10:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85422-4-VaD4bB3Q9E@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85422-4@http.gcc.gnu.org/bugzilla/> References: <bug-85422-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02058.txt.bz2 Content-length: 230 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 --- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> --- Created attachment 43975 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43975&action=edit libgomp.log >From gcc-bugs-return-601935-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:31:54 2018 Return-Path: <gcc-bugs-return-601935-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30594 invoked by alias); 18 Apr 2018 10:31:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30539 invoked by uid 48); 18 Apr 2018 10:31:50 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find Date: Wed, 18 Apr 2018 10:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85422-4-sTYDljqH4f@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85422-4@http.gcc.gnu.org/bugzilla/> References: <bug-85422-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02059.txt.bz2 Content-length: 280 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 --- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> --- Created attachment 43976 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43976&action=edit compile.log -save-temps -v output. Contains lto1 invocation. >From gcc-bugs-return-601937-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:32:29 2018 Return-Path: <gcc-bugs-return-601937-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31922 invoked by alias); 18 Apr 2018 10:32:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31553 invoked by uid 48); 18 Apr 2018 10:32:24 -0000 From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85449] New: [8 Regression] Wrong specialization is called in self recursive functions after r259319 Date: Wed, 18 Apr 2018 10:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: <bug-85449-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02061.txt.bz2 Content-length: 6283 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 Bug ID: 85449 Summary: [8 Regression] Wrong specialization is called in self recursive functions after r259319 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: tnfchris at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- Created attachment 43977 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43977&action=edit preprocessed file After commit r259319 IPA seems to be calling the wrong specialized function. The testcase comes from the following library https://github.com/akheron/jansson, specifically this file https://github.com/akheron/jansson/blob/master/src/dump.c I have not been able to reduce it yet as I have no real easy way to check when it does the replacement wrong but I have attached a `.i` file and issue can be reproduced using it by using `-Ofast` or `-O3`. This is what I have been able to tell so far. The issue is caused by a self recursive call in the function static int do_dump(const json_t *json, size_t flags, int depth, json_dump_callback_t dump, void *data) where json_dump_callback_t dump is a function pointer to local functions. There are only two call sites for do_dump other than itself. char *json_dumps(const json_t *json, size_t flags) { strbuffer_t strbuff; char *result; if(strbuffer_init(&strbuff)) return NULL; if(json_dump_callback(json, dump_to_strbuffer, (void *)&strbuff, flags)) result = NULL; else result = jsonp_strdup(strbuffer_value(&strbuff)); strbuffer_close(&strbuff); return result; } int json_dumpf(const json_t *json, FILE *output, size_t flags) { return json_dump_callback(json, dump_to_file, (void *)output, flags); } where dump_to_strbuffer expects to write into a memory buffer and dump_to_file writing to an actual file. So IPA decides to create 8 specializations for this function (whereas before this patch it created 4.), it creates them by amongst others inlining the calls to these two dump callbacks, and eventually even inlines the callbacks themselves. The problematic specialization occurs for the function {{do_dumps}} which has amonst others .LVL289: .loc 1 368 24 fmov x4, d8 mov x3, x19 mov w2, 1 mov x1, x21 bl do_dump The first specialization occurs when a helper function {{dump_indent}} is inline, creating {{do_dumps.constprop.4}} which is supposed to still take the callbacks as arguments. and indeed looking at the assembly is shows json_dumps: ... .L260: adrp x2, dump_to_strbuffer mov x1, x20 mov x0, x19 add x3, sp, 40 .LVL440: add x2, x2, :lo12:dump_to_strbuffer bl do_dump.constprop.4 so far so good. But the recursive call to do_dump in the specialized constprop.4 version inexplicably calls do_dump.constprop.5 in some (2 out of the many) cases. Where do_dump.constprop.5 is a more specialized version of constprop.4 which also inlined the dump_to_file function. do_dump.constprop.5: ... add x0, x0, :lo12:.LC14 mov x1, 4 bl fwrite So the initial callback which is passed is dump_to_strbuffer is ignored and a call to dump_to_file is essentially made. causing a segfault. The first place this seems to go wrong is `.i.075i.cp` looking at the dependencies of `constprop.4/82` which is supposed to be the generic clone do_dump.constprop.4/82 (do_dump.constprop) @0x7ff4280128a0 ... Calls: json_integer_value/55 (119292717 (estimated locally),0.11 per call) snprintf/56 (119292717 (estimated locally),0.11 per call) json_real_value/57 (119292717 (estimated locally),0.11 per call) jsonp_dtostr/58 (119292717 (estimated locally),0.11 per call) json_string_value/59 (119292717 (estimated locally),0.11 per call) dump_string/39 (119292717 (estimated locally),0.11 per call) json_array_size/60 (116799499 (estimated locally),0.11 per call) dump_indent.constprop/85 (56497842 (estimated locally),0.05 per call) json_array_get/61 (341791464 (estimated locally),0.32 per call) do_dump.constprop/83 (341791464 (estimated locally),0.32 per call) dump_indent.constprop/85 (244621272 (estimated locally),0.23 per call) dump_indent/38 (70872647 (estimated locally),0.07 per call) json_object_iter/62 (116799499 (estimated locally),0.11 per call) dump_indent.constprop/85 (79811293 (estimated locally),0.07 per call) json_object_size/63 (26063814 (estimated locally),0.02 per call) jsonp_malloc/64 (26063814 (estimated locally),0.02 per call) jsonp_object_iter_fullkey/65 (209930993 (estimated locally),0.20 per call) json_object_iter_next/66 (209930993 (estimated locally),0.20 per call) __assert_fail/67 (10379 (estimated locally),0.00 per call) qsort/69 (25936149 (estimated locally),0.02 per call) json_object_get/70 (181163084 (estimated locally),0.17 per call) __assert_fail/67 (72465 (estimated locally),0.00 per call) dump_string/39 (181090619 (estimated locally),0.17 per call) do_dump.constprop/83 (175404373 (estimated locally),0.16 per call) <--- this reference is wrong jsonp_free/71 (11193943 (estimated locally),0.01 per call) dump_indent.constprop/85 (110256487 (estimated locally),0.10 per call) jsonp_free/71 (7036340 (estimated locally),0.01 per call) dump_indent/38 (56065903 (estimated locally),0.05 per call) jsonp_free/71 (1760469 (estimated locally),0.00 per call) jsonp_free/71 (5872931 (estimated locally),0.01 per call) json_object_iter_next/66 (309742814 (estimated locally),0.29 per call) json_object_iter_key/72 (309742814 (estimated locally),0.29 per call) dump_string/39 (309742814 (estimated locally),0.29 per call) json_object_iter_value/73 (298406227 (estimated locally),0.28 per call) do_dump.constprop/83 (298406227 (estimated locally),0.28 per call) dump_indent.constprop/85 (228688039 (estimated locally),0.21 per call) dump_indent/38 (50108559 (estimated locally),0.05 per call) ... But I have not figured out why it thinks this. >From gcc-bugs-return-601936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:32:27 2018 Return-Path: <gcc-bugs-return-601936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31590 invoked by alias); 18 Apr 2018 10:32:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31511 invoked by uid 48); 18 Apr 2018 10:32:22 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85444] asm specifier on typedef silently ignored Date: Wed, 18 Apr 2018 10:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ 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: Message-ID: <bug-85444-4-Q1QASb82ue@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85444-4@http.gcc.gnu.org/bugzilla/> References: <bug-85444-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02060.txt.bz2 Content-length: 222 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85444 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- For a start, patches go to the mailing list, not in bugzilla :-) https://gcc.gnu.org/contribute.html >From gcc-bugs-return-601938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:36:10 2018 Return-Path: <gcc-bugs-return-601938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64441 invoked by alias); 18 Apr 2018 10:36:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62969 invoked by uid 48); 18 Apr 2018 10:36:05 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find Date: Wed, 18 Apr 2018 10:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85422-4-Gt0QivMfky@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85422-4@http.gcc.gnu.org/bugzilla/> References: <bug-85422-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02062.txt.bz2 Content-length: 234 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 --- Comment #6 from Tom de Vries <vries at gcc dot gnu.org> --- Created attachment 43978 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43978&action=edit configure lines >From gcc-bugs-return-601939-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:38:34 2018 Return-Path: <gcc-bugs-return-601939-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81572 invoked by alias); 18 Apr 2018 10:38:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81489 invoked by uid 48); 18 Apr 2018 10:38:30 -0000 From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/84149] [8 Regression] SPEC CPU2017 505.mcf/605.mcf ~10% performance regression with r256888 Date: Wed, 18 Apr 2018 10:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-84149-4-OeJvxIB8la@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84149-4@http.gcc.gnu.org/bugzilla/> References: <bug-84149-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02063.txt.bz2 Content-length: 571 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84149 Tamar Christina <tnfchris at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tnfchris at gcc dot gnu.org --- Comment #15 from Tamar Christina <tnfchris at gcc dot gnu.org> --- Hi All, I created a new issue PR85449 that occurs after this change. IPA seems to be mixing up some of the recursive calls in a specialized function causing an invalid code path. >From gcc-bugs-return-601940-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:39:26 2018 Return-Path: <gcc-bugs-return-601940-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85718 invoked by alias); 18 Apr 2018 10:39:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85640 invoked by uid 48); 18 Apr 2018 10:39:18 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85436] [7 Regression] ICE compiling go code with -mcpu=power9 Date: Wed, 18 Apr 2018 10:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: <bug-85436-4-crAEULNTCP@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85436-4@http.gcc.gnu.org/bugzilla/> References: <bug-85436-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02064.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85436 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.4 >From gcc-bugs-return-601941-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:40:39 2018 Return-Path: <gcc-bugs-return-601941-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88010 invoked by alias); 18 Apr 2018 10:40:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87791 invoked by uid 48); 18 Apr 2018 10:40:35 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85437] [8 Regression] member pointer static upcast rejected in a constexpr context Date: Wed, 18 Apr 2018 10:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority cf_known_to_work Message-ID: <bug-85437-4-VpdA0ITQpC@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85437-4@http.gcc.gnu.org/bugzilla/> References: <bug-85437-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02065.txt.bz2 Content-length: 347 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85437 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Known to work| |7.3.1 >From gcc-bugs-return-601942-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:45:53 2018 Return-Path: <gcc-bugs-return-601942-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98389 invoked by alias); 18 Apr 2018 10:45:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98353 invoked by uid 48); 18 Apr 2018 10:45:48 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Wed, 18 Apr 2018 10:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status cf_known_to_work resolution Message-ID: <bug-85440-4-Mau7EZcDx4@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02066.txt.bz2 Content-length: 594 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |powerpc64 Status|UNCONFIRMED |RESOLVED Known to work| |8.0 Resolution|--- |FIXED --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Only snapshots though a release (candiate) is not far away. >From gcc-bugs-return-601944-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:47:57 2018 Return-Path: <gcc-bugs-return-601944-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105368 invoked by alias); 18 Apr 2018 10:47:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105321 invoked by uid 48); 18 Apr 2018 10:47:53 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85441] Empty loops not optimised away Date: Wed, 18 Apr 2018 10:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: compile-time-hog, memory-hog 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: <bug-85441-4-UdLRt9x38r@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85441-4@http.gcc.gnu.org/bugzilla/> References: <bug-85441-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02068.txt.bz2 Content-length: 196 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85441 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed with -fsyntax-only, generating code doesn't change things much. >From gcc-bugs-return-601943-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:47:19 2018 Return-Path: <gcc-bugs-return-601943-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104098 invoked by alias); 18 Apr 2018 10:47:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 104024 invoked by uid 48); 18 Apr 2018 10:47:15 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319 Date: Wed, 18 Apr 2018 10:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: wrong-code 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc version everconfirmed cf_known_to_fail Message-ID: <bug-85449-4-kQ9kizEM4g@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85449-4@http.gcc.gnu.org/bugzilla/> References: <bug-85449-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02067.txt.bz2 Content-length: 588 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-18 CC| |mjambor at suse dot cz Version|8.0 |8.0.1 Ever confirmed|0 |1 Known to fail| |8.0.1 >From gcc-bugs-return-601945-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:49:27 2018 Return-Path: <gcc-bugs-return-601945-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130778 invoked by alias); 18 Apr 2018 10:49:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130719 invoked by uid 48); 18 Apr 2018 10:49:23 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85442] [8 Regression] cxx11-ios_failure.lo build fails for microblaze Date: Wed, 18 Apr 2018 10:49: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: build X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority bug_status cf_reconfirmed_on target_milestone everconfirmed Message-ID: <bug-85442-4-JRzejICogi@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85442-4@http.gcc.gnu.org/bugzilla/> References: <bug-85442-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02069.txt.bz2 Content-length: 564 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85442 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |build Priority|P3 |P1 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-18 Target Milestone|--- |8.0 Ever confirmed|0 |1 >From gcc-bugs-return-601946-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:50:38 2018 Return-Path: <gcc-bugs-return-601946-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7288 invoked by alias); 18 Apr 2018 10:50:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7071 invoked by uid 48); 18 Apr 2018 10:50:31 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85443] internal compiler error: Segmentation fault Date: Wed, 18 Apr 2018 10:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget Message-ID: <bug-85443-4-ZMyrfUyh9s@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85443-4@http.gcc.gnu.org/bugzilla/> References: <bug-85443-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02070.txt.bz2 Content-length: 483 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85443 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target|Xstormy16 |stormy16 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- GCC 5.5 is no longer maintained, please try a newer version, preferably GCC 7.3 or a snapshot from trunk (GCC 8). >From gcc-bugs-return-601947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:51:14 2018 Return-Path: <gcc-bugs-return-601947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20328 invoked by alias); 18 Apr 2018 10:51:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20275 invoked by uid 48); 18 Apr 2018 10:51:09 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85444] asm specifier on typedef silently ignored Date: Wed, 18 Apr 2018 10:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: 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: <bug-85444-4-MnOvCmSevP@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85444-4@http.gcc.gnu.org/bugzilla/> References: <bug-85444-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02071.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85444 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-18 Ever confirmed|0 |1 >From gcc-bugs-return-601949-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:52:59 2018 Return-Path: <gcc-bugs-return-601949-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34616 invoked by alias); 18 Apr 2018 10:52:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34559 invoked by uid 48); 18 Apr 2018 10:52:55 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85446] [7/8 Regression] wrong-code on riscv64 Date: Wed, 18 Apr 2018 10:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: wrong-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: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority Message-ID: <bug-85446-4-Q59kViGKXy@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85446-4@http.gcc.gnu.org/bugzilla/> References: <bug-85446-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02073.txt.bz2 Content-length: 352 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85446 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Priority|P3 |P2 >From gcc-bugs-return-601948-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:52:27 2018 Return-Path: <gcc-bugs-return-601948-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33748 invoked by alias); 18 Apr 2018 10:52:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33696 invoked by uid 48); 18 Apr 2018 10:52:21 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85444] asm specifier on typedef silently ignored Date: Wed, 18 Apr 2018 10:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: 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: <bug-85444-4-Nkrx8DCDWu@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85444-4@http.gcc.gnu.org/bugzilla/> References: <bug-85444-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02072.txt.bz2 Content-length: 188 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85444 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Btw, it could maybe used to adjust mangling... (in C++, that is). >From gcc-bugs-return-601950-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:53:17 2018 Return-Path: <gcc-bugs-return-601950-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35481 invoked by alias); 18 Apr 2018 10:53:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35361 invoked by uid 48); 18 Apr 2018 10:53:13 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319 Date: Wed, 18 Apr 2018 10:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: <bug-85447-4-VFfvyVOeCH@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85447-4@http.gcc.gnu.org/bugzilla/> References: <bug-85447-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02074.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 >From gcc-bugs-return-601951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 10:54:44 2018 Return-Path: <gcc-bugs-return-601951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36936 invoked by alias); 18 Apr 2018 10:54:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36849 invoked by uid 48); 18 Apr 2018 10:54:39 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319 Date: Wed, 18 Apr 2018 10:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority target_milestone Message-ID: <bug-85449-4-wUNQfFm9yn@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85449-4@http.gcc.gnu.org/bugzilla/> References: <bug-85449-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02075.txt.bz2 Content-length: 345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Target Milestone|--- |8.0 >From gcc-bugs-return-601952-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 11:01:09 2018 Return-Path: <gcc-bugs-return-601952-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44473 invoked by alias); 18 Apr 2018 11:01:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44348 invoked by uid 48); 18 Apr 2018 11:00:59 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85396] _M_t._M_emplace_hint_unique Date: Wed, 18 Apr 2018 11: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on component everconfirmed Message-ID: <bug-85396-4-R5IxBS22YM@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85396-4@http.gcc.gnu.org/bugzilla/> References: <bug-85396-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02076.txt.bz2 Content-length: 1181 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85396 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-04-18 Component|libstdc++ |c++ Ever confirmed|0 |1 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Also works fine at https://godbolt.org/g/xfSvy5 with: GNU C++11 (crosstool-NG crosstool-ng-1.23.0) version 6.3.0 (arm-unknown-linux-gnueabi) So this might be due to a patch backported to Debian's GCC, and would need to be reported to Debian. It's certainly not a libstdc++ bug because the preprocessed source compiles fine on i686-linux. (In reply to microprogs from comment #0) > // C++11: ERROR, cannot compile > //g++ -std=c++11 -o test test.cpp > // > // C++14: OK > //g++ -std=c++14 -o test test.cpp > // > // old C++: OK > //g++ -o test test.cpp N.B. this is not "old C++" this is -std=gnu++14, because that's the default in GCC 6.x >From gcc-bugs-return-601955-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 11:16:55 2018 Return-Path: <gcc-bugs-return-601955-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130923 invoked by alias); 18 Apr 2018 11:16:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130882 invoked by uid 48); 18 Apr 2018 11:16:51 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/84442] FAIL: 30_threads/thread/cons/terminate.cc (test for excess errors) Date: Wed, 18 Apr 2018 11:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-84442-4-ro0GvmA6FG@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84442-4@http.gcc.gnu.org/bugzilla/> References: <bug-84442-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02079.txt.bz2 Content-length: 461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84442 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- Thanks, this should be fixed on trunk now. >From gcc-bugs-return-601954-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 11:16:23 2018 Return-Path: <gcc-bugs-return-601954-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128504 invoked by alias); 18 Apr 2018 11:16:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128366 invoked by uid 55); 18 Apr 2018 11:16:19 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/84442] FAIL: 30_threads/thread/cons/terminate.cc (test for excess errors) Date: Wed, 18 Apr 2018 11:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84442-4-q35BXqafKC@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84442-4@http.gcc.gnu.org/bugzilla/> References: <bug-84442-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02078.txt.bz2 Content-length: 602 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84442 --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Wed Apr 18 11:15:38 2018 New Revision: 259463 URL: https://gcc.gnu.org/viewcvs?rev=259463&root=gcc&view=rev Log: PR libstdc++/84442 if _Exit isn't declared then use _exit instead PR libstdc++/84442 * testsuite/30_threads/thread/cons/terminate.cc [!_GLIBCXX_USE_C99_STDLIB] : Use _exit or std::exit instead of _Exit. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/testsuite/30_threads/thread/cons/terminate.cc >From gcc-bugs-return-601953-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 11:16:23 2018 Return-Path: <gcc-bugs-return-601953-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128491 invoked by alias); 18 Apr 2018 11:16:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128360 invoked by uid 48); 18 Apr 2018 11:16:17 -0000 From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319 Date: Wed, 18 Apr 2018 11:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85447-4-5cwoebdVFO@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85447-4@http.gcc.gnu.org/bugzilla/> References: <bug-85447-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02077.txt.bz2 Content-length: 434 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 --- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> --- Created attachment 43979 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43979&action=edit Untested WIP fix I have to leave office for a few hours, I'm attaching an untested fix I have so far. I will continue with it after I try to reproduce PR 85449 (which on the face of it looks more sinister). >From gcc-bugs-return-601956-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 11:18:20 2018 Return-Path: <gcc-bugs-return-601956-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1633 invoked by alias); 18 Apr 2018 11:18:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1528 invoked by uid 48); 18 Apr 2018 11:18:15 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find Date: Wed, 18 Apr 2018 11:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-85422-4-uAsGHrlyBL@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85422-4@http.gcc.gnu.org/bugzilla/> References: <bug-85422-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02080.txt.bz2 Content-length: 1242 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tschwinge at gcc dot gnu.org --- Comment #7 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Richard Biener from comment #3) > flags? A simple ./xgcc -fopenacc doesn't reproduce it. With my GCC 7 > install I see > > lto-wrapper: fatal error: problem with building target image for nvptx-none > > but no way to see the lto1 invocations :/ (tried -Wl,-debug -Wl,-v already) I ran into the same problem when trying to use an installed compiler. Fixed by adding -B options for: - the dir containing accel/nvptx-none/mkoffload - the dir containing the offload gcc (in my case, x86_64-pc-linux-gnu-accel-nvptx-none-gcc) So: ... $ ./install/bin/x86_64-pc-linux-gnu-gcc \ -fopenacc \ src/libgomp/testsuite/libgomp.oacc-c-c++-common/pr85422.c \ -B $(pwd -P)/install/offload-nvptx-none/bin \ -B $(pwd -P)/install/offload-nvptx-none/libexec/gcc/x86_64-pc-linux-gnu/8.0.1 ... The error message could certainly be be better. >From gcc-bugs-return-601957-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 11:20:39 2018 Return-Path: <gcc-bugs-return-601957-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3706 invoked by alias); 18 Apr 2018 11:20:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3579 invoked by uid 48); 18 Apr 2018 11:20:33 -0000 From: "jsm28 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85442] [7/8 Regression] cxx11-ios_failure.lo build fails for microblaze Date: Wed, 18 Apr 2018 11:20: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: build X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone short_desc Message-ID: <bug-85442-4-MGixVXoXjO@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85442-4@http.gcc.gnu.org/bugzilla/> References: <bug-85442-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02081.txt.bz2 Content-length: 808 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85442 Joseph S. Myers <jsm28 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|8.0 |7.4 Summary|[8 Regression] |[7/8 Regression] |cxx11-ios_failure.lo build |cxx11-ios_failure.lo build |fails for microblaze |fails for microblaze --- Comment #3 from Joseph S. Myers <jsm28 at gcc dot gnu.org> --- Appears on GCC 7 branch as well as the patch was backported there (my bot only rebuilds release branch compilers weekly, so it was slower to show the failure there). https://sourceware.org/ml/libc-testresults/2018-q2/msg00078.html >From gcc-bugs-return-601958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 11:26:45 2018 Return-Path: <gcc-bugs-return-601958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122481 invoked by alias); 18 Apr 2018 11:26:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122343 invoked by uid 48); 18 Apr 2018 11:26:41 -0000 From: "sebastian321123 at interia dot pl" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85441] Empty loops not optimised away Date: Wed, 18 Apr 2018 11:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: compile-time-hog, memory-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: sebastian321123 at interia dot pl 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: <bug-85441-4-nh8v5j7wEk@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85441-4@http.gcc.gnu.org/bugzilla/> References: <bug-85441-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02082.txt.bz2 Content-length: 228 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85441 --- Comment #3 from sebastian321123 at interia dot pl --- I am afraid that nothing changes with optimisation flags. I am getting the same results for -O1, -O2, -O3 and -Os >From gcc-bugs-return-601959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 11:30:23 2018 Return-Path: <gcc-bugs-return-601959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40241 invoked by alias); 18 Apr 2018 11:30:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36208 invoked by uid 55); 18 Apr 2018 11:29:59 -0000 From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887 Date: Wed, 18 Apr 2018 11:30: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.1 X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85391-4-BKfKABwWPr@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85391-4@http.gcc.gnu.org/bugzilla/> References: <bug-85391-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02083.txt.bz2 Content-length: 972 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 --- Comment #17 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Author: hubicka Date: Wed Apr 18 11:29:26 2018 New Revision: 259464 URL: https://gcc.gnu.org/viewcvs?rev=259464&root=gcc&view=rev Log: PR lto/85391 * lto.c (lto_read_decls): Do not test TYPE_CANONICAL before registering odr types. * g++.dg/lto/pr83121_0.C: Update template. * g++.dg/lto/pr83121_1.C: Update template. * g++.dg/lto/pr84805_0.C: Update template. * g++.dg/lto/pr84805_1.C: Update template. * g++.dg/lto/pr84805_2.C: Update template. Modified: trunk/gcc/lto/ChangeLog trunk/gcc/lto/lto.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/lto/pr83121_0.C trunk/gcc/testsuite/g++.dg/lto/pr83121_1.C trunk/gcc/testsuite/g++.dg/lto/pr84805_0.C trunk/gcc/testsuite/g++.dg/lto/pr84805_1.C trunk/gcc/testsuite/g++.dg/lto/pr84805_2.C >From gcc-bugs-return-601960-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 11:34:26 2018 Return-Path: <gcc-bugs-return-601960-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69396 invoked by alias); 18 Apr 2018 11:34:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69320 invoked by uid 48); 18 Apr 2018 11:34:22 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85442] [7/8 Regression] cxx11-ios_failure.lo build fails for microblaze Date: Wed, 18 Apr 2018 11:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: <bug-85442-4-tcBdrWSV3D@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85442-4@http.gcc.gnu.org/bugzilla/> References: <bug-85442-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02084.txt.bz2 Content-length: 485 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85442 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- Yes, the branch will need the same fix. >From gcc-bugs-return-601961-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 11:42:47 2018 Return-Path: <gcc-bugs-return-601961-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78167 invoked by alias); 18 Apr 2018 11:42:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78015 invoked by uid 55); 18 Apr 2018 11:42:41 -0000 From: "thopre01 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85261] __builtin_arm_set_fpscr ICEs with constant input Date: Wed, 18 Apr 2018 11:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: thopre01 at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: thopre01 at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85261-4-4wY4PMNzkf@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85261-4@http.gcc.gnu.org/bugzilla/> References: <bug-85261-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02085.txt.bz2 Content-length: 1442 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85261 --- Comment #5 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> --- Author: thopre01 Date: Wed Apr 18 11:42:10 2018 New Revision: 259465 URL: https://gcc.gnu.org/viewcvs?rev=259465&root=gcc&view=rev Log: [ARM] Fix PR85261: ICE with FPSCR setter builtin Instruction pattern for setting the FPSCR expects the input value to be in a register. However, __builtin_arm_set_fpscr expander does not ensure that this is the case and as a result GCC ICEs when the builtin is called with a constant literal. This commit fixes the builtin to force the input value into a register. It also remove the unneeded volatile in the existing fpscr test and fixes the function prototype. 2018-04-18 Thomas Preud'homme <thomas.preudhomme@arm.com> Backport from mainline 2018-04-11 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/ PR target/85261 * config/arm/arm-builtins.c (arm_expand_builtin): Force input operand into register. gcc/testsuite/ PR target/85261 * gcc.target/arm/fpscr.c: Add call to __builtin_arm_set_fpscr with literal value. Expect 2 MCR instruction. Fix function prototype. Remove volatile keyword. Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/arm/arm-builtins.c branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/testsuite/gcc.target/arm/fpscr.c >From gcc-bugs-return-601962-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 11:47:41 2018 Return-Path: <gcc-bugs-return-601962-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21407 invoked by alias); 18 Apr 2018 11:47:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16895 invoked by uid 48); 18 Apr 2018 11:47:37 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/85379] Missing ENDBR in __stack_split_initialize Date: Wed, 18 Apr 2018 11:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcc X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: <bug-85379-4-CLExuprItQ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85379-4@http.gcc.gnu.org/bugzilla/> References: <bug-85379-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02086.txt.bz2 Content-length: 559 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85379 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-18 CC| |igor.v.tsimbalist at intel dot com | |, ubizjak at gmail dot com Ever confirmed|0 |1 >From gcc-bugs-return-601963-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 11:52:09 2018 Return-Path: <gcc-bugs-return-601963-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68428 invoked by alias); 18 Apr 2018 11:52:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68381 invoked by uid 48); 18 Apr 2018 11:52:04 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85450] New: ICE: invalid types in nop conversion during GIMPLE pass: ompexp Date: Wed, 18 Apr 2018 11:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone Message-ID: <bug-85450-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02087.txt.bz2 Content-length: 3099 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85450 Bug ID: 85450 Summary: ICE: invalid types in nop conversion during GIMPLE pass: ompexp Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: openmp Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- I see Running target unix//-m32 FAIL: libgomp.c/for-3.c (internal compiler error) FAIL: libgomp.c/for-3.c (test for excess errors) UNRESOLVED: libgomp.c/for-3.c compilation failed to produce executable FAIL: libgomp.c/for-5.c (internal compiler error) FAIL: libgomp.c/for-5.c (test for excess errors) UNRESOLVED: libgomp.c/for-5.c compilation failed to produce executable FAIL: libgomp.c/for-6.c (internal compiler error) FAIL: libgomp.c/for-6.c (test for excess errors) UNRESOLVED: libgomp.c/for-6.c compilation failed to produce executable FAIL: libgomp.c++/for-11.C (internal compiler error) FAIL: libgomp.c++/for-11.C (test for excess errors) UNRESOLVED: libgomp.c++/for-11.C compilation failed to produce executable FAIL: libgomp.c++/for-13.C (internal compiler error) FAIL: libgomp.c++/for-13.C (test for excess errors) UNRESOLVED: libgomp.c++/for-13.C compilation failed to produce executable FAIL: libgomp.c++/for-14.C (internal compiler error) FAIL: libgomp.c++/for-14.C (test for excess errors) UNRESOLVED: libgomp.c++/for-14.C compilation failed to produce executable with the following fix for the r177828 change: Index: gcc/tree-cfg.c =================================================================== --- gcc/tree-cfg.c (revision 259457) +++ gcc/tree-cfg.c (working copy) @@ -3842,7 +3842,7 @@ verify_gimple_assign_unary (gassign *stm || (POINTER_TYPE_P (rhs1_type) && INTEGRAL_TYPE_P (lhs_type) && (TYPE_PRECISION (rhs1_type) >= TYPE_PRECISION (lhs_type) - || ptrofftype_p (sizetype)))) + || ptrofftype_p (lhs_type)))) return false; /* Allow conversion from integral to offset type and vice versa. */ One example is /space/rguenther/src/svn/trunk/libgomp/testsuite/libgomp.c/for-2.h: In function 'f13_dpf_guided32':^M /space/rguenther/src/svn/trunk/libgomp/testsuite/libgomp.c/for-2.h:193:10: error: invalid types in nop conversion^M long long unsigned int^M int[1500] *^M D.13174 = (long long unsigned int) D.13222;^M so we're casting a 32bit pointer to a 64bit int which we don't allow since we do not know how to extend the pointer at the GIMPLE level (we really don't want to use POINTERS_EXTEND_UNSIGNED there but rely on TYPE_UNSIGNED). The question is what the ompexp code wants here anyway. The fix is to do an intermediate conversion to a pointer-sized integral type. >From gcc-bugs-return-601964-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 12:11:52 2018 Return-Path: <gcc-bugs-return-601964-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124076 invoked by alias); 18 Apr 2018 12:11:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124003 invoked by uid 48); 18 Apr 2018 12:11:45 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85450] ICE: invalid types in nop conversion during GIMPLE pass: ompexp Date: Wed, 18 Apr 2018 12:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: openmp 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: <bug-85450-4-C8PEkqSIi3@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85450-4@http.gcc.gnu.org/bugzilla/> References: <bug-85450-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02088.txt.bz2 Content-length: 2467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85450 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-18 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- For for-3.c it is: static void expand_omp_for_static_nochunk (struct omp_region *region, struct omp_for_data *fd, gimple *inner_stmt) { ... if (POINTER_TYPE_P (type)) t = fold_build_pointer_plus (n1, t); else t = fold_build2 (PLUS_EXPR, type, t, n1); t = fold_convert (TREE_TYPE (startvar), t); where a fix could be to do Index: omp-expand.c =================================================================== --- omp-expand.c (revision 259457) +++ omp-expand.c (working copy) @@ -3501,7 +3501,10 @@ expand_omp_for_static_nochunk (struct om t = fold_convert (itype, s0); t = fold_build2 (MULT_EXPR, itype, t, step); if (POINTER_TYPE_P (type)) - t = fold_build_pointer_plus (n1, t); + { + t = fold_build_pointer_plus (n1, t); + t = fold_convert (unsigned_type_for (TREE_TYPE (n1)), t); + } else t = fold_build2 (PLUS_EXPR, type, t, n1); t = fold_convert (TREE_TYPE (startvar), t); but there are likely a few "copies" of the code. The for-3.c testcase also exercises the following spot: @@ -3515,7 +3518,10 @@ expand_omp_for_static_nochunk (struct om t = fold_convert (itype, e0); t = fold_build2 (MULT_EXPR, itype, t, step); if (POINTER_TYPE_P (type)) - t = fold_build_pointer_plus (n1, t); + { + t = fold_build_pointer_plus (n1, t); + t = fold_convert (unsigned_type_for (TREE_TYPE (n1)), t); + } else t = fold_build2 (PLUS_EXPR, type, t, n1); t = fold_convert (TREE_TYPE (startvar), t); and that's still not enough to fix it fully... Note that I think even for GENERIC using fold_convert the original way is wrong. Given fold_convert is "interesting" we might consider using POINTERS_EXTEND_UNSIGNED there... (ok, I didn't suggest that). >From gcc-bugs-return-601965-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 12:16:16 2018 Return-Path: <gcc-bugs-return-601965-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127447 invoked by alias); 18 Apr 2018 12:15:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127046 invoked by uid 55); 18 Apr 2018 12:15:40 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85442] [7/8 Regression] cxx11-ios_failure.lo build fails for microblaze Date: Wed, 18 Apr 2018 12:15: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: build X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85442-4-yl4EPHrzCW@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85442-4@http.gcc.gnu.org/bugzilla/> References: <bug-85442-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02089.txt.bz2 Content-length: 761 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85442 --- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Wed Apr 18 12:14:58 2018 New Revision: 259467 URL: https://gcc.gnu.org/viewcvs?rev=259467&root=gcc&view=rev Log: PR libstdc++/85442 fix duplicate debuginfo for cxx11-ios_failure.cc 2018-04-18 Jonathan Wakely <jwakely@redhat.com> Jakub Jelinek <jakub@redhat.com> PR libstdc++/85442 * src/c++11/Makefile.am: Don't generate debuginfo again for cxx11-ios_failure-lt.s and cxx11-ios_failure.s files. * src/c++11/Makefile.in: Regenerate. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/src/c++11/Makefile.am trunk/libstdc++-v3/src/c++11/Makefile.in >From gcc-bugs-return-601966-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 12:26:18 2018 Return-Path: <gcc-bugs-return-601966-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19075 invoked by alias); 18 Apr 2018 12:26:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19040 invoked by uid 48); 18 Apr 2018 12:26:13 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85451] New: [offloading] Improve lto-wrapper error message when not finding mkoffload Date: Wed, 18 Apr 2018 12:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: <bug-85451-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02090.txt.bz2 Content-length: 2124 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85451 Bug ID: 85451 Summary: [offloading] Improve lto-wrapper error message when not finding mkoffload Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- When using an installed host/offloading compiler, you may run into this error message: ... $ ./install/bin/x86_64-pc-linux-gnu-gcc -fopenacc test.c lto-wrapper: fatal error: problem with building target image for nvptx-none compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status ... This means that mkoffload could not be found. By providing -B with the path to accel/nvptx-none/mkoffload, we get past the rror: ... $ ./install/bin/x86_64-pc-linux-gnu-gcc -fopenacc test.c \ -B $(pwd -P)/install/offload-nvptx-none/libexec/gcc/x86_64-pc-linux-gnu/8.0.1 mkoffload: fatal error: offload compiler x86_64-pc-linux-gnu-accel-nvptx-none-gcc not found compilation terminated. lto-wrapper: fatal error: /home/vries/oacc/trunk/install/offload-nvptx-none/libexec/gcc/x86_64-pc-linux-gnu/8.0.1//accel/nvptx-none/mkoffload returned 1 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status ... And by providing another -B with the path to x86_64-pc-linux-gnu-accel-nvptx-none-gcc, we finally succeed: ... $ ./install/bin/x86_64-pc-linux-gnu-gcc -fopenacc test.c \ -B $(pwd -P)/install/offload-nvptx-none/bin \ -B$(pwd -P)/install/offload-nvptx-none/libexec/gcc/x86_64-pc-linux-gnu/8.0.1 $ ... From the last error message, it's easy to figure out that x86_64-pc-linux-gnu-accel-nvptx-none-gcc cannot be found (though it doesn't suggest using -B to fix that). But from the first error message, it's impossible to know what's going wrong without stepping with gdb through lto-wrapper. >From gcc-bugs-return-601967-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 12:28:05 2018 Return-Path: <gcc-bugs-return-601967-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21797 invoked by alias); 18 Apr 2018 12:28:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21724 invoked by uid 48); 18 Apr 2018 12:28:01 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85451] [offloading] Improve lto-wrapper error message when not finding mkoffload Date: Wed, 18 Apr 2018 12:28: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: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85451-4-PLuSu6YJn9@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85451-4@http.gcc.gnu.org/bugzilla/> References: <bug-85451-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02091.txt.bz2 Content-length: 234 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85451 --- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> --- Created attachment 43980 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43980&action=edit Tentative patch >From gcc-bugs-return-601968-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 12:28:45 2018 Return-Path: <gcc-bugs-return-601968-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23957 invoked by alias); 18 Apr 2018 12:28:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23928 invoked by uid 48); 18 Apr 2018 12:28:41 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85451] [offloading] Improve lto-wrapper error message when not finding mkoffload Date: Wed, 18 Apr 2018 12:28: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: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85451-4-sMFEilFYZW@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85451-4@http.gcc.gnu.org/bugzilla/> References: <bug-85451-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02092.txt.bz2 Content-length: 624 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85451 --- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Tom de Vries from comment #1) > Created attachment 43980 [details] > Tentative patch Improved error message: ... $ ./install/bin/x86_64-pc-linux-gnu-gcc -fopenacc test.c lto-wrapper: fatal error: could not find accel/nvptx-none/mkoffload in /home/vries/oacc/trunk/install/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.0.1/:/home/vries/oacc/trunk/install/bin/../libexec/gcc/ (use -B?) compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status ... >From gcc-bugs-return-601969-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 12:29:51 2018 Return-Path: <gcc-bugs-return-601969-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25540 invoked by alias); 18 Apr 2018 12:29:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25126 invoked by uid 48); 18 Apr 2018 12:29:42 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find Date: Wed, 18 Apr 2018 12:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85422-4-4hdZ6ChlWs@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85422-4@http.gcc.gnu.org/bugzilla/> References: <bug-85422-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02093.txt.bz2 Content-length: 631 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 --- Comment #8 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Tom de Vries from comment #7) > (In reply to Richard Biener from comment #3) > > flags? A simple ./xgcc -fopenacc doesn't reproduce it. With my GCC 7 > > install I see > > > > lto-wrapper: fatal error: problem with building target image for nvptx-none > > > > but no way to see the lto1 invocations :/ (tried -Wl,-debug -Wl,-v already) > > The error message could certainly be be better. Filed as PR85451 - "[offloading] Improve lto-wrapper error message when not finding mkoffload" >From gcc-bugs-return-601970-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 12:48:57 2018 Return-Path: <gcc-bugs-return-601970-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110545 invoked by alias); 18 Apr 2018 12:48:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110427 invoked by uid 48); 18 Apr 2018 12:48:36 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85451] [offloading] Improve lto-wrapper error message when not finding mkoffload Date: Wed, 18 Apr 2018 12:48: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: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85451-4-LsX2UrtoKm@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85451-4@http.gcc.gnu.org/bugzilla/> References: <bug-85451-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02094.txt.bz2 Content-length: 2059 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85451 --- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Tom de Vries from comment #0) > ... > $ ./install/bin/x86_64-pc-linux-gnu-gcc -fopenacc test.c \ > -B $(pwd > -P)/install/offload-nvptx-none/libexec/gcc/x86_64-pc-linux-gnu/8.0.1 > mkoffload: fatal error: offload compiler > x86_64-pc-linux-gnu-accel-nvptx-none-gcc not found > compilation terminated. > lto-wrapper: fatal error: > /home/vries/oacc/trunk/install/offload-nvptx-none/libexec/gcc/x86_64-pc- > linux-gnu/8.0.1//accel/nvptx-none/mkoffload returned 1 exit status > compilation terminated. > /usr/bin/ld: error: lto-wrapper failed > collect2: error: ld returned 1 exit status > ... > From the last error message, it's easy to figure out that > x86_64-pc-linux-gnu-accel-nvptx-none-gcc cannot be found (though it doesn't > suggest using -B to fix that). Which is fixed by: ... diff --git a/gcc/config/nvptx/mkoffload.c b/gcc/config/nvptx/mkoffload.c index c0093909448..097446c5db6 100644 --- a/gcc/config/nvptx/mkoffload.c +++ b/gcc/config/nvptx/mkoffload.c @@ -454,7 +454,7 @@ main (int argc, char **argv) if (!found) fatal_error (input_location, - "offload compiler %s not found", GCC_INSTALL_NAME); + "offload compiler %s not found (use -B?)", GCC_INSTALL_NAME); /* We may be called with all the arguments stored in some file and passed with @file. Expand them into argv before processing. */ ... which gives us: ... $ ./install/bin/x86_64-pc-linux-gnu-gcc -fopenacc test.c -B$(pwd -P)/install/offload-nvptx-none/libexec/gcc/x86_64-pc-linux-gnu/8.0.1 mkoffload: fatal error: offload compiler x86_64-pc-linux-gnu-accel-nvptx-none-gcc not found (use -B?) compilation terminated. lto-wrapper: fatal error: /home/vries/oacc/trunk/install/offload-nvptx-none/libexec/gcc/x86_64-pc-linux-gnu/8.0.1//accel/nvptx-none/mkoffload returned 1 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status ... >From gcc-bugs-return-601971-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 12:56:19 2018 Return-Path: <gcc-bugs-return-601971-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20046 invoked by alias); 18 Apr 2018 12:56:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19986 invoked by uid 48); 18 Apr 2018 12:56:14 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85422] [openacc] ICE at cfgloop.c:468: segfault in flow_loops_find Date: Wed, 18 Apr 2018 12:56: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: openacc 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: <bug-85422-4-dQWoqlBC1l@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85422-4@http.gcc.gnu.org/bugzilla/> References: <bug-85422-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02095.txt.bz2 Content-length: 1635 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-18 Ever confirmed|0 |1 --- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed with GCC7. > gcc-7 t.c -fopenacc In function 'main._omp_fn.0': lto1: internal compiler error: Segmentation fault 0x7b2d3f crash_signal ../../gcc/toplev.c:337 0x4a1056 flow_loops_find(loops*) ../../gcc/cfgloop.c:456 0x6cc63b input_cfg ../../gcc/lto-streamer-in.c:844 ... adjusted patch: Index: gcc/lto-streamer-out.c =================================================================== --- gcc/lto-streamer-out.c (revision 259467) +++ gcc/lto-streamer-out.c (working copy) @@ -2077,6 +2077,9 @@ output_function (struct cgraph_node *nod debug info. */ if (gimple_has_body_p (function)) { + /* Fixup loops if required to match discovery done in the reader. */ + loop_optimizer_init (AVOID_CFG_MODIFICATIONS); + streamer_write_uhwi (ob, 1); output_struct_function_base (ob, fn); @@ -2134,6 +2137,7 @@ output_function (struct cgraph_node *nod output_cfg (ob, fn); + loop_optimizer_finalize (); pop_cfun (); } else >From gcc-bugs-return-601972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 13:01:01 2018 Return-Path: <gcc-bugs-return-601972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37874 invoked by alias); 18 Apr 2018 13:01:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29440 invoked by uid 48); 18 Apr 2018 13:00:25 -0000 From: "lh_mouse at 126 dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/54412] minimal 32-byte stack alignment with -mavx on 64-bit Windows Date: Wed, 18 Apr 2018 13:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.7.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lh_mouse at 126 dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-54412-4-rZSR1QGroH@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-54412-4@http.gcc.gnu.org/bugzilla/> References: <bug-54412-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02096.txt.bz2 Content-length: 1074 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412 Liu Hao <lh_mouse at 126 dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lh_mouse at 126 dot com --- Comment #21 from Liu Hao <lh_mouse at 126 dot com> --- This comment could be important: <https://github.com/Alexpux/MSYS2-packages/issues/1209#issuecomment-379576367> > mstorsjo commented 10 days ago > However, this only seems to be an issue when passing such variables by value. Local variables seem to be properly aligned even with GCC: If the `__m256` in question in the original post was made to pass by reference, the crash would go away. From the assembly code following that reply we can also conclude that, it is not the impossibility of realigning the stack during run time that is the issue (because RSP was aligned in that snippet of code and I believe that code was correct). It is GCC does not realign the stack at all that is the issue. >From gcc-bugs-return-601973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 13:14:09 2018 Return-Path: <gcc-bugs-return-601973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11518 invoked by alias); 18 Apr 2018 13:14:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9515 invoked by uid 55); 18 Apr 2018 13:14:01 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85442] [7/8 Regression] cxx11-ios_failure.lo build fails for microblaze Date: Wed, 18 Apr 2018 13:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85442-4-FIsdMr6TQd@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85442-4@http.gcc.gnu.org/bugzilla/> References: <bug-85442-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02097.txt.bz2 Content-length: 809 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85442 --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Wed Apr 18 13:13:29 2018 New Revision: 259468 URL: https://gcc.gnu.org/viewcvs?rev=259468&root=gcc&view=rev Log: PR libstdc++/85442 fix duplicate debuginfo for cxx11-ios_failure.cc 2018-04-18 Jonathan Wakely <jwakely@redhat.com> Jakub Jelinek <jakub@redhat.com> PR libstdc++/85442 * src/c++11/Makefile.am: Don't generate debuginfo again for cxx11-ios_failure-lt.s and cxx11-ios_failure.s files. * src/c++11/Makefile.in: Regenerate. Modified: branches/gcc-7-branch/libstdc++-v3/ChangeLog branches/gcc-7-branch/libstdc++-v3/src/c++11/Makefile.am branches/gcc-7-branch/libstdc++-v3/src/c++11/Makefile.in >From gcc-bugs-return-601974-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 13:16:49 2018 Return-Path: <gcc-bugs-return-601974-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16466 invoked by alias); 18 Apr 2018 13:16:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16355 invoked by uid 48); 18 Apr 2018 13:16:42 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85442] [7/8 Regression] cxx11-ios_failure.lo build fails for microblaze Date: Wed, 18 Apr 2018 13:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85442-4-tpBJlqJX0n@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85442-4@http.gcc.gnu.org/bugzilla/> References: <bug-85442-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02098.txt.bz2 Content-length: 450 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85442 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- Should be fixed for 7.4 and 8.1 >From gcc-bugs-return-601975-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 13:18:06 2018 Return-Path: <gcc-bugs-return-601975-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30461 invoked by alias); 18 Apr 2018 13:18:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27291 invoked by uid 55); 18 Apr 2018 13:18:02 -0000 From: "thopre01 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85261] __builtin_arm_set_fpscr ICEs with constant input Date: Wed, 18 Apr 2018 13:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: thopre01 at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: thopre01 at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85261-4-AgDJcYFw1l@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85261-4@http.gcc.gnu.org/bugzilla/> References: <bug-85261-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02099.txt.bz2 Content-length: 1442 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85261 --- Comment #6 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> --- Author: thopre01 Date: Wed Apr 18 13:17:30 2018 New Revision: 259469 URL: https://gcc.gnu.org/viewcvs?rev=259469&root=gcc&view=rev Log: [ARM] Fix PR85261: ICE with FPSCR setter builtin Instruction pattern for setting the FPSCR expects the input value to be in a register. However, __builtin_arm_set_fpscr expander does not ensure that this is the case and as a result GCC ICEs when the builtin is called with a constant literal. This commit fixes the builtin to force the input value into a register. It also remove the unneeded volatile in the existing fpscr test and fixes the function prototype. 2018-04-18 Thomas Preud'homme <thomas.preudhomme@arm.com> Backport from mainline 2018-04-11 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/ PR target/85261 * config/arm/arm-builtins.c (arm_expand_builtin): Force input operand into register. gcc/testsuite/ PR target/85261 * gcc.target/arm/fpscr.c: Add call to __builtin_arm_set_fpscr with literal value. Expect 2 MCR instruction. Fix function prototype. Remove volatile keyword. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/arm/arm-builtins.c branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/testsuite/gcc.target/arm/fpscr.c >From gcc-bugs-return-601976-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 13:18:54 2018 Return-Path: <gcc-bugs-return-601976-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35270 invoked by alias); 18 Apr 2018 13:18:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35209 invoked by uid 48); 18 Apr 2018 13:18:50 -0000 From: "thopre01 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85261] __builtin_arm_set_fpscr ICEs with constant input Date: Wed, 18 Apr 2018 13:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: thopre01 at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: thopre01 at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution cf_known_to_fail Message-ID: <bug-85261-4-IlZrg7ikQj@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85261-4@http.gcc.gnu.org/bugzilla/> References: <bug-85261-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02100.txt.bz2 Content-length: 573 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85261 Thomas Preud'homme <thopre01 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Known to work| |6.4.1 Resolution|--- |FIXED Known to fail|6.4.1 |6.4.0 --- Comment #7 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> --- Fixed in all release branches. >From gcc-bugs-return-601977-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 13:22:33 2018 Return-Path: <gcc-bugs-return-601977-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62744 invoked by alias); 18 Apr 2018 13:22:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62695 invoked by uid 48); 18 Apr 2018 13:22:28 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85439] mt19937_64 producing unexpected result only in certain configuration Date: Wed, 18 Apr 2018 13:22: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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: <bug-85439-4-T2sWu8lEYU@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85439-4@http.gcc.gnu.org/bugzilla/> References: <bug-85439-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02101.txt.bz2 Content-length: 402 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85439 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-18 Ever confirmed|0 |1 >From gcc-bugs-return-601978-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 13:40:21 2018 Return-Path: <gcc-bugs-return-601978-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89131 invoked by alias); 18 Apr 2018 13:40:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89089 invoked by uid 48); 18 Apr 2018 13:40:16 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85220] [meta-bug, nvptx] Run trunk with og7 openacc testcases and analyze execution failures Date: Wed, 18 Apr 2018 13:40: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: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85220-4-gzkxbgLq3G@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85220-4@http.gcc.gnu.org/bugzilla/> References: <bug-85220-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02102.txt.bz2 Content-length: 510 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85220 --- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> --- Filed: - PR85221 "[openacc] ICE in install_var_field, at omp-low.c:657" - PR85445 "[nvptx, openacc] Calls to worker and vector routine broken" and updated a few existing PRs. There are lots of execution failures due to OpenACC patches not being ported from og7 to trunk, but for the purposes of this investigation I'm only interested in missing nvptx patches. Marking resolved-fixed. >From gcc-bugs-return-601979-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 14:02:21 2018 Return-Path: <gcc-bugs-return-601979-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105300 invoked by alias); 18 Apr 2018 14:02:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105248 invoked by uid 48); 18 Apr 2018 14:02:16 -0000 From: "hyrosen at mail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61982] Optimizer does not eliminate stores to destroyed objects Date: Wed, 18 Apr 2018 14:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: minor X-Bugzilla-Who: hyrosen at mail 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: <bug-61982-4-TdvOCiUaeJ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-61982-4@http.gcc.gnu.org/bugzilla/> References: <bug-61982-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02103.txt.bz2 Content-length: 809 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61982 hyrosen at mail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hyrosen at mail dot com --- Comment #9 from hyrosen at mail dot com --- The storage for an object can still be accessible after the object is destroyed. Therefore, writes in the destructor should not be eliminated unless they are provably inaccessible: struct X { int i; ~X() { i = 0; } }; void destroy(X &x) { x.~X(); } int main() { alignas(X) char buf[sizeof(X)], save[sizeof(X)]; X *x = new (buf) X; x->i = 1; memcpy(save, buf, sizeof(X)); destroy(*x); assert(memcmp(buf, save, sizeof(X)) != 0); } >From gcc-bugs-return-601980-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 14:05:28 2018 Return-Path: <gcc-bugs-return-601980-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112856 invoked by alias); 18 Apr 2018 14:05:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110442 invoked by uid 48); 18 Apr 2018 14:05:20 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61982] Optimizer does not eliminate stores to destroyed objects Date: Wed, 18 Apr 2018 14:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: minor 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: <bug-61982-4-MhfliA8WWT@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-61982-4@http.gcc.gnu.org/bugzilla/> References: <bug-61982-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02104.txt.bz2 Content-length: 685 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61982 --- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to hyrosen from comment #9) > The storage for an object can still be accessible after the object is > destroyed. Therefore, writes in the destructor should not be eliminated > unless they are provably inaccessible: > > struct X { int i; ~X() { i = 0; } }; > > void destroy(X &x) { x.~X(); } > > int main() > { > alignas(X) char buf[sizeof(X)], save[sizeof(X)]; > X *x = new (buf) X; > x->i = 1; > memcpy(save, buf, sizeof(X)); > destroy(*x); > assert(memcmp(buf, save, sizeof(X)) != 0); > } No, that invokes UB. >From gcc-bugs-return-601981-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 14:21:39 2018 Return-Path: <gcc-bugs-return-601981-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19229 invoked by alias); 18 Apr 2018 14:21:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19198 invoked by uid 48); 18 Apr 2018 14:21:35 -0000 From: "foddex at foddex dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85439] mt19937_64 producing unexpected result only in certain configuration Date: Wed, 18 Apr 2018 14:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: foddex at foddex dot net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85439-4-Ki6zZXquSz@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85439-4@http.gcc.gnu.org/bugzilla/> References: <bug-85439-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02105.txt.bz2 Content-length: 1039 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85439 --- Comment #1 from Marc "Foddex" Oude Kotte <foddex at foddex dot net> --- When one adds std::hex output formatting for the first four std::cout calls, for example the first line would then look like: std::cout << "32 bits gen, uint32_t: " << std::hex << generateRandom<std::mt19937, std::uniform_int_distribution, uint32_t>() << std::endl; The output on MSVC and OSX becomes: 32 bits gen, uint32_t: d091bb5c 32 bits gen, uint64_t: d091bb5c22ae9ef6 64 bits gen, uint32_t: f6f6aea6 64 bits gen, uint64_t: c96d191cf6f6aea6 And the output on Linux becomes: 32 bits gen, uint32_t: d091bb5c 32 bits gen, uint64_t: d091bb5c22ae9ef6 64 bits gen, uint32_t: c96d191d 64 bits gen, uint64_t: c96d191cf6f6aea6 A number of observations: - on line 3, MSVC + OSX seem to return the lower 32 bits of line 4 - on line 3, Linux seems to return the upper 32 bits of line 4, with 1 added But: - on line 1, everybody just seems to return the upper 32 bits of line 2 I am at a loss who is right here. >From gcc-bugs-return-601982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 14:29:45 2018 Return-Path: <gcc-bugs-return-601982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51019 invoked by alias); 18 Apr 2018 14:29:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49588 invoked by uid 48); 18 Apr 2018 14:29:37 -0000 From: "sergej at schumilo dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug demangler/85452] New: Stack-Overflow in nm-new / C++ name demangler (binuitils-2.30-15ubuntu1) Date: Wed, 18 Apr 2018 14:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: demangler X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sergej at schumilo dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85452-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02106.txt.bz2 Content-length: 2217 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85452 Bug ID: 85452 Summary: Stack-Overflow in nm-new / C++ name demangler (binuitils-2.30-15ubuntu1) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: demangler Assignee: unassigned at gcc dot gnu.org Reporter: sergej at schumilo dot de Target Milestone: --- Dear all, according to the bintutils maintainers the following stack-overflow bug is in the C++ name demangler (instead of the binutils application nm-new), which is part of the libiberty library. This is the original binutils bug report (https://sourceware.org/bugzilla/show_bug.cgi?id=23058): ----------------------------------------------------------------------------- Dear all, after reporting the following bugs to the Ubuntu security team (https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1763099), we were asked to report them directly to the binutils developers: ---------------------------------------------------- Dear all, The following binutils nm-new Stack-Overflow was found by a modified version of the kAFL fuzzer (https://github.com/RUB-SysSec/kAFL). I have attached the crashing input and an ASAN report. Steps to reproduce: Build current verison of binutils: ``` pull-lp-source binutils cd binutils-2.30 CC=clang CXX=clang++ CFLAGS="-fsanitize=address -fsanitize-recover=address -ggdb" CXXFLAGS="-fsanitize=address -fsanitize-recover=address -ggdb" LDFLAGS="-fsanitize=address" ./configure CC=clang CXX=clang++ CFLAGS="-fsanitize=address -fsanitize-recover=address -ggdb" CXXFLAGS="-fsanitize=address -fsanitize-recover=address -ggdb" LDFLAGS="-fsanitize=address" make ``` Run inputs under ASAN: ``` ASAN_OPTIONS=halt_on_error=true:allow_addr2line=true ./nm-new a -C -l --synthetic $file ``` We can verify this issue for nm-new binuitils-2.30-15ubuntu1 (Ubuntu 16.04.4 LTS / sources from "pull-lp-source bintuils"). Credits: Sergej Schumilo, Cornelius Aschermann (both of Ruhr-Universität Bochum) Best regards, Sergej Schumilo >From gcc-bugs-return-601983-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 14:33:25 2018 Return-Path: <gcc-bugs-return-601983-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59705 invoked by alias); 18 Apr 2018 14:33:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59587 invoked by uid 48); 18 Apr 2018 14:33:15 -0000 From: "thopre01 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85434] Address of stack protector guard spilled to stack on ARM Date: Wed, 18 Apr 2018 14:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: thopre01 at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: thopre01 at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85434-4-f5GTXXurFT@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85434-4@http.gcc.gnu.org/bugzilla/> References: <bug-85434-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02107.txt.bz2 Content-length: 1670 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85434 --- Comment #5 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> --- (In reply to Wilco from comment #4) > Clearly rematerialization isn't working correctly. Immediates and constant > addresses like this should never be spilled (using MOV/MOVK could increase > codesize, but with -Os you should use the literal pool anyway). Check > legitimate_constant_p returns true, see > https://gcc.gnu.org/ml/gcc-patches/2017-08/msg00052.html for how it's done > on AArch64. By the time LRA happens, this is what LRA sees of the address computation: (insn 321 6 322 2 (set (reg:SI 274) (unspec:SI [ (symbol_ref:SI ("__stack_chk_guard") [flags 0xc0] <var_decl 0x7f689803a2d0 __stack_chk_guard>) ] UNSPEC_PIC_SYM)) "test_arm_sp_fpic.c":41 181 {pic_load_addr_32bit} (expr_list:REG_EQUIV (unspec:SI [ (symbol_ref:SI ("__stack_chk_guard") [flags 0xc0] <var_decl 0x7f689803a2d0 __stack_chk_guard>) ] UNSPEC_PIC_SYM) (nil))) (insn 322 321 11 2 (set (reg/f:SI 175) (mem:SI (plus:SI (reg:SI 176) (reg:SI 274)) [0 S4 A32])) "test_arm_sp_fpic.c":41 876 {*thumb2_movsi_insn} (expr_list:REG_DEAD (reg:SI 274) (expr_list:REG_DEAD (reg:SI 176) (expr_list:REG_EQUIV (symbol_ref:SI ("__stack_chk_guard") [flags 0xc0] <var_decl 0x7f689803a2d0 __stack_chk_guard>) (nil))))) It is this 175 which is spilled because LRA sees it doesn't have a register of the right class to allocate that pseudo. Because it's a MEM it doesn't see it as a constant expression and thus does not rematerialize it. >From gcc-bugs-return-601984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 14:35:44 2018 Return-Path: <gcc-bugs-return-601984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66355 invoked by alias); 18 Apr 2018 14:35:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66111 invoked by uid 48); 18 Apr 2018 14:35:39 -0000 From: "sergej at schumilo dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug demangler/85453] New: OOM-Bug in cxxfilt / C++ name demangler (binuitils-2.30-15ubuntu1) Date: Wed, 18 Apr 2018 14:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: demangler X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sergej at schumilo dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85453-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02108.txt.bz2 Content-length: 2256 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85453 Bug ID: 85453 Summary: OOM-Bug in cxxfilt / C++ name demangler (binuitils-2.30-15ubuntu1) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: demangler Assignee: unassigned at gcc dot gnu.org Reporter: sergej at schumilo dot de Target Milestone: --- Dear all, according to the bintutils maintainers the following OOM-bug is in the C++ name demangler (instead of the binutils application cxxfilt), which is part of the libiberty library. This is the original binutils bug report (https://sourceware.org/bugzilla/show_bug.cgi?id=23059): ----------------------------------------------------------------------------- Dear all, after reporting the following bugs to the Ubuntu security team (https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1763101), we were asked to report them directly to the binutils developers: ---------------------------------------------------- Dear all, The following binutils cxxfilt OOM bug was found by a modified version of the kAFL fuzzer (https://github.com/RUB-SysSec/kAFL). I have attached the input and an ASAN report. Steps to reproduce: Build current verison of binutils: ``` pull-lp-source binutils cd binutils-2.30 CC=clang CXX=clang++ CFLAGS="-fsanitize=address -fsanitize-recover=address -ggdb" CXXFLAGS="-fsanitize=address -fsanitize-recover=address -ggdb" LDFLAGS="-fsanitize=address" ./configure CC=clang CXX=clang++ CFLAGS="-fsanitize=address -fsanitize-recover=address -ggdb" CXXFLAGS="-fsanitize=address -fsanitize-recover=address -ggdb" LDFLAGS="-fsanitize=address" make ``` Run inputs under ASAN: ``` ASAN_OPTIONS=halt_on_error=false:allow_addr2line=true ./cxxfilt -t < oom ``` We can verify this issue for cxxfilt binuitils-2.30-15ubuntu1 (Ubuntu 16.04.4 LTS / sources from "pull-lp-source bintuils") on an Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz server machine with 32GB RAM. Credits: Sergej Schumilo, Cornelius Aschermann (both of Ruhr-Universität Bochum) Best regards, Sergej Schumilo >From gcc-bugs-return-601985-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 14:38:40 2018 Return-Path: <gcc-bugs-return-601985-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79376 invoked by alias); 18 Apr 2018 14:38:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79302 invoked by uid 48); 18 Apr 2018 14:38:35 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319 Date: Wed, 18 Apr 2018 14:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: bug_status Message-ID: <bug-85449-4-UuuWYTlBBw@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85449-4@http.gcc.gnu.org/bugzilla/> References: <bug-85449-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02109.txt.bz2 Content-length: 523 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING --- Comment #1 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Can you explain how you expose the miscompilation in the project. I built https://github.com/akheron/jansson with -O3 and did make check. But it's fine. >From gcc-bugs-return-601986-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 14:53:53 2018 Return-Path: <gcc-bugs-return-601986-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73990 invoked by alias); 18 Apr 2018 14:53:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73918 invoked by uid 48); 18 Apr 2018 14:53:49 -0000 From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85424] The __builtin_packlongdouble function might have issues with the output overlapping the inputs Date: Wed, 18 Apr 2018 14:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: meissner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: <bug-85424-4-VfbYiczzKT@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85424-4@http.gcc.gnu.org/bugzilla/> References: <bug-85424-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02110.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85424 Bill Schmidt <wschmidt at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.4 >From gcc-bugs-return-601988-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 14:56:47 2018 Return-Path: <gcc-bugs-return-601988-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80022 invoked by alias); 18 Apr 2018 14:56:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79974 invoked by uid 48); 18 Apr 2018 14:56:44 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85439] mt19937_64 producing unexpected result only in certain configuration Date: Wed, 18 Apr 2018 14:56: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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85439-4-sbT5q8mLO4@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85439-4@http.gcc.gnu.org/bugzilla/> References: <bug-85439-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02112.txt.bz2 Content-length: 356 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85439 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- I don't think there is a "right" answer, because the precise behaviour of std::uniform_int_distribution is unspecified. The mersenne twister RBGs must give portable results across implementations, but the distributions don't have to. >From gcc-bugs-return-601987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 14:56:27 2018 Return-Path: <gcc-bugs-return-601987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79244 invoked by alias); 18 Apr 2018 14:56:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79188 invoked by uid 48); 18 Apr 2018 14:56:23 -0000 From: "hyrosen at mail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61982] Optimizer does not eliminate stores to destroyed objects Date: Wed, 18 Apr 2018 14:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: minor X-Bugzilla-Who: hyrosen at mail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-61982-4-71GYQB2Uya@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-61982-4@http.gcc.gnu.org/bugzilla/> References: <bug-61982-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02111.txt.bz2 Content-length: 804 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61982 --- Comment #11 from hyrosen at mail dot com --- (In reply to Jakub Jelinek from comment #10) > (In reply to hyrosen from comment #9) > > The storage for an object can still be accessible after the object is > > destroyed. Therefore, writes in the destructor should not be eliminated > > unless they are provably inaccessible: > > > > struct X { int i; ~X() { i = 0; } }; > > > > void destroy(X &x) { x.~X(); } > > > > int main() > > { > > alignas(X) char buf[sizeof(X)], save[sizeof(X)]; > > X *x = new (buf) X; > > x->i = 1; > > memcpy(save, buf, sizeof(X)); > > destroy(*x); > > assert(memcmp(buf, save, sizeof(X)) != 0); > > } > > No, that invokes UB. Do you have a reference that demonstrates that? >From gcc-bugs-return-601989-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 14:57:59 2018 Return-Path: <gcc-bugs-return-601989-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82199 invoked by alias); 18 Apr 2018 14:57:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82142 invoked by uid 48); 18 Apr 2018 14:57:55 -0000 From: "glaubitz at physik dot fu-berlin.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Wed, 18 Apr 2018 14:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: glaubitz at physik dot fu-berlin.de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-81084-4-Bz241ozeg2@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02113.txt.bz2 Content-length: 657 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |glaubitz at physik dot fu-berlin.d | |e --- Comment #27 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- > Port is now obsolete, will be removed in GCC9 unless sufficient maintenance is provided. So, instead fixing bugs upstream projects just now tell users to go away? >From gcc-bugs-return-601990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 14:59:56 2018 Return-Path: <gcc-bugs-return-601990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89326 invoked by alias); 18 Apr 2018 14:59:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89236 invoked by uid 48); 18 Apr 2018 14:59:44 -0000 From: "glaubitz at physik dot fu-berlin.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Wed, 18 Apr 2018 14:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: glaubitz at physik dot fu-berlin.de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-MW3YTGhVT6@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02114.txt.bz2 Content-length: 1661 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #28 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- Just built two weeks ago, natively: root@atlantis:~> gcc-8 -v Using built-in specs. COLLECT_GCC=gcc-8 COLLECT_LTO_WRAPPER=/usr/lib/gcc/powerpc-linux-gnuspe/8/lto-wrapper Target: powerpc-linux-gnuspe Configured with: ../src/configure -v --with-pkgversion='Debian 8-20180402-1' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=powerpc-linux-gnuspe- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libsanitizer --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --disable-libphobos --enable-objc-gc=auto --enable-secureplt --disable-multilib --enable-multiarch --with-cpu=8548 --enable-e500_double --disable-werror --with-long-double-128 --enable-checking=release --build=powerpc-linux-gnuspe --host=powerpc-linux-gnuspe --target=powerpc-linux-gnuspe Thread model: posix gcc version 8.0.1 20180402 (experimental) [trunk revision 259004] (Debian 8-20180402-1) root@atlantis:~> Full build log: https://buildd.debian.org/status/fetch.php?pkg=gcc-8&arch=powerpcspe&ver=8-20180402-1&stamp=1522856967&raw=0 >From gcc-bugs-return-601991-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 15:01:11 2018 Return-Path: <gcc-bugs-return-601991-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93510 invoked by alias); 18 Apr 2018 15:00:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92610 invoked by uid 48); 18 Apr 2018 15:00:28 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85439] mt19937_64 producing unexpected result only in certain configuration Date: Wed, 18 Apr 2018 15:00: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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85439-4-1pyB8uiO2T@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85439-4@http.gcc.gnu.org/bugzilla/> References: <bug-85439-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02115.txt.bz2 Content-length: 393 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85439 --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- The Boost implementations of mt19937 and uniform_int_distribution produce a third slightly different set of results: 32 bits gen, uint32_t: 3499211612 32 bits gen, uint64_t: 2499109626135559004 64 bits gen, uint32_t: 3379370268 64 bits gen, uint64_t: 14514284786278117030 >From gcc-bugs-return-601993-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 15:11:28 2018 Return-Path: <gcc-bugs-return-601993-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123868 invoked by alias); 18 Apr 2018 15:11:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123750 invoked by uid 48); 18 Apr 2018 15:11:22 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Wed, 18 Apr 2018 15:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-NdR1UQ6Uby@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02117.txt.bz2 Content-length: 935 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #29 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The port is not actively maintained and contains estimated 75%-80% of dead code. The rs6000 backend had since the split around 290 commits that didn't touch the powerpcspe backend, if we just assume that only 20% of those are relevant to powerpcspe too (hard to judge exactly because the dead code from there isn't removed), then that is still significant number of known issues in the port. The announcement of the intent to obsolete the port has been posted already more than a year ago, if you look in the comments in this PR, you'll see numerous pings, despite which no (significant) action has been taken. GCC backends need active maintainance, including regular testing, reporting regressions and fixing those, otherwise they are only significant burden to other maintainers and not really useful to users. >From gcc-bugs-return-601992-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 15:11:14 2018 Return-Path: <gcc-bugs-return-601992-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123008 invoked by alias); 18 Apr 2018 15:11:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122978 invoked by uid 48); 18 Apr 2018 15:11:10 -0000 From: "sergej at schumilo dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug demangler/85454] New: Multiple memory corruptions in objdump / C++ name demangler (binuitils-2.30-15ubuntu1) Date: Wed, 18 Apr 2018 15:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: demangler X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sergej at schumilo dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85454-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02116.txt.bz2 Content-length: 2266 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85454 Bug ID: 85454 Summary: Multiple memory corruptions in objdump / C++ name demangler (binuitils-2.30-15ubuntu1) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: demangler Assignee: unassigned at gcc dot gnu.org Reporter: sergej at schumilo dot de Target Milestone: --- Dear all, according to the bintutils maintainers the following memory corruption bugs are in the C++ name demangler (instead of the binutils application objdump), which is part of the libiberty library. This is the original binutils bug report (https://sourceware.org/bugzilla/show_bug.cgi?id=23057): ----------------------------------------------------------------------------- Dear all, after reporting the following bugs to the Ubuntu security team (https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1763102), we were asked to report them directly to the binutils developers: ---------------------------------------------------- Dear all, The following binutils objdump memory corruptions were found by a modified version of the kAFL fuzzer (https://github.com/RUB-SysSec/kAFL). I have attached the crashing inputs and each ASAN report. Steps to reproduce: Build current verison of binutils: ``` pull-lp-source binutils cd binutils-2.30 CC=clang CXX=clang++ CFLAGS="-fsanitize=address -fsanitize-recover=address -ggdb" CXXFLAGS="-fsanitize=address -fsanitize-recover=address -ggdb" LDFLAGS="-fsanitize=address" ./configure CC=clang CXX=clang++ CFLAGS="-fsanitize=address -fsanitize-recover=address -ggdb" CXXFLAGS="-fsanitize=address -fsanitize-recover=address -ggdb" LDFLAGS="-fsanitize=address" make ``` Run inputs under ASAN: ``` ASAN_OPTIONS=halt_on_error=false:allow_addr2line=true ./objdump --dwarf-check -C -g -f -dwarf -x $file ``` We can verify those issues for objdump binuitils-2.30-15ubuntu1 (Ubuntu 16.04.4 LTS / sources from "pull-lp-source bintuils"). Credits: Sergej Schumilo, Cornelius Aschermann (both of Ruhr-Universität Bochum) Best regards, Sergej Schumilo >From gcc-bugs-return-601994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 15:17:28 2018 Return-Path: <gcc-bugs-return-601994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128209 invoked by alias); 18 Apr 2018 15:17:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128169 invoked by uid 48); 18 Apr 2018 15:17:24 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/85398] g++ reports "array subscript is above array bounds" when it cannot be sure Date: Wed, 18 Apr 2018 15:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 6.4.0 X-Bugzilla-Keywords: diagnostic, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85398-4-z9JNFmj768@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85398-4@http.gcc.gnu.org/bugzilla/> References: <bug-85398-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02118.txt.bz2 Content-length: 838 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85398 --- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- A simpler test case is this (which is analogous to what the loop is transformed into): $ cat x.c && gcc -O2 -S -Wall x.c unsigned left[1]; unsigned long right[1]; void f (unsigned i) { if (i) left[i] = right[i - 1]; } x.c: In function âfâ: x.c:7:11: warning: array subscript [0, 0] is outside array bounds of âunsigned int[1]â [-Warray-bounds] left[i] = right[i - 1]; ~~~~^~~ Here it's even more obvious that the warning is wrong. It seems to me that the whole if statement could either be eliminated or its body replaced by a trap because the assignment in it is undefined. That would eliminate the loop (and with it also the warning). >From gcc-bugs-return-601995-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 15:22:31 2018 Return-Path: <gcc-bugs-return-601995-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38145 invoked by alias); 18 Apr 2018 15:22:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38039 invoked by uid 48); 18 Apr 2018 15:22:26 -0000 From: "glaubitz at physik dot fu-berlin.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Wed, 18 Apr 2018 15:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: glaubitz at physik dot fu-berlin.de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-hF4giQ60hR@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02119.txt.bz2 Content-length: 2922 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #30 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- (In reply to Jakub Jelinek from comment #29) > The rs6000 backend had since the split around 290 commits that didn't touch > the powerpcspe backend, if we just assume that only 20% of those are > relevant to powerpcspe too (hard to judge exactly because the dead code from > there isn't removed), then that is still significant number of known issues > in the port. It works fine for Debian. gcc-8 is able to build itself on powerpcspe with no apparent issues. I can also run the testsuite if necessary. We currently have turned it off to save build time as we currently have only three powerpcspe build machines. But we will add two more in the near future and then we can also enable running testsuites. > The announcement of the intent to obsolete the port has been posted already > more than a year ago, if you look in the comments in this PR, you'll see > numerous pings, despite which no (significant) action has been taken. Well, not everyone can be on every list, so it's easy to miss such announcements. There are many projects like OpenJDK, binutils, glibc, the kernel and such which want upstream attention, so you have to agree it's a bit difficult to be always everywhere to be able to answer questions. I was just pointed at your deprecation mail on IRC. In any case, Debian is probably the largest downstream user that has such a huge variety of ports. We are building always the latest versions of gcc natively on more than 20 architectures: > https://buildd.debian.org/status/package.php?p=gcc-8&suite=sid Matthias Klose is constantly uploading new versions and we always make sure gcc builds fine on all targets - natively. We also have a gcc-snapshot package that is constantly updated to the latest SVN version and built natively as well: > https://buildd.debian.org/status/package.php?p=gcc-snapshot&suite=sid We have users who are using Debian on these targets, even on m68k because retro computing is very popular around that CPU. So, I think it would be fair if important upstream projects like gcc could send a message to downstream projects like Debian in such cases, to give at least users of certain ports a notice if there are any concerns upstream. > GCC backends need active maintainance, including regular testing, reporting > regressions and fixing those, otherwise they are only significant burden to > other maintainers and not really useful to users. I am aware of that. But the thing is, the backend in question works fine at the moment. I would agree with your stance if we were seeing any serious issues with it. But that's currently not the case, so I don't understand this particular action. Is there anything specific bug that blocks things at the moment that we are missing downstream? >From gcc-bugs-return-601996-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 15:43:16 2018 Return-Path: <gcc-bugs-return-601996-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6859 invoked by alias); 18 Apr 2018 15:43:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6783 invoked by uid 48); 18 Apr 2018 15:43:10 -0000 From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Wed, 18 Apr 2018 15:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dclarke at blastwave 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: cf_known_to_work Message-ID: <bug-85440-4-svDvAnl5C3@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02120.txt.bz2 Content-length: 695 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 Dennis Clarke <dclarke at blastwave dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work|8.0 | --- Comment #4 from Dennis Clarke <dclarke at blastwave dot org> --- Why was the "Known to work" changed to "8.0" when no such release exists? I am going to delete that. For the moment it seems that a git pull and build from trunk needs to be done in order to test the "theory" that libquadmath will actually work in various places. This will include sparc64 on both Debian linux and Solaris. >From gcc-bugs-return-601997-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 15:46:53 2018 Return-Path: <gcc-bugs-return-601997-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16201 invoked by alias); 18 Apr 2018 15:46:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16141 invoked by uid 48); 18 Apr 2018 15:46:48 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Wed, 18 Apr 2018 15:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: 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: cf_known_to_work Message-ID: <bug-85440-4-BdQ0Wsppha@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02121.txt.bz2 Content-length: 707 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |8.0 --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- 8.0 marks the development versions of the upcoming 8.1, 8.2 etc. releases, 8.0 will never be released itself. libquadmath is not enabled on sparc64, right now it is just enabled on targets that have a __float128 or similar type, so i?86, x86_64, ia64 and powerpc*. sparc64 should have IEEE754 quad support in glibc already, just use long double. >From gcc-bugs-return-601998-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 15:53:01 2018 Return-Path: <gcc-bugs-return-601998-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41026 invoked by alias); 18 Apr 2018 15:53:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38512 invoked by uid 48); 18 Apr 2018 15:52:56 -0000 From: "thopre01 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85434] Address of stack protector guard spilled to stack on ARM Date: Wed, 18 Apr 2018 15:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: thopre01 at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: thopre01 at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85434-4-gexrqtJ8Sq@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85434-4@http.gcc.gnu.org/bugzilla/> References: <bug-85434-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02122.txt.bz2 Content-length: 828 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85434 --- Comment #6 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> --- (In reply to Thomas Preud'homme from comment #3) > > My feeling is that the target patterns should also do the address > computation, ie stack_protect_set and stack_protect_test would take that MEM > of symbol_ref instead of expanding it first. The more I think about it the more I think it's the only way to guarantee the guard's address does not end up in a register that could be spilled. The spilling itself is more likely to happen when reading the GOT entry that holds the guard's address is not represented by an UNSPEC because then the address computed when setting the canari is reused when doing the comparison. UNSPEC seems to prevent that (even though it's not UNSPEC_VOLATILE). >From gcc-bugs-return-601999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 16:18:49 2018 Return-Path: <gcc-bugs-return-601999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106974 invoked by alias); 18 Apr 2018 16:18:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106912 invoked by uid 48); 18 Apr 2018 16:18:44 -0000 From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319 Date: Wed, 18 Apr 2018 16:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: <bug-85449-4-OMGm8ZzTb9@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85449-4@http.gcc.gnu.org/bugzilla/> References: <bug-85449-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02123.txt.bz2 Content-length: 1841 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 --- Comment #2 from Tamar Christina <tnfchris at gcc dot gnu.org> --- The latest master seems to not trigger the problematic specializations. Instead check out commit d7ddbf366197605642f725cce6165dfb179a114e and then a normal CFLAGS="-O3 -w -save-temps" ./configure make make check should show the issues. For me using an x86_64 build of trunk I get ================================================================= api/test_dump.c ================================================================= Segmentation fault (core dumped) ================================================================= api/test_dump_callback.c ================================================================= test_dump_callback.c:run_tests:44: json_dumps failed ================================================================= api/test_object.c ================================================================= Segmentation fault (core dumped) and the dump.s file produced shows the error. >From gcc-bugs-return-602000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 16:56:40 2018 Return-Path: <gcc-bugs-return-602000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98956 invoked by alias); 18 Apr 2018 16:56:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98877 invoked by uid 48); 18 Apr 2018 16:56:35 -0000 From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Wed, 18 Apr 2018 16:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-2oHo9HBD7W@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02124.txt.bz2 Content-length: 2229 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #31 from Segher Boessenkool <segher at gcc dot gnu.org> --- (In reply to John Paul Adrian Glaubitz from comment #30) > > The announcement of the intent to obsolete the port has been posted already > > more than a year ago, if you look in the comments in this PR, you'll see > > numerous pings, despite which no (significant) action has been taken. > > Well, not everyone can be on every list, so it's easy to miss such > announcements. It would have been announced in gcc-7/changes.html (linked from the announcement on gcc-announce@, I do hope you read that?), but instead of obsoleting SPE support in the rs6000 port we split off the powerpcspe port, which was promised to be maintained. Now that that does not seem to be happening, it will be obsoleted anyway. Someone needs to do the work. > We have users who are using Debian on these targets, even on m68k because > retro computing is very popular around that CPU. m68k needs some serious work, too, in the not far future (if the cc0 removal finally goes through -- that has been over ten years now). > So, I think it would be fair if important upstream projects like gcc could > send a message to downstream projects like Debian in such cases, to give at > least users of certain ports a notice if there are any concerns upstream. Read gcc-announce@. It's what it is for. Only a few posts per year :-) > > GCC backends need active maintainance, including regular testing, reporting > > regressions and fixing those, otherwise they are only significant burden to > > other maintainers and not really useful to users. > > I am aware of that. But the thing is, the backend in question works fine at > the moment. I would agree with your stance if we were seeing any serious > issues with it. But that's currently not the case, so I don't understand > this particular action. > > Is there anything specific bug that blocks things at the moment that we are > missing downstream? A port does not need maintenance only for that port, and its users, but also for GCC itself. All ports are a cost to _all_ GCC developers. If a port is not maintained it has to be removed. Segher >From gcc-bugs-return-602001-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 17:13:32 2018 Return-Path: <gcc-bugs-return-602001-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52549 invoked by alias); 18 Apr 2018 17:13:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52007 invoked by uid 48); 18 Apr 2018 17:13:26 -0000 From: "glaubitz at physik dot fu-berlin.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Wed, 18 Apr 2018 17:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: glaubitz at physik dot fu-berlin.de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-5D1yXAmnFo@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02125.txt.bz2 Content-length: 3323 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #32 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- (In reply to Segher Boessenkool from comment #31) > It would have been announced in gcc-7/changes.html (linked from the > announcement on gcc-announce@, I do hope you read that?), but instead of > obsoleting SPE support in the rs6000 port we split off the powerpcspe port, > which was promised to be maintained. Now that that does not seem to be > happening, it will be obsoleted anyway. Andrew said he is still working on it. That is not the same as saying the promise is not going to be kept. gcc isn't a trivial project after all and that work can take some time. > Someone needs to do the work. Sure. I understand that and I am not denying that. But I don't see that this particular port is broken as it is claimed here. Otherwise it wouldn't work for Debian at all, would it? > > We have users who are using Debian on these targets, even on m68k because > > retro computing is very popular around that CPU. > > m68k needs some serious work, too, in the not far future (if the cc0 removal > finally goes through -- that has been over ten years now). Yes, I am aware of that. But there are enough people interested in such work so I think we will be able get around doing that at some point. > > So, I think it would be fair if important upstream projects like gcc could > > send a message to downstream projects like Debian in such cases, to give at > > least users of certain ports a notice if there are any concerns upstream. > > Read gcc-announce@. It's what it is for. Only a few posts per year :-) Ok, I will be subscribing to that one. > > > GCC backends need active maintainance, including regular testing, reporting > > > regressions and fixing those, otherwise they are only significant burden to > > > other maintainers and not really useful to users. > > > > I am aware of that. But the thing is, the backend in question works fine at > > the moment. I would agree with your stance if we were seeing any serious > > issues with it. But that's currently not the case, so I don't understand > > this particular action. > > > > Is there anything specific bug that blocks things at the moment that we are > > missing downstream? > > A port does not need maintenance only for that port, and its users, but also > for GCC itself. All ports are a cost to _all_ GCC developers. If a port is > not maintained it has to be removed. So, again my question is: What exactly is the with the powerpcspe target at the moment and why does upstream claim the port is broken when it apparently works for us in Debian? Am I missing something? I understand where you are coming from and I know that maintenance needs manpower. However, gcc isn't just any project, it's probably the core project besides the kernel. If you remove a target in gcc, you are killing that target for everyone and that is a problem for its users. And probably the biggest advantage of gcc over LLVM is the plethora of targets it supports. If you are going to ax most of it so that only the targets of commercial relevance would survive - i.e. x86, ARM, s390 and POWER8+ - you will be loosing one of the biggest selling points of gcc. >From gcc-bugs-return-602002-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 17:28:25 2018 Return-Path: <gcc-bugs-return-602002-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59386 invoked by alias); 18 Apr 2018 17:28:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59301 invoked by uid 48); 18 Apr 2018 17:28:21 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Wed, 18 Apr 2018 17:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-D7UfB4vdcI@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02126.txt.bz2 Content-length: 2042 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #33 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to John Paul Adrian Glaubitz from comment #32) > Andrew said he is still working on it. That is not the same as saying the > promise is not going to be kept. gcc isn't a trivial project after all and > that work can take some time. Yes, but the port split was done in May last year, and nothing substantial happened since then. Port maintainance is not about promises, but about doing the work. If he does the work soon, the port can be de-obsoleted in GCC9, otherwise it will be removed, which doesn't mean it can't be added at some point later. Of course, the later it will be done, the harder it will be. > > m68k needs some serious work, too, in the not far future (if the cc0 removal > > finally goes through -- that has been over ten years now). > > Yes, I am aware of that. But there are enough people interested in such work > so I think we will be able get around doing that at some point. Nobody did the work in the last 15+ years for m68k, it doesn't seem likely that all of sudden it will happen. There have been numerous posts about what to do to get rid of cc0, e.g. in 2005 and several other years. See https://gcc.gnu.org/backends.html for details, a healthy port doesn't have c (cc0), p (not using define_peephole2), has a (uses LRA). We can't maintain old reload, or cc0 support indefinitely. > > A port does not need maintenance only for that port, and its users, but also > > for GCC itself. All ports are a cost to _all_ GCC developers. If a port is > > not maintained it has to be removed. > > So, again my question is: What exactly is the with the powerpcspe target at > the moment and why does upstream claim the port is broken when it apparently > works for us in Debian? Am I missing something? Have you read all the threads mentioned in https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html and all the above comments? All the details are in there. >From gcc-bugs-return-602003-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 17:30:54 2018 Return-Path: <gcc-bugs-return-602003-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66517 invoked by alias); 18 Apr 2018 17:30:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66215 invoked by uid 48); 18 Apr 2018 17:30:48 -0000 From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Wed, 18 Apr 2018 17:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dclarke at blastwave 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: Message-ID: <bug-85440-4-C9kfSAvfGq@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02127.txt.bz2 Content-length: 295 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 --- Comment #6 from Dennis Clarke <dclarke at blastwave dot org> --- Following the instructions at https://gcc.gnu.org/wiki/GitMirror there is no branch anywhere that claims to be a version 8 type. Where is this ver 8 code hidden away ? >From gcc-bugs-return-602004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 17:37:56 2018 Return-Path: <gcc-bugs-return-602004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74117 invoked by alias); 18 Apr 2018 17:37:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74070 invoked by uid 48); 18 Apr 2018 17:37:51 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319 Date: Wed, 18 Apr 2018 17:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: bug_status Message-ID: <bug-85449-4-ln6OUobGGz@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85449-4@http.gcc.gnu.org/bugzilla/> References: <bug-85449-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02128.txt.bz2 Content-length: 994 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #3 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- simple test-case that fails (put it into src/ subfolder): $ cat main.c #include <jansson.h> #include <string.h> #include <stdlib.h> int main () { /* Encode an empty object/array, add an item, encode again */ json_t *json; const char str[] = "[\"A\", {\"B\": \"C\", \"e\": false}, 1, null, \"foo\"]"; char *dumped_to_string; json = json_loads(str, 0, NULL); if(!json) { __builtin_abort (); } dumped_to_string = json_dumps(json, 0); if (!dumped_to_string) { __builtin_abort (); } return 0; } $ gcc main.c -I. .libs/libjansson.a && ./a.out Aborted (core dumped) >From gcc-bugs-return-602005-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 17:49:00 2018 Return-Path: <gcc-bugs-return-602005-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101629 invoked by alias); 18 Apr 2018 17:48:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101559 invoked by uid 48); 18 Apr 2018 17:48:55 -0000 From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Wed, 18 Apr 2018 17:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-81084-4-o1sRlHIuY4@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02129.txt.bz2 Content-length: 689 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 Arseny Solokha <asolokha at gmx dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asolokha at gmx dot com --- Comment #34 from Arseny Solokha <asolokha at gmx dot com> --- In an unfortunate event of actually removing the port during the next stage 1, is it possible to keep related PRs open for another release cycle? This way Andrew working on bringing the port back would have an idea of what user-visible issues it had besides the needed cleanup and ordinary testsuite failures. >From gcc-bugs-return-602006-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 17:52:59 2018 Return-Path: <gcc-bugs-return-602006-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105674 invoked by alias); 18 Apr 2018 17:52:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105628 invoked by uid 48); 18 Apr 2018 17:52:55 -0000 From: "andi-gcc at firstfloor dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/50639] -flto=jobserver broken on large LTO build Date: Wed, 18 Apr 2018 17:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andi-gcc at firstfloor 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: <bug-50639-4-oEtBdE1YPi@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-50639-4@http.gcc.gnu.org/bugzilla/> References: <bug-50639-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02130.txt.bz2 Content-length: 331 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50639 --- Comment #2 from Andi Kleen <andi-gcc at firstfloor dot org> --- FWIW the problem disappeared for me at some point (could have been newer kernel or different make). I don't see it anymore. I think it was some problems with the pipes used by the job server losing a token >From gcc-bugs-return-602007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 17:56:59 2018 Return-Path: <gcc-bugs-return-602007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17428 invoked by alias); 18 Apr 2018 17:56:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17379 invoked by uid 48); 18 Apr 2018 17:56:54 -0000 From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319 Date: Wed, 18 Apr 2018 17:56: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: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: <bug-85447-4-xV7bAQSTWR@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85447-4@http.gcc.gnu.org/bugzilla/> References: <bug-85447-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02131.txt.bz2 Content-length: 613 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43979|0 |1 is obsolete| | --- Comment #6 from Martin Jambor <jamborm at gcc dot gnu.org> --- Created attachment 43981 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43981&action=edit Fix undergoing testing The previous patch was missing one hunk. This is what I am currently testing. >From gcc-bugs-return-602008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 17:59:56 2018 Return-Path: <gcc-bugs-return-602008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23171 invoked by alias); 18 Apr 2018 17:59:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23098 invoked by uid 48); 18 Apr 2018 17:59:51 -0000 From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319 Date: Wed, 18 Apr 2018 17:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm 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: <bug-85449-4-E9bM8reFDc@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85449-4@http.gcc.gnu.org/bugzilla/> References: <bug-85449-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02132.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 --- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> --- OK, I can see a failure with trunk but not with my fix for PR 85447. Looking into IPA-CP dumps of both, I guess that although the mechanism of this bug might be slightly different, the fix will be the same. I'll continue investigating what exactly happens... >From gcc-bugs-return-602009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 18:13:35 2018 Return-Path: <gcc-bugs-return-602009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64147 invoked by alias); 18 Apr 2018 18:13:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64066 invoked by uid 48); 18 Apr 2018 18:13:30 -0000 From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Wed, 18 Apr 2018 18:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dclarke at blastwave 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: Message-ID: <bug-85440-4-yiNpM7phFZ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02133.txt.bz2 Content-length: 209 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 --- Comment #7 from Dennis Clarke <dclarke at blastwave dot org> --- found this : https://gcc.gnu.org/pub/gcc/snapshots/LATEST-8/ I will give that a try. >From gcc-bugs-return-602010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 18:23:41 2018 Return-Path: <gcc-bugs-return-602010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100978 invoked by alias); 18 Apr 2018 18:23:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100927 invoked by uid 48); 18 Apr 2018 18:23:36 -0000 From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85455] New: [8 Regression] ICE in verify_loop_structure, at cfgloop.c:1708 (error: basic block 3 should be marked irreducible) Date: Wed, 18 Apr 2018 18:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85455-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02134.txt.bz2 Content-length: 1722 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85455 Bug ID: 85455 Summary: [8 Regression] ICE in verify_loop_structure, at cfgloop.c:1708 (error: basic block 3 should be marked irreducible) Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc-8.0.0-alpha20180415 snapshot (r259389) ICEs when compiling the following snippet w/ -O1 -fthread-jumps -fno-tree-dominator-opts -fno-tree-reassoc -fno-tree-sink -fno-tree-slsr: void ty (void); void um (void); void au (int qj) { if (qj < 1) { vq: ty (); } um (); goto vq; } % gcc-8.0.0-alpha20180415 -O1 -fthread-jumps -fno-tree-dominator-opts -fno-tree-reassoc -fno-tree-sink -fno-tree-slsr -c ad6zjqua.c ad6zjqua.c: In function 'au': ad6zjqua.c:19:1: error: basic block 3 should be marked irreducible } ^ ad6zjqua.c:19:1: error: basic block 4 should be marked irreducible during RTL pass: jump ad6zjqua.c:19:1: internal compiler error: in verify_loop_structure, at cfgloop.c:1708 0x88fd64 verify_loop_structure() /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/cfgloop.c:1708 0xbc7767 execute_function_todo /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/passes.c:2010 0xbc857e execute_todo /var/tmp/portage/sys-devel/gcc-8.0.0_alpha20180415/work/gcc-8-20180415/gcc/passes.c:2048 >From gcc-bugs-return-602011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 18:42:57 2018 Return-Path: <gcc-bugs-return-602011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37659 invoked by alias); 18 Apr 2018 18:42:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34514 invoked by uid 48); 18 Apr 2018 18:42:52 -0000 From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85448] the compiler selects the wrong subroutine because of bind(c,name=...) Date: Wed, 18 Apr 2018 18:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl 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 cc resolution Message-ID: <bug-85448-4-UCShJnL3kR@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85448-4@http.gcc.gnu.org/bugzilla/> References: <bug-85448-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02135.txt.bz2 Content-length: 1195 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85448 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |kargl at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from kargl at gcc dot gnu.org --- (In reply to francois.jacq from comment #0) > In the following example, the subroutine c_open of the module m2, which > should call the subroutine odopen of the module m1, calls itself instead... The behavior you see is correct. There is no 'c_odopen' in the m2.o file. You gave it the binding name 'odopen'. You have created a recursive call. $ gfcx -c m1.f90 $ nm m1.o 0000000000000000 T __m1_MOD_odopen U _gfortran_st_write U _gfortran_st_write_done U _gfortran_transfer_character_write $ gfcx -c m2.f90 $ nm m2.o U _gfortran_st_write U _gfortran_st_write_done U _gfortran_transfer_character_write 0000000000000000 T odopen >From gcc-bugs-return-602012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 18:54:21 2018 Return-Path: <gcc-bugs-return-602012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41777 invoked by alias); 18 Apr 2018 18:54:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41711 invoked by uid 48); 18 Apr 2018 18:54:17 -0000 From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Wed, 18 Apr 2018 18:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: 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: <bug-85440-4-HoEuXObX2p@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02136.txt.bz2 Content-length: 1006 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #8 from kargl at gcc dot gnu.org --- (In reply to Dennis Clarke from comment #6) > Following the instructions at https://gcc.gnu.org/wiki/GitMirror there is > no branch anywhere that claims to be a version 8 type. > > Where is this ver 8 code hidden away ? mkdir gcc; cd gcc git init # By default pulls all heads (trunk, release branches, git-only branches, a few other selected SVN branches) git remote add origin git://gcc.gnu.org/git/gcc.git # Also include all the other SVN branches (adds about 0.2GB) git config --add remote.origin.fetch 'refs/remotes/*:refs/remotes/svn/*' git fetch git checkout -b trunk svn/trunk <----- This is 8.0. When 8.1 is released, trunk will become 9.0. >From gcc-bugs-return-602013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 19:01:22 2018 Return-Path: <gcc-bugs-return-602013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49853 invoked by alias); 18 Apr 2018 19:01:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49543 invoked by uid 48); 18 Apr 2018 19:01:17 -0000 From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/31298] [F03] use mod, operator(+) => operator(.userOp.) not supported Date: Wed, 18 Apr 2018 19:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.3.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: minor X-Bugzilla-Who: janus 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: <bug-31298-4-WKjSmycPxX@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-31298-4@http.gcc.gnu.org/bugzilla/> References: <bug-31298-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02137.txt.bz2 Content-length: 1273 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31298 janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #19 from janus at gcc dot gnu.org --- (In reply to Jürgen Reuter from comment #18) > Contrary to what Tobias Burnus claimed, I think this case is indeed > forbidden. I agree with Jürgen's assessment in comment #18 that use-renaming of operators may not involve any intrinsic operators, which is also supported by ifort 18 and MR&C (as noted by Tobias in comment #13). Here is a simple test case that is accepted by ifort and gfortran as is (and rejected by both when uncommenting the commented line): module m interface operator(.myplus.) procedure add end interface contains integer function add(a, b) integer, intent(in) :: a,b add = abs(a) + abs(b) end function end module program p ! use m, only: operator(+) => operator(.myplus.) ! forbidden use m, only: operator(.otherplus.) => operator(.myplus.) print *, -1 .otherplus. -2 end So: Let's finally close this PR ... >From gcc-bugs-return-602014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 19:01:24 2018 Return-Path: <gcc-bugs-return-602014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50061 invoked by alias); 18 Apr 2018 19:01:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49781 invoked by uid 48); 18 Apr 2018 19:01:19 -0000 From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/20585] [meta-bug] Fortran 2003 support Date: Wed, 18 Apr 2018 19:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.1.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: enhancement X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-20585-4-G7zcHbEEh2@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-20585-4@http.gcc.gnu.org/bugzilla/> References: <bug-20585-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02138.txt.bz2 Content-length: 494 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20585 Bug 20585 depends on bug 31298, which changed state. Bug 31298 Summary: [F03] use mod, operator(+) => operator(.userOp.) not supported https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31298 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID >From gcc-bugs-return-602015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 19:01:49 2018 Return-Path: <gcc-bugs-return-602015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51633 invoked by alias); 18 Apr 2018 19:01:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51530 invoked by uid 48); 18 Apr 2018 19:01:44 -0000 From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Wed, 18 Apr 2018 19:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dclarke at blastwave 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: Message-ID: <bug-85440-4-YZoO3FHvaR@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02139.txt.bz2 Content-length: 376 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 --- Comment #9 from Dennis Clarke <dclarke at blastwave dot org> --- Thank you Sir. I think it best if I stay with the nightly/test tarball found at https://gcc.gnu.org/pub/gcc/snapshots/LATEST-8/ and then I won't have to fiddle with automake/reconf etc or be too concerned with configure.am and all that jazz. >From gcc-bugs-return-602016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 19:15:07 2018 Return-Path: <gcc-bugs-return-602016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91122 invoked by alias); 18 Apr 2018 19:15:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90601 invoked by uid 55); 18 Apr 2018 19:15:01 -0000 From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85388] Missing ENDBR after __morestack call Date: Wed, 18 Apr 2018 19:15: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.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85388-4-cJKrLwRL32@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85388-4@http.gcc.gnu.org/bugzilla/> References: <bug-85388-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02140.txt.bz2 Content-length: 1216 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85388 --- Comment #6 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Wed Apr 18 19:14:28 2018 New Revision: 259475 URL: https://gcc.gnu.org/viewcvs?rev=259475&root=gcc&view=rev Log: i386: Insert ENDBR after __morestack call Since __morestack will jump back to its callee via indirect call, we need to insert ENDBR after calling __morestack. gcc/ PR target/85388 * config/i386/i386.c (ix86_expand_split_stack_prologue): Insert ENDBR after calling __morestack. gcc/testsuite/ PR target/85388 * gcc.dg/pr85388-1.c: New test. * gcc.dg/pr85388-2.c: Likewise. * gcc.dg/pr85388-3.c: Likewise. * gcc.dg/pr85388-4.c: Likewise. * gcc.dg/pr85388-5.c: Likewise. * gcc.dg/pr85388-6.c: Likewise. Added: trunk/gcc/testsuite/gcc.dg/pr85388-1.c trunk/gcc/testsuite/gcc.dg/pr85388-2.c trunk/gcc/testsuite/gcc.dg/pr85388-3.c trunk/gcc/testsuite/gcc.dg/pr85388-4.c trunk/gcc/testsuite/gcc.dg/pr85388-5.c trunk/gcc/testsuite/gcc.dg/pr85388-6.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-602018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 19:25:24 2018 Return-Path: <gcc-bugs-return-602018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17085 invoked by alias); 18 Apr 2018 19:25:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14787 invoked by uid 48); 18 Apr 2018 19:25:20 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81652] [meta-bug] -fcf-protection=full -mcet bugs Date: Wed, 18 Apr 2018 19:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-81652-4-xCake1Wzal@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81652-4@http.gcc.gnu.org/bugzilla/> References: <bug-81652-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02142.txt.bz2 Content-length: 462 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 Bug 81652 depends on bug 85388, which changed state. Bug 85388 Summary: Missing ENDBR after __morestack call https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85388 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-602017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 19:25:23 2018 Return-Path: <gcc-bugs-return-602017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16927 invoked by alias); 18 Apr 2018 19:25:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14129 invoked by uid 48); 18 Apr 2018 19:25:18 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85388] Missing ENDBR after __morestack call Date: Wed, 18 Apr 2018 19: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.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: <bug-85388-4-ZX8rKUa0eX@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85388-4@http.gcc.gnu.org/bugzilla/> References: <bug-85388-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02141.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85388 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |8.0 --- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> --- Fixed for GCC 8. >From gcc-bugs-return-602019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 19:47:26 2018 Return-Path: <gcc-bugs-return-602019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126378 invoked by alias); 18 Apr 2018 19:47:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126330 invoked by uid 48); 18 Apr 2018 19:47:21 -0000 From: "meissner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85456] New: PowerPC: Using -mabi=ieeelongdouble calls wrong function for __builtin_powi. Date: Wed, 18 Apr 2018 19:47: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: meissner 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: <bug-85456-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02143.txt.bz2 Content-length: 676 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85456 Bug ID: 85456 Summary: PowerPC: Using -mabi=ieeelongdouble calls wrong function for __builtin_powi. Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: meissner at gcc dot gnu.org Target Milestone: --- When we switch the default long double type, we call the wrong function for __builtin_powil (i.e. we call __powitf2, when we should call __powikf2). We will also need a powikf function in libgcc. >From gcc-bugs-return-602020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 19:48:47 2018 Return-Path: <gcc-bugs-return-602020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 960 invoked by alias); 18 Apr 2018 19:48:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 855 invoked by uid 48); 18 Apr 2018 19:48:41 -0000 From: "meissner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85456] PowerPC: Using -mabi=ieeelongdouble calls wrong function for __builtin_powi. Date: Wed, 18 Apr 2018 19:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: meissner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: meissner at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to everconfirmed Message-ID: <bug-85456-4-T1jaT6Riih@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85456-4@http.gcc.gnu.org/bugzilla/> References: <bug-85456-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02144.txt.bz2 Content-length: 804 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85456 Michael Meissner <meissner at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-04-18 CC| |dje at gcc dot gnu.org, | |meissner at gcc dot gnu.org, | |segher at gcc dot gnu.org, | |wschmidt at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |meissner at gcc dot gnu.org Ever confirmed|0 |1 >From gcc-bugs-return-602021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 19:59:07 2018 Return-Path: <gcc-bugs-return-602021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12806 invoked by alias); 18 Apr 2018 19:59:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12676 invoked by uid 48); 18 Apr 2018 19:59:02 -0000 From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/78219] [F08] specifying the kind of a FORALL index in the header Date: Wed, 18 Apr 2018 19:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: janus 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: blocked Message-ID: <bug-78219-4-g5ifoF3aFZ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-78219-4@http.gcc.gnu.org/bugzilla/> References: <bug-78219-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02145.txt.bz2 Content-length: 516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78219 janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |44646 --- Comment #4 from janus at gcc dot gnu.org --- Note: These things (R752 and C735) also apply to DO CONCURRENT (PR 44646). Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44646 [Bug 44646] [F08] Implement DO CONCURRENT >From gcc-bugs-return-602022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 20:00:53 2018 Return-Path: <gcc-bugs-return-602022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15664 invoked by alias); 18 Apr 2018 20:00:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15400 invoked by uid 48); 18 Apr 2018 20:00:46 -0000 From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/44646] [F08] Implement DO CONCURRENT Date: Wed, 18 Apr 2018 20:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-44646-4-CZUo9vJ9g9@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-44646-4@http.gcc.gnu.org/bugzilla/> References: <bug-44646-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02146.txt.bz2 Content-length: 557 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44646 janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |janus at gcc dot gnu.org --- Comment #9 from janus at gcc dot gnu.org --- (In reply to Tobias Burnus from comment #6) > > TODO as follow up: > > * Implement type-spec support for "forall" and "do concurrent": > > "(integer(8) :: i = 1:5:2)" This TODO is still open (see PR 78219). >From gcc-bugs-return-602023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 20:04:46 2018 Return-Path: <gcc-bugs-return-602023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20375 invoked by alias); 18 Apr 2018 20:04:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20341 invoked by uid 48); 18 Apr 2018 20:04:42 -0000 From: "info at thinkmeta dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85457] New: enum and auto template parameter mixup Date: Wed, 18 Apr 2018 20:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: info at thinkmeta dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85457-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02147.txt.bz2 Content-length: 804 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85457 Bug ID: 85457 Summary: enum and auto template parameter mixup Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: info at thinkmeta dot de Target Milestone: --- enum class X { Y = 0 }; template <auto> struct D {}; template <class _T, class _D> struct Y; template <class _T, _T _Value> struct Y<_T, D<_Value>> {}; void test() { Y<X, D<X::Y>> y1; Y<int, D<0>> y2; // compile error Y<int, D<1>> y3; // works } For integer values 'auto' is deduced to 'X' if a member with the same value (here 'Y') was used in an instantiation of 'D'. >From gcc-bugs-return-602024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 20:05:47 2018 Return-Path: <gcc-bugs-return-602024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27274 invoked by alias); 18 Apr 2018 20:05:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27215 invoked by uid 55); 18 Apr 2018 20:05:42 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/84805] [8 Regression] ICE in get_odr_type, at ipa-devirt.c:2096 since r258133 Date: Wed, 18 Apr 2018 20:05: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.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84805-4-dUyCngsjoX@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84805-4@http.gcc.gnu.org/bugzilla/> References: <bug-84805-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02148.txt.bz2 Content-length: 591 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84805 --- Comment #11 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Author: marxin Date: Wed Apr 18 20:05:10 2018 New Revision: 259477 URL: https://gcc.gnu.org/viewcvs?rev=259477&root=gcc&view=rev Log: Revert r25841. 2018-04-18 Martin Liska <mliska@suse.cz> Revert 2018-03-13 Eric Botcazou <ebotcazou@adacore.com> PR lto/84805 * ipa-devirt.c (odr_subtypes_equivalent_p): Do not get the ODR type of incomplete types. Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-devirt.c >From gcc-bugs-return-602025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 20:06:46 2018 Return-Path: <gcc-bugs-return-602025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28792 invoked by alias); 18 Apr 2018 20:06:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28703 invoked by uid 55); 18 Apr 2018 20:06:42 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83983] FAIL: g++.dg/lto/pr83121 (test for LTO warnings, pr83121_0.C line 8) Date: Wed, 18 Apr 2018 20:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-83983-4-SDTm23oqNh@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83983-4@http.gcc.gnu.org/bugzilla/> References: <bug-83983-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02149.txt.bz2 Content-length: 604 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83983 --- Comment #12 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Author: marxin Date: Wed Apr 18 20:06:07 2018 New Revision: 259478 URL: https://gcc.gnu.org/viewcvs?rev=259478&root=gcc&view=rev Log: Revert r258133. 2018-04-18 Martin Liska <mliska@suse.cz> Revert 2018-03-02 Eric Botcazou <ebotcazou@adacore.com> PR ipa/83983 * ipa-devirt.c (odr_subtypes_equivalent_p): Get the ODR type of both arguments if they are comparable. Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-devirt.c >From gcc-bugs-return-602026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 20:07:43 2018 Return-Path: <gcc-bugs-return-602026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29870 invoked by alias); 18 Apr 2018 20:07:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29762 invoked by uid 48); 18 Apr 2018 20:07:39 -0000 From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85198] long long int vector mistaken as long int vector Date: Wed, 18 Apr 2018 20:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: <bug-85198-4-adziqI3vgQ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85198-4@http.gcc.gnu.org/bugzilla/> References: <bug-85198-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02150.txt.bz2 Content-length: 2544 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85198 Bill Schmidt <wschmidt at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-18 Ever confirmed|0 |1 --- Comment #3 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Seems like something else weird is going on. For experimenting, I changed rs6000_handle_altivec_attribute to create vector long long types only for these cases, and we still have a problem. During parsing, we have a VIEW_CONVERT_EXPR that reinterprets vulli as an array of long int, even though vulli has type __vector long long. #9 0x000000001052ba54 in check_function_arguments (loc=20555813, fndecl=0x3fffb5c17600, fntype=0x3fffb5dc3678, nargs=2, argarray=0x3fffb5dd1e58, arglocs=0x3fffffffdb30) at /home/wschmidt/gcc/gcc-mainline-test/gcc/c-family/c-common.c:5627 5627 check_function_format (TYPE_ATTRIBUTES (fntype), nargs, argarray, arglocs); (gdb) ptr argarray[1] <array_ref 0x3fffb5cd0968 type <integer_type 0x3fffb5b10888 long int public DI size <integer_cst 0x3fffb5ae1008 constant 64> unit-size <integer_cst 0x3fffb5ae1020 constant 8> align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x3fffb5b10888 precision:64 min <integer_cst 0x3fffb5ae1290 -9223372036854775808> max <integer_cst 0x3fffb5ae12a8 9223372036854775807> pointer_to_this <pointer_type 0x3fffb5b14b78>> arg:0 <view_convert_expr 0x3fffb5afd9c0 type <array_type 0x3fffb5dc1308 type <integer_type 0x3fffb5b10888 long int> TI size <integer_cst 0x3fffb5ae1050 constant 128> unit-size <integer_cst 0x3fffb5ae1068 constant 16> align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x3fffb5dc1308 domain <integer_type 0x3fffb5c998e8>> arg:0 <var_decl 0x3fffb7f71320 vulli type <vector_type 0x3fffb5bc5e80 __vector long long> addressable used public static common read V2DI defer-output pr85198-2.c:3:22 size <integer_cst 0x3fffb5ae1050 128> unit-size <integer_cst 0x3fffb5ae1068 16> align:128 warn_if_not_align:0>> arg:1 <integer_cst 0x3fffb5ae1398 type <integer_type 0x3fffb5b10738 int> constant 0> pr85198-2.c:7:44 start: pr85198-2.c:7:39 finish: pr85198-2.c:7:46> Confirmed, BTW. >From gcc-bugs-return-602028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 20:09:22 2018 Return-Path: <gcc-bugs-return-602028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69071 invoked by alias); 18 Apr 2018 20:09:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68687 invoked by uid 55); 18 Apr 2018 20:09:17 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83983] FAIL: g++.dg/lto/pr83121 (test for LTO warnings, pr83121_0.C line 8) Date: Wed, 18 Apr 2018 20:09: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: 8.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-83983-4-qg5xD38k2c@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83983-4@http.gcc.gnu.org/bugzilla/> References: <bug-83983-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02152.txt.bz2 Content-length: 888 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83983 --- Comment #13 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Author: marxin Date: Wed Apr 18 20:08:44 2018 New Revision: 259479 URL: https://gcc.gnu.org/viewcvs?rev=259479&root=gcc&view=rev Log: Make Wodr warnings stable. 2018-04-18 Martin Liska <mliska@suse.cz> PR ipa/83983 PR ipa/85391 * lto.c (cmp_type_location): New function. (lto_read_decls): First collect all types, then sort them according by location before register_odr_type is called. 2018-04-18 Martin Liska <mliska@suse.cz> PR ipa/83983 PR ipa/85391 * g++.dg/lto/pr83121_1.C (struct Environment): Adjust expected output. Modified: trunk/gcc/lto/ChangeLog trunk/gcc/lto/lto.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/lto/pr83121_1.C >From gcc-bugs-return-602027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 20:09:21 2018 Return-Path: <gcc-bugs-return-602027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68972 invoked by alias); 18 Apr 2018 20:09:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68119 invoked by uid 55); 18 Apr 2018 20:09:16 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887 Date: Wed, 18 Apr 2018 20:09: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.1 X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85391-4-8vXaAiN081@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85391-4@http.gcc.gnu.org/bugzilla/> References: <bug-85391-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02151.txt.bz2 Content-length: 888 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 --- Comment #18 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Author: marxin Date: Wed Apr 18 20:08:44 2018 New Revision: 259479 URL: https://gcc.gnu.org/viewcvs?rev=259479&root=gcc&view=rev Log: Make Wodr warnings stable. 2018-04-18 Martin Liska <mliska@suse.cz> PR ipa/83983 PR ipa/85391 * lto.c (cmp_type_location): New function. (lto_read_decls): First collect all types, then sort them according by location before register_odr_type is called. 2018-04-18 Martin Liska <mliska@suse.cz> PR ipa/83983 PR ipa/85391 * g++.dg/lto/pr83121_1.C (struct Environment): Adjust expected output. Modified: trunk/gcc/lto/ChangeLog trunk/gcc/lto/lto.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/lto/pr83121_1.C >From gcc-bugs-return-602030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 20:10:23 2018 Return-Path: <gcc-bugs-return-602030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72216 invoked by alias); 18 Apr 2018 20:10:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72110 invoked by uid 48); 18 Apr 2018 20:10:18 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/83983] FAIL: g++.dg/lto/pr83121 (test for LTO warnings, pr83121_0.C line 8) Date: Wed, 18 Apr 2018 20:10: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: 8.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 resolution Message-ID: <bug-83983-4-Pr41lu4t0c@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83983-4@http.gcc.gnu.org/bugzilla/> References: <bug-83983-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02154.txt.bz2 Content-length: 453 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83983 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #14 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Should be fixed on trunk. >From gcc-bugs-return-602029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 20:10:08 2018 Return-Path: <gcc-bugs-return-602029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71376 invoked by alias); 18 Apr 2018 20:10:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70848 invoked by uid 48); 18 Apr 2018 20:10:02 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887 Date: Wed, 18 Apr 2018 20:10: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.1 X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85391-4-uQc5XG3569@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85391-4@http.gcc.gnu.org/bugzilla/> References: <bug-85391-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02153.txt.bz2 Content-length: 434 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #19 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Fixed. >From gcc-bugs-return-602031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 20:45:54 2018 Return-Path: <gcc-bugs-return-602031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105653 invoked by alias); 18 Apr 2018 20:45:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105336 invoked by uid 48); 18 Apr 2018 20:45:41 -0000 From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319 Date: Wed, 18 Apr 2018 20:45: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: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85447-4-4uaCAXjHi0@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85447-4@http.gcc.gnu.org/bugzilla/> References: <bug-85447-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02155.txt.bz2 Content-length: 329 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 --- Comment #7 from Martin Jambor <jamborm at gcc dot gnu.org> --- Thinking about this a bit more, there can be cases where only a subset (potentially empty) of clones of self-recursive edges of the cloned edges are to be redirected... I will adjust the patch accordingly. >From gcc-bugs-return-602032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 21:29:07 2018 Return-Path: <gcc-bugs-return-602032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27212 invoked by alias); 18 Apr 2018 21:29:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27131 invoked by uid 48); 18 Apr 2018 21:29:02 -0000 From: "whh8b at virginia dot edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85444] asm specifier on typedef silently ignored Date: Wed, 18 Apr 2018 21:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: whh8b at virginia dot edu 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: <bug-85444-4-h9GKQaPTNP@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85444-4@http.gcc.gnu.org/bugzilla/> References: <bug-85444-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02156.txt.bz2 Content-length: 603 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85444 --- Comment #4 from Will Hawkins <whh8b at virginia dot edu> --- (In reply to Richard Biener from comment #3) > Btw, it could maybe used to adjust mangling... (in C++, that is). That is absolutely a possibility, if I only knew where to look :-) I found this documentation: https://gcc.gnu.org/onlinedocs/gcc/Asm-Labels.html#Asm-Labels but I see nothing in the documentation to indicate that it has any utility for a typedef. Thanks for engaging with me on this! I am going to attach the patch to an email to the dev list. Thanks again! >From gcc-bugs-return-602033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 21:54:07 2018 Return-Path: <gcc-bugs-return-602033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83882 invoked by alias); 18 Apr 2018 21:54:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83824 invoked by uid 48); 18 Apr 2018 21:54:03 -0000 From: "whh8b at virginia dot edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85444] asm specifier on typedef silently ignored Date: Wed, 18 Apr 2018 21:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: whh8b at virginia dot edu 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: <bug-85444-4-fUtUQTH9Sd@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85444-4@http.gcc.gnu.org/bugzilla/> References: <bug-85444-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02157.txt.bz2 Content-length: 513 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85444 --- Comment #5 from Will Hawkins <whh8b at virginia dot edu> --- (In reply to Jonathan Wakely from comment #2) > For a start, patches go to the mailing list, not in bugzilla :-) > > https://gcc.gnu.org/contribute.html Thank you, Jonathan! I was confused by this when I first read the contribution manual. I wrapped up a patch using the appropriate tools and sent it to the gcc-patches@ mailing list. At least I tried to the right thing! We'll see :-) >From gcc-bugs-return-602034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 22:10:27 2018 Return-Path: <gcc-bugs-return-602034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8920 invoked by alias); 18 Apr 2018 22:10:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8740 invoked by uid 48); 18 Apr 2018 22:10:22 -0000 From: "pthaugen at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84737] [8 Regression] 20% degradation in CPU2000 172.mgrid starting with r256888 Date: Wed, 18 Apr 2018 22:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pthaugen 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: <bug-84737-4-LBqJeqtzir@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84737-4@http.gcc.gnu.org/bugzilla/> References: <bug-84737-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02158.txt.bz2 Content-length: 490 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84737 Pat Haugen <pthaugen at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #15 from Pat Haugen <pthaugen at gcc dot gnu.org> --- Richard, concerning my prior comment, any thoughts if this is a similar issue to what you fixed in pr55334? >From gcc-bugs-return-602035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 22:34:18 2018 Return-Path: <gcc-bugs-return-602035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99338 invoked by alias); 18 Apr 2018 22:34:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99222 invoked by uid 48); 18 Apr 2018 22:34:14 -0000 From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319 Date: Wed, 18 Apr 2018 22:34: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: 8.0.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm 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: <bug-85449-4-Hr1tcA27ZL@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85449-4@http.gcc.gnu.org/bugzilla/> References: <bug-85449-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02159.txt.bz2 Content-length: 929 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 --- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> --- All right, this is a different bug, the description in the summary describes it fairly precisely. To the extent to which I am still awake, I believe the fix is the patch below. I will test it properly tomorrow. diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c index 4e0e20af409..4a3c9a84e73 100644 --- a/gcc/ipa-cp.c +++ b/gcc/ipa-cp.c @@ -3491,7 +3491,9 @@ cgraph_edge_brings_value_p (cgraph_edge *cs, ipcp_value_source<tree> *src, return false; /* At the moment we do not propagate over arithmetic jump functions in SCCs, so it is safe to detect self-feeding recursive calls in this way. */ - if (!src->val || src->val == dest_val) + if (!src->val || + (src->val == dest_val + && !caller_info->ipcp_orig_node)) return true; if (caller_info->ipcp_orig_node) >From gcc-bugs-return-602036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 22:38:50 2018 Return-Path: <gcc-bugs-return-602036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48597 invoked by alias); 18 Apr 2018 22:38:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48531 invoked by uid 48); 18 Apr 2018 22:38:44 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85444] asm specifier on typedef silently ignored Date: Wed, 18 Apr 2018 22:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: 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: <bug-85444-4-aV5tpnrtbi@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85444-4@http.gcc.gnu.org/bugzilla/> References: <bug-85444-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02160.txt.bz2 Content-length: 376 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85444 --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Richard Biener from comment #3) > Btw, it could maybe used to adjust mangling... (in C++, that is). I wish GCC supported doing that for classes (and typedefs that define a name for linkage purposes) but I'm pretty sure it doesn't at present. >From gcc-bugs-return-602037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 22:58:11 2018 Return-Path: <gcc-bugs-return-602037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99101 invoked by alias); 18 Apr 2018 22:58:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99038 invoked by uid 48); 18 Apr 2018 22:58:06 -0000 From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85458] New: FAIL: gcc.dg/pr83480.c (internal compiler error) Date: Wed, 18 Apr 2018 22:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget cf_gccbuild Message-ID: <bug-85458-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02161.txt.bz2 Content-length: 2291 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85458 Bug ID: 85458 Summary: FAIL: gcc.dg/pr83480.c (internal compiler error) Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa2.0w-hp-hpux11.11 Target: hppa2.0w-hp-hpux11.11 Build: hppa2.0w-hp-hpux11.11 spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /test/gnu/gcc/gc c/gcc/testsuite/gcc.dg/pr83480.c -fno-diagnostics-show-caret -fdiagnostics-color =never -O2 -g -fselective-scheduling2 -ftree-vectorize -freorder-blocks-algorith m=simple -fnon-call-exceptions -fno-guess-branch-probability -fno-peephole2 -fno -tree-sink -fno-tree-scev-cprop -S -o pr83480.s /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr83480.c: In function 'foo': /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr83480.c:29:6: warning: division by zero [-Wdiv-by-zero] during RTL pass: sched2 /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr83480.c:32:1: internal compiler error: in sel_target_adjust_priority, at sel-sched.c:3336 libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. compiler exited with status 1 output is: /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr83480.c: In function 'foo': /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr83480.c:29:6: warning: division by zero [-Wdiv-by-zero] during RTL pass: sched2 /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr83480.c:32:1: internal compiler error: in sel_target_adjust_priority, at sel-sched.c:3336 libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. FAIL: gcc.dg/pr83480.c (internal compiler error) PASS: gcc.dg/pr83480.c (test for warnings, line 29) FAIL: gcc.dg/pr83480.c (test for excess errors) Excess errors: during RTL pass: sched2 /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr83480.c:32:1: internal compiler error: in sel_target_adjust_priority, at sel-sched.c:3336 >From gcc-bugs-return-602038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 23:01:15 2018 Return-Path: <gcc-bugs-return-602038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105957 invoked by alias); 18 Apr 2018 23:01:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105868 invoked by uid 48); 18 Apr 2018 23:01:10 -0000 From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/84941] [6/7 Regression] internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1870 (reg_overlap_mentioned_p()/match_asm_constraints_1()) Date: Wed, 18 Apr 2018 23:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-84941-4-gWMPmVgMBa@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84941-4@http.gcc.gnu.org/bugzilla/> References: <bug-84941-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02162.txt.bz2 Content-length: 1053 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84941 John David Anglin <danglin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |danglin at gcc dot gnu.org --- Comment #6 from John David Anglin <danglin at gcc dot gnu.org> --- Fails on hppa2.0w-hp-hpux11.11: spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /test/gnu/gcc/gc c/gcc/testsuite/gcc.dg/pr84941.c -fno-diagnostics-show-caret -fdiagnostics-color =never -O2 -S -o pr84941.s /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr84941.c: In function 'foo': /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr84941.c:9:3: error: 'asm' operand has i mpossible constraints compiler exited with status 1 output is: /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr84941.c: In function 'foo': /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr84941.c:9:3: error: 'asm' operand has i mpossible constraints FAIL: gcc.dg/pr84941.c (test for excess errors) >From gcc-bugs-return-602039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 18 23:08:38 2018 Return-Path: <gcc-bugs-return-602039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112525 invoked by alias); 18 Apr 2018 23:08:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112493 invoked by uid 48); 18 Apr 2018 23:08:33 -0000 From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85459] New: [8 Regression] Larger code generated from GMP template meta-programming Date: Wed, 18 Apr 2018 23:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: <bug-85459-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02163.txt.bz2 Content-length: 1154 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85459 Bug ID: 85459 Summary: [8 Regression] Larger code generated from GMP template meta-programming Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: glisse at gcc dot gnu.org Target Milestone: --- Created attachment 43982 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43982&action=edit preprocessed testcase The attached testcase is a preprocessed version of https://gmplib.org/list-archives/gmp-bugs/2014-January/003331.html, which I was about to commit to GMP. Compiling for x86_64 with g++-7 -O3, I get a nice .s file of size 4174. With g++-8 -O3, I get a much larger size of 7077. Looking more closely at the difference, I see a ton of moves. Besides, g++-8 finds fewer __builtin_constant_p opportunities than g++-7 (__gmpq_mul instead of __gmpq_mul_2exp for instance). The dump I glanced at makes me suspect I?SRA, but I am likely completely off. >From gcc-bugs-return-602040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 00:04:28 2018 Return-Path: <gcc-bugs-return-602040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41716 invoked by alias); 19 Apr 2018 00:04:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41678 invoked by uid 48); 19 Apr 2018 00:04:23 -0000 From: "zhonghao at pku dot org.cn" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85460] New: g++ does not check incompatible type Date: Thu, 19 Apr 2018 00:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zhonghao at pku dot org.cn X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85460-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02164.txt.bz2 Content-length: 888 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85460 Bug ID: 85460 Summary: g++ does not check incompatible type Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: zhonghao at pku dot org.cn Target Milestone: --- This is my test case: enum _Ios_Iostate { }; template<typename> struct basic_istream { struct sentry { sentry(basic_istream& ) { _Ios_Iostate __err ; __err |=1; } }; }; g++ does not produce any errors, when 1 is assigned to __err. However, when clang compiles this code, it produces the following message: error: assigning to '_Ios_Iostate' from incompatible type 'int' __err |=1; ^ ~ 1 error generated. >From gcc-bugs-return-602041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 00:22:19 2018 Return-Path: <gcc-bugs-return-602041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82446 invoked by alias); 19 Apr 2018 00:22:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82395 invoked by uid 48); 19 Apr 2018 00:22:14 -0000 From: "andrew at aj dot id.au" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/80290] [6/7/8 Regression] g++ uses unreasonable amount of memory compiling nested string maps Date: Thu, 19 Apr 2018 00:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0.1 X-Bugzilla-Keywords: memory-hog, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: andrew at aj dot id.au 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: Message-ID: <bug-80290-4-H8NT92T08y@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-80290-4@http.gcc.gnu.org/bugzilla/> References: <bug-80290-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02165.txt.bz2 Content-length: 1705 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80290 --- Comment #25 from Andrew Jeffery <andrew at aj dot id.au> --- I built and ran gcc master over the project that was causing us pain, and it still does. Here's the output: $ /usr/bin/time make libapphandler_la-sensor-gen.lo CXX libapphandler_la-sensor-gen.lo TINST: ctor 2 dtor 2 max 1 end 0 long 2 LST: ctor 0 dtor 0 max 0 end 0 long 0 REFS: 1 reused: 1 TINST: ctor 178 dtor 178 max 1 end 0 long 176 LST: ctor 0 dtor 0 max 0 end 0 long 0 REFS: 1 reused: 2 TINST: ctor 589 dtor 589 max 12 end 0 long 411 LST: ctor 0 dtor 0 max 0 end 0 long 0 REFS: 2 reused: 14 TINST: ctor 876 dtor 844 max 33 end 32 long 411 LST: ctor 0 dtor 0 max 0 end 0 long 0 REFS: 2 reused: 47 TINST: ctor 1105 dtor 1055 max 52 end 50 long 411 LST: ctor 0 dtor 0 max 0 end 0 long 0 REFS: 2 reused: 67 TINST: ctor 5179 dtor 5057 max 124 end 122 long 4074 LST: ctor 0 dtor 0 max 0 end 0 long 0 REFS: 9 reused: 141 TINST: ctor 7298 dtor 7143 max 163 end 155 long 4074 LST: ctor 0 dtor 0 max 0 end 0 long 0 REFS: 9 reused: 182 TINST: ctor 10737 dtor 10391 max 347 end 346 long 4074 LST: ctor 0 dtor 0 max 0 end 0 long 0 REFS: 9 reused: 374 TINST: ctor 20890547 dtor 20889843 max 704 end 704 long 20879810 LST: ctor 0 dtor 0 max 0 end 0 long 0 REFS: 9 reused: 732 TINST: ctor 20912080 dtor 20911687 max 791 end 393 long 20879810 LST: ctor 0 dtor 0 max 0 end 0 long 0 REFS: 23 reused: 819 TINST: ctor 20917617 dtor 20917349 max 791 end 268 long 20879810 LST: ctor 0 dtor 0 max 0 end 0 long 0 REFS: 23 reused: 834 96.24user 2.97system 1:39.31elapsed 99%CPU (0avgtext+0avgdata 5058160maxresident)k 37592inputs+23512outputs (192major+1376999minor)pagefaults 0swaps >From gcc-bugs-return-602042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 00:37:55 2018 Return-Path: <gcc-bugs-return-602042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7565 invoked by alias); 19 Apr 2018 00:37:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7485 invoked by uid 48); 19 Apr 2018 00:37:50 -0000 From: "whh8b at virginia dot edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85444] asm specifier on typedef silently ignored Date: Thu, 19 Apr 2018 00:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: whh8b at virginia dot edu 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: <bug-85444-4-1BlSPXuzPF@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85444-4@http.gcc.gnu.org/bugzilla/> References: <bug-85444-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02166.txt.bz2 Content-length: 812 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85444 --- Comment #7 from Will Hawkins <whh8b at virginia dot edu> --- (In reply to Jonathan Wakely from comment #6) > (In reply to Richard Biener from comment #3) > > Btw, it could maybe used to adjust mangling... (in C++, that is). > > I wish GCC supported doing that for classes (and typedefs that define a name > for linkage purposes) but I'm pretty sure it doesn't at present. I'm interested in what that would even look like. Under what circumstances are typedefs used to define a name for linkage purposes? I understand a class since they declare/define a thing two which I can refer. I don't mean to sound dumb. You certainly don't need to explain it if you can point to something I can read. Thanks for helping me learn something new! >From gcc-bugs-return-602043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 02:12:49 2018 Return-Path: <gcc-bugs-return-602043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72603 invoked by alias); 19 Apr 2018 02:12:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68122 invoked by uid 48); 19 Apr 2018 02:12:45 -0000 From: "zhonghao at pku dot org.cn" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85461] New: A simple recursive TMP static const initializer defeats gcc Date: Thu, 19 Apr 2018 02:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zhonghao at pku dot org.cn X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85461-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02167.txt.bz2 Content-length: 1905 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85461 Bug ID: 85461 Summary: A simple recursive TMP static const initializer defeats gcc Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: zhonghao at pku dot org.cn Target Milestone: --- The test case is as follow: template<unsigned int v> class bitWidthHolding { public: /** width is the number of bits occupied by the template parameter v */ static const unsigned int width = (v == 0 ? 0 : bitWidthHolding<(v >> 1)>::width + 1); }; clang++ compiles the code, but gcc produces errors: ../1Testprogramtoillustratetheproblembuiltwithclang-ctestit.cpp: In instantiation of âconst unsigned int bitWidthHolding<0>::widthâ: ../1Testprogramtoillustratetheproblembuiltwithclang-ctestit.cpp:7:73: recursively required from âconst unsigned int bitWidthHolding<127>::widthâ ../1Testprogramtoillustratetheproblembuiltwithclang-ctestit.cpp:7:73: required from âconst unsigned int bitWidthHolding<255>::widthâ ../1Testprogramtoillustratetheproblembuiltwithclang-ctestit.cpp:10:46: required from here ../1Testprogramtoillustratetheproblembuiltwithclang-ctestit.cpp:7:73: fatal error: template instantiation depth exceeds maximum of 900 (use -ftemplate-depth= to increase the maximum) unsigned int width = (v == 0 ? 0 : bitWidthHolding<(v >> 1)>::width + 1); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ A bug report from clang (https://bugs.llvm.org/show_bug.cgi?id=9999) explains some details. >From gcc-bugs-return-602044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 03:09:16 2018 Return-Path: <gcc-bugs-return-602044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24184 invoked by alias); 19 Apr 2018 03:09:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24123 invoked by uid 48); 19 Apr 2018 03:09:12 -0000 From: "jameskuyper at verizon dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/14319] incorrect optimization of union of structs with common initial sequences Date: Thu, 19 Apr 2018 03:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: tree-ssa X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jameskuyper at verizon dot net X-Bugzilla-Status: SUSPENDED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-14319-4-BAhLuy507i@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-14319-4@http.gcc.gnu.org/bugzilla/> References: <bug-14319-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02168.txt.bz2 Content-length: 1156 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14319 James Kuyper Jr. <jameskuyper at verizon dot net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jameskuyper at verizon dot net --- Comment #11 from James Kuyper Jr. <jameskuyper at verizon dot net> --- (In reply to Tim Rentsch from comment #10) ... > Four: Despite the last observation, the "one special guarantee" clause > (and hence also DR 257) is clearly not germane to this problem. The > reason for this is that the "one special guarantee" clause is concerned > with read access ("inspect" is the word used in the Standard), but the > example code has no read accesses, only write accesses. That paragraph > of the Standard is not relevant here. The example code includes the statement return xp->x; Which does in fact inspect (read) the value currently stored in a variable that is part of the common initial sequence. The fact that if fails to read the value most recently written to that location is the defect that's being reported. >From gcc-bugs-return-602045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 03:36:07 2018 Return-Path: <gcc-bugs-return-602045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68591 invoked by alias); 19 Apr 2018 03:36:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65849 invoked by uid 48); 19 Apr 2018 03:36:03 -0000 From: "jameskuyper at verizon dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/14319] incorrect optimization of union of structs with common initial sequences Date: Thu, 19 Apr 2018 03:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: tree-ssa X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jameskuyper at verizon dot net X-Bugzilla-Status: SUSPENDED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-14319-4-cg9Lsp01ub@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-14319-4@http.gcc.gnu.org/bugzilla/> References: <bug-14319-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02169.txt.bz2 Content-length: 1789 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14319 --- Comment #12 from James Kuyper Jr. <jameskuyper at verizon dot net> --- (In reply to Wolfgang Bangerth from comment #2) > I can't believe the wording means what you imply. Assume that caller > and callee are in different translation units, then there is no > way for the compiler to see that the two arguments to the called function > may in fact be members of the same union. Complying with this requirement does not require positively determining whether they are members of the same union. It requires only that code be generated that would correctly handle the possibility that they are members of the same union. This basically means that anti-aliasing optimizations that would ordinarily be enabled by the fact that two struct types are different would have to be disabled anywhere within the scope of such a union declaration unless a) the implementation can be certain that they aren't different members of the same union object OR b) the implementation applies those optimizations only if the relevant pointers do not point at the same location. > So the only way to assume that they could alias each other is to > search the universe for a union type in which both of them are members. > That certainly can't be the intent of the standard or DR. It only makes > sense, if as RTH says the access is through such a union. Why would it be necessary to "search the universe"? The rule very explicitly only applies "anywhere that a declaration of the complete type of the union is visible." Whether such a declaration is currently visible is something the implementation must already keep track of, in order to determine whether the definition of an object of the union's type is permitted. >From gcc-bugs-return-602046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 03:54:38 2018 Return-Path: <gcc-bugs-return-602046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68513 invoked by alias); 19 Apr 2018 03:54:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65952 invoked by uid 48); 19 Apr 2018 03:54:34 -0000 From: "jameskuyper at verizon dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/65892] gcc fails to implement N685 aliasing of union members Date: Thu, 19 Apr 2018 03:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: alias X-Bugzilla-Severity: normal X-Bugzilla-Who: jameskuyper at verizon dot net X-Bugzilla-Status: SUSPENDED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-65892-4-7vrVqjnMzi@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-65892-4@http.gcc.gnu.org/bugzilla/> References: <bug-65892-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02170.txt.bz2 Content-length: 1585 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 James Kuyper Jr. <jameskuyper at verizon dot net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jameskuyper at verizon dot net --- Comment #28 from James Kuyper Jr. <jameskuyper at verizon dot net> --- (In reply to Martin Sebor from comment #17) > The C Union Visibility rule was intended to cover that case. The trouble is > that the rule tends to be interpreted differently by different people, users > and implementers alike: Is it the union object that must be visible at the > point of the access, or just the union type? The relevant wording is "anywhere that a declaration of the completed type of the union is visible.", so it's unambiguously the type, not the object, which must be visible. A declaration of the completed type can be visible without any objects of that type being visible, and that's sufficient for this rule to apply. > ... Must the access be performed > using the union object, or just the union type, or neither? It says only that "it is permitted to inspect the common initial part"; it imposes no restrictions on how the inspection may be performed. Clearly, inspection through an lvalue of the union's type must be permitted, but it is also permitted to use the more indirect methods which are the subject of this bug report, simply because the standard says nothing to restrict the permission it grants to the more direct cases. >From gcc-bugs-return-602047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 04:31:28 2018 Return-Path: <gcc-bugs-return-602047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107053 invoked by alias); 19 Apr 2018 04:31:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106998 invoked by uid 48); 19 Apr 2018 04:31:23 -0000 From: "aoliva at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/80290] [6/7/8 Regression] g++ uses unreasonable amount of memory compiling nested string maps Date: Thu, 19 Apr 2018 04: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: 7.0.1 X-Bugzilla-Keywords: deferred, memory-hog, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status Message-ID: <bug-80290-4-ckVrvuqNzJ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-80290-4@http.gcc.gnu.org/bugzilla/> References: <bug-80290-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02171.txt.bz2 Content-length: 797 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80290 Alexandre Oliva <aoliva at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |deferred Status|ASSIGNED |NEW --- Comment #26 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- I don't know that the so-called underlying problem is fixable. Several template constructors are now involved that weren't in earlier versions of the standard, and so we have to instantiate them. Even if we recover some of the temporary memory with the patch that went in, Jason's comment 15 still (and again) applies. Which means this should now be marked as deferred. >From gcc-bugs-return-602048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 05:22:21 2018 Return-Path: <gcc-bugs-return-602048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14308 invoked by alias); 19 Apr 2018 05:22:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14215 invoked by uid 48); 19 Apr 2018 05:22:15 -0000 From: "aoliva at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/58479] [6/7/8 Regression] slow var-tracking on x86_64-linux at -O1 (and above) with -g, but checking disabled Date: Thu, 19 Apr 2018 05:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-58479-4-kmGvb5mxkO@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-58479-4@http.gcc.gnu.org/bugzilla/> References: <bug-58479-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02172.txt.bz2 Content-length: 914 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58479 --- Comment #15 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- t and the lexical block enclosing it are regarded as unused by remove_unused_scope_block_p, so process_scope_var doesn't get a chance to output location information for t. It's there at all because of early debug info recording. remove_unused_locals has a comment just before the test for is_gimple_debug that suggests a good spot to keep the block alive, but it has a significant impact on compile memory use and debug info size, even though it's not clear that the unused variable would remain in the scope block decl list so as to get a loclist. I suppose it is not sensible to keep debug bind stmts for discarded variables past this point, but in several cases, including this, it's hard to figure out because the bind stmts refer to SRAed fragments of the actual variable. >From gcc-bugs-return-602049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 05:40:30 2018 Return-Path: <gcc-bugs-return-602049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96752 invoked by alias); 19 Apr 2018 05:40:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96658 invoked by uid 48); 19 Apr 2018 05:40:26 -0000 From: "txr at alumni dot caltech.edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/14319] incorrect optimization of union of structs with common initial sequences Date: Thu, 19 Apr 2018 05:40: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: tree-ssa X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: txr at alumni dot caltech.edu X-Bugzilla-Status: SUSPENDED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-14319-4-rIsJWywWD0@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-14319-4@http.gcc.gnu.org/bugzilla/> References: <bug-14319-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02173.txt.bz2 Content-length: 450 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14319 Tim Rentsch <txr at alumni dot caltech.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |txr at alumni dot caltech.edu --- Comment #13 from Tim Rentsch <txr at alumni dot caltech.edu> --- Right you are. I don't know how I could have missed that. >From gcc-bugs-return-602050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 05:45:55 2018 Return-Path: <gcc-bugs-return-602050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106256 invoked by alias); 19 Apr 2018 05:45:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106177 invoked by uid 48); 19 Apr 2018 05:45:49 -0000 From: "txr at alumni dot caltech.edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/14319] incorrect optimization of union of structs with common initial sequences Date: Thu, 19 Apr 2018 05:45: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: tree-ssa X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: txr at alumni dot caltech.edu X-Bugzilla-Status: SUSPENDED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-14319-4-xfvG3BMqg2@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-14319-4@http.gcc.gnu.org/bugzilla/> References: <bug-14319-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02174.txt.bz2 Content-length: 282 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14319 --- Comment #14 from Tim Rentsch <txr at alumni dot caltech.edu> --- (In reply to James Kuyper from comment #11) That last message was in reply to James Kuyper in #11. I was expecting a reference would be added automatically. >From gcc-bugs-return-602051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 06:13:43 2018 Return-Path: <gcc-bugs-return-602051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51972 invoked by alias); 19 Apr 2018 06:13:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51938 invoked by uid 48); 19 Apr 2018 06:13:38 -0000 From: "manuel.lauss at googlemail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85462] New: internal compiler error: in inc_refcount_use, at cp/pt.c:8955 Date: Thu, 19 Apr 2018 06:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manuel.lauss at googlemail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: <bug-85462-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02175.txt.bz2 Content-length: 1375 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85462 Bug ID: 85462 Summary: internal compiler error: in inc_refcount_use, at cp/pt.c:8955 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: manuel.lauss at googlemail dot com Target Milestone: --- Created attachment 43983 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43983&action=edit compressed unreduced testcase gcc-8 r259483: $ /usr/bin/x86_64-pc-linux-gnu-g++ -c fault.c fault.c: In instantiation of âbool clang::RecursiveASTVisitor<Derived>::TraverseAttr(clang::Attr*) [with Derived = {anonymous}::ParentMapASTVisitor]â: fault.c:201526:9: required from âbool clang::RecursiveASTVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = {anonymous}::ParentMapASTVisitor]â fault.c:217418:53: required from here fault.c:200751:70: internal compiler error: in inc_refcount_use, at cp/pt.c:8955 return getDerived().TraverseNoSanitizeAttr(cast<NoSanitizeAttr>(A)); ~~~~~~~~~~~~~~~~~~~~^~~ attached testcase is from current clang git head, unreduced. 7.3.1 is unaffected for instance. >From gcc-bugs-return-602052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 06:39:46 2018 Return-Path: <gcc-bugs-return-602052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49709 invoked by alias); 19 Apr 2018 06:39:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49642 invoked by uid 55); 19 Apr 2018 06:39:41 -0000 From: "aoliva at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/80290] [6/7/8 Regression] g++ uses unreasonable amount of memory compiling nested string maps Date: Thu, 19 Apr 2018 06: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: 7.0.1 X-Bugzilla-Keywords: deferred, memory-hog, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-80290-4-QacuVltfy8@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-80290-4@http.gcc.gnu.org/bugzilla/> References: <bug-80290-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02176.txt.bz2 Content-length: 391 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80290 --- Comment #27 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- Author: aoliva Date: Thu Apr 19 06:39:06 2018 New Revision: 259486 URL: https://gcc.gnu.org/viewcvs?rev=259486&root=gcc&view=rev Log: PR c++/80290 * cp-tree.h (tinst_level::free): Fix whitespace. Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h >From gcc-bugs-return-602053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 07:18:57 2018 Return-Path: <gcc-bugs-return-602053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77471 invoked by alias); 19 Apr 2018 07:18:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75229 invoked by uid 48); 19 Apr 2018 07:18:53 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84737] [8 Regression] 20% degradation in CPU2000 172.mgrid starting with r256888 Date: Thu, 19 Apr 2018 07:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84737-4-YmF9agUciS@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84737-4@http.gcc.gnu.org/bugzilla/> References: <bug-84737-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02177.txt.bz2 Content-length: 230 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84737 --- Comment #16 from Richard Biener <rguenth at gcc dot gnu.org> --- It's hard to tell - will try to look at more dumps produced by a cross which hopefully matches your setup. >From gcc-bugs-return-602054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 07:27:14 2018 Return-Path: <gcc-bugs-return-602054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23531 invoked by alias); 19 Apr 2018 07:27:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23450 invoked by uid 55); 19 Apr 2018 07:27:09 -0000 From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/65892] gcc fails to implement N685 aliasing of union members Date: Thu, 19 Apr 2018 07:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: alias X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: SUSPENDED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-65892-4-8Jda9KY59e@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-65892-4@http.gcc.gnu.org/bugzilla/> References: <bug-65892-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02178.txt.bz2 Content-length: 2259 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 --- Comment #29 from rguenther at suse dot de <rguenther at suse dot de> --- On Thu, 19 Apr 2018, jameskuyper at verizon dot net wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 > > James Kuyper Jr. <jameskuyper at verizon dot net> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |jameskuyper at verizon dot net > > --- Comment #28 from James Kuyper Jr. <jameskuyper at verizon dot net> --- > (In reply to Martin Sebor from comment #17) > > The C Union Visibility rule was intended to cover that case. The trouble is > > that the rule tends to be interpreted differently by different people, users > > and implementers alike: Is it the union object that must be visible at the > > point of the access, or just the union type? > > The relevant wording is "anywhere that a declaration of the completed type of > the union is visible.", so it's unambiguously the type, not the object, which > must be visible. A declaration of the completed type can be visible without any > objects of that type being visible, and that's sufficient for this rule to > apply. > > > ... Must the access be performed > > using the union object, or just the union type, or neither? > > It says only that "it is permitted to inspect the common initial part"; it > imposes no restrictions on how the inspection may be performed. Clearly, > inspection through an lvalue of the union's type must be permitted, but it is > also permitted to use the more indirect methods which are the subject of this > bug report, simply because the standard says nothing to restrict the permission > it grants to the more direct cases. Note I repeatedly said this part of the standard is just stupid. It makes most if not all type-based alias analysis useless. Which means I'll refuse any patches implementing it in a way that affects default behavior. A clean patch (I really can't think of any clean approach besides forcing -fno-strict-aliasing!) with some extra flag (well, just use -fno-strict-aliasing ...) would be fine with me. >From gcc-bugs-return-602055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 07:29:27 2018 Return-Path: <gcc-bugs-return-602055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42904 invoked by alias); 19 Apr 2018 07:29:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42845 invoked by uid 48); 19 Apr 2018 07:29:22 -0000 From: "foddex at foddex dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85439] mt19937_64 producing unexpected result only in certain configuration Date: Thu, 19 Apr 2018 07:29: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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: foddex at foddex dot net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85439-4-DrgLw0tcsf@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85439-4@http.gcc.gnu.org/bugzilla/> References: <bug-85439-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02179.txt.bz2 Content-length: 730 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85439 --- Comment #4 from Marc "Foddex" Oude Kotte <foddex at foddex dot net> --- The reason I was expecting the same result everywhere is because of this statement on cppreference.com: "Notes The 10000th consecutive invocation of a default-contructed std::mt19937 is required to produce the value 4123659995. The 10000th consecutive invocation of a default-contructed std::mt19937_64 is required to produce the value 9981545732273789042" Source: http://en.cppreference.com/w/cpp/numeric/random/mersenne_twister_engine Obviously I'm not testing the 10000th consecutive invocation but the 1st, but I still expected things to be similar (and they are, in 7/8 test cases). >From gcc-bugs-return-602056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 07:33:49 2018 Return-Path: <gcc-bugs-return-602056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47286 invoked by alias); 19 Apr 2018 07:33:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47201 invoked by uid 48); 19 Apr 2018 07:33:44 -0000 From: "francois.jacq at irsn dot fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85448] the compiler selects the wrong subroutine because of bind(c,name=...) Date: Thu, 19 Apr 2018 07:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: francois.jacq at irsn dot fr 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: <bug-85448-4-xcEJRFL7iG@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85448-4@http.gcc.gnu.org/bugzilla/> References: <bug-85448-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02180.txt.bz2 Content-length: 1133 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85448 --- Comment #2 from francois.jacq at irsn dot fr --- (In reply to kargl from comment #1) > (In reply to francois.jacq from comment #0) > > In the following example, the subroutine c_open of the module m2, which > > should call the subroutine odopen of the module m1, calls itself instead... > > The behavior you see is correct. There is no 'c_odopen' > in the m2.o file. You gave it the binding name 'odopen'. > You have created a recursive call. No the behavior is not correct : at least, the compiler should issue an error message precising that there is a name conflict because odopen is also accessible via the instruction use. Another variant which clearly shows that the compiler behavior is wrong : module m2 use iso_c_binding use m1, only : odopen_m1 => odopen implicit none contains subroutine c_odopen(unit) bind(c,name="odopen") integer(c_int),intent(out) :: unit write(*,*) 'c_odopen' call odopen_m1(unit) end subroutine end module With this variant, I get again the same behavior : c_odopen is called recursively >From gcc-bugs-return-602057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 07:47:38 2018 Return-Path: <gcc-bugs-return-602057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7484 invoked by alias); 19 Apr 2018 07:47:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7396 invoked by uid 55); 19 Apr 2018 07:47:27 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85446] [7/8 Regression] wrong-code on riscv64 Date: Thu, 19 Apr 2018 07:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85446-4-6VRpo0ZeiO@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85446-4@http.gcc.gnu.org/bugzilla/> References: <bug-85446-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02181.txt.bz2 Content-length: 500 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85446 --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Apr 19 07:46:54 2018 New Revision: 259488 URL: https://gcc.gnu.org/viewcvs?rev=259488&root=gcc&view=rev Log: PR tree-optimization/85446 * match.pd ((intptr_t) x eq/ne CST to x eq/ne (typeof x) cst): Require the integral and pointer types to have the same precision. Modified: trunk/gcc/ChangeLog trunk/gcc/match.pd >From gcc-bugs-return-602058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 07:56:51 2018 Return-Path: <gcc-bugs-return-602058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40697 invoked by alias); 19 Apr 2018 07:56:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40622 invoked by uid 48); 19 Apr 2018 07:56:47 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85446] [7 Regression] wrong-code on riscv64 Date: Thu, 19 Apr 2018 07:56: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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: <bug-85446-4-iYcHAfNuIh@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85446-4@http.gcc.gnu.org/bugzilla/> References: <bug-85446-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02182.txt.bz2 Content-length: 465 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85446 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[7/8 Regression] wrong-code |[7 Regression] wrong-code |on riscv64 |on riscv64 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Fixed on the trunk so far. >From gcc-bugs-return-602059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 08:11:15 2018 Return-Path: <gcc-bugs-return-602059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16518 invoked by alias); 19 Apr 2018 08:11:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16403 invoked by uid 48); 19 Apr 2018 08:11:10 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84737] [8 Regression] 20% degradation in CPU2000 172.mgrid starting with r256888 Date: Thu, 19 Apr 2018 08:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created Message-ID: <bug-84737-4-auwnHb31MY@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84737-4@http.gcc.gnu.org/bugzilla/> References: <bug-84737-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02183.txt.bz2 Content-length: 704 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84737 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #17 from Richard Biener <rguenth at gcc dot gnu.org> --- Created attachment 43984 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43984&action=edit patch I am testing It is a similar issue, if not the same. With the attached I see the pcom performed - can you throw it on some ppc testing please? >From gcc-bugs-return-602060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 08:22:10 2018 Return-Path: <gcc-bugs-return-602060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15167 invoked by alias); 19 Apr 2018 08:22:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15079 invoked by uid 48); 19 Apr 2018 08:22:06 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319 Date: Thu, 19 Apr 2018 08:22: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: 8.0.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: <bug-85449-4-TISRQ5tzzX@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85449-4@http.gcc.gnu.org/bugzilla/> References: <bug-85449-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02184.txt.bz2 Content-length: 385 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 --- Comment #6 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- So it's very hard to isolate a simple test-case without not doing an UBSAN. Thus easiest way to reproduce that is: $ cd src $ gcc *.c -I. -O3 && ./a.out Fatal error: glibc detected an invalid stdio handle Aborted (core dumped) with the main.c file I sent. >From gcc-bugs-return-602061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 08:31:13 2018 Return-Path: <gcc-bugs-return-602061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56474 invoked by alias); 19 Apr 2018 08:31:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 56338 invoked by uid 48); 19 Apr 2018 08:31:07 -0000 From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/85463] New: [nvptx] "exit" in offloaded region doesn't terminate process Date: Thu, 19 Apr 2018 08:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: openacc, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: 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 cf_gcctarget Message-ID: <bug-85463-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02185.txt.bz2 Content-length: 2083 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85463 Bug ID: 85463 Summary: [nvptx] "exit" in offloaded region doesn't terminate process Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: openacc, openmp Severity: normal Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: tschwinge at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- Target: nvptx Consider: #include <stdlib.h> int main(int argc, char *argv[]) { #pragma acc parallel { if (argc != 1) exit(35); } return 0; } No matter the argc value, this program always terminates normally (exit code zero). Is the right solution to have GOACC_parallel etc. detect that exit etc. have been called inside offloaded regions, and then have them terminate the process in the appropriate way? Can we make use of PTX trap in some way for that, to avoid adding overhead of retval checking for (the majority of) kernel launches that terminate normally? That is, when C exit is called, set some retval (like currently only done in stand-alone nvptx target testing), and then call PTX trap instead of PTX exit, which will then cause cuStreamSynchronize will indicate launch error, then we can check the retval and do the appropritate thing? Or, similarly, a scheme where the low-overhead PTX exit is only ever used for normal (exit code zero) C exit(0), and everything else uses the PTX trap variant? This relates to PR85166 "[nvptx, libgfortran] Libgomp fortran tests using stop in offloaded fns fail to compile", where (still now) a Fortran STOP usage will not actually terminate the process with the appropriate error code. (The "abort" testcases in the libgomp testsuite might appear to do the right thing nevertheless; see the (unresolved) discussion in <http://mid.mail-archive.com/87inlx3o1a.fsf@hertz.schwinge.homeip.net>.) >From gcc-bugs-return-602062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 08:33:33 2018 Return-Path: <gcc-bugs-return-602062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59153 invoked by alias); 19 Apr 2018 08:33:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59075 invoked by uid 48); 19 Apr 2018 08:33:29 -0000 From: "janniksilvanus at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85464] New: Wignored-qualifiers is emitted by cc1plus without diagnostics when triggered by a cast operator. Date: Thu, 19 Apr 2018 08:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: janniksilvanus at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85464-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02186.txt.bz2 Content-length: 1661 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85464 Bug ID: 85464 Summary: Wignored-qualifiers is emitted by cc1plus without diagnostics when triggered by a cast operator. Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: janniksilvanus at gmail dot com Target Milestone: --- Consider the following example: struct Test { operator int const() const; }; When compiling using g++ -Wextra -c cast.C I get cc1plus: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] Note that the warning is emitted by cc1plus instead of g++, and does not contain any further info about e.g. the line that triggers this warning. Output of g++ -v: Target: x86_64-redhat-linux Configured with: ./../gcc-7.3.0/configure --prefix=/lfs/vlsi/tools/gcc/7.3.0 --disable-multilib --enable-languages=c,c++,lto --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-gnu-unique-object --with-default-libstdcxx-abi=gcc4-compatible --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --build=x86_64-redhat-linux --with-advance-toolchain=/opt/rh/devtoolset-7/root/ Thread model: posix gcc version 7.3.0 (GCC) The same problem seems to be present with version 7.1.0, but not with 6.1.0 (although gcc-6.1.0 places the marker on the wrong const, i.e. the last const of the line, which seems to have been reported and fixed via bug 69733). >From gcc-bugs-return-602063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 08:33:55 2018 Return-Path: <gcc-bugs-return-602063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59995 invoked by alias); 19 Apr 2018 08:33:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59955 invoked by uid 48); 19 Apr 2018 08:33:50 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85461] A simple recursive TMP static const initializer defeats gcc Date: Thu, 19 Apr 2018 08:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-85461-4-VU1npWZjhE@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85461-4@http.gcc.gnu.org/bugzilla/> References: <bug-85461-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02187.txt.bz2 Content-length: 685 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85461 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The testcase is incomplete, something like: int a = bitWidthHolding<255>::width; is missing, otherwise it doesn't fail. The reason for giving up is that it tries to instantiate bitWidthHolding<0> many times, doesn't seem to be a regression, all gcc versions that have -std=c++0x support fail similarly. >From gcc-bugs-return-602064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 08:47:14 2018 Return-Path: <gcc-bugs-return-602064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60416 invoked by alias); 19 Apr 2018 08:47:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60354 invoked by uid 48); 19 Apr 2018 08:47:09 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85462] [8 Regression] internal compiler error: in inc_refcount_use, at cp/pt.c:8955 Date: Thu, 19 Apr 2018 08: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: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: 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 bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed Message-ID: <bug-85462-4-jy4NAOHoov@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85462-4@http.gcc.gnu.org/bugzilla/> References: <bug-85462-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02188.txt.bz2 Content-length: 1043 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85462 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-19 CC| |aoliva at gcc dot gnu.org, | |jakub at gcc dot gnu.org Target Milestone|--- |8.0 Summary|internal compiler error: in |[8 Regression] internal |inc_refcount_use, at |compiler error: in |cp/pt.c:8955 |inc_refcount_use, at | |cp/pt.c:8955 Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Reducing and bisecting now. I suspect r259457. >From gcc-bugs-return-602065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 08:52:05 2018 Return-Path: <gcc-bugs-return-602065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109521 invoked by alias); 19 Apr 2018 08:52:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105201 invoked by uid 48); 19 Apr 2018 08:51:58 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85461] A simple recursive TMP static const initializer defeats gcc Date: Thu, 19 Apr 2018 08:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on everconfirmed Message-ID: <bug-85461-4-QLfDwrjQMN@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85461-4@http.gcc.gnu.org/bugzilla/> References: <bug-85461-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02189.txt.bz2 Content-length: 583 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85461 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-19 Ever confirmed|0 |1 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- I think https://wg21.link/cwg712 makes this valid. >From gcc-bugs-return-602066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 08:54:16 2018 Return-Path: <gcc-bugs-return-602066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130455 invoked by alias); 19 Apr 2018 08:54:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130335 invoked by uid 55); 19 Apr 2018 08:54:11 -0000 From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/85166] [nvptx, libgfortran] Libgomp fortran tests using stop in offloaded fns fail to compile Date: Thu, 19 Apr 2018 08:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: link-failure, openacc, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85166-4-QVkqkQx6vu@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85166-4@http.gcc.gnu.org/bugzilla/> References: <bug-85166-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02190.txt.bz2 Content-length: 1790 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85166 --- Comment #7 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- Author: tschwinge Date: Thu Apr 19 08:53:38 2018 New Revision: 259491 URL: https://gcc.gnu.org/viewcvs?rev=259491&root=gcc&view=rev Log: PR85463 '[nvptx] "exit" in offloaded region doesn't terminate process' libgomp/ PR libfortran/85166 * testsuite/libgomp.oacc-fortran/abort-1.f90: Switch back to "call abort". * testsuite/libgomp.oacc-fortran/abort-2.f90: Likewise. libgfortran/ PR libfortran/85166 PR libgomp/85463 * runtime/minimal.c (stop_numeric): Reimplement. (stop_string, error_stop_string, error_stop_numeric): New functions. libgomp/ PR libgomp/85463 * testsuite/libgomp.oacc-fortran/error_stop-1.f: New file. * testsuite/libgomp.oacc-fortran/error_stop-2.f: Likewise. * testsuite/libgomp.oacc-fortran/error_stop-3.f: Likewise. * testsuite/libgomp.oacc-fortran/stop-1.f: Likewise. * testsuite/libgomp.oacc-fortran/stop-2.f: Likewise. * testsuite/libgomp.oacc-fortran/stop-3.f: Likewise. Added: trunk/libgomp/testsuite/libgomp.oacc-fortran/error_stop-1.f trunk/libgomp/testsuite/libgomp.oacc-fortran/error_stop-2.f trunk/libgomp/testsuite/libgomp.oacc-fortran/error_stop-3.f trunk/libgomp/testsuite/libgomp.oacc-fortran/stop-1.f trunk/libgomp/testsuite/libgomp.oacc-fortran/stop-2.f trunk/libgomp/testsuite/libgomp.oacc-fortran/stop-3.f Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/runtime/minimal.c trunk/libgomp/ChangeLog trunk/libgomp/testsuite/libgomp.oacc-fortran/abort-1.f90 trunk/libgomp/testsuite/libgomp.oacc-fortran/abort-2.f90 >From gcc-bugs-return-602067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 08:54:16 2018 Return-Path: <gcc-bugs-return-602067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130522 invoked by alias); 19 Apr 2018 08:54:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130346 invoked by uid 55); 19 Apr 2018 08:54:12 -0000 From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/85463] [nvptx] "exit" in offloaded region doesn't terminate process Date: Thu, 19 Apr 2018 08:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: openacc, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85463-4-9cTsC7PKhD@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85463-4@http.gcc.gnu.org/bugzilla/> References: <bug-85463-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02191.txt.bz2 Content-length: 1790 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85463 --- Comment #1 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- Author: tschwinge Date: Thu Apr 19 08:53:38 2018 New Revision: 259491 URL: https://gcc.gnu.org/viewcvs?rev=259491&root=gcc&view=rev Log: PR85463 '[nvptx] "exit" in offloaded region doesn't terminate process' libgomp/ PR libfortran/85166 * testsuite/libgomp.oacc-fortran/abort-1.f90: Switch back to "call abort". * testsuite/libgomp.oacc-fortran/abort-2.f90: Likewise. libgfortran/ PR libfortran/85166 PR libgomp/85463 * runtime/minimal.c (stop_numeric): Reimplement. (stop_string, error_stop_string, error_stop_numeric): New functions. libgomp/ PR libgomp/85463 * testsuite/libgomp.oacc-fortran/error_stop-1.f: New file. * testsuite/libgomp.oacc-fortran/error_stop-2.f: Likewise. * testsuite/libgomp.oacc-fortran/error_stop-3.f: Likewise. * testsuite/libgomp.oacc-fortran/stop-1.f: Likewise. * testsuite/libgomp.oacc-fortran/stop-2.f: Likewise. * testsuite/libgomp.oacc-fortran/stop-3.f: Likewise. Added: trunk/libgomp/testsuite/libgomp.oacc-fortran/error_stop-1.f trunk/libgomp/testsuite/libgomp.oacc-fortran/error_stop-2.f trunk/libgomp/testsuite/libgomp.oacc-fortran/error_stop-3.f trunk/libgomp/testsuite/libgomp.oacc-fortran/stop-1.f trunk/libgomp/testsuite/libgomp.oacc-fortran/stop-2.f trunk/libgomp/testsuite/libgomp.oacc-fortran/stop-3.f Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/runtime/minimal.c trunk/libgomp/ChangeLog trunk/libgomp/testsuite/libgomp.oacc-fortran/abort-1.f90 trunk/libgomp/testsuite/libgomp.oacc-fortran/abort-2.f90 >From gcc-bugs-return-602068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 08:56:48 2018 Return-Path: <gcc-bugs-return-602068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4207 invoked by alias); 19 Apr 2018 08:56:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4163 invoked by uid 48); 19 Apr 2018 08:56:44 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85460] g++ does not check incompatible type Date: Thu, 19 Apr 2018 08:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed bug_severity Message-ID: <bug-85460-4-EgPtortR51@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85460-4@http.gcc.gnu.org/bugzilla/> References: <bug-85460-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02192.txt.bz2 Content-length: 739 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85460 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-19 Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- The standard doesn't require a diagnostic here, because you haven't instantiated the template. Confirming as an enhancement, because rejecting the code before instantiation is permitted, just not required. >From gcc-bugs-return-602069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 09:01:46 2018 Return-Path: <gcc-bugs-return-602069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80188 invoked by alias); 19 Apr 2018 09:01:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 80120 invoked by uid 48); 19 Apr 2018 09:01:41 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/50639] -flto=jobserver broken on large LTO build Date: Thu, 19 Apr 2018 09:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 4.7.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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-50639-4-qMoyVZY1AN@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-50639-4@http.gcc.gnu.org/bugzilla/> References: <bug-50639-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02193.txt.bz2 Content-length: 432 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50639 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- So fixed. >From gcc-bugs-return-602070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 09:01:47 2018 Return-Path: <gcc-bugs-return-602070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80346 invoked by alias); 19 Apr 2018 09:01:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 80142 invoked by uid 48); 19 Apr 2018 09:01:41 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/50679] [meta-bug] Linux kernel LTO tracking bug Date: Thu, 19 Apr 2018 09:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-50679-4-FJXoCyHGzN@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-50679-4@http.gcc.gnu.org/bugzilla/> References: <bug-50679-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02194.txt.bz2 Content-length: 469 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50679 Bug 50679 depends on bug 50639, which changed state. Bug 50639 Summary: -flto=jobserver broken on large LTO build https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50639 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-602071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 09:07:31 2018 Return-Path: <gcc-bugs-return-602071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93342 invoked by alias); 19 Apr 2018 09:07:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93146 invoked by uid 48); 19 Apr 2018 09:07:15 -0000 From: "francois.jacq at irsn dot fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85448] the compiler selects the wrong subroutine because of bind(c,name=...) Date: Thu, 19 Apr 2018 09:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: francois.jacq at irsn dot fr 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: <bug-85448-4-H2ostZ6uUU@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85448-4@http.gcc.gnu.org/bugzilla/> References: <bug-85448-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02195.txt.bz2 Content-length: 193 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85448 --- Comment #3 from francois.jacq at irsn dot fr --- Notice that this is a regression : The version 4.8.5 returns the result I expected... >From gcc-bugs-return-602072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 09:18:13 2018 Return-Path: <gcc-bugs-return-602072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125788 invoked by alias); 19 Apr 2018 09:18:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124336 invoked by uid 48); 19 Apr 2018 09:17:59 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85455] [8 Regression] ICE in verify_loop_structure, at cfgloop.c:1708 (error: basic block 3 should be marked irreducible) Date: Thu, 19 Apr 2018 09:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: 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 assigned_to target_milestone everconfirmed Message-ID: <bug-85455-4-S0cfKBKdxD@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85455-4@http.gcc.gnu.org/bugzilla/> References: <bug-85455-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02196.txt.bz2 Content-length: 2631 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85455 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-04-19 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 <rguenth at gcc dot gnu.org> --- So we end up in bool cleanup_cfg (int mode) { ... with mode == 41 and /* ??? We probably do this way too often. */ if (current_loops && (changed || (mode & CLEANUP_CFG_CHANGED))) { timevar_push (TV_REPAIR_LOOPS); /* The above doesn't preserve dominance info if available. */ gcc_assert (!dom_info_available_p (CDI_DOMINATORS)); calculate_dominance_info (CDI_DOMINATORS); fix_loop_structure (NULL); free_dominance_info (CDI_DOMINATORS); timevar_pop (TV_REPAIR_LOOPS); } here changed is false and mode doesn't include CLEANUP_CFG_CHANGED. while (try_optimize_cfg (mode)) { returns false here so changed isn't set but the call wrecks loop info. That is because of if (mode & (CLEANUP_CROSSJUMP | CLEANUP_THREADING)) clear_bb_flags (); and /* Bit mask for all basic block flags that must be preserved. These are the bit masks that are *not* cleared by clear_bb_flags. */ #define BB_FLAGS_TO_PRESERVE \ (BB_DISABLE_SCHEDULE | BB_RTL | BB_NON_LOCAL_GOTO_TARGET \ | BB_HOT_PARTITION | BB_COLD_PARTITION) which doesn't include loop related flags. This is a latent issue, certainly not a regression in general(?), a fix could be Index: gcc/cfg.c =================================================================== --- gcc/cfg.c (revision 259486) +++ gcc/cfg.c (working copy) @@ -386,9 +386,13 @@ void clear_bb_flags (void) { basic_block bb; + int flags_to_preserve = BB_FLAGS_TO_PRESERVE; + if (current_loops + && loops_state_satisfies_p (cfun, LOOPS_HAVE_MARKED_IRREDUCIBLE_REGIONS)) + flags_to_preserve |= BB_IRREDUCIBLE_LOOP; FOR_ALL_BB_FN (bb, cfun) - bb->flags &= BB_FLAGS_TO_PRESERVE; + bb->flags &= flags_to_preserve; } /* Check the consistency of profile information. We can't do that >From gcc-bugs-return-602073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 09:22:30 2018 Return-Path: <gcc-bugs-return-602073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4375 invoked by alias); 19 Apr 2018 09:22:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3735 invoked by uid 48); 19 Apr 2018 09:22:24 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85459] [8 Regression] Larger code generated from GMP template meta-programming Date: Thu, 19 Apr 2018 09:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-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: <bug-85459-4-cdTnLWTOeu@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85459-4@http.gcc.gnu.org/bugzilla/> References: <bug-85459-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02197.txt.bz2 Content-length: 633 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85459 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I think this is a result of many changes. E.g. r249885 bumps .s size from 3709 to 4599 bytes, r254724 from 4599 to 5768, r255510 from 5772 to 7713. You are compiling with -O3, not -Os, so the size is not what counts though, but the code speed, right? >From gcc-bugs-return-602074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 09:23:57 2018 Return-Path: <gcc-bugs-return-602074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10245 invoked by alias); 19 Apr 2018 09:23:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10130 invoked by uid 48); 19 Apr 2018 09:23:52 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85459] [8 Regression] Larger code generated from GMP template meta-programming Date: Thu, 19 Apr 2018 09:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords target_milestone Message-ID: <bug-85459-4-fjI8zYvlpQ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85459-4@http.gcc.gnu.org/bugzilla/> References: <bug-85459-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02198.txt.bz2 Content-length: 362 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85459 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Target Milestone|--- |8.0 >From gcc-bugs-return-602075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 09:27:17 2018 Return-Path: <gcc-bugs-return-602075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15711 invoked by alias); 19 Apr 2018 09:27:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15500 invoked by uid 48); 19 Apr 2018 09:26:51 -0000 From: "juergen.reuter at desy dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/61606] About GCC install, testing step (mostly check...) Date: Thu, 19 Apr 2018 09:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: juergen.reuter at desy dot de X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-61606-4-SavlIwMtL8@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-61606-4@http.gcc.gnu.org/bugzilla/> References: <bug-61606-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02199.txt.bz2 Content-length: 606 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61606 Jürgen Reuter <juergen.reuter at desy dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |juergen.reuter at desy dot de --- Comment #3 from Jürgen Reuter <juergen.reuter at desy dot de> --- Is it really necessary to keep this one here open? Just stumbled on this via the discussion on c.l.f. This was with 4.9 which is no longer supported. Probably on an OS that is no longer used by the OP. >From gcc-bugs-return-602076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 09:36:58 2018 Return-Path: <gcc-bugs-return-602076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53176 invoked by alias); 19 Apr 2018 09:36:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52711 invoked by uid 48); 19 Apr 2018 09:36:52 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85464] [7 Regression] Wignored-qualifiers is emitted by cc1plus without diagnostics when triggered by a cast operator. Date: Thu, 19 Apr 2018 09:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_known_to_work keywords cf_reconfirmed_on everconfirmed short_desc target_milestone cf_known_to_fail Message-ID: <bug-85464-4-m3k5c6P1Dh@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85464-4@http.gcc.gnu.org/bugzilla/> References: <bug-85464-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02200.txt.bz2 Content-length: 1146 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85464 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Status|UNCONFIRMED |NEW Known to work| |6.4.0, 8.0.1 Keywords| |diagnostic Last reconfirmed| |2018-04-19 Ever confirmed|0 |1 Summary|Wignored-qualifiers is |[7 Regression] |emitted by cc1plus without |Wignored-qualifiers is |diagnostics when triggered |emitted by cc1plus without |by a cast operator. |diagnostics when triggered | |by a cast operator. Target Milestone|--- |7.4 Known to fail| |7.3.1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. Works again on trunk. >From gcc-bugs-return-602077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 09:46:59 2018 Return-Path: <gcc-bugs-return-602077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49196 invoked by alias); 19 Apr 2018 09:46:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72150 invoked by uid 48); 19 Apr 2018 09:45:35 -0000 From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319 Date: Thu, 19 Apr 2018 09:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm 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: <bug-85449-4-rKUaZs36Ph@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85449-4@http.gcc.gnu.org/bugzilla/> References: <bug-85449-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02201.txt.bz2 Content-length: 289 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 --- Comment #7 from Martin Jambor <jamborm at gcc dot gnu.org> --- I believe I understand the issue and will prepare a testcase from scratch. Possibly after I test/submit the patch if it takes too long. Thanks for your effort! >From gcc-bugs-return-602078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 09:46:59 2018 Return-Path: <gcc-bugs-return-602078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49480 invoked by alias); 19 Apr 2018 09:46:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42939 invoked by uid 48); 19 Apr 2018 09:46:52 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85464] [7 Regression] Wignored-qualifiers is emitted by cc1plus without diagnostics when triggered by a cast operator. Date: Thu, 19 Apr 2018 09:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85464-4-4vijbYT3RF@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85464-4@http.gcc.gnu.org/bugzilla/> References: <bug-85464-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02202.txt.bz2 Content-length: 205 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85464 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Started with r240863 (the fix for PR 69733) and was fixed by r249935 (for PR 65775). >From gcc-bugs-return-602079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 09:51:46 2018 Return-Path: <gcc-bugs-return-602079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15783 invoked by alias); 19 Apr 2018 09:51:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15733 invoked by uid 48); 19 Apr 2018 09:51:41 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85464] [7 Regression] Wignored-qualifiers is emitted by cc1plus without diagnostics when triggered by a cast operator. Date: Thu, 19 Apr 2018 09:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: <bug-85464-4-eKf7Xp45vt@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85464-4@http.gcc.gnu.org/bugzilla/> References: <bug-85464-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02203.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85464 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- Looks easy to fix, I'll take it. >From gcc-bugs-return-602080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 09:53:25 2018 Return-Path: <gcc-bugs-return-602080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14130 invoked by alias); 19 Apr 2018 09:53:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3880 invoked by uid 48); 19 Apr 2018 09:53:19 -0000 From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319 Date: Thu, 19 Apr 2018 09:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm 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: <bug-85449-4-bWetqAlMN8@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85449-4@http.gcc.gnu.org/bugzilla/> References: <bug-85449-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02204.txt.bz2 Content-length: 289 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 --- Comment #8 from Martin Jambor <jamborm at gcc dot gnu.org> --- I believe I understand the issue and will prepare a testcase from scratch. Possibly after I test/submit the patch if it takes too long. Thanks for your effort! >From gcc-bugs-return-602082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 10:01:59 2018 Return-Path: <gcc-bugs-return-602082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86986 invoked by alias); 19 Apr 2018 10:01:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86480 invoked by uid 48); 19 Apr 2018 10:01:51 -0000 From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85459] [8 Regression] Larger code generated from GMP template meta-programming Date: Thu, 19 Apr 2018 10:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85459-4-SQrW9ACej4@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85459-4@http.gcc.gnu.org/bugzilla/> References: <bug-85459-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02206.txt.bz2 Content-length: 1031 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85459 --- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #1) > I think this is a result of many changes. > E.g. r249885 bumps .s size from 3709 to 4599 bytes, r254724 from 4599 to > 5768, r255510 from 5772 to 7713. You are compiling with -O3, not -Os, so > the size is not what counts though, but the code speed, right? -Os gives something much larger (16633). I agree 100% that what matters at -O3 is code speed, not size, and I am only using the size as a crude indicator before looking into the code more closely. And what I saw were many extra moves and some missed __builtin_constant_p opportunities, both of which obviously have a negative impact on performance. If the only size increase came from outlining the exception code, that would be fine. But compiling with -fno-exceptions (after removing enough exception-related unnecessary stuff from the file so it compiles) still shows an increase from 2639 to 4268. >From gcc-bugs-return-602081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 10:01:56 2018 Return-Path: <gcc-bugs-return-602081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86563 invoked by alias); 19 Apr 2018 10:01:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86494 invoked by uid 48); 19 Apr 2018 10:01:52 -0000 From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319 Date: Thu, 19 Apr 2018 10:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris 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: <bug-85449-4-Y5582FWHmM@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85449-4@http.gcc.gnu.org/bugzilla/> References: <bug-85449-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02205.txt.bz2 Content-length: 328 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 --- Comment #9 from Tamar Christina <tnfchris at gcc dot gnu.org> --- Thanks Martin & Martin! The patch seems to work for me as well. I did try to minimize it before but it seems the smallest change changes the conditions for the cloning and it doesn't trigger it anymore. >From gcc-bugs-return-602083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 10:06:05 2018 Return-Path: <gcc-bugs-return-602083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22082 invoked by alias); 19 Apr 2018 10:06:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19992 invoked by uid 48); 19 Apr 2018 10:05:59 -0000 From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85459] [8 Regression] Larger code generated from GMP template meta-programming Date: Thu, 19 Apr 2018 10: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: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: <bug-85459-4-FBg9LAzLvv@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85459-4@http.gcc.gnu.org/bugzilla/> References: <bug-85459-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02207.txt.bz2 Content-length: 574 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85459 Marc Glisse <glisse at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43982|0 |1 is obsolete| | --- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> --- Created attachment 43985 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43985&action=edit preprocessed testcase (slightly reduced, compiles with -fno-exceptions) >From gcc-bugs-return-602084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 10:19:19 2018 Return-Path: <gcc-bugs-return-602084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36948 invoked by alias); 19 Apr 2018 10:19:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36909 invoked by uid 48); 19 Apr 2018 10:19:13 -0000 From: "webrown.cpp at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85439] mt19937_64 producing unexpected result only in certain configuration Date: Thu, 19 Apr 2018 10:19: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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: webrown.cpp at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85439-4-BLOKmFalfL@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85439-4@http.gcc.gnu.org/bugzilla/> References: <bug-85439-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02208.txt.bz2 Content-length: 1617 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85439 --- Comment #5 from W E Brown <webrown.cpp at gmail dot com> --- (In reply to Marc "Foddex" Oude Kotte from comment #4) > The reason I was expecting the same result everywhere is because of this > statement on cppreference.com: > > > "Notes > The 10000th consecutive invocation of a default-contructed std::mt19937 is > required to produce the value 4123659995. > > The 10000th consecutive invocation of a default-contructed std::mt19937_64 > is required to produce the value 9981545732273789042" > > > Source: > http://en.cppreference.com/w/cpp/numeric/random/mersenne_twister_engine > > Obviously I'm not testing the 10000th consecutive invocation but the 1st, > but I still expected things to be similar (and they are, in 7/8 test cases). The cited text is correct, but the attached program doesn't test it. In particular, the attached program tests nothing about calling any Mersenne twister object; rather, it looks at the results of calling uniform_int_distribution objects. As specified in C++, distribution objects are not required to produce identical results across platforms, even if given identical inputs. Any expectation to the contrary is not supported by the C++ standard. ISTM that testing the behavior of std::mt19937 and std::mt19937_64 -- or of any engine, for that matter -- ought not involve any distribution object at all. Instead, such a test program should IMO be looking at the result(s) of directly invoking the engine. Comment #2 was exactly right. I recommend this report be closed as invalid. >From gcc-bugs-return-602085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 10:33:40 2018 Return-Path: <gcc-bugs-return-602085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84202 invoked by alias); 19 Apr 2018 10:33:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82722 invoked by uid 48); 19 Apr 2018 10:33:35 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/69733] -Wignored-qualifiers points to wrong const Date: Thu, 19 Apr 2018 10:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: diagnostic 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: bernds at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-69733-4-dYMe17d2yR@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-69733-4@http.gcc.gnu.org/bugzilla/> References: <bug-69733-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02209.txt.bz2 Content-length: 190 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69733 --- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- N.B. this caused a regression for conversion operators, see PR 85464. >From gcc-bugs-return-602086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 10:33:49 2018 Return-Path: <gcc-bugs-return-602086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85014 invoked by alias); 19 Apr 2018 10:33:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84939 invoked by uid 48); 19 Apr 2018 10:33:45 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85464] [7 Regression] Wignored-qualifiers is emitted by cc1plus without diagnostics when triggered by a cast operator. Date: Thu, 19 Apr 2018 10:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85464-4-vdM4S1lPJM@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85464-4@http.gcc.gnu.org/bugzilla/> References: <bug-85464-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02210.txt.bz2 Content-length: 440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85464 --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- Trunk prints a location, but it's the wrong one again: ign.cc:3:25: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] operator int const() const; // { dg-error "type qualifiers ignored" } ^~~~~ So this is a regression for gcc-7 and an ordinary bug for gcc-8. >From gcc-bugs-return-602088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 10:42:19 2018 Return-Path: <gcc-bugs-return-602088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101249 invoked by alias); 19 Apr 2018 10:42:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101154 invoked by uid 48); 19 Apr 2018 10:42:14 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/61606] About GCC install, testing step (mostly check...) Date: Thu, 19 Apr 2018 10:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-61606-4-WWkbXePbnO@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-61606-4@http.gcc.gnu.org/bugzilla/> References: <bug-61606-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02212.txt.bz2 Content-length: 441 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61606 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |WORKSFORME --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Works for us. >From gcc-bugs-return-602087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 10:42:10 2018 Return-Path: <gcc-bugs-return-602087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100537 invoked by alias); 19 Apr 2018 10:42:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100486 invoked by uid 48); 19 Apr 2018 10:42:05 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85462] [8 Regression] internal compiler error: in inc_refcount_use, at cp/pt.c:8955 Date: Thu, 19 Apr 2018 10:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created Message-ID: <bug-85462-4-B5Q9lXEWI1@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85462-4@http.gcc.gnu.org/bugzilla/> References: <bug-85462-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02211.txt.bz2 Content-length: 709 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85462 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 43986 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43986&action=edit gcc8-pr85462.patch Untested fix, still waiting if reduction comes up with some reasonably sized testcase. Confirmed r259457 as commit introducing this regression. >From gcc-bugs-return-602089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 10:44:59 2018 Return-Path: <gcc-bugs-return-602089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110556 invoked by alias); 19 Apr 2018 10:44:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110408 invoked by uid 48); 19 Apr 2018 10:44:54 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85439] mt19937_64 producing unexpected result only in certain configuration Date: Thu, 19 Apr 2018 10:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.3.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: <bug-85439-4-uSIMcrouWM@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85439-4@http.gcc.gnu.org/bugzilla/> References: <bug-85439-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02213.txt.bz2 Content-length: 1366 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85439 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Marc "Foddex" Oude Kotte from comment #4) > Obviously I'm not testing the 10000th consecutive invocation but the 1st, No, as Walter explained, you're not even doing that. If you want to inspect the 1st output of the MT engines, or the 10000th, then do that: template<typename Generator, template<typename> class, typename Type> Type generateRandom() { return Generator()(); } If you do this you'll see that every implementation produces the same results from the mersenne-twisters engines. Your program inspects the output of std::uniform_input_distribution instead. The standard says nothing about the exact values it produces, only the distribution of values given a range of inputs. So as Walter suggested, I'm closing this as INVALID, as there's no bug here. (Also, stop using names like _Generator, _Dist and _Type, those are reserved names, see http://en.cppreference.com/w/cpp/language/identifiers for details). >From gcc-bugs-return-602090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 10:55:18 2018 Return-Path: <gcc-bugs-return-602090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 428 invoked by alias); 19 Apr 2018 10:55:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130117 invoked by uid 48); 19 Apr 2018 10:55:13 -0000 From: "fernando at info dot unlp.edu.ar" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/61606] About GCC install, testing step (mostly check...) Date: Thu, 19 Apr 2018 10:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: fernando at info dot unlp.edu.ar X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-61606-4-tfRNCBNmk7@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-61606-4@http.gcc.gnu.org/bugzilla/> References: <bug-61606-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02214.txt.bz2 Content-length: 728 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61606 --- Comment #5 from Fernando G. Tinetti <fernando at info dot unlp.edu.ar> --- (In reply to Jürgen Reuter from comment #3) > Is it really necessary to keep this one here open? Just stumbled on this via > the discussion on c.l.f. This was with 4.9 which is no longer supported. > Probably on an OS that is no longer used by the OP. I understand. (the current link for the contents I was referring to is http://fernando.bl.ee/GCC-gfortran-install.html) Maybe I was the only one with that problem, for which the original questions possibly remain. I did not try with the new versions. Thanks anyway, maybe the wrong issues are fixed as time goes by, Fernando. >From gcc-bugs-return-602091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 10:59:52 2018 Return-Path: <gcc-bugs-return-602091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8891 invoked by alias); 19 Apr 2018 10:59:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8794 invoked by uid 48); 19 Apr 2018 10:59:43 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85465] New: [og7, openacc] ICE in mark_vars_oacc_gangprivate, at c/c-parser.c:14213 Date: Thu, 19 Apr 2018 10:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85465-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02215.txt.bz2 Content-length: 2363 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85465 Bug ID: 85465 Summary: [og7, openacc] ICE in mark_vars_oacc_gangprivate, at c/c-parser.c:14213 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- $ cat bug.c int main (void) { #pragma acc parallel foo (); return 0; } $ ./install/bin/gcc bug.c -fopenacc bug.c: In function âmainâ: bug.c:6:3: warning: implicit declaration of function âfooâ [-Wimplicit-function-declaration] foo (); ^~~ bug.c:6:3: internal compiler error: in mark_vars_oacc_gangprivate, at c/c-parser.c:14213 0x7ecba5 mark_vars_oacc_gangprivate gcc/c/c-parser.c:14213 0x110d5b8 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, default_hash_traits<tree_node*> >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, default_hash_traits<tree_node*> >*)) gcc/tree.c:11832 0x110e32f walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, default_hash_traits<tree_node*> >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, default_hash_traits<tree_node*> >*)) gcc/tree.c:12158 0x7edea2 c_parser_oacc_kernels_parallel gcc/c/c-parser.c:14269 0x7fb762 c_parser_omp_construct gcc/c/c-parser.c:17580 0x7e2de7 c_parser_pragma gcc/c/c-parser.c:10372 0x7d5544 c_parser_compound_statement_nostart gcc/c/c-parser.c:4890 0x7d5015 c_parser_compound_statement gcc/c/c-parser.c:4755 0x7cfb0a c_parser_declaration_or_fndef gcc/c/c-parser.c:2128 0x7ce202 c_parser_external_declaration gcc/c/c-parser.c:1472 0x7cdd98 c_parser_translation_unit gcc/c/c-parser.c:1352 0x7fd41e c_parse_file() gcc/c/c-parser.c:18349 0x85aaab c_common_parse_file() gcc/c-family/c-opts.c:1107 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. >From gcc-bugs-return-602092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 11:03:43 2018 Return-Path: <gcc-bugs-return-602092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16401 invoked by alias); 19 Apr 2018 11:03:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14593 invoked by uid 48); 19 Apr 2018 11:03:39 -0000 From: "cpphackster at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85466] New: Performance is slow when doing 'branchless' conditional style math operations Date: Thu, 19 Apr 2018 11:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cpphackster at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85466-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02216.txt.bz2 Content-length: 2480 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 Bug ID: 85466 Summary: Performance is slow when doing 'branchless' conditional style math operations Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: cpphackster at gmail dot com Target Milestone: --- I have been investigating turning if statements into math operations inspired by a blog article... http://theorangeduck.com/page/avoiding-shader-conditionals ...and other resources listed here... https://gist.github.com/unitycoder/4d988bb21b3ce820eaa23028ed6d04bd There are also many 'branchless' type things on stack overflow (like the signmum function needed for the branchless operations) https://stackoverflow.com/questions/1903954/is-there-a-standard-sign-function-signum-sgn-in-c-c I set up a quickbench benchmark to test if this branchless code is faster on CPU as well. http://quick-bench.com/o5lYur5c9rVuOyAn6-fzDf6xTuk It seems that for a case such as... if (myVector[n] > 0.5){ result[n] = 0.8f; } else { result[n] = 0.1f; } ...which gets turned into the branchless.... result[n] = lerp(0.1f, 0.8f, when_gt(myVec[n], 0.5f)); ...clang runs ~2x faster than the standard if statement (it seems to turn it into a lot of vectorized code which seems to be many movups) gcc is very slow compared to even the standard base case. one suspect part is ~68% of time being spend in one part of the code. 3.00% mulss 0x8(%rsp),%xmm0 67.88% addss %xmm3,%xmm0 4.60% movss %xmm0,(%rbx,%rdx,1) 2.14% add $0x4,%rdx cmp $0x61a80,%rdx je 4053a0 <ifNoConditional(benchmark::State&)+0x1d0> movss 0x0(%rbp,%rdx,1),%xmm0 0.68% xor %eax,%eax 0.45% subss %xmm2,%xmm0 1.89% ucomiss %xmm1,%xmm0 1.47% seta %al 1.85% xor %ecx,%ecx ucomiss %xmm0,%xmm1 pxor %xmm0,%xmm0 seta %cl 1.17% sub %ecx,%eax 0.90% cvtsi2ss %eax,%xmm0 4.29% ucomiss %xmm0,%xmm1 2.89% movaps %xmm4,%xmm0 jbe 405350 <ifNoConditional(benchmark::State&)+0x180> 3.02% mulss 0xc(%rsp),%xmm0 3.72% jmp 405356 <ifNoConditional(benchmark::State&)+0x186> I'm happy to help out with testing any build or fixes for this. My assembly knowledge is limited but willing to help out where possible/run benchmarks etc. Cheers Dan >From gcc-bugs-return-602093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 11:09:31 2018 Return-Path: <gcc-bugs-return-602093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28781 invoked by alias); 19 Apr 2018 11:09:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28733 invoked by uid 48); 19 Apr 2018 11:09:26 -0000 From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85467] New: [8 Regression] ICE: verify_gimple failed: non-trivial conversion at assignment with -O2 -fno-tree-ccp --param=sccvn-max-scc-size\x10 Date: Thu, 19 Apr 2018 11:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget attachments.created Message-ID: <bug-85467-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02217.txt.bz2 Content-length: 2754 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85467 Bug ID: 85467 Summary: [8 Regression] ICE: verify_gimple failed: non-trivial conversion at assignment with -O2 -fno-tree-ccp --param=sccvn-max-scc-size=10 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 43987 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43987&action=edit reduced testcase This looks very similar to PR85195 The ICE can be reproduced with any of the typedefs: typedef char T; typedef short T; typedef int T; typedef long T; typedef long long T; typedef __int128 T; as long as the vector has just 1 member. Compiler output: $ x86_64-pc-linux-gnu-gcc -O2 -fno-tree-ccp --param=sccvn-max-scc-size=10 testcase.c testcase.c: In function 'foo': testcase.c:24:1: error: non-trivial conversion at assignment } ^ vector(1) char char _5 = 0; testcase.c:24:1: error: non-trivial conversion at assignment V char _8 = 0; during GIMPLE pass: forwprop testcase.c:24:1: internal compiler error: verify_gimple failed 0xdbaca9 verify_gimple_in_cfg(function*, bool) /repo/gcc-trunk/gcc/tree-cfg.c:5585 0xc37613 execute_function_todo /repo/gcc-trunk/gcc/passes.c:1994 0xc37f59 execute_todo /repo/gcc-trunk/gcc/passes.c:2048 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-259457-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.0.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra --disable-bootstrap --with-cloog --with-ppl --with-isl --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-259457-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix gcc version 8.0.1 20180418 (experimental) (GCC) $ >From gcc-bugs-return-602094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 11:10:34 2018 Return-Path: <gcc-bugs-return-602094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30112 invoked by alias); 19 Apr 2018 11:10:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29964 invoked by uid 48); 19 Apr 2018 11:10:29 -0000 From: "foddex at foddex dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85439] mt19937_64 producing unexpected result only in certain configuration Date: Thu, 19 Apr 2018 11:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: foddex at foddex dot net 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: <bug-85439-4-YZ3XfkxiHW@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85439-4@http.gcc.gnu.org/bugzilla/> References: <bug-85439-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02218.txt.bz2 Content-length: 200 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85439 --- Comment #7 from Marc "Foddex" Oude Kotte <foddex at foddex dot net> --- OK. My apologies for the confusion, and thanks for the clarification! >From gcc-bugs-return-602095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 11:12:47 2018 Return-Path: <gcc-bugs-return-602095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48699 invoked by alias); 19 Apr 2018 11:12:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48631 invoked by uid 48); 19 Apr 2018 11:12:43 -0000 From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85466] Performance is slow when doing 'branchless' conditional style math operations Date: Thu, 19 Apr 2018 11: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85466-4-IfWcvIBO8P@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85466-4@http.gcc.gnu.org/bugzilla/> References: <bug-85466-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02219.txt.bz2 Content-length: 248 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 --- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> --- Please always include your code in the bug report (this external website doesn't even seem to have a "download the code" option). >From gcc-bugs-return-602096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 11:25:10 2018 Return-Path: <gcc-bugs-return-602096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63579 invoked by alias); 19 Apr 2018 11:25:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59606 invoked by uid 48); 19 Apr 2018 11:24:59 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85467] [8 Regression] ICE: verify_gimple failed: non-trivial conversion at assignment with -O2 -fno-tree-ccp --param=sccvn-max-scc-size\x10 Date: Thu, 19 Apr 2018 11:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0.1 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: 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 bug_status cf_reconfirmed_on cc target_milestone everconfirmed Message-ID: <bug-85467-4-f7fYypuOrC@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85467-4@http.gcc.gnu.org/bugzilla/> References: <bug-85467-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02220.txt.bz2 Content-length: 668 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85467 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-19 CC| |jakub at gcc dot gnu.org Target Milestone|--- |8.0 Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Started with r247092. >From gcc-bugs-return-602097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 11:25:14 2018 Return-Path: <gcc-bugs-return-602097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64072 invoked by alias); 19 Apr 2018 11:25:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63406 invoked by uid 48); 19 Apr 2018 11:25:06 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61982] Optimizer does not eliminate stores to destroyed objects Date: Thu, 19 Apr 2018 11:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: minor X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-61982-4-vmzFoMaUe1@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-61982-4@http.gcc.gnu.org/bugzilla/> References: <bug-61982-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02221.txt.bz2 Content-length: 1378 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61982 --- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> --- The C++ standard. Specifically, [basic.life]. After the constructor runs and before the destructor runs, that memory location contains an object of type X. After the destructor finishes you can reuse the storage for another object. The memcmp calls treats the storage as an array of unsigned char and can implicitly begin the lifetime of an array of unsigned char because unsigned char does not have non-vacuous initialization (i.e. it doesn't need to be initialized). However, if you don't initialize those characters then they have indeterminate values. So the first memcmp call reuses the storage to create an array of unsigned char with indeterminate values. That ends the lifetime of the X (without calling the destructor). Then you call the destructor on an object that already ended its lifetime, which is undefined. Then you reuse it as an array of unsigned char again, and it still has indeterminate values. Even if we ignore the UB caused by invoking the destructor for an object that no logner exists, the value representation of the X cannot be inspected by memcmp, because X is not trivially copyable, and since the values are indeterminate there is no requirement for the values written by the destructor to be observable. >From gcc-bugs-return-602098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 11:25:35 2018 Return-Path: <gcc-bugs-return-602098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66329 invoked by alias); 19 Apr 2018 11:25:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65862 invoked by uid 48); 19 Apr 2018 11:25:28 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85466] Performance is slow when doing 'branchless' conditional style math operations Date: Thu, 19 Apr 2018 11:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: <bug-85466-4-AN9vY07g8b@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85466-4@http.gcc.gnu.org/bugzilla/> References: <bug-85466-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02222.txt.bz2 Content-length: 406 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-04-19 Ever confirmed|0 |1 >From gcc-bugs-return-602099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 11:25:36 2018 Return-Path: <gcc-bugs-return-602099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66507 invoked by alias); 19 Apr 2018 11:25:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66259 invoked by uid 48); 19 Apr 2018 11:25:32 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85467] [8 Regression] ICE: verify_gimple failed: non-trivial conversion at assignment with -O2 -fno-tree-ccp --param=sccvn-max-scc-size\x10 Date: Thu, 19 Apr 2018 11:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0.1 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: 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: <bug-85467-4-x8Iijfizbj@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85467-4@http.gcc.gnu.org/bugzilla/> References: <bug-85467-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02223.txt.bz2 Content-length: 137 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85467 --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I'll have a look. >From gcc-bugs-return-602100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 11:37:41 2018 Return-Path: <gcc-bugs-return-602100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93799 invoked by alias); 19 Apr 2018 11:37:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93736 invoked by uid 48); 19 Apr 2018 11:37:36 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85467] [8 Regression] ICE: verify_gimple failed: non-trivial conversion at assignment with -O2 -fno-tree-ccp --param=sccvn-max-scc-size\x10 Date: Thu, 19 Apr 2018 11:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: 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: <bug-85467-4-q5orFacPAH@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85467-4@http.gcc.gnu.org/bugzilla/> References: <bug-85467-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02224.txt.bz2 Content-length: 159 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85467 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Must be some match.pd pattern again. >From gcc-bugs-return-602101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 11:43:35 2018 Return-Path: <gcc-bugs-return-602101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102086 invoked by alias); 19 Apr 2018 11:43:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102029 invoked by uid 48); 19 Apr 2018 11:43:31 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85466] Performance is slow when doing 'branchless' conditional style math operations Date: Thu, 19 Apr 2018 11:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: blocked Message-ID: <bug-85466-4-p8tsLWwn4v@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85466-4@http.gcc.gnu.org/bugzilla/> References: <bug-85466-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02225.txt.bz2 Content-length: 608 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |53947 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- >From the webpage you seem to just use -O3 -std=c++17, the assembly shows the branchless code isn't vectorized. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 [Bug 53947] [meta-bug] vectorizer missed-optimizations >From gcc-bugs-return-602102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 11:46:50 2018 Return-Path: <gcc-bugs-return-602102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120656 invoked by alias); 19 Apr 2018 11:46:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120622 invoked by uid 48); 19 Apr 2018 11:46:45 -0000 From: "jgreenhalgh at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85466] Performance is slow when doing 'branchless' conditional style math operations Date: Thu, 19 Apr 2018 11:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jgreenhalgh at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: <bug-85466-4-PE7pbu4R3h@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85466-4@http.gcc.gnu.org/bugzilla/> References: <bug-85466-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02226.txt.bz2 Content-length: 1738 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 James Greenhalgh <jgreenhalgh at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jgreenhalgh at gcc dot gnu.org --- Comment #3 from James Greenhalgh <jgreenhalgh at gcc dot gnu.org> --- Created attachment 43988 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43988&action=edit Reduced testcase I believe this testcase shows the issue being reported here. Clang seems to spot this is essentially a memset across the array, while GCC doesn't. On AArch64 with Clang: .LBB1_9: // =>This Inner Loop Header: Depth=1 stp q0, q0, [x8, #-16] subs x20, x20, #8 // =8 add x8, x8, #32 // =32 b.ne .LBB1_9 On x86-64 with Clang: .LBB1_9: # =>This Inner Loop Header: Depth=1 movups %xmm0, -144(%rax,%rcx,4) movups %xmm0, -128(%rax,%rcx,4) movups %xmm0, -112(%rax,%rcx,4) movups %xmm0, -96(%rax,%rcx,4) movups %xmm0, -80(%rax,%rcx,4) movups %xmm0, -64(%rax,%rcx,4) movups %xmm0, -48(%rax,%rcx,4) movups %xmm0, -32(%rax,%rcx,4) movups %xmm0, -16(%rax,%rcx,4) movups %xmm0, (%rax,%rcx,4) addq $40, %rcx cmpq $100036, %rcx # imm = 0x186C4 jne .LBB1_9 GCC doesn't spot this. On the other hand G++'s inlining of the various random number initialisation routines really hammers Clang, which ends up emulating 128-bit arithmetic on AArch64. >From gcc-bugs-return-602103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 11:52:43 2018 Return-Path: <gcc-bugs-return-602103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127033 invoked by alias); 19 Apr 2018 11:52:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126972 invoked by uid 48); 19 Apr 2018 11:52:39 -0000 From: "manuel.lauss at googlemail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85462] [8 Regression] internal compiler error: in inc_refcount_use, at cp/pt.c:8955 Date: Thu, 19 Apr 2018 11:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manuel.lauss at googlemail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85462-4-esq7SUPLPj@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85462-4@http.gcc.gnu.org/bugzilla/> References: <bug-85462-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02227.txt.bz2 Content-length: 352 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85462 --- Comment #3 from Manuel Lauss <manuel.lauss at googlemail dot com> --- (In reply to Jakub Jelinek from comment #2) > Created attachment 43986 [details] > gcc8-pr85462.patch > > Untested fix, still waiting if reduction comes up with some reasonably sized > testcase. It does fix the issue. >From gcc-bugs-return-602104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 11:57:02 2018 Return-Path: <gcc-bugs-return-602104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53235 invoked by alias); 19 Apr 2018 11:57:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53175 invoked by uid 48); 19 Apr 2018 11:56:58 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85466] Performance is slow when doing 'branchless' conditional style math operations Date: Thu, 19 Apr 2018 11:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: <bug-85466-4-v8dIu98nlg@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85466-4@http.gcc.gnu.org/bugzilla/> References: <bug-85466-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02228.txt.bz2 Content-length: 553 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- On x86_64 somehow x87 math ends up being used. Huh. I also see calls to nextafter() in the assembly?! Note you need sth better than SSE2 to vectorize the spaghetti, AVX2 does it for me. >From gcc-bugs-return-602105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 12:01:51 2018 Return-Path: <gcc-bugs-return-602105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64507 invoked by alias); 19 Apr 2018 12:01:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64423 invoked by uid 48); 19 Apr 2018 12:01:42 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85466] Performance is slow when doing 'branchless' conditional style math operations Date: Thu, 19 Apr 2018 12:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc component Message-ID: <bug-85466-4-aNaQh3RFrw@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85466-4@http.gcc.gnu.org/bugzilla/> References: <bug-85466-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02229.txt.bz2 Content-length: 1737 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jwakely.gcc at gmail dot com Component|c++ |libstdc++ --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- I see sth like template<typename _RealType, size_t __bits, typename _UniformRandomNumberGenerator> _RealType generate_canonical(_UniformRandomNumberGenerator& __urng) { ... __ret = std::nextafter(_RealType(1), _RealType(0)); instantiated as _RealType std::generate_canonical(_UniformRandomNumberGenerator&) [with _RealType = double; long unsigned int __bits = 53; _UniformRandomNumberGenerator = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>] (struct mersenne_twister_engine & __urng) { ... const long double __r; ^^^ (but that's unused it seems) ... __ret = nextafter (1.0e+0, 0.0); and cmath containing constexpr float nextafter(float __x, float __y) { return __builtin_nextafterf(__x, __y); } constexpr long double nextafter(long double __x, long double __y) { return __builtin_nextafterl(__x, __y); } template<typename _Tp, typename _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type nextafter(_Tp __x, _Up __y) { typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; return nextafter(__type(__x), __type(__y)); } which means std::nextafter will use the long double variant? >From gcc-bugs-return-602106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 12:10:35 2018 Return-Path: <gcc-bugs-return-602106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122352 invoked by alias); 19 Apr 2018 12:10:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122254 invoked by uid 48); 19 Apr 2018 12:10:26 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85466] Performance is slow when doing 'branchless' conditional style math operations Date: Thu, 19 Apr 2018 12:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85466-4-Mu9Qq6LNiL@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85466-4@http.gcc.gnu.org/bugzilla/> References: <bug-85466-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02230.txt.bz2 Content-length: 2941 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 --- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Richard Biener from comment #5) > I see sth like > > template<typename _RealType, size_t __bits, > typename _UniformRandomNumberGenerator> > _RealType > generate_canonical(_UniformRandomNumberGenerator& __urng) > { > ... > __ret = std::nextafter(_RealType(1), _RealType(0)); > > instantiated as > > _RealType std::generate_canonical(_UniformRandomNumberGenerator&) [with > _RealType = double; long unsigned int __bits = 53; > _UniformRandomNumberGenerator = std::mersenne_twister_engine<long unsigned > int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, > 4022730752, 18, 1812433253>] (struct mersenne_twister_engine & __urng) > { > ... > const long double __r; > ^^^ > (but that's unused it seems) > ... > __ret = nextafter (1.0e+0, 0.0); > > and cmath containing > > constexpr float > nextafter(float __x, float __y) > { return __builtin_nextafterf(__x, __y); } > > constexpr long double > nextafter(long double __x, long double __y) > { return __builtin_nextafterl(__x, __y); } > > > > template<typename _Tp, typename _Up> > constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type > nextafter(_Tp __x, _Up __y) > { > typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; > return nextafter(__type(__x), __type(__y)); > } > > which means std::nextafter will use the long double variant? Ah, and in the same function: _3 = (long double) __tmp; _4 = _3 * 4.294967296e+9; __tmp = (double) _4; likely from const long double __r = static_cast<long double>(__urng.max()) - static_cast<long double>(__urng.min()) + 1.0L; the loop to be vectorized is <bb 32> [1.36%]: # n_315 = PHI <0(31), n_290(35)> # ivtmp_313 = PHI <10000000(31), ivtmp_289(35)> _312 = (long unsigned int) n_315; _311 = _312 * 4; _310 = _82 + _311; _309 = *_310; _308 = _309 - 5.0e-1; _307 = _308 > 0.0; _306 = (int) _307; _305 = _308 < 0.0; _304 = (int) _305; _303 = _306 - _304; _302 = (float) _303; if (_302 < 0.0) goto <bb 34>; [36.00%] else goto <bb 33>; [64.00%] <bb 33> [0.87%]: <bb 34> [1.37%]: # _301 = PHI <&D.56316(32), &D.56315(33)> D.56315 ={v} {CLOBBER}; D.56316 ={v} {CLOBBER}; _298 = *_301; _297 = _298 * 6.99999988079071044921875e-1; _296 = _297 + 1.00000001490116119384765625e-1; _295 = pretmp_336 + _311; *_295 = _296; n_290 = n_315 + 1; ivtmp_289 = ivtmp_313 - 1; if (ivtmp_289 == 0) goto <bb 36>; [1.01%] else goto <bb 35>; [98.99%] <bb 35> [1.36%]: goto <bb 32>; [100.00%] which failed to if-convert, quite possibly because of the strange clobbers. Which means the testcase is likely undefined as well. >From gcc-bugs-return-602107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 12:11:25 2018 Return-Path: <gcc-bugs-return-602107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124000 invoked by alias); 19 Apr 2018 12:11:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123931 invoked by uid 48); 19 Apr 2018 12:11:21 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85466] Performance is slow when doing 'branchless' conditional style math operations Date: Thu, 19 Apr 2018 12: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85466-4-elUMBcF9d5@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85466-4@http.gcc.gnu.org/bugzilla/> References: <bug-85466-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02231.txt.bz2 Content-length: 1854 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 --- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Richard Biener from comment #5) > I see sth like > > template<typename _RealType, size_t __bits, > typename _UniformRandomNumberGenerator> > _RealType > generate_canonical(_UniformRandomNumberGenerator& __urng) > { > ... > __ret = std::nextafter(_RealType(1), _RealType(0)); > > instantiated as > > _RealType std::generate_canonical(_UniformRandomNumberGenerator&) [with > _RealType = double; long unsigned int __bits = 53; > _UniformRandomNumberGenerator = std::mersenne_twister_engine<long unsigned > int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, > 4022730752, 18, 1812433253>] (struct mersenne_twister_engine & __urng) > { > ... > const long double __r; > ^^^ > (but that's unused it seems) It's used to calculate __log2r which is the maximum range of the random bit generator __urng. > ... > __ret = nextafter (1.0e+0, 0.0); > > and cmath containing > > constexpr float > nextafter(float __x, float __y) > { return __builtin_nextafterf(__x, __y); } > > constexpr long double > nextafter(long double __x, long double __y) > { return __builtin_nextafterl(__x, __y); } > > > > template<typename _Tp, typename _Up> > constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type > nextafter(_Tp __x, _Up __y) > { > typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; > return nextafter(__type(__x), __type(__y)); > } And also: using ::nextafter; > which means std::nextafter will use the long double variant? No, in the instantiation of generate_canonical<double, ...> it uses the nextafter(double, double) from libc that's added to namespace std by "using ::nextafter". >From gcc-bugs-return-602108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 12:12:10 2018 Return-Path: <gcc-bugs-return-602108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124969 invoked by alias); 19 Apr 2018 12:12:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124923 invoked by uid 48); 19 Apr 2018 12:12:06 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85466] Performance is slow when doing 'branchless' conditional style math operations Date: Thu, 19 Apr 2018 12:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85466-4-EbeIYRydpt@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85466-4@http.gcc.gnu.org/bugzilla/> References: <bug-85466-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02232.txt.bz2 Content-length: 1475 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 --- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to James Greenhalgh from comment #3) > Created attachment 43988 [details] > Reduced testcase > > I believe this testcase shows the issue being reported here. Clang seems to > spot this is essentially a memset across the array, while GCC doesn't. > > On AArch64 with Clang: > > .LBB1_9: // =>This Inner Loop Header: > Depth=1 > stp q0, q0, [x8, #-16] > subs x20, x20, #8 // =8 > add x8, x8, #32 // =32 > b.ne .LBB1_9 > > On x86-64 with Clang: > > .LBB1_9: # =>This Inner Loop Header: Depth=1 > movups %xmm0, -144(%rax,%rcx,4) > movups %xmm0, -128(%rax,%rcx,4) > movups %xmm0, -112(%rax,%rcx,4) > movups %xmm0, -96(%rax,%rcx,4) > movups %xmm0, -80(%rax,%rcx,4) > movups %xmm0, -64(%rax,%rcx,4) > movups %xmm0, -48(%rax,%rcx,4) > movups %xmm0, -32(%rax,%rcx,4) > movups %xmm0, -16(%rax,%rcx,4) > movups %xmm0, (%rax,%rcx,4) > addq $40, %rcx > cmpq $100036, %rcx # imm = 0x186C4 > jne .LBB1_9 > > GCC doesn't spot this. I bet clang is clever on the undefinedness I pointed out. > On the other hand G++'s inlining of the various random number initialisation > routines really hammers Clang, which ends up emulating 128-bit arithmetic on > AArch64. >From gcc-bugs-return-602109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 12:18:25 2018 Return-Path: <gcc-bugs-return-602109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4884 invoked by alias); 19 Apr 2018 12:18:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4679 invoked by uid 48); 19 Apr 2018 12:18:19 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85466] Performance is slow when doing 'branchless' conditional style math operations Date: Thu, 19 Apr 2018 12:18: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85466-4-zFqaW1WzBY@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85466-4@http.gcc.gnu.org/bugzilla/> References: <bug-85466-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02233.txt.bz2 Content-length: 946 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 --- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> --- This is undefined: template <typename T> inline auto when_greater_then(T x, T y) -> decltype(std::max(sign(x - y), T(0))) { return std::max(sign(x - y), T(0)); } The return type of std::max is a reference to one of its arguments, so the decltype expression is a reference, and you end up returning a reference to a local temporary. This would fix that problem: template <typename T> inline auto when_greater_then(T x, T y) -> std::remove_reference_t<decltype(std::max(sign(x - y), T(0)))> { return std::max(sign(x - y), T(0)); } But it's dumb anyway, because the return type of std::max<T> is T& so you don't need to use decltype and remove_reference to know the type. template <typename T> inline T when_greater_then(T x, T y) { return std::max(sign(x - y), T(0)); } Much simpler, no dangling references. >From gcc-bugs-return-602110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 12:23:08 2018 Return-Path: <gcc-bugs-return-602110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55367 invoked by alias); 19 Apr 2018 12:23:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55152 invoked by uid 48); 19 Apr 2018 12:22:59 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85466] Performance is slow when doing 'branchless' conditional style math operations Date: Thu, 19 Apr 2018 12:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85466-4-hZJGV3ozrj@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85466-4@http.gcc.gnu.org/bugzilla/> References: <bug-85466-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02234.txt.bz2 Content-length: 204 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 --- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> --- And you need -fno-trapping-math to allow if-conversion. Then things are fast. >From gcc-bugs-return-602111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 12:42:18 2018 Return-Path: <gcc-bugs-return-602111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103881 invoked by alias); 19 Apr 2018 12:42:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103672 invoked by uid 48); 19 Apr 2018 12:42:12 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84737] [8 Regression] 20% degradation in CPU2000 172.mgrid starting with r256888 Date: Thu, 19 Apr 2018 12:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: 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: <bug-84737-4-eAqPs76RTL@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84737-4@http.gcc.gnu.org/bugzilla/> References: <bug-84737-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02235.txt.bz2 Content-length: 442 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84737 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #18 from Richard Biener <rguenth at gcc dot gnu.org> --- Fixed (hopefully). >From gcc-bugs-return-602112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 12:42:21 2018 Return-Path: <gcc-bugs-return-602112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104241 invoked by alias); 19 Apr 2018 12:42:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103809 invoked by uid 55); 19 Apr 2018 12:42:16 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84737] [8 Regression] 20% degradation in CPU2000 172.mgrid starting with r256888 Date: Thu, 19 Apr 2018 12:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: 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: <bug-84737-4-KKLrTKCe8d@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84737-4@http.gcc.gnu.org/bugzilla/> References: <bug-84737-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02236.txt.bz2 Content-length: 847 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84737 --- Comment #19 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Apr 19 12:41:42 2018 New Revision: 259493 URL: https://gcc.gnu.org/viewcvs?rev=259493&root=gcc&view=rev Log: 2018-04-19 Richard Biener <rguenther@suse.de> PR tree-optimization/84737 * tree-vect-data-refs.c (vect_copy_ref_info): New function copying restrict info. (vect_setup_realignment): Use it. * tree-vectorizer.h (vect_copy_ref_info): Declare. * tree-vect-stmts.c (vectorizable_store): Copy ref info from the first DR to all generated stores. (vectorizable_load): Likewise for loads. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-vect-data-refs.c trunk/gcc/tree-vect-stmts.c trunk/gcc/tree-vectorizer.h >From gcc-bugs-return-602113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 12:42:26 2018 Return-Path: <gcc-bugs-return-602113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104894 invoked by alias); 19 Apr 2018 12:42:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103729 invoked by uid 48); 19 Apr 2018 12:42:13 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95) Date: Thu, 19 Apr 2018 12:42: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: 4.2.0 X-Bugzilla-Keywords: meta-bug, missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-26163-4-nPd7plcjRy@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-26163-4@http.gcc.gnu.org/bugzilla/> References: <bug-26163-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02237.txt.bz2 Content-length: 501 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 84737, which changed state. Bug 84737 Summary: [8 Regression] 20% degradation in CPU2000 172.mgrid starting with r256888 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84737 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-602114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 12:45:55 2018 Return-Path: <gcc-bugs-return-602114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113217 invoked by alias); 19 Apr 2018 12:45:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109557 invoked by uid 48); 19 Apr 2018 12:45:05 -0000 From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84588] [8 Regression] internal compiler error: Segmentation fault (contains_struct_check()) Date: Thu, 19 Apr 2018 12:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-84588-4-2N0eoKdcKR@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84588-4@http.gcc.gnu.org/bugzilla/> References: <bug-84588-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02238.txt.bz2 Content-length: 1254 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84588 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paolo.carlini at oracle dot com --- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> --- I believe that for the regression we want something like (it tests fine): Index: parser.c =================================================================== --- parser.c (revision 259489) +++ parser.c (working copy) @@ -21358,6 +21358,8 @@ cp_parser_parameter_declaration_list (cp_parser* p { *is_error = true; parameters = error_mark_node; + if (parser->fully_implicit_function_template_p) + abort_fully_implicit_template (parser); break; } Then the diagnostic is not perfect (a spurious final warning) but is exactly the same we issue for, say: struct a { void b() {} void c(auto = [] { if (a a(int int){}) ; }) {} }; >From gcc-bugs-return-602115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 12:50:00 2018 Return-Path: <gcc-bugs-return-602115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27903 invoked by alias); 19 Apr 2018 12:50:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27841 invoked by uid 48); 19 Apr 2018 12:49:56 -0000 From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319 Date: Thu, 19 Apr 2018 12:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: <bug-85447-4-8NVMSG1cBu@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85447-4@http.gcc.gnu.org/bugzilla/> References: <bug-85447-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02239.txt.bz2 Content-length: 748 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43981|0 |1 is obsolete| | --- Comment #8 from Martin Jambor <jamborm at gcc dot gnu.org> --- Created attachment 43989 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43989&action=edit Fix undergoing testing This version of the fix replaces a bool parameter with a hash_set, which actually corresponds to what I intended to do in the first place. It also contains a testcase that was miscompiled with the previous version. >From gcc-bugs-return-602116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 12:57:43 2018 Return-Path: <gcc-bugs-return-602116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23589 invoked by alias); 19 Apr 2018 12:57:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23532 invoked by uid 48); 19 Apr 2018 12:57:39 -0000 From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319 Date: Thu, 19 Apr 2018 12:57: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: 8.0.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm 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: attachments.created Message-ID: <bug-85449-4-jtIiG87QIk@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85449-4@http.gcc.gnu.org/bugzilla/> References: <bug-85449-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02240.txt.bz2 Content-length: 304 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 --- Comment #10 from Martin Jambor <jamborm at gcc dot gnu.org> --- Created attachment 43990 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43990&action=edit Simple testcase This is a simple testcase. Let me prepare the final patch then. >From gcc-bugs-return-602118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 13:03:00 2018 Return-Path: <gcc-bugs-return-602118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58803 invoked by alias); 19 Apr 2018 13:02:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58768 invoked by uid 48); 19 Apr 2018 13:02:55 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85467] [8 Regression] ICE: verify_gimple failed: non-trivial conversion at assignment with -O2 -fno-tree-ccp --param=sccvn-max-scc-size\x10 Date: Thu, 19 Apr 2018 13:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created Message-ID: <bug-85467-4-KRJGqKL8jA@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85467-4@http.gcc.gnu.org/bugzilla/> References: <bug-85467-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02242.txt.bz2 Content-length: 605 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85467 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 43991 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43991&action=edit gcc8-pr85467.patch fold-const.c this time. Untested patch. >From gcc-bugs-return-602117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 13:02:39 2018 Return-Path: <gcc-bugs-return-602117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58009 invoked by alias); 19 Apr 2018 13:02:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57880 invoked by uid 48); 19 Apr 2018 13:02:34 -0000 From: "jgreenhalgh at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85466] Performance is slow when doing 'branchless' conditional style math operations Date: Thu, 19 Apr 2018 13:02: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jgreenhalgh 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: <bug-85466-4-bWa50KGINI@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85466-4@http.gcc.gnu.org/bugzilla/> References: <bug-85466-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02241.txt.bz2 Content-length: 2163 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 --- Comment #11 from James Greenhalgh <jgreenhalgh at gcc dot gnu.org> --- With Jonathon's suggested change, copied in to the original poster's framework (without -fno-trapping-math), Clang hot loop ( score: 165065 http://quick-bench.com/6NaD8ay0f8qMh9n0aMriYEiuKNA ) is: 0.16% movups 0x61a80(%r15,%rax,4),%xmm6 1.15% movups 0x61a90(%r15,%rax,4),%xmm7 0.60% movaps %xmm1,%xmm3 5.44% cmpltps %xmm6,%xmm3 0.44% movaps %xmm1,%xmm6 0.40% cmpltps %xmm7,%xmm6 0.44% movaps %xmm5,%xmm7 4.97% andps %xmm3,%xmm7 0.20% andnps %xmm4,%xmm3 0.36% orps %xmm7,%xmm3 1.04% movaps %xmm5,%xmm7 4.97% andps %xmm6,%xmm7 0.11% andnps %xmm4,%xmm6 4.95% orps %xmm7,%xmm6 5.53% movups %xmm3,0x61a80(%rbx,%rax,4) 0.47% movups %xmm6,0x61a90(%rbx,%rax,4) 4.42% movups 0x61aa0(%r15,%rax,4),%xmm3 20.42% movups 0x61ab0(%r15,%rax,4),%xmm6 1.00% movaps %xmm1,%xmm7 0.49% cmpltps %xmm3,%xmm7 9.79% movaps %xmm1,%xmm3 0.16% cmpltps %xmm6,%xmm3 2.26% movaps %xmm5,%xmm6 0.60% andps %xmm7,%xmm6 4.20% andnps %xmm4,%xmm7 1.18% orps %xmm6,%xmm7 2.22% movaps %xmm5,%xmm6 0.47% andps %xmm3,%xmm6 4.24% andnps %xmm4,%xmm3 4.88% movups %xmm7,0x61aa0(%rbx,%rax,4) 0.27% orps %xmm6,%xmm3 5.22% movups %xmm3,0x61ab0(%rbx,%rax,4) 6.02% add $0x10,%rax jne 405b30 <ifStandard(benchmark::State&)+0x4a0> GCC hot loop ( score: 2385754 http://quick-bench.com/ehLe-aqkpXkkx2sHLd6TWq_p4g4 ) is: 0.56% movss 0x0(%rbp,%rdx,1),%xmm0 1.47% xor %eax,%eax 2.00% subss %xmm2,%xmm0 7.02% ucomiss %xmm1,%xmm0 6.77% seta %al 4.96% xor %ecx,%ecx 0.25% ucomiss %xmm0,%xmm1 0.84% pxor %xmm0,%xmm0 0.09% seta %cl 5.40% sub %ecx,%eax 3.22% cvtsi2ss %eax,%xmm0 9.87% ucomiss %xmm0,%xmm1 6.53% ja 4053a8 <ifNoConditional(benchmark::State&)+0x1d8> 10.24% mulss %xmm4,%xmm0 11.55% addss %xmm3,%xmm0 5.46% movss %xmm0,(%rbx,%rdx,1) 2.00% add $0x4,%rdx cmp $0x61a80,%rdx jne 405350 <ifNoConditional(benchmark::State&)+0x180> Daniel Elliott does that better match your expectations? If so, I think this can be resolved as missed optimization of invalid code. >From gcc-bugs-return-602119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 13:24:53 2018 Return-Path: <gcc-bugs-return-602119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2314 invoked by alias); 19 Apr 2018 13:24:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129813 invoked by uid 48); 19 Apr 2018 13:24:47 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85455] [8 Regression] ICE in verify_loop_structure, at cfgloop.c:1708 (error: basic block 3 should be marked irreducible) Date: Thu, 19 Apr 2018 13:24: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: 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: keywords Message-ID: <bug-85455-4-ATpT3qegBS@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85455-4@http.gcc.gnu.org/bugzilla/> References: <bug-85455-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02243.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85455 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-checking --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- patch posted >From gcc-bugs-return-602120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 13:25:07 2018 Return-Path: <gcc-bugs-return-602120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16691 invoked by alias); 19 Apr 2018 13:25:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5225 invoked by uid 48); 19 Apr 2018 13:25:00 -0000 From: "pthaugen at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/84737] [8 Regression] 20% degradation in CPU2000 172.mgrid starting with r256888 Date: Thu, 19 Apr 2018 13:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pthaugen 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: <bug-84737-4-F6hza5btvJ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84737-4@http.gcc.gnu.org/bugzilla/> References: <bug-84737-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02244.txt.bz2 Content-length: 228 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84737 --- Comment #20 from Pat Haugen <pthaugen at gcc dot gnu.org> --- (In reply to Richard Biener from comment #18) > Fixed (hopefully). Yes, mgrid performance is back. Thanks. >From gcc-bugs-return-602122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 13:33:51 2018 Return-Path: <gcc-bugs-return-602122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111160 invoked by alias); 19 Apr 2018 13:33:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111079 invoked by uid 48); 19 Apr 2018 13:33:45 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85464] [7 Regression] Wignored-qualifiers is emitted by cc1plus without diagnostics when triggered by a cast operator. Date: Thu, 19 Apr 2018 13:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: diagnostic, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: <bug-85464-4-RVgs7l3H2N@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85464-4@http.gcc.gnu.org/bugzilla/> References: <bug-85464-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02246.txt.bz2 Content-length: 529 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85464 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- Patch: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00951.html I've created PR 85468 for the wrong location, so this one is just about the regression in gcc-7-branch. >From gcc-bugs-return-602121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 13:33:15 2018 Return-Path: <gcc-bugs-return-602121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109916 invoked by alias); 19 Apr 2018 13:33:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109839 invoked by uid 48); 19 Apr 2018 13:33:10 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85468] New: Wrong location for -Wignored-qualifiers diagnostic on conversion operator Date: Thu, 19 Apr 2018 13:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85468-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02245.txt.bz2 Content-length: 917 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85468 Bug ID: 85468 Summary: Wrong location for -Wignored-qualifiers diagnostic on conversion operator Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- struct Test { operator int const() const; // { dg-error "type qualifiers ignored" } }; ign.cc:2:25: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] operator int const() const; // { dg-error "type qualifiers ignored" } ^~~~~ The location should point to the first const. This is the subject of PR 69733 but that fix didn't cover conversion operators. >From gcc-bugs-return-602123-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 13:42:16 2018 Return-Path: <gcc-bugs-return-602123-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118401 invoked by alias); 19 Apr 2018 13:42:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118316 invoked by uid 48); 19 Apr 2018 13:42:11 -0000 From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Thu, 19 Apr 2018 13:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-81084-4-uboOaSAucC@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02247.txt.bz2 Content-length: 938 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu.org --- Comment #35 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > A port does not need maintenance only for that port, and its users, but also > for GCC itself. All ports are a cost to _all_ GCC developers. If a port is > not maintained it has to be removed. Do you IBM guys have a hidden agenda to bury the left-overs of Freescale? ;-) The SPE port has already been moved out of the way so I don't really see the point in further hammering it like that; there are plenty of obsolete ports in the tree that would have to removed before this one if the above criterion was followed to the letter. >From gcc-bugs-return-602124-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 13:49:13 2018 Return-Path: <gcc-bugs-return-602124-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6492 invoked by alias); 19 Apr 2018 13:49:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125254 invoked by uid 48); 19 Apr 2018 13:48:33 -0000 From: "glaubitz at physik dot fu-berlin.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Thu, 19 Apr 2018 13:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: glaubitz at physik dot fu-berlin.de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-YcdXsNRl8c@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02248.txt.bz2 Content-length: 2563 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #36 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- (In reply to Jakub Jelinek from comment #33) > Yes, but the port split was done in May last year, and nothing substantial > happened since then. Port maintainance is not about promises, but about > doing the work. If he does the work soon, the port can be de-obsoleted in > GCC9, otherwise it will be removed, which doesn't mean it can't be added at > some point later. Of course, the later it will be done, the harder it will > be. He is working on it and people are using it. It's not surprising that it takes longer than any work done by paid developers on the x86 or POWER targets. > > > m68k needs some serious work, too, in the not far future (if the cc0 removal > > > finally goes through -- that has been over ten years now). > > > > Yes, I am aware of that. But there are enough people interested in such work > > so I think we will be able get around doing that at some point. > > Nobody did the work in the last 15+ years for m68k, it doesn't seem likely > that all of sudden it will happen. There have been numerous posts about > what to do to get rid of cc0, e.g. in 2005 and several other years. > See https://gcc.gnu.org/backends.html for details, a healthy port doesn't > have > c (cc0), p (not using define_peephole2), has a (uses LRA). We can't > maintain old reload, or cc0 support indefinitely. I have been doing some research yesterday myself and couldn't find a page which documents on how to write a port. I couldn't even find documentation on the cc0 stuff. > > > A port does not need maintenance only for that port, and its users, but also > > > for GCC itself. All ports are a cost to _all_ GCC developers. If a port is > > > not maintained it has to be removed. > > > > So, again my question is: What exactly is the with the powerpcspe target at > > the moment and why does upstream claim the port is broken when it apparently > > works for us in Debian? Am I missing something? > > Have you read all the threads mentioned in > https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html > and all the above comments? All the details are in there. Could you please just mention issue in question that causes trouble? The messages directly linked only mention PR81084 but I haven't run into this issue myself. Again, could you please mention an urgent issue with the powerpcspe target that causes serious issues for other users or developers? Thanks! >From gcc-bugs-return-602125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 13:51:30 2018 Return-Path: <gcc-bugs-return-602125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95804 invoked by alias); 19 Apr 2018 13:51:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93375 invoked by uid 48); 19 Apr 2018 13:51:25 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Thu, 19 Apr 2018 13:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-mPWcTUvLoo@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02249.txt.bz2 Content-length: 879 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #37 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Not sure about IBM, I as a GCC developer and RM have major problem with the amount of dead code in the port, because anyone who makes changes to the middle-end that need backend changes will waste time adjusting code that is dead and can't be really tested (all the Altivec/VMX code, all the 64-bit support in there, all the power6/7/8/9, all the floating point modes stuff, etc.). Furthermore the lack of -mno-lra removal in it. If somebody is willing to change all backends rather than waiting on target maintainers to fix stuff up, at least the work should not be wasted on dead code. Just look e.g. how many times in the last year Richard Sandiford modified this dead code in config/powerpcspe. That is pretty much all wasted effort (others too). >From gcc-bugs-return-602126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 13:52:31 2018 Return-Path: <gcc-bugs-return-602126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130508 invoked by alias); 19 Apr 2018 13:52:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127625 invoked by uid 48); 19 Apr 2018 13:52:26 -0000 From: "glaubitz at physik dot fu-berlin.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Thu, 19 Apr 2018 13:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: glaubitz at physik dot fu-berlin.de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-XCbGEtvO7r@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02250.txt.bz2 Content-length: 891 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #38 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- (In reply to Eric Botcazou from comment #35) > Do you IBM guys have a hidden agenda to bury the left-overs of Freescale? ;-) I thought Jakub works for RedHat? > The SPE port has already been moved out of the way so I don't really see the > point in further hammering it like that; there are plenty of obsolete ports > in the tree that would have to removed before this one if the above > criterion was followed to the letter. To be honest: I made this experience already in multiple projects. IBM employees have been quite unfriendly towards PPC targets which were not POWER8 or newer. The answer was usually "Anything lower than POWER8 is no longer supported." talking as if the project in question belongs to IBM. Quite frustrating. >From gcc-bugs-return-602127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 13:53:48 2018 Return-Path: <gcc-bugs-return-602127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21331 invoked by alias); 19 Apr 2018 13:53:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21263 invoked by uid 55); 19 Apr 2018 13:53:37 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85455] [8 Regression] ICE in verify_loop_structure, at cfgloop.c:1708 (error: basic block 3 should be marked irreducible) Date: Thu, 19 Apr 2018 13:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-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: 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: Message-ID: <bug-85455-4-w2awjNMeen@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85455-4@http.gcc.gnu.org/bugzilla/> References: <bug-85455-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02251.txt.bz2 Content-length: 654 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85455 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Apr 19 13:53:06 2018 New Revision: 259494 URL: https://gcc.gnu.org/viewcvs?rev=259494&root=gcc&view=rev Log: 2018-04-19 Richard Biener <rguenther@suse.de> PR middle-end/85455 * cfg.c (clear_bb_flags): When loop state says we have marked irreducible regions also preserve BB_IRREDUCIBLE_LOOP. * gcc.dg/pr85455.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/pr85455.c Modified: trunk/gcc/ChangeLog trunk/gcc/cfg.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-602128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:01:00 2018 Return-Path: <gcc-bugs-return-602128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27580 invoked by alias); 19 Apr 2018 14:01:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27499 invoked by uid 48); 19 Apr 2018 14:00:55 -0000 From: "glaubitz at physik dot fu-berlin.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Thu, 19 Apr 2018 14:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: glaubitz at physik dot fu-berlin.de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-fdIaFsML7X@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02252.txt.bz2 Content-length: 1842 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #39 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- (In reply to Jakub Jelinek from comment #37) > Not sure about IBM, I as a GCC developer and RM have major problem with the > amount of dead code in the port, because anyone who makes changes to the > middle-end that need backend changes will waste time adjusting code that is > dead and can't be really tested (all the Altivec/VMX code, all the 64-bit > support in there, all the power6/7/8/9, all the floating point modes stuff, > etc.). It's not a waste of time if people are actually still using the code which is the case for both PowerPCSPE and m68k. I don't understand why some people think it's acceptable to kill open source stuff that is actively being used by others. > Furthermore the lack of -mno-lra removal in it. If somebody is > willing to change all backends rather than waiting on target maintainers to > fix stuff up, at least the work should not be wasted on dead code. Just > look e.g. how many times in the last year Richard Sandiford modified this > dead code in config/powerpcspe. That is pretty much all wasted effort > (others too). I think your problem lies in the fact that you are solely seeing this from the gcc maintainers perspective (which I cannot blame you for and which is not surprising). However, you have to keep in mind that - in the end - gcc is a product that people are using for productive work. So, there has to be a balance between the objective quality of the code and the usefulness of the project. If I understand Eric correctly, the PowerPCSPE backend has been split off from the other PPC code so as long as the code works and people are using it (and with someone even working on updating it), why the hurry to remove it? >From gcc-bugs-return-602129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:03:23 2018 Return-Path: <gcc-bugs-return-602129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37578 invoked by alias); 19 Apr 2018 14:03:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37496 invoked by uid 48); 19 Apr 2018 14:03:18 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/81307] [8 regression] g++.dg/debug/debug9.C -gstabs FAILs Date: Thu, 19 Apr 2018 14:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81307-4-EPIB3d7GVi@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81307-4@http.gcc.gnu.org/bugzilla/> References: <bug-81307-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02253.txt.bz2 Content-length: 220 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81307 --- Comment #9 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Thanks Jakub, I can confirm I don't see any other UBSANs related to gstabs in the test-suite. >From gcc-bugs-return-602130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:04:53 2018 Return-Path: <gcc-bugs-return-602130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70117 invoked by alias); 19 Apr 2018 14:04:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70035 invoked by uid 48); 19 Apr 2018 14:04:49 -0000 From: "glaubitz at physik dot fu-berlin.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Thu, 19 Apr 2018 14:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: glaubitz at physik dot fu-berlin.de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-RF8QYCtCdS@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02254.txt.bz2 Content-length: 310 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #40 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- Is there documentation like this for gcc? > https://llvm.org/docs/WritingAnLLVMBackend.html Would be very useful for people wanting to help with the old backends. >From gcc-bugs-return-602131-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:05:06 2018 Return-Path: <gcc-bugs-return-602131-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71015 invoked by alias); 19 Apr 2018 14:05:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70925 invoked by uid 48); 19 Apr 2018 14:05:01 -0000 From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug objc/50909] Process "#pragma options align=reset" correctly on Mac OS X Date: Thu, 19 Apr 2018 14:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: objc X-Bugzilla-Version: 4.6.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-50909-4-oDdvGDlwsk@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-50909-4@http.gcc.gnu.org/bugzilla/> References: <bug-50909-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02255.txt.bz2 Content-length: 1280 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50909 Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iains at gcc dot gnu.org, | |mikestump at comcast dot net --- Comment #11 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Manuel López-Ibáñez from comment #9) > (In reply to Alex from comment #8) > > As to someone implementing clang behavior: I was under the impression that > > the attached patch just needed to be applied? That is why I was inquiring as > > to why nobody had applied it after 3 years. > > Writing a patch is often the easy part. The hard part is getting the patch > approved and following up on reviewer's comments. See > https://gcc.gnu.org/contribute.html and https://gcc.gnu.org/wiki/GCC_Research > > The patch doesn't look correct to me anyway, but you will get a better > review from a Darwin maintainer, see the MAINTAINERS file in the gcc sources. Adding them on cc (Only Mike is currently listed as a Darwin maintainer, but IMO Iain ought to be listed as one, too) >From gcc-bugs-return-602132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:11:26 2018 Return-Path: <gcc-bugs-return-602132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118135 invoked by alias); 19 Apr 2018 14:11:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118014 invoked by uid 48); 19 Apr 2018 14:11:21 -0000 From: "dje at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Thu, 19 Apr 2018 14:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-27bofyjFiw@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02256.txt.bz2 Content-length: 1090 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #41 from David Edelsohn <dje at gcc dot gnu.org> --- SPE mostly is a separate architecture that happens to share many of the basic mnemonics with PowerPC. Maintaining the SPE port was a burden to the Power/PowerPC maintainers. As discussed in the other threads, despite years of promises, the SPE port was not maintained, not even regular testsuite results. The communication mostly consisted of bug reports raised a year after the patch or release. In regard to IBM employee response to PowerPC targets older than Power8, you said yourself that these are IBM employees. They are directed to work on specific projects and patches. Sometimes IBM developers can become too focused on the Power8 and later issue and include portability in their design, but IBM also is not a general support center for all PowerPC. IBM is a business. As with all commercially-supported Open Source projects and all forms of work in general, some developers have broader interest in the project and others approach it as a job. >From gcc-bugs-return-602134-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:13:37 2018 Return-Path: <gcc-bugs-return-602134-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129564 invoked by alias); 19 Apr 2018 14:13:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129452 invoked by uid 48); 19 Apr 2018 14:13:29 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/65892] gcc fails to implement N685 aliasing of union members Date: Thu, 19 Apr 2018 14:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: alias X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: SUSPENDED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-65892-4-WrL575rZdT@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-65892-4@http.gcc.gnu.org/bugzilla/> References: <bug-65892-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02258.txt.bz2 Content-length: 592 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 --- Comment #30 from Martin Sebor <msebor at gcc dot gnu.org> --- Richard, I offered to write a proposal (with Clark) to improve the rules. With the object model proposals already in the pipeline (N2223) this is a good time to review them and see if it makes sense to extend or change them to also cover this case in an acceptable way. It would be helpful if you could take some time to summarize your main concerns or suggestions for changes in this area. I can start working on the proposal for the fall 2018 WG14 meeting. >From gcc-bugs-return-602135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:13:54 2018 Return-Path: <gcc-bugs-return-602135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130454 invoked by alias); 19 Apr 2018 14:13:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130299 invoked by uid 55); 19 Apr 2018 14:13:47 -0000 From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Thu, 19 Apr 2018 14:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-WFn1jHwX3f@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02259.txt.bz2 Content-length: 663 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #43 from rguenther at suse dot de <rguenther at suse dot de> --- On Thu, 19 Apr 2018, glaubitz at physik dot fu-berlin.de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 > > --- Comment #40 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- > Is there documentation like this for gcc? > > > https://llvm.org/docs/WritingAnLLVMBackend.html > > Would be very useful for people wanting to help with the old backends. The wiki has some material, a quick search finds https://gcc.gnu.org/wiki/WritingANewBackEnd not sure how useful or up-to-date it is. >From gcc-bugs-return-602133-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:13:11 2018 Return-Path: <gcc-bugs-return-602133-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121963 invoked by alias); 19 Apr 2018 14:13:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120431 invoked by uid 48); 19 Apr 2018 14:13:04 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Thu, 19 Apr 2018 14:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-PA6Mw6Ajqz@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02257.txt.bz2 Content-length: 469 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #42 from Jakub Jelinek <jakub at gcc dot gnu.org> --- See e.g. https://gcc.gnu.org/onlinedocs/gccint/ https://gcc.gnu.org/onlinedocs/gccint/#toc-RTL-Representation https://gcc.gnu.org/onlinedocs/gccint/Machine-Desc.html#Machine-Desc https://kristerw.blogspot.cz/2017/08/writing-gcc-backend_4.html and many others. Don't really know how is writing a new backend relevant to maintaining an existing one. >From gcc-bugs-return-602136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:14:33 2018 Return-Path: <gcc-bugs-return-602136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 726 invoked by alias); 19 Apr 2018 14:14:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 622 invoked by uid 48); 19 Apr 2018 14:14:27 -0000 From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85466] Performance is slow when doing 'branchless' conditional style math operations Date: Thu, 19 Apr 2018 14:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85466-4-ZGmNdt4kHl@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85466-4@http.gcc.gnu.org/bugzilla/> References: <bug-85466-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02260.txt.bz2 Content-length: 232 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 --- Comment #12 from Marc Glisse <glisse at gcc dot gnu.org> --- Constant folding for nextafter seems like a useful thing to add, whatever we say about the rest of the testcase. >From gcc-bugs-return-602137-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:16:44 2018 Return-Path: <gcc-bugs-return-602137-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3141 invoked by alias); 19 Apr 2018 14:16:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3074 invoked by uid 48); 19 Apr 2018 14:16:40 -0000 From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug objc/53905] -Wformat-nonliteral gives false positives with __attribute__((format(NSString,...))) Date: Thu, 19 Apr 2018 14:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: objc X-Bugzilla-Version: 4.7.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-53905-4-VJY0TRrf1A@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-53905-4@http.gcc.gnu.org/bugzilla/> References: <bug-53905-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02261.txt.bz2 Content-length: 496 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53905 Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iains at gcc dot gnu.org, | |mikestump at comcast dot net --- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> --- Adding objc maintainers on cc >From gcc-bugs-return-602138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:18:09 2018 Return-Path: <gcc-bugs-return-602138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5690 invoked by alias); 19 Apr 2018 14:18:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5594 invoked by uid 48); 19 Apr 2018 14:18:05 -0000 From: "glaubitz at physik dot fu-berlin.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Thu, 19 Apr 2018 14:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: glaubitz at physik dot fu-berlin.de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-fAjierF3Xy@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02262.txt.bz2 Content-length: 2010 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #44 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- (In reply to David Edelsohn from comment #41) > SPE mostly is a separate architecture that happens to share many of the > basic mnemonics with PowerPC. Maintaining the SPE port was a burden to the > Power/PowerPC maintainers. As discussed in the other threads, despite years > of promises, the SPE port was not maintained, not even regular testsuite > results. The communication mostly consisted of bug reports raised a year > after the patch or release. Those are apparent mistakes made in the past. I am happy to provide testsuite results starting next week. As I said, gcc-8 is stable at the moment on real PowerPCSPE hardware. > In regard to IBM employee response to PowerPC targets older than Power8, you > said yourself that these are IBM employees. They are directed to work on > specific projects and patches. Sometimes IBM developers can become too > focused on the Power8 and later issue and include portability in their > design, but IBM also is not a general support center for all PowerPC. IBM is > a business. As with all commercially-supported Open Source projects and all > forms of work in general, some developers have broader interest in the > project and others approach it as a job. I understand how that works. No one is actually asking IBM people to fix anything if they don't want to. But I have a problem with people removing working code that people are using and then dismissing it with answers like the one I received. It would be different if project X belongs to IBM. One of such examples was that POWER5 support was forcefully removed by IBM people from Golang. They claimed that this move was urgently necessary to reduce maintenance burden. Yet all that was needed to get Golang working again on POWER5 was to revert three patches and slightly modify them. I am still rebasing it regularly without any problems. >From gcc-bugs-return-602139-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:19:35 2018 Return-Path: <gcc-bugs-return-602139-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7628 invoked by alias); 19 Apr 2018 14:19:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7510 invoked by uid 55); 19 Apr 2018 14:19:28 -0000 From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85466] Performance is slow when doing 'branchless' conditional style math operations Date: Thu, 19 Apr 2018 14:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85466-4-HElSRmv7MK@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85466-4@http.gcc.gnu.org/bugzilla/> References: <bug-85466-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02263.txt.bz2 Content-length: 527 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 --- Comment #13 from rguenther at suse dot de <rguenther at suse dot de> --- On Thu, 19 Apr 2018, glisse at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 > > --- Comment #12 from Marc Glisse <glisse at gcc dot gnu.org> --- > Constant folding for nextafter seems like a useful thing to add, whatever we > say about the rest of the testcase. Indeed - looks like this and related functions are not constant folded for whatever reason... >From gcc-bugs-return-602141-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:20:36 2018 Return-Path: <gcc-bugs-return-602141-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10540 invoked by alias); 19 Apr 2018 14:20:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9954 invoked by uid 48); 19 Apr 2018 14:20:28 -0000 From: "dje at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Thu, 19 Apr 2018 14:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-BzyQoV4ZJy@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02265.txt.bz2 Content-length: 201 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #46 from David Edelsohn <dje at gcc dot gnu.org> --- I understand the issues with Golang and have been raising the issue internally. >From gcc-bugs-return-602140-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:20:01 2018 Return-Path: <gcc-bugs-return-602140-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8604 invoked by alias); 19 Apr 2018 14:20:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8483 invoked by uid 48); 19 Apr 2018 14:19:57 -0000 From: "glaubitz at physik dot fu-berlin.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Thu, 19 Apr 2018 14:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: glaubitz at physik dot fu-berlin.de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-LzcxXbKDCP@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02264.txt.bz2 Content-length: 780 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #45 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- (In reply to Jakub Jelinek from comment #42) > See e.g. https://gcc.gnu.org/onlinedocs/gccint/ > https://gcc.gnu.org/onlinedocs/gccint/#toc-RTL-Representation > https://gcc.gnu.org/onlinedocs/gccint/Machine-Desc.html#Machine-Desc > https://kristerw.blogspot.cz/2017/08/writing-gcc-backend_4.html > and many others. Thank you. > Don't really know how is writing a new backend relevant to > maintaining an existing one. Well, I guess there is no documentation "How to fix an unmaintained target and bring it back into shape.", is there? Documenation which explains how to write a backend should also help fixing an existing one. >From gcc-bugs-return-602142-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:23:27 2018 Return-Path: <gcc-bugs-return-602142-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121854 invoked by alias); 19 Apr 2018 14:23:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112262 invoked by uid 48); 19 Apr 2018 14:23:17 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85455] [8 Regression] ICE in verify_loop_structure, at cfgloop.c:1708 (error: basic block 3 should be marked irreducible) Date: Thu, 19 Apr 2018 14:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 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: bug_status resolution Message-ID: <bug-85455-4-Inr12GVlgP@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85455-4@http.gcc.gnu.org/bugzilla/> References: <bug-85455-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02266.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85455 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Fixed. >From gcc-bugs-return-602143-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:25:50 2018 Return-Path: <gcc-bugs-return-602143-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11005 invoked by alias); 19 Apr 2018 14:25:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7053 invoked by uid 48); 19 Apr 2018 14:25:45 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128 Date: Thu, 19 Apr 2018 14: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85381-4-u71bl97Ux7@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85381-4@http.gcc.gnu.org/bugzilla/> References: <bug-85381-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02267.txt.bz2 Content-length: 1595 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 --- Comment #6 from Tom de Vries <vries at gcc dot gnu.org> --- Created attachment 43992 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43992&action=edit tentative patch (In reply to Tom de Vries from comment #4) > This looks like a JIT bug, but with this tentative patch: > ... > diff --git a/gcc/config/nvptx/nvptx.c b/gcc/config/nvptx/nvptx.c > index 8c478c874bd..ac394ee1ae6 100644 > --- a/gcc/config/nvptx/nvptx.c > +++ b/gcc/config/nvptx/nvptx.c > @@ -4479,7 +4479,7 @@ nvptx_process_pars (parallel *par) > threads = nvptx_mach_vector_length (); > } > > - if (!empty || !is_call) > + if (!(empty || is_call)) > { > /* Insert begin and end synchronizations. */ > emit_insn_before (nvptx_cta_sync (barrier, threads), > ... > no barriers are generated, and the minimized testcase passes. Actually, this was a bit more complicated than that. The condition correctly identifies the situation of a call and no state propagation as not needing barriers. But in the case of not a call (so, fork/join), even if there's no state propagation, we need synchronization at the end of worker and vector loops. [ More precisely, we need it inbetween loops, but we're currently not detecting that situation. And even more precisely, we need it inbetween dependent loops, but we also currently not detecting that situation. ] This patch skips the first of the bar.syncs, keeping the one after the loop, and that allows parallel-loop-1.c to pass with vector length 128. >From gcc-bugs-return-602144-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:30:29 2018 Return-Path: <gcc-bugs-return-602144-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47605 invoked by alias); 19 Apr 2018 14:30:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47303 invoked by uid 55); 19 Apr 2018 14:30:18 -0000 From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85448] the compiler selects the wrong subroutine because of bind(c,name=...) Date: Thu, 19 Apr 2018 14: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: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu 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: <bug-85448-4-pytkL2Wznq@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85448-4@http.gcc.gnu.org/bugzilla/> References: <bug-85448-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02268.txt.bz2 Content-length: 550 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85448 --- Comment #4 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Thu, Apr 19, 2018 at 09:07:15AM +0000, francois.jacq at irsn dot fr wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85448 > > --- Comment #3 from francois.jacq at irsn dot fr --- > Notice that this is a regression : The version 4.8.5 returns the result I > expected... > Or it was a bug in 4.8.5 and is now fixed. Now, the version where you rename odopen from m1 to odopen_m1 is probably a bug. >From gcc-bugs-return-602145-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:31:26 2018 Return-Path: <gcc-bugs-return-602145-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49805 invoked by alias); 19 Apr 2018 14:31:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49721 invoked by uid 48); 19 Apr 2018 14:31:22 -0000 From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85198] long long int vector mistaken as long int vector Date: Thu, 19 Apr 2018 14:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: <bug-85198-4-6RSPgOh1L3@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85198-4@http.gcc.gnu.org/bugzilla/> References: <bug-85198-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02269.txt.bz2 Content-length: 818 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85198 --- Comment #4 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Ah, but vulli does have the wrong element type, when you get a little deeper. <identifier_node 0x3fffb5d96db0 vulli symbol <var_decl 0x3fffb7f71320 vulli type <vector_type 0x3fffb5bc5e80 __vector long long type <integer_type 0x3fffb5b10888 long int> V2DI size <integer_cst 0x3fffb5ae1050 constant 128> unit-size <integer_cst 0x3fffb5ae1068 constant 16> align:128 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x3fffb5bc5dd8 nunits:2> public static common V2DI defer-output pr85198-2.c:3:22 size <integer_cst 0x3fffb5ae1050 128> unit-size <integer_cst 0x3fffb5ae1068 16> align:128 warn_if_not_align:0>> >From gcc-bugs-return-602146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:32:15 2018 Return-Path: <gcc-bugs-return-602146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50921 invoked by alias); 19 Apr 2018 14:32:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50724 invoked by uid 48); 19 Apr 2018 14:32:07 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128 Date: Thu, 19 Apr 2018 14:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85381-4-67JBFOzMfo@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85381-4@http.gcc.gnu.org/bugzilla/> References: <bug-85381-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02270.txt.bz2 Content-length: 1077 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 --- Comment #7 from Tom de Vries <vries at gcc dot gnu.org> --- For this example: ... #define n 1024 int main (void) { #pragma acc parallel vector_length(128) { #pragma acc loop vector for (int i = 0; i < n; i++) ; #pragma acc loop vector for (int i = 0; i < n; i++) ; } return 0; } ... we currently generate: ... .entry main$_omp_fn$0 { .reg.u64 %r24; .reg.u64 %r25; .reg.u64 %r26; .reg.u64 %r27; .reg.pred %r28; { .reg.u32 %x; mov.u32 %x, %tid.x; setp.ne.u32 %r28, %x, 0; } bar.sync 0; @%r28 bra $L2; // join 4; // fork 4; $L2: bar.sync 0; ret; } ... so if we fix the branch around nothing problem here, we'll get back-to-back bar.syncs again, and may run into the JIT but again. We may wanna insert dummy ops inbetween (it would be nice if something less heavy than a membar.cta will work). >From gcc-bugs-return-602147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:46:24 2018 Return-Path: <gcc-bugs-return-602147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80784 invoked by alias); 19 Apr 2018 14:46:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 80672 invoked by uid 55); 19 Apr 2018 14:46:10 -0000 From: "francois.jacq at irsn dot fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85448] the compiler selects the wrong subroutine because of bind(c,name=...) Date: Thu, 19 Apr 2018 14:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: francois.jacq at irsn dot fr 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: <bug-85448-4-txIrvT63pv@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85448-4@http.gcc.gnu.org/bugzilla/> References: <bug-85448-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02271.txt.bz2 Content-length: 946 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85448 --- Comment #5 from francois.jacq at irsn dot fr --- On Thursday 19 April 2018 16:30:09 you wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85448 > > --- Comment #4 from Steve Kargl <sgk at troutmask dot apl.washington.edu> > --- > > On Thu, Apr 19, 2018 at 09:07:15AM +0000, francois.jacq at irsn dot fr wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85448 > > > > --- Comment #3 from francois.jacq at irsn dot fr --- > > Notice that this is a regression : The version 4.8.5 returns the result I > > expected... > > Or it was a bug in 4.8.5 and is now fixed. > > Now, the version where you rename odopen from m1 > to odopen_m1 is probably a bug. No : both are bugs (and probably identical). The bind clause cannot change how the procedure name "odopen" has to be considered from the Fortran side ! Intel, Oracle and Nag compilers agree with me. >From gcc-bugs-return-602148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 14:50:30 2018 Return-Path: <gcc-bugs-return-602148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85625 invoked by alias); 19 Apr 2018 14:50:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85569 invoked by uid 48); 19 Apr 2018 14:50:24 -0000 From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85448] the compiler selects the wrong subroutine because of bind(c,name=...) Date: Thu, 19 Apr 2018 14: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: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc resolution everconfirmed Message-ID: <bug-85448-4-WGHDueJKJi@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85448-4@http.gcc.gnu.org/bugzilla/> References: <bug-85448-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02272.txt.bz2 Content-length: 676 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85448 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|RESOLVED |REOPENED Last reconfirmed| |2018-04-19 CC|kargl at gcc dot gnu.org | Resolution|INVALID |--- Ever confirmed|0 |1 --- Comment #6 from kargl at gcc dot gnu.org --- Re-open. Remove my email address. Let someone else deal with the problem. >From gcc-bugs-return-602149-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 15:08:11 2018 Return-Path: <gcc-bugs-return-602149-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16365 invoked by alias); 19 Apr 2018 15:08:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16029 invoked by uid 48); 19 Apr 2018 15:08:02 -0000 From: "jameskuyper at verizon dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/65892] gcc fails to implement N685 aliasing of union members Date: Thu, 19 Apr 2018 15:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: alias X-Bugzilla-Severity: normal X-Bugzilla-Who: jameskuyper at verizon dot net X-Bugzilla-Status: SUSPENDED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-65892-4-voGKkUKYQw@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-65892-4@http.gcc.gnu.org/bugzilla/> References: <bug-65892-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02273.txt.bz2 Content-length: 2826 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 --- Comment #31 from James Kuyper Jr. <jameskuyper at verizon dot net> --- (In reply to rguenther@suse.de from comment #29) > On Thu, 19 Apr 2018, jameskuyper at verizon dot net wrote: ... > > The relevant wording is "anywhere that a declaration of the completed type of > > the union is visible.", so it's unambiguously the type, not the object, which > > must be visible. A declaration of the completed type can be visible without any > > objects of that type being visible, and that's sufficient for this rule to > > apply. > > > > > ... Must the access be performed > > > using the union object, or just the union type, or neither? > > > > It says only that "it is permitted to inspect the common initial part"; it > > imposes no restrictions on how the inspection may be performed. Clearly, > > inspection through an lvalue of the union's type must be permitted, but it is > > also permitted to use the more indirect methods which are the subject of this > > bug report, simply because the standard says nothing to restrict the permission > > it grants to the more direct cases. > > Note I repeatedly said this part of the standard is just stupid. As a judgement call, I reserve the right to disagree with you on that point, particularly if that judgement was based primarily on the following misconception: > ... It makes > most if not all type-based alias analysis useless. How could that be true? It only applies to pairs of struct types that are the types of members of the same union, it only applies within the scope of a completed definition of that union's type, and it doesn't apply if the implementation can prove to itself that the two objects in question are not actually members of the same union object. It seems to me that the need to take this rule into consideration would come up pretty infrequently. Code which relies upon this feature to implement a C-style approximation to inheritance has been fairly common, which is precisely why the C committee decided to create this rule, to make sure such code had well-defined behavior. > Which means I'll refuse any patches implementing it in a way that affects > default behavior. A clean patch (I really can't think of any clean > approach besides forcing -fno-strict-aliasing!) with some extra flag > (well, just use -fno-strict-aliasing ...) would be fine with me. I can understanding not making this the default behavior if you feel that way; I only use gcc in fully standard-conforming mode, anyway, so that doesn't matter to me. However, personally, I would prefer it if gcc's fully-conforming mode took full advantage of all the optimization opportunities legitimately enabled by 6.5p7 (which does not include opportunities revoked by 6.5.2.3p6). >From gcc-bugs-return-602150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 15:14:13 2018 Return-Path: <gcc-bugs-return-602150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23834 invoked by alias); 19 Apr 2018 15:14:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23763 invoked by uid 48); 19 Apr 2018 15:14:08 -0000 From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81084] [8 Regression] powerpcspe port full of confusing configury / command-line options not related to SPE Date: Thu, 19 Apr 2018 15:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: andrewjenner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-81084-4-fUh3dfzuXt@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81084-4@http.gcc.gnu.org/bugzilla/> References: <bug-81084-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02274.txt.bz2 Content-length: 1571 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81084 --- Comment #47 from Segher Boessenkool <segher at gcc dot gnu.org> --- (In reply to Eric Botcazou from comment #35) > > A port does not need maintenance only for that port, and its users, but also > > for GCC itself. All ports are a cost to _all_ GCC developers. If a port is > > not maintained it has to be removed. > > Do you IBM guys have a hidden agenda to bury the left-overs of Freescale? ;-) > > The SPE port has already been moved out of the way so I don't really see the > point in further hammering it like that; there are plenty of obsolete ports > in the tree that would have to removed before this one if the above > criterion was followed to the letter. This is not about IBM. Believe it or not, but the rs6000 port maintainers *care* about older systems. I wanted to obsolete SPE support because it is a big burden, not in small part because no one maintains it. This has been going on for years and years. Big pushback; people still want SPE, they just don't want to spend work on it. Well neither do we, it's been enough. So I spent a week splitting off the port (also tested removing VSX etc.; removing unused code does not take that long; I just have no way to *test* it so that was not included). It was agreed the powerpcspe port would be maintained or it would be removed. Now a year later GCC 8 is on the horizon, and the powerpcspe port is still not maintained. And the RMs decided to give it *another* year: it is not removed but merely obsoleted. >From gcc-bugs-return-602151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 15:16:07 2018 Return-Path: <gcc-bugs-return-602151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42832 invoked by alias); 19 Apr 2018 15:16:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29280 invoked by uid 55); 19 Apr 2018 15:15:47 -0000 From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85417] -fcf-protection should provide CET protection on x86 Date: Thu, 19 Apr 2018 15:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85417-4-ec6k5mHuFb@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85417-4@http.gcc.gnu.org/bugzilla/> References: <bug-85417-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02275.txt.bz2 Content-length: 5011 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 --- Comment #6 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Thu Apr 19 15:15:04 2018 New Revision: 259496 URL: https://gcc.gnu.org/viewcvs?rev=259496&root=gcc&view=rev Log: x86: Enable -fcf-protection with multi-byte NOPs -fcf-protection -mcet can't be used with IFUNC features, like symbol multiversioning or target clone, since IBT/SHSTK are applied to the whole program and they may be disabled in some functions. But -fcf-protection is implemented with multi-byte NOPs on all 64-bit processors as well as 32-bit processors starting with Pentium Pro. If -fcf-protection requires -mcet, IFUNC features can't be used on Linux when -fcf-protection is enabled by default. This patch changes -fcf-protection to implement indirect branch and return address tracking with multi-byte NOPs. -mibt and -mshstk are changed to only enable CET built-in functions. CET tests are updated to allow -fcf-protection without -mibt, -mshstk and -mcet on x86. -fcf-protection=none are also added to tests which fail with -fcf-protection so that -fcf-protection can be added to RUNTESTFLAGS to verify -fcf-protection implementation. gcc/ PR target/85417 * config/i386/cet.c (file_end_indicate_exec_stack_and_cet): Check flag_cf_protection instead of TARGET_IBT and TARGET_SHSTK. * config/i386/i386-c.c (ix86_target_macros_internal): Also define __IBT__ and __SHSTK__ for -fcf-protection. * config/i386/i386.c (pass_insert_endbranch::gate): Don't check TARGET_IBT. (ix86_trampoline_init): Likewise. (x86_output_mi_thunk): Likewise. (ix86_notrack_prefixed_insn_p): Likewise. (ix86_option_override_internal): Don't disallow -fcf-protection. * config/i386/i386.md (rdssp<mode>): Also enable for -fcf-protection. (incssp<mode>): Likewise. (nop_endbr): Likewise. * config/i386/i386.opt (mcet): Change help message to built-in functions only. (mibt): Likewise. (mshstk): Likewise. * doc/invoke.texi: Remove -mcet, -mibt and -mshstk condition on -fcf-protection. Change -mcet, -mibt and -mshstk to only enable CET built-in functions. gcc/testsuite/ PR target/85417 * c-c++-common/attr-nocf-check-1.c: Compile with -fcf-protection=none. * c-c++-common/attr-nocf-check-3.c: Likewise. * gcc.dg/march-generic.c: Likewise. * gcc.target/i386/align-limit.c: Likewise. * gcc.target/i386/cet-notrack-icf-1.c: Likewise. * gcc.target/i386/cet-notrack-icf-3.c: Likewise. * gcc.target/i386/cet-property-2.c: Likewise. * gcc.target/i386/ret-thunk-26.c: Likewise. * c-c++-common/fcf-protection-1.c: Remove dg-error for x86 targets. * c-c++-common/fcf-protection-2.c: Likewise. * c-c++-common/fcf-protection-3.c: Likewise. * c-c++-common/fcf-protection-5.c: Likewise. * c-c++-common/fcf-protection-6.c: Likewise. * c-c++-common/fcf-protection-7.c: Likewise. * gcc.target/i386/cet-label-3.c: New test. * gcc.target/i386/cet-property-3.c: Likewise. * gcc.target/i386/cet-sjlj-7.c: Likewise. * gcc.target/i386/pr85417-1.c: Likewise. * gcc.target/i386/indirect-thunk-attr-7.c: Also expect __x86_indirect_thunk_nt_(r|e)ax * gcc.target/i386/indirect-thunk-extern-7.c: Likewise. * gcc.target/i386/pr85403.c: Remove dg-error, Added: trunk/gcc/testsuite/gcc.target/i386/cet-label-3.c trunk/gcc/testsuite/gcc.target/i386/cet-property-3.c trunk/gcc/testsuite/gcc.target/i386/cet-sjlj-7.c trunk/gcc/testsuite/gcc.target/i386/pr85417-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/cet.c trunk/gcc/config/i386/i386-c.c trunk/gcc/config/i386/i386.c trunk/gcc/config/i386/i386.md trunk/gcc/config/i386/i386.opt trunk/gcc/doc/invoke.texi trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/c-c++-common/attr-nocf-check-1.c trunk/gcc/testsuite/c-c++-common/attr-nocf-check-3.c trunk/gcc/testsuite/c-c++-common/fcf-protection-1.c trunk/gcc/testsuite/c-c++-common/fcf-protection-2.c trunk/gcc/testsuite/c-c++-common/fcf-protection-3.c trunk/gcc/testsuite/c-c++-common/fcf-protection-5.c trunk/gcc/testsuite/c-c++-common/fcf-protection-6.c trunk/gcc/testsuite/c-c++-common/fcf-protection-7.c trunk/gcc/testsuite/gcc.dg/march-generic.c trunk/gcc/testsuite/gcc.target/i386/align-limit.c trunk/gcc/testsuite/gcc.target/i386/cet-notrack-icf-1.c trunk/gcc/testsuite/gcc.target/i386/cet-notrack-icf-3.c trunk/gcc/testsuite/gcc.target/i386/cet-property-2.c trunk/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-7.c trunk/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-7.c trunk/gcc/testsuite/gcc.target/i386/pr85403.c trunk/gcc/testsuite/gcc.target/i386/ret-thunk-26.c >From gcc-bugs-return-602152-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 15:17:28 2018 Return-Path: <gcc-bugs-return-602152-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93126 invoked by alias); 19 Apr 2018 15:17:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83340 invoked by uid 48); 19 Apr 2018 15:17:24 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85469] New: -mibt is unused Date: Thu, 19 Apr 2018 15:17: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: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc blocked target_milestone cf_gcctarget Message-ID: <bug-85469-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02276.txt.bz2 Content-length: 707 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85469 Bug ID: 85469 Summary: -mibt is unused Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: igor.v.tsimbalist at intel dot com Blocks: 81652 Target Milestone: --- Target: x86_64-*-*, i?86-*-* With r259496, now -mibt does nothing and should be removed. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 [Bug 81652] [meta-bug] -fcf-protection=full -mcet bugs >From gcc-bugs-return-602153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 15:23:07 2018 Return-Path: <gcc-bugs-return-602153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71124 invoked by alias); 19 Apr 2018 15:23:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58109 invoked by uid 55); 19 Apr 2018 15:23:00 -0000 From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/85379] Missing ENDBR in __stack_split_initialize Date: Thu, 19 Apr 2018 15:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcc X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85379-4-ftL6GJcHDY@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85379-4@http.gcc.gnu.org/bugzilla/> References: <bug-85379-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02277.txt.bz2 Content-length: 1439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85379 --- Comment #1 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Thu Apr 19 15:22:27 2018 New Revision: 259497 URL: https://gcc.gnu.org/viewcvs?rev=259497&root=gcc&view=rev Log: libgcc/CET: Add _CET_ENDBR to __stack_split_initialize Program received signal SIGSEGV, Segmentation fault. __stack_split_initialize () at /export/gnu/import/git/sources/gcc/libgcc/config/i386/morestack.S:751 751 leaq -16000(%rsp),%rax # We should have at least 16K. Missing separate debuginfos, use: dnf debuginfo-install libgcc-8.0.1-0.21.0.fc28.x86_64 (gdb) disass Dump of assembler code for function __stack_split_initialize: => 0x0000000000402858 <+0>: lea -0x3e80(%rsp),%rax 0x0000000000402860 <+8>: mov %rax,%fs:0x70 0x0000000000402869 <+17>: sub $0x8,%rsp 0x000000000040286d <+21>: mov %rsp,%rdi 0x0000000000402870 <+24>: mov $0x3e80,%esi 0x0000000000402875 <+29>: callq 0x401810 <__generic_morestack_set_initial_sp> 0x000000000040287a <+34>: add $0x8,%rsp 0x000000000040287e <+38>: retq End of assembler dump. (gdb) This patch adds the missing ENDBR to __stack_split_initialize. PR libgcc/85379 * config/i386/morestack.S (__stack_split_initialize): Add _CET_ENDBR. Modified: trunk/libgcc/ChangeLog trunk/libgcc/config/i386/morestack.S >From gcc-bugs-return-602154-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 15:25:34 2018 Return-Path: <gcc-bugs-return-602154-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56520 invoked by alias); 19 Apr 2018 15:25:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 56367 invoked by uid 55); 19 Apr 2018 15:25:29 -0000 From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85404] -fcf-protection -mcet doesn't work with -fleading-underscore Date: Thu, 19 Apr 2018 15:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85404-4-kMrY8vcBF1@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85404-4@http.gcc.gnu.org/bugzilla/> References: <bug-85404-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02278.txt.bz2 Content-length: 840 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85404 --- Comment #2 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Thu Apr 19 15:24:53 2018 New Revision: 259498 URL: https://gcc.gnu.org/viewcvs?rev=259498&root=gcc&view=rev Log: x86/cet: Properly output labels in property note section Replace ASM_OUTPUT_LABEL with fprintf so that internal labels in property note section are unchanged by -fleading-underscore. gcc/ PR target/85404 * config/i386/cet.c (file_end_indicate_exec_stack_and_cet): Replace ASM_OUTPUT_LABEL with fprintf. gcc/testsuite/ PR target/85404 * gcc.target/i386/pr85404.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr85404.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/cet.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-602155-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 15:26:00 2018 Return-Path: <gcc-bugs-return-602155-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57441 invoked by alias); 19 Apr 2018 15:25:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57344 invoked by uid 48); 19 Apr 2018 15:25:55 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/85379] Missing ENDBR in __stack_split_initialize Date: Thu, 19 Apr 2018 15:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcc X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: <bug-85379-4-ETfa6wDu8F@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85379-4@http.gcc.gnu.org/bugzilla/> References: <bug-85379-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02279.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85379 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |8.0 --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- Fixed for GCC 8. >From gcc-bugs-return-602156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 15:26:00 2018 Return-Path: <gcc-bugs-return-602156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57500 invoked by alias); 19 Apr 2018 15:26:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57379 invoked by uid 48); 19 Apr 2018 15:25:56 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81652] [meta-bug] -fcf-protection=full -mcet bugs Date: Thu, 19 Apr 2018 15:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-81652-4-iN3Mjj7iPq@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81652-4@http.gcc.gnu.org/bugzilla/> References: <bug-81652-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02280.txt.bz2 Content-length: 467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 Bug 81652 depends on bug 85379, which changed state. Bug 85379 Summary: Missing ENDBR in __stack_split_initialize https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85379 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-602158-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 15:26:49 2018 Return-Path: <gcc-bugs-return-602158-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92429 invoked by alias); 19 Apr 2018 15:26:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88321 invoked by uid 48); 19 Apr 2018 15:26:45 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81652] [meta-bug] -fcf-protection=full -mcet bugs Date: Thu, 19 Apr 2018 15:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-81652-4-PHrI1LNEE8@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81652-4@http.gcc.gnu.org/bugzilla/> References: <bug-81652-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02282.txt.bz2 Content-length: 488 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 Bug 81652 depends on bug 85404, which changed state. Bug 85404 Summary: -fcf-protection -mcet doesn't work with -fleading-underscore https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85404 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-602157-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 15:26:48 2018 Return-Path: <gcc-bugs-return-602157-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92122 invoked by alias); 19 Apr 2018 15:26:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87450 invoked by uid 48); 19 Apr 2018 15:26:44 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85404] -fcf-protection -mcet doesn't work with -fleading-underscore Date: Thu, 19 Apr 2018 15:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: <bug-85404-4-uLSYTDhdE8@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85404-4@http.gcc.gnu.org/bugzilla/> References: <bug-85404-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02281.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85404 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |8.0 --- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- Fixed for GCC 8. >From gcc-bugs-return-602160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 15:27:37 2018 Return-Path: <gcc-bugs-return-602160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9562 invoked by alias); 19 Apr 2018 15:27:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4556 invoked by uid 48); 19 Apr 2018 15:27:34 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81652] [meta-bug] -fcf-protection=full -mcet bugs Date: Thu, 19 Apr 2018 15:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-81652-4-dge8RZdfqK@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81652-4@http.gcc.gnu.org/bugzilla/> References: <bug-81652-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02284.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 Bug 81652 depends on bug 85417, which changed state. Bug 85417 Summary: -fcf-protection should provide CET protection on x86 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-602159-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 15:27:37 2018 Return-Path: <gcc-bugs-return-602159-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9262 invoked by alias); 19 Apr 2018 15:27:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3643 invoked by uid 48); 19 Apr 2018 15:27:33 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85417] -fcf-protection should provide CET protection on x86 Date: Thu, 19 Apr 2018 15:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85417-4-G03D7N22xQ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85417-4@http.gcc.gnu.org/bugzilla/> References: <bug-85417-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02283.txt.bz2 Content-length: 425 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> --- Fixed for GCC 8. >From gcc-bugs-return-602163-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 15:29:43 2018 Return-Path: <gcc-bugs-return-602163-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26471 invoked by alias); 19 Apr 2018 15:29:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17215 invoked by uid 55); 19 Apr 2018 15:29:35 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/65775] Late-specified return type bypasses return type checks (qualified, function, array) Date: Thu, 19 Apr 2018 15:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: accepts-invalid, diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-65775-4-AVJNy7eDhw@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-65775-4@http.gcc.gnu.org/bugzilla/> References: <bug-65775-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02287.txt.bz2 Content-length: 1158 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65775 --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Thu Apr 19 15:29:03 2018 New Revision: 259499 URL: https://gcc.gnu.org/viewcvs?rev=259499&root=gcc&view=rev Log: PR c++/85464 - missing location for -Wignored-qualifiers diagnostic The fix for PR c++/69733 caused a regression for conversion operators with redundant cv-qualifiers, changing an incorrect location to an unknown location. This restores it to the incorrect location (as was already done on trunk by the fix for PR c++/65775). gcc/cp: PR c++/85464 - missing location for -Wignored-qualifiers diagnostic * decl.c (grokdeclarator): If declspecs->locations[ds_type_spec] is UNKNOWN_LOCATION fall back to input_location. gcc/testsuite: PR c++/85464 - missing location for -Wignored-qualifiers diagnostic * g++.dg/diagnostic/pr85464.C: New. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/diagnostic/pr85464.C Modified: branches/gcc-7-branch/gcc/cp/ChangeLog branches/gcc-7-branch/gcc/cp/decl.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-602161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 15:29:42 2018 Return-Path: <gcc-bugs-return-602161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25721 invoked by alias); 19 Apr 2018 15:29:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18938 invoked by uid 55); 19 Apr 2018 15:29:36 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/69733] -Wignored-qualifiers points to wrong const Date: Thu, 19 Apr 2018 15:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: diagnostic 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: bernds at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-69733-4-pKLRQnjmXp@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-69733-4@http.gcc.gnu.org/bugzilla/> References: <bug-69733-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02285.txt.bz2 Content-length: 1158 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69733 --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Thu Apr 19 15:29:03 2018 New Revision: 259499 URL: https://gcc.gnu.org/viewcvs?rev=259499&root=gcc&view=rev Log: PR c++/85464 - missing location for -Wignored-qualifiers diagnostic The fix for PR c++/69733 caused a regression for conversion operators with redundant cv-qualifiers, changing an incorrect location to an unknown location. This restores it to the incorrect location (as was already done on trunk by the fix for PR c++/65775). gcc/cp: PR c++/85464 - missing location for -Wignored-qualifiers diagnostic * decl.c (grokdeclarator): If declspecs->locations[ds_type_spec] is UNKNOWN_LOCATION fall back to input_location. gcc/testsuite: PR c++/85464 - missing location for -Wignored-qualifiers diagnostic * g++.dg/diagnostic/pr85464.C: New. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/diagnostic/pr85464.C Modified: branches/gcc-7-branch/gcc/cp/ChangeLog branches/gcc-7-branch/gcc/cp/decl.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-602162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 15:29:43 2018 Return-Path: <gcc-bugs-return-602162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26381 invoked by alias); 19 Apr 2018 15:29:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17166 invoked by uid 55); 19 Apr 2018 15:29:35 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85464] [7 Regression] Wignored-qualifiers is emitted by cc1plus without diagnostics when triggered by a cast operator. Date: Thu, 19 Apr 2018 15:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: diagnostic, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85464-4-lQAiXapxFI@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85464-4@http.gcc.gnu.org/bugzilla/> References: <bug-85464-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02286.txt.bz2 Content-length: 1158 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85464 --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Thu Apr 19 15:29:03 2018 New Revision: 259499 URL: https://gcc.gnu.org/viewcvs?rev=259499&root=gcc&view=rev Log: PR c++/85464 - missing location for -Wignored-qualifiers diagnostic The fix for PR c++/69733 caused a regression for conversion operators with redundant cv-qualifiers, changing an incorrect location to an unknown location. This restores it to the incorrect location (as was already done on trunk by the fix for PR c++/65775). gcc/cp: PR c++/85464 - missing location for -Wignored-qualifiers diagnostic * decl.c (grokdeclarator): If declspecs->locations[ds_type_spec] is UNKNOWN_LOCATION fall back to input_location. gcc/testsuite: PR c++/85464 - missing location for -Wignored-qualifiers diagnostic * g++.dg/diagnostic/pr85464.C: New. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/diagnostic/pr85464.C Modified: branches/gcc-7-branch/gcc/cp/ChangeLog branches/gcc-7-branch/gcc/cp/decl.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-602164-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 15:31:43 2018 Return-Path: <gcc-bugs-return-602164-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58893 invoked by alias); 19 Apr 2018 15:31:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58732 invoked by uid 48); 19 Apr 2018 15:31:31 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128 Date: Thu, 19 Apr 2018 15:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85381-4-jIw7AzFRVK@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85381-4@http.gcc.gnu.org/bugzilla/> References: <bug-85381-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02288.txt.bz2 Content-length: 281 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 --- Comment #8 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Tom de Vries from comment #6) > Created attachment 43992 [details] > tentative patch Tested libgomp on og7 build with quadro m1200, no issues found. >From gcc-bugs-return-602165-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 15:39:07 2018 Return-Path: <gcc-bugs-return-602165-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65548 invoked by alias); 19 Apr 2018 15:39:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65492 invoked by uid 48); 19 Apr 2018 15:39:02 -0000 From: "officesamurai at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85470] New: Strange error about "call to non-constexpr function" Date: Thu, 19 Apr 2018 15:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: officesamurai at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85470-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02289.txt.bz2 Content-length: 1546 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85470 Bug ID: 85470 Summary: Strange error about "call to non-constexpr function" Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: officesamurai at gmail dot com Target Milestone: --- GCC 7 fails to compile the following code: ---- test.cpp ---- template <class T> struct StaticObject { static T& create() { static T t; return t; } static T & instance; }; template <class T> T & StaticObject<T>::instance = StaticObject<T>::create(); extern template class StaticObject<int>; void test() { StaticObject<int>::instance; } ---- command line ----- $ g++-7.3.0 -v Using built-in specs. COLLECT_GCC=g++-7.3.0 COLLECT_LTO_WRAPPER=/home/brd/soft/gcc-7.3.0/libexec/gcc/x86_64-pc-linux-gnu/7.3.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ./configure --prefix=/home/brd/soft/gcc-7.3.0 Thread model: posix gcc version 7.3.0 (GCC) $ g++-7.3.0 -c test.cpp test.cpp: In instantiation of âint& StaticObject<int>::instanceâ: test.cpp:19:24: required from here test.cpp:13:75: error: call to non-constexpr function âstatic T& StaticObject<T>::create() [with T = int]â template <class T> T & StaticObject<T>::instance = StaticObject<T>::create(); P.S. I also tried 7.1 (same error) and 6.3 (no error) >From gcc-bugs-return-602166-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 15:53:58 2018 Return-Path: <gcc-bugs-return-602166-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84583 invoked by alias); 19 Apr 2018 15:53:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84536 invoked by uid 48); 19 Apr 2018 15:53:52 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85450] ICE: invalid types in nop conversion during GIMPLE pass: ompexp Date: Thu, 19 Apr 2018 15:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: openmp 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: <bug-85450-4-bXMg31OOGu@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85450-4@http.gcc.gnu.org/bugzilla/> References: <bug-85450-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02290.txt.bz2 Content-length: 2863 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85450 --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- There are 4 spots, unsigned_type_for breaks for-5.c though. There are several other spots that do use signed_type_for instead, so following works for the testsuite: --- gcc/omp-expand.c.jj 2018-04-16 20:35:14.663558320 +0200 +++ gcc/omp-expand.c 2018-04-19 17:14:13.267424165 +0200 @@ -3501,7 +3501,12 @@ expand_omp_for_static_nochunk (struct om t = fold_convert (itype, s0); t = fold_build2 (MULT_EXPR, itype, t, step); if (POINTER_TYPE_P (type)) - t = fold_build_pointer_plus (n1, t); + { + t = fold_build_pointer_plus (n1, t); + if (!POINTER_TYPE_P (TREE_TYPE (startvar)) + && TYPE_PRECISION (TREE_TYPE (startvar)) > TYPE_PRECISION (type)) + t = fold_convert (signed_type_for (type), t); + } else t = fold_build2 (PLUS_EXPR, type, t, n1); t = fold_convert (TREE_TYPE (startvar), t); @@ -3515,7 +3520,12 @@ expand_omp_for_static_nochunk (struct om t = fold_convert (itype, e0); t = fold_build2 (MULT_EXPR, itype, t, step); if (POINTER_TYPE_P (type)) - t = fold_build_pointer_plus (n1, t); + { + t = fold_build_pointer_plus (n1, t); + if (!POINTER_TYPE_P (TREE_TYPE (startvar)) + && TYPE_PRECISION (TREE_TYPE (startvar)) > TYPE_PRECISION (type)) + t = fold_convert (signed_type_for (type), t); + } else t = fold_build2 (PLUS_EXPR, type, t, n1); t = fold_convert (TREE_TYPE (startvar), t); @@ -4000,7 +4010,12 @@ expand_omp_for_static_chunk (struct omp_ t = fold_convert (itype, s0); t = fold_build2 (MULT_EXPR, itype, t, step); if (POINTER_TYPE_P (type)) - t = fold_build_pointer_plus (n1, t); + { + t = fold_build_pointer_plus (n1, t); + if (!POINTER_TYPE_P (TREE_TYPE (startvar)) + && TYPE_PRECISION (TREE_TYPE (startvar)) > TYPE_PRECISION (type)) + t = fold_convert (signed_type_for (type), t); + } else t = fold_build2 (PLUS_EXPR, type, t, n1); t = fold_convert (TREE_TYPE (startvar), t); @@ -4014,7 +4029,12 @@ expand_omp_for_static_chunk (struct omp_ t = fold_convert (itype, e0); t = fold_build2 (MULT_EXPR, itype, t, step); if (POINTER_TYPE_P (type)) - t = fold_build_pointer_plus (n1, t); + { + t = fold_build_pointer_plus (n1, t); + if (!POINTER_TYPE_P (TREE_TYPE (startvar)) + && TYPE_PRECISION (TREE_TYPE (startvar)) > TYPE_PRECISION (type)) + t = fold_convert (signed_type_for (type), t); + } else t = fold_build2 (PLUS_EXPR, type, t, n1); t = fold_convert (TREE_TYPE (startvar), t); Though, I think it would be better to replace most of the signed_type_for related to pointer types to unsigned_type_for. Not something I have time for right now though. >From gcc-bugs-return-602167-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 16:16:46 2018 Return-Path: <gcc-bugs-return-602167-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38201 invoked by alias); 19 Apr 2018 16:16:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38036 invoked by uid 48); 19 Apr 2018 16:16:29 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85470] [7/8 Regression] Strange error about "call to non-constexpr function" Date: Thu, 19 Apr 2018 16:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority cc target_milestone short_desc Message-ID: <bug-85470-4-kmyUempJEx@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85470-4@http.gcc.gnu.org/bugzilla/> References: <bug-85470-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02291.txt.bz2 Content-length: 739 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85470 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 CC| |jakub at gcc dot gnu.org Target Milestone|--- |7.4 Summary|Strange error about "call |[7/8 Regression] Strange |to non-constexpr function" |error about "call to | |non-constexpr function" --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- This is rejected starting with r242422. >From gcc-bugs-return-602168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 16:33:18 2018 Return-Path: <gcc-bugs-return-602168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53452 invoked by alias); 19 Apr 2018 16:33:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53396 invoked by uid 48); 19 Apr 2018 16:33:14 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/61424] std::regex matches right to left, not leftmost longest Date: Thu, 19 Apr 2018 16:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.9.1 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: timshen at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: <bug-61424-4-wH2yugPU2j@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-61424-4@http.gcc.gnu.org/bugzilla/> References: <bug-61424-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02292.txt.bz2 Content-length: 506 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61424 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |5.0 --- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- I think this was fixed for gcc 5.1 >From gcc-bugs-return-602169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 16:37:13 2018 Return-Path: <gcc-bugs-return-602169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61656 invoked by alias); 19 Apr 2018 16:37:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61614 invoked by uid 55); 19 Apr 2018 16:37:08 -0000 From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85397] -mcet -fcf-protection doesn't work with label in nested function Date: Thu, 19 Apr 2018 16: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85397-4-VFj1WlvTYd@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85397-4@http.gcc.gnu.org/bugzilla/> References: <bug-85397-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02293.txt.bz2 Content-length: 1351 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85397 --- Comment #5 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Thu Apr 19 16:36:34 2018 New Revision: 259500 URL: https://gcc.gnu.org/viewcvs?rev=259500&root=gcc&view=rev Log: i386: Add save_stack_nonlocal and restore_stack_nonlocal Define STACK_SAVEAREA_MODE to hold both shadow stack and stack pointers. Replace builtin_setjmp_setup and builtin_longjmp with save_stack_nonlocal and restore_stack_nonlocal to support both builtin setjmp/longjmp as well as non-local goto in nested functions. gcc/ PR target/85397 * config/i386/i386.h (STACK_SAVEAREA_MODE): New. * config/i386/i386.md (builtin_setjmp_setup): Removed. (builtin_longjmp): Likewise. (save_stack_nonlocal): New pattern. (restore_stack_nonlocal): Likewise. gcc/testsuite/ PR target/85397 * gcc.dg/torture/pr85397-1.c: New test. * gcc.target/i386/cet-sjlj-6a.c: Adjusted. * gcc.target/i386/cet-sjlj-6b.c: Likewise. Added: trunk/gcc/testsuite/gcc.dg/torture/pr85397-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.h trunk/gcc/config/i386/i386.md trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/i386/cet-sjlj-6a.c trunk/gcc/testsuite/gcc.target/i386/cet-sjlj-6b.c >From gcc-bugs-return-602170-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 16:37:23 2018 Return-Path: <gcc-bugs-return-602170-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62400 invoked by alias); 19 Apr 2018 16:37:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62332 invoked by uid 48); 19 Apr 2018 16:37:18 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/68450] regex matching different from ECMAScript? Date: Thu, 19 Apr 2018 16:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: <bug-68450-4-OaE06g4p7s@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-68450-4@http.gcc.gnu.org/bugzilla/> References: <bug-68450-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02294.txt.bz2 Content-length: 544 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68450 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |4.9.4 --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- This seems to be fixed in GCC 4.9.4, 5.4, 6.1, and any later releases. >From gcc-bugs-return-602172-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 16:38:29 2018 Return-Path: <gcc-bugs-return-602172-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68736 invoked by alias); 19 Apr 2018 16:38:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68545 invoked by uid 48); 19 Apr 2018 16:38:25 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81652] [meta-bug] -fcf-protection=full -mcet bugs Date: Thu, 19 Apr 2018 16:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-81652-4-nWedi6Mcxr@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81652-4@http.gcc.gnu.org/bugzilla/> References: <bug-81652-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02296.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 Bug 81652 depends on bug 85397, which changed state. Bug 85397 Summary: -mcet -fcf-protection doesn't work with label in nested function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85397 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-602171-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 16:38:28 2018 Return-Path: <gcc-bugs-return-602171-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68600 invoked by alias); 19 Apr 2018 16:38:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68510 invoked by uid 48); 19 Apr 2018 16:38:24 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85397] -mcet -fcf-protection doesn't work with label in nested function Date: Thu, 19 Apr 2018 16:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: <bug-85397-4-H6e94Hpwqt@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85397-4@http.gcc.gnu.org/bugzilla/> References: <bug-85397-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02295.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85397 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |8.0 --- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> --- Fixed for GCC 8. >From gcc-bugs-return-602173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 16:41:27 2018 Return-Path: <gcc-bugs-return-602173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71349 invoked by alias); 19 Apr 2018 16:41:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71201 invoked by uid 48); 19 Apr 2018 16:41:21 -0000 From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85198] long long int vector mistaken as long int vector Date: Thu, 19 Apr 2018 16:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt 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: <bug-85198-4-eN8YkF6x8p@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85198-4@http.gcc.gnu.org/bugzilla/> References: <bug-85198-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02297.txt.bz2 Content-length: 258 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85198 --- Comment #5 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- OK, I see Jakub's point now. And this whole business is a big mess -- probably too late to change in 8, but we need to clean this up. >From gcc-bugs-return-602174-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 16:44:39 2018 Return-Path: <gcc-bugs-return-602174-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102747 invoked by alias); 19 Apr 2018 16:44:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102720 invoked by uid 48); 19 Apr 2018 16:44:35 -0000 From: "aotto1968@t-online.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85471] New: closing a "thread" in "C++" using "pthread_exit(NULL)" creates a "SIGABRT" Date: Thu, 19 Apr 2018 16:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aotto1968@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget cf_gccbuild Message-ID: <bug-85471-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02298.txt.bz2 Content-length: 3166 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85471 Bug ID: 85471 Summary: closing a "thread" in "C++" using "pthread_exit(NULL)" creates a "SIGABRT" Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: aotto1968@t-online.de Target Milestone: --- Host: openSUSE 42.3 (x86_64) Target: openSUSE 42.3 (x86_64) Build: openSUSE 42.3 (x86_64) the c++ compiler I use: g++-7 (SUSE Linux) 7.3.1 20180307 [gcc-7-branch revision 258314] Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Problem ======= In one of my TEST-Cases⦠written for my own server-software⦠I close a (worker)-thread using the following code⦠> pthread_exit(NULL); in "C" this works fine⦠in "c++" I get the error from below⦠covered with "valgrind"⦠question: why I get this error in "system" code ???? ==55315== ==55315== Process terminating with default action of signal 6 (SIGABRT) ==55315== at 0x58E7F67: raise (raise.c:55) ==55315== by 0x58E9339: abort (abort.c:78) ==55315== by 0x413FED: _Unwind_SetGR (unwind-dw2.c:273) ==55315== by 0x40763C: __gxx_personality_v0 (eh_personality.cc:712) ==55315== by 0x5FF04A4: _Unwind_ForcedUnwind_Phase2 (unwind.inc:175) ==55315== by 0x5FF0A64: _Unwind_ForcedUnwind (unwind.inc:207) ==55315== by 0x56A598F: __pthread_unwind (unwind.c:126) ==55315== by 0x569F8B4: __do_cancel (pthreadP.h:283) ==55315== by 0x569F8B4: pthread_exit (pthread_exit.c:28) ==55315== by 0x4E6AB00: libmsgque::SysExit(int, int) (sys.cc:935) ==55315== by 0x4E64E8C: libmsgque::MqSysExit(int, int) (msgque.h:5671) ==55315== by 0x4E65B05: libmsgque::MqExitP(libmsgque::MqS*, char const*, char const*) (msgque.cc:417) ==55315== by 0x404917: ccmsgque::MqC::Exit() (ccmsgque.h:409) ==55315== ==55315== HEAP SUMMARY: ==55315== in use at exit: 101,380 bytes in 63 blocks ==55315== total heap usage: 401 allocs, 338 frees, 493,733 bytes allocated ==55315== ==55315== LEAK SUMMARY: ==55315== definitely lost: 0 bytes in 0 blocks ==55315== indirectly lost: 0 bytes in 0 blocks ==55315== possibly lost: 320 bytes in 1 blocks ==55315== still reachable: 101,060 bytes in 62 blocks ==55315== suppressed: 0 bytes in 0 blocks ==55315== Rerun with --leak-check=full to see details of leaked memory ==55315== ==55315== For counts of detected and suppressed errors, rerun with: -v ==55315== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Abgebrochen (Speicherabzug geschrieben) >From gcc-bugs-return-602175-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 16:49:22 2018 Return-Path: <gcc-bugs-return-602175-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108569 invoked by alias); 19 Apr 2018 16:49:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108488 invoked by uid 48); 19 Apr 2018 16:49:05 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85470] [7/8 Regression] Strange error about "call to non-constexpr function" Date: Thu, 19 Apr 2018 16: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: <bug-85470-4-yNXWI5glil@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85470-4@http.gcc.gnu.org/bugzilla/> References: <bug-85470-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02299.txt.bz2 Content-length: 958 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85470 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-19 CC| |jason at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- r200450 added - if (DECL_DECLARED_CONSTEXPR_P (decl)) + if (DECL_DECLARED_CONSTEXPR_P (decl) + || DECL_IN_AGGR_P (decl)) I wonder if it shouldn't have been DECL_INITIALIZED_IN_CLASS_P instead, or DECL_IN_AGGR_P (decl) && DECL_INITIALIZED_IN_CLASS_P (decl). If DECL_IN_AGGR_P (decl) check is right here, then the question is why it is set when there is the extern template line (and not otherwise). >From gcc-bugs-return-602176-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 16:59:28 2018 Return-Path: <gcc-bugs-return-602176-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19138 invoked by alias); 19 Apr 2018 16:59:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19090 invoked by uid 48); 19 Apr 2018 16:59:23 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85471] closing a "thread" in "C++" using "pthread_exit(NULL)" creates a "SIGABRT" Date: Thu, 19 Apr 2018 16:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: <bug-85471-4-6jHhGy8taQ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85471-4@http.gcc.gnu.org/bugzilla/> References: <bug-85471-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02300.txt.bz2 Content-length: 528 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85471 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-04-19 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Please provide a test case. https://gcc.gnu.org/bugs/ >From gcc-bugs-return-602179-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 17:01:21 2018 Return-Path: <gcc-bugs-return-602179-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22495 invoked by alias); 19 Apr 2018 17:01:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21777 invoked by uid 55); 19 Apr 2018 17:01:13 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85464] [7 Regression] Wignored-qualifiers is emitted by cc1plus without diagnostics when triggered by a cast operator. Date: Thu, 19 Apr 2018 17:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: diagnostic, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85464-4-BVuzmNDI8B@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85464-4@http.gcc.gnu.org/bugzilla/> References: <bug-85464-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02303.txt.bz2 Content-length: 432 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85464 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- Fixed for 7.4 >From gcc-bugs-return-602177-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 17:01:18 2018 Return-Path: <gcc-bugs-return-602177-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21930 invoked by alias); 19 Apr 2018 17:01:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21748 invoked by uid 48); 19 Apr 2018 17:01:13 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85464] [7 Regression] Wignored-qualifiers is emitted by cc1plus without diagnostics when triggered by a cast operator. Date: Thu, 19 Apr 2018 17:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: diagnostic, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85464-4-eu45lncZmT@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85464-4@http.gcc.gnu.org/bugzilla/> References: <bug-85464-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02301.txt.bz2 Content-length: 855 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85464 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Thu Apr 19 17:00:37 2018 New Revision: 259501 URL: https://gcc.gnu.org/viewcvs?rev=259501&root=gcc&view=rev Log: PR c++/85464 - missing location for -Wignored-qualifiers diagnostic * g++.dg/diagnostic/pr85464.C: New. Added: trunk/gcc/testsuite/g++.dg/diagnostic/pr85464.C Modified: trunk/gcc/testsuite/ChangeLog --- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- Fixed for 7.4 >From gcc-bugs-return-602178-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 17:01:18 2018 Return-Path: <gcc-bugs-return-602178-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22071 invoked by alias); 19 Apr 2018 17:01:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21739 invoked by uid 55); 19 Apr 2018 17:01:13 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85464] [7 Regression] Wignored-qualifiers is emitted by cc1plus without diagnostics when triggered by a cast operator. Date: Thu, 19 Apr 2018 17:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: diagnostic, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85464-4-GZmpSJgH5r@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85464-4@http.gcc.gnu.org/bugzilla/> References: <bug-85464-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02302.txt.bz2 Content-length: 476 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85464 --- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Thu Apr 19 17:00:37 2018 New Revision: 259501 URL: https://gcc.gnu.org/viewcvs?rev=259501&root=gcc&view=rev Log: PR c++/85464 - missing location for -Wignored-qualifiers diagnostic * g++.dg/diagnostic/pr85464.C: New. Added: trunk/gcc/testsuite/g++.dg/diagnostic/pr85464.C Modified: trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-602180-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 17:06:17 2018 Return-Path: <gcc-bugs-return-602180-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32841 invoked by alias); 19 Apr 2018 17:06:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32771 invoked by uid 55); 19 Apr 2018 17:06:12 -0000 From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/85334] Shadow stack isn't unwound properly through signal handler Date: Thu, 19 Apr 2018 17:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcc X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85334-4-LNo1MlJot1@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85334-4@http.gcc.gnu.org/bugzilla/> References: <bug-85334-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02304.txt.bz2 Content-length: 2014 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85334 --- Comment #3 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Thu Apr 19 17:05:39 2018 New Revision: 259502 URL: https://gcc.gnu.org/viewcvs?rev=259502&root=gcc&view=rev Log: libgcc/CET: Skip signal frames when unwinding shadow stack When -fcf-protection -mcet is used, I got FAIL: g++.dg/eh/sighandle.C (gdb) bt #0 _Unwind_RaiseException (exc=exc@entry=0x416ed0) at /export/gnu/import/git/sources/gcc/libgcc/unwind.inc:140 #1 0x00007ffff7d9936b in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x403dd0 <typeinfo for int@@CXXABI_1.3>, dest=0x0) at /export/gnu/import/git/sources/gcc/libstdc++-v3/libsupc++/eh_throw.cc:90 #2 0x0000000000401255 in sighandler (signo=11, si=0x7fffffffd6f8, uc=0x7fffffffd5c0) at /export/gnu/import/git/sources/gcc/gcc/testsuite/g++.dg/eh/sighandle.C:9 #3 <signal handler called> <<<< Signal frame which isn't on shadow stack #4 dosegv () at /export/gnu/import/git/sources/gcc/gcc/testsuite/g++.dg/eh/sighandle.C:14 #5 0x00000000004012e3 in main () at /export/gnu/import/git/sources/gcc/gcc/testsuite/g++.dg/eh/sighandle.C:30 (gdb) p frames $6 = 5 (gdb) frame count should be 4, not 5. This patch skips signal frames when unwinding shadow stack. gcc/testsuite/ PR libgcc/85334 * g++.dg/torture/pr85334.C: New test. libgcc/ PR libgcc/85334 * unwind-generic.h (_Unwind_Frames_Increment): New. * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment): Likewise. * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame count with _Unwind_Frames_Increment. (_Unwind_ForcedUnwind_Phase2): Likewise. Added: trunk/gcc/testsuite/g++.dg/torture/pr85334.C Modified: trunk/gcc/testsuite/ChangeLog trunk/libgcc/ChangeLog trunk/libgcc/config/i386/shadow-stack-unwind.h trunk/libgcc/unwind-generic.h trunk/libgcc/unwind.inc >From gcc-bugs-return-602181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 17:10:13 2018 Return-Path: <gcc-bugs-return-602181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38078 invoked by alias); 19 Apr 2018 17:10:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37980 invoked by uid 48); 19 Apr 2018 17:10:08 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/85334] Shadow stack isn't unwound properly through signal handler Date: Thu, 19 Apr 2018 17:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcc X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: <bug-85334-4-2Sk8BBFnct@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85334-4@http.gcc.gnu.org/bugzilla/> References: <bug-85334-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02305.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85334 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |8.0 --- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> --- Fixed for GCC 8. >From gcc-bugs-return-602183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 17:10:54 2018 Return-Path: <gcc-bugs-return-602183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39671 invoked by alias); 19 Apr 2018 17:10:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39592 invoked by uid 48); 19 Apr 2018 17:10:49 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/77696] Confusing wording for -Wformat-overflow Date: Thu, 19 Apr 2018 17: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: 7.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: <bug-77696-4-3xpjyKWiDM@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-77696-4@http.gcc.gnu.org/bugzilla/> References: <bug-77696-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02307.txt.bz2 Content-length: 458 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77696 Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING --- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- David, any thoughts/suggestions for how to improve things (taking into consideration comment #1)? >From gcc-bugs-return-602182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 17:10:13 2018 Return-Path: <gcc-bugs-return-602182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38086 invoked by alias); 19 Apr 2018 17:10:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38001 invoked by uid 48); 19 Apr 2018 17:10:09 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81652] [meta-bug] -fcf-protection=full -mcet bugs Date: Thu, 19 Apr 2018 17:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-81652-4-t8WyjaYohw@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81652-4@http.gcc.gnu.org/bugzilla/> References: <bug-81652-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02306.txt.bz2 Content-length: 486 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 Bug 81652 depends on bug 85334, which changed state. Bug 85334 Summary: Shadow stack isn't unwound properly through signal handler https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85334 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-602184-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 17:23:44 2018 Return-Path: <gcc-bugs-return-602184-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5524 invoked by alias); 19 Apr 2018 17:23:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129145 invoked by uid 48); 19 Apr 2018 17:23:40 -0000 From: "andi-gcc at firstfloor dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/50639] -flto=jobserver broken on large LTO build Date: Thu, 19 Apr 2018 17:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andi-gcc at firstfloor 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: Message-ID: <bug-50639-4-gpHoIhsoMh@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-50639-4@http.gcc.gnu.org/bugzilla/> References: <bug-50639-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02308.txt.bz2 Content-length: 350 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50639 --- Comment #4 from Andi Kleen <andi-gcc at firstfloor dot org> --- I doubt it's fixed. It's a race so can be unstable. Especially since judging from the growing cc list other people keep seeing it It may not be something that gcc can fix, if anything it's more likely in make or in Linux. >From gcc-bugs-return-602185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 17:37:08 2018 Return-Path: <gcc-bugs-return-602185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58348 invoked by alias); 19 Apr 2018 17:37:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58212 invoked by uid 48); 19 Apr 2018 17:37:02 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85470] [7/8 Regression] Strange error about "call to non-constexpr function" Date: Thu, 19 Apr 2018 17:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85470-4-0p3c2zzhYF@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85470-4@http.gcc.gnu.org/bugzilla/> References: <bug-85470-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02309.txt.bz2 Content-length: 1115 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85470 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- --- gcc/cp/typeck2.c.jj 2018-04-19 15:57:36.765482568 +0200 +++ gcc/cp/typeck2.c 2018-04-19 19:32:43.335986274 +0200 @@ -824,7 +824,9 @@ store_init_value (tree decl, tree init, bool const_init; value = fold_non_dependent_expr (value); if (DECL_DECLARED_CONSTEXPR_P (decl) - || (DECL_IN_AGGR_P (decl) && !DECL_VAR_DECLARED_INLINE_P (decl))) + || (DECL_CLASS_SCOPE_P (decl) + && DECL_INITIALIZED_IN_CLASS_P (decl) + && !DECL_VAR_DECLARED_INLINE_P (decl))) { /* Diagnose a non-constant initializer for constexpr. */ if (!require_constant_expression (value)) just changes the error, from pr85470.C:13:75: error: call to non-âconstexprâ function âstatic T& StaticObject<T>::create() [with T = int]â to pr85470.C:13:24: error: non-constant in-class initialization invalid for static member âStaticObject<int>::instanceâ cpp0x/overflow1.C still PASSes. >From gcc-bugs-return-602186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 17:39:45 2018 Return-Path: <gcc-bugs-return-602186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73190 invoked by alias); 19 Apr 2018 17:39:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69615 invoked by uid 48); 19 Apr 2018 17:39:39 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/67882] surprising offsetof result on an invalid array member without diagnostic Date: Thu, 19 Apr 2018 17: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-67882-4-1XT5vvK2aS@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-67882-4@http.gcc.gnu.org/bugzilla/> References: <bug-67882-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02310.txt.bz2 Content-length: 1302 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67882 Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|SUSPENDED |RESOLVED Resolution|--- |FIXED --- Comment #10 from Martin Sebor <msebor at gcc dot gnu.org> --- The sentiment within WG14 about the question raised in comment #5 was that the use case is invalid and the offsetof description makes it sufficiently clear. In struct s { int fpr[32][1]; int fpscr; }; offsetof(struct s, fpr[32][0]) the offsetof macro is specified to expand such that given static struct s t; the following evaluates to an integer constant: &(t.fpr[32][0]) Since the t.fpr array has only 32 elements, a reference to t.fpr[32][0] is out of bounds and thus undefined (there is no array fpr[32] and so no element 0 of such an array). As a result, the full expression does not yield a valid integer constant as required and a diagnostic is justified. With that I think it's time to resolve this. (Other questions were raised about offsetof in DR 496 but even those the committee doesn't seem to be very interested in dealing with.) >From gcc-bugs-return-602187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 18:09:57 2018 Return-Path: <gcc-bugs-return-602187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108906 invoked by alias); 19 Apr 2018 18:09:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108798 invoked by uid 48); 19 Apr 2018 18:09:52 -0000 From: "hyrosen at mail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61982] Optimizer does not eliminate stores to destroyed objects Date: Thu, 19 Apr 2018 18:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: minor X-Bugzilla-Who: hyrosen at mail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-61982-4-bTUdKf5pNx@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-61982-4@http.gcc.gnu.org/bugzilla/> References: <bug-61982-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02311.txt.bz2 Content-length: 2405 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61982 --- Comment #13 from hyrosen at mail dot com --- (In reply to Jonathan Wakely from comment #12) > The C++ standard. Specifically, [basic.life]. > > So the first memcmp call reuses the storage to create an array of unsigned > char with indeterminate values. That ends the lifetime of the X (without > calling the destructor). Then you call the destructor on an object that > already ended its lifetime, which is undefined. Then you reuse it as an > array of unsigned char again, and it still has indeterminate values. No, this is wrong. [basic.life] says (I'm using N4741): "The lifetime of an object of type T begins when: â storage with the proper alignment and size for type T is obtained..." A call to memcmp does not "obtain storage" and therefore cannot begin the lifetime of an object. More to the point, this is obviously wrong because the standard permits copying out the bytes of an object (it gives examples using memcpy in [basic.types]), and by your thesis, doing so would end the lifetime of the copied object. > the value representation of the X cannot be inspected > by memcmp, because X is not trivially copyable, and since the values are > indeterminate there is no requirement for the values written by the > destructor to be observable. I suppose. The storage itself can be inspected, though, per [basic.life]: "...after the lifetime of an object has ended and before the storage which the object occupied is reused or released, any pointer that represents the address of the storage location... Indirection through such a pointer is permitted... when the conversion is to ... pointer to cv void and subsequently to pointer to ... cv unsigned char ...". Per [intro.execution], modifying an object is a side effect, and to me it is surprising that a compiler would choose to eliminate the effect of a side effect on storage when that effect would be observable, although I don't see the standard saying anything about how modifying objects affects their storage, so I suppose it may be permitted. As a matter of personal taste, I am extremely against a compiler eliminating code that a programmer has written unless the compiler can prove that the effects cannot be observed. I call this a fetish for optimizationism, a desire to make isolated code snippets faster by disregarding the intent of the programmer. >From gcc-bugs-return-602188-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 18:10:21 2018 Return-Path: <gcc-bugs-return-602188-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110030 invoked by alias); 19 Apr 2018 18:10:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109924 invoked by uid 55); 19 Apr 2018 18:10:17 -0000 From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84611] [6/7/8 Regression] ICE in operator[], at vec.h:826 (local_class_index()) Date: Thu, 19 Apr 2018 18:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-84611-4-3eByrxSmWe@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84611-4@http.gcc.gnu.org/bugzilla/> References: <bug-84611-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02312.txt.bz2 Content-length: 723 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84611 --- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> --- Author: paolo Date: Thu Apr 19 18:09:45 2018 New Revision: 259505 URL: https://gcc.gnu.org/viewcvs?rev=259505&root=gcc&view=rev Log: /cp 2018-04-19 Paolo Carlini <paolo.carlini@oracle.com> PR c++/84611 * pt.c (lookup_template_class_1): Check pushtag return value for error_mark_node. /testsuite 2018-04-19 Paolo Carlini <paolo.carlini@oracle.com> PR c++/84611 * g++.dg/parse/crash68.C: New. Added: trunk/gcc/testsuite/g++.dg/parse/crash68.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-602189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 18:10:56 2018 Return-Path: <gcc-bugs-return-602189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111049 invoked by alias); 19 Apr 2018 18:10:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110993 invoked by uid 48); 19 Apr 2018 18:10:52 -0000 From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84611] [6/7 Regression] ICE in operator[], at vec.h:826 (local_class_index()) Date: Thu, 19 Apr 2018 18:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: <bug-84611-4-CgIH1on0MA@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84611-4@http.gcc.gnu.org/bugzilla/> References: <bug-84611-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02313.txt.bz2 Content-length: 551 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84611 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[6/7/8 Regression] ICE in |[6/7 Regression] ICE in |operator[], at vec.h:826 |operator[], at vec.h:826 |(local_class_index()) |(local_class_index()) --- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> --- Fixed in trunk. >From gcc-bugs-return-602190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 18:23:56 2018 Return-Path: <gcc-bugs-return-602190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123691 invoked by alias); 19 Apr 2018 18:23:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123647 invoked by uid 48); 19 Apr 2018 18:23:52 -0000 From: "avi@cloudius-systems.com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61982] Optimizer does not eliminate stores to destroyed objects Date: Thu, 19 Apr 2018 18:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: minor X-Bugzilla-Who: avi@cloudius-systems.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-61982-4-HpkgKkg0ds@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-61982-4@http.gcc.gnu.org/bugzilla/> References: <bug-61982-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02314.txt.bz2 Content-length: 332 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61982 --- Comment #14 from Avi Kivity <avi@cloudius-systems.com> --- This is a common missed optimization. A container is cleared as part of destruction, but the stores are not eliminated, even though they are illegal. If you want to access members of an object, don't destroy it. >From gcc-bugs-return-602191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 18:35:17 2018 Return-Path: <gcc-bugs-return-602191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6674 invoked by alias); 19 Apr 2018 18:35:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6571 invoked by uid 48); 19 Apr 2018 18:35:12 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61982] Optimizer does not eliminate stores to destroyed objects Date: Thu, 19 Apr 2018 18:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: minor 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: <bug-61982-4-SKa2WVos43@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-61982-4@http.gcc.gnu.org/bugzilla/> References: <bug-61982-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02315.txt.bz2 Content-length: 258 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61982 --- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The stores aren't illegal, just can't be observed in a valid program, because after the destruction the bits have indeterminate values. >From gcc-bugs-return-602192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 18:37:24 2018 Return-Path: <gcc-bugs-return-602192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13376 invoked by alias); 19 Apr 2018 18:37:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13281 invoked by uid 48); 19 Apr 2018 18:37:20 -0000 From: "avi@cloudius-systems.com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61982] Optimizer does not eliminate stores to destroyed objects Date: Thu, 19 Apr 2018 18:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: minor X-Bugzilla-Who: avi@cloudius-systems.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-61982-4-iedc2OfeIR@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-61982-4@http.gcc.gnu.org/bugzilla/> References: <bug-61982-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02316.txt.bz2 Content-length: 162 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61982 --- Comment #16 from Avi Kivity <avi@cloudius-systems.com> --- Sorry, of course the stores are not illegal. >From gcc-bugs-return-602193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 18:38:11 2018 Return-Path: <gcc-bugs-return-602193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17142 invoked by alias); 19 Apr 2018 18:38:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17046 invoked by uid 48); 19 Apr 2018 18:38:06 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61982] Optimizer does not eliminate stores to destroyed objects Date: Thu, 19 Apr 2018 18:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: minor 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: <bug-61982-4-xDWlUyWLVL@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-61982-4@http.gcc.gnu.org/bugzilla/> References: <bug-61982-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02317.txt.bz2 Content-length: 1007 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61982 --- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> --- And, GCC offers the -fno-lifetime-dse option which will not eliminate the stores: -fno-lifetime-dse In C++ the value of an object is only affected by changes within its lifetime: when the constructor begins, the object has an indeterminate value, and any changes during the lifetime of the object are dead when the object is destroyed. Normally dead store elimination will take advantage of this; if your code relies on the value of the object storage persisting beyond the lifetime of the object, you can use this flag to disable this optimization. To preserve stores before the constructor starts (e.g. because your operator new clears the object storage) but still treat the object as dead after the destructor you, can use -flifetime-dse=1. The default behavior can be explicitly selected with -flifetime-dse=2. -flifetime-dse=0 is equivalent to -fno-lifetime-dse. >From gcc-bugs-return-602194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 19:17:01 2018 Return-Path: <gcc-bugs-return-602194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53671 invoked by alias); 19 Apr 2018 19:17:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52933 invoked by uid 55); 19 Apr 2018 19:16:55 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85467] [8 Regression] ICE: verify_gimple failed: non-trivial conversion at assignment with -O2 -fno-tree-ccp --param=sccvn-max-scc-size\x10 Date: Thu, 19 Apr 2018 19: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: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85467-4-r2h10Q6UUu@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85467-4@http.gcc.gnu.org/bugzilla/> References: <bug-85467-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02318.txt.bz2 Content-length: 657 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85467 --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Apr 19 19:16:18 2018 New Revision: 259507 URL: https://gcc.gnu.org/viewcvs?rev=259507&root=gcc&view=rev Log: PR tree-optimization/85467 * fold-const.c (fold_ternary_loc) <case BIT_FIELD_REF>: Use VECTOR_TYPE_P macro. If type is vector type, VIEW_CONVERT_EXPR the VECTOR_CST element to type. * gcc.dg/pr85467.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr85467.c Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-602195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 19:32:26 2018 Return-Path: <gcc-bugs-return-602195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109844 invoked by alias); 19 Apr 2018 19:32:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109758 invoked by uid 48); 19 Apr 2018 19:32:21 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85467] [8 Regression] ICE: verify_gimple failed: non-trivial conversion at assignment with -O2 -fno-tree-ccp --param=sccvn-max-scc-size\x10 Date: Thu, 19 Apr 2018 19:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85467-4-bBLrIYKUiG@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85467-4@http.gcc.gnu.org/bugzilla/> References: <bug-85467-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02319.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85467 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Fixed. >From gcc-bugs-return-602196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 19:39:40 2018 Return-Path: <gcc-bugs-return-602196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124773 invoked by alias); 19 Apr 2018 19:39:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124719 invoked by uid 48); 19 Apr 2018 19:39:35 -0000 From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85448] the compiler selects the wrong subroutine because of bind(c,name=...) Date: Thu, 19 Apr 2018 19:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cc bug_severity Message-ID: <bug-85448-4-vq4R0h7s7U@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85448-4@http.gcc.gnu.org/bugzilla/> References: <bug-85448-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02320.txt.bz2 Content-length: 1046 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85448 Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|REOPENED |NEW CC| |tkoenig at gcc dot gnu.org Severity|normal |enhancement --- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- As quoted by Steve Lionel on c.l.f (F2008, 16.2, para 2): "The global identifier of an entity shall not be the same as the global identifier of any other entity. Furthermore, a binding label shall not be the same as the global identifier of any other global entity, ignoring differences in case." So, the code is invalid. Since this is not a constraint, the compiler can do anything it pleases. It would be nice to have an error message, though; should be straightforward to implement. >From gcc-bugs-return-602197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 19:41:58 2018 Return-Path: <gcc-bugs-return-602197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126966 invoked by alias); 19 Apr 2018 19:41:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126919 invoked by uid 48); 19 Apr 2018 19:41:53 -0000 From: "aotto1968@t-online.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85471] closing a "thread" in "C++" using "pthread_exit(NULL)" creates a "SIGABRT" Date: Thu, 19 Apr 2018 19:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aotto1968@t-online.de X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85471-4-nffH02ntMm@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85471-4@http.gcc.gnu.org/bugzilla/> References: <bug-85471-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02321.txt.bz2 Content-length: 586 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85471 --- Comment #2 from Andreas Otto <aotto1968@t-online.de> --- this is not as easy because this is a non trivial SW⦠what I mean⦠to just use my test-case you have to setup a whole environment⦠the basic of a SW is a client/server application using a non trivial protocol⦠it is possible you send me a hint to create a better error output for you⦠for me it would be perfect if the GCC part of the error could be MORE specific about the real reason of the SIGABRT thanks for your work. >From gcc-bugs-return-602198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 20:08:37 2018 Return-Path: <gcc-bugs-return-602198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98475 invoked by alias); 19 Apr 2018 20:08:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98400 invoked by uid 55); 19 Apr 2018 20:08:33 -0000 From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/69560] x86_64: alignof(uint64_t) produces incorrect results with -m32 Date: Thu, 19 Apr 2018 20:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-69560-4-aeaIsRd0Tx@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-69560-4@http.gcc.gnu.org/bugzilla/> References: <bug-69560-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02322.txt.bz2 Content-length: 382 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69560 --- Comment #20 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- I consider it part of the ABI that long long __attribute__((__aligned__(__alignof__(long long)))), as in the definition of max_align_t (and similarly in gnulib's max_align_t definition, for example), is 8-byte-aligned on x86. >From gcc-bugs-return-602199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 20:11:52 2018 Return-Path: <gcc-bugs-return-602199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111526 invoked by alias); 19 Apr 2018 20:11:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111505 invoked by uid 48); 19 Apr 2018 20:11:47 -0000 From: "haberg-1 at telia dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85472] New: Regex match bug Date: Thu, 19 Apr 2018 20:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: haberg-1 at telia dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: <bug-85472-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02323.txt.bz2 Content-length: 811 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85472 Bug ID: 85472 Summary: Regex match bug Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: haberg-1 at telia dot com Target Milestone: --- Created attachment 43993 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43993&action=edit The regex example mentioned in the report. In the regex "(z)((a+)?(b+)?(c))*" example at [1], also attached, applied to the string "zaacbbbcac", g++ produces a pattern #4 match as "bbb", whereas it says there it should be empty (the latter which clang++ does). 1. http://en.cppreference.com/w/cpp/regex/ecmascript >From gcc-bugs-return-602200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 20:15:13 2018 Return-Path: <gcc-bugs-return-602200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114855 invoked by alias); 19 Apr 2018 20:15:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114129 invoked by uid 55); 19 Apr 2018 20:15:02 -0000 From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/10360] __alignof__(double) answer 8 Date: Thu, 19 Apr 2018 20:15: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: 3.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-10360-4-8E8lWlFeue@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-10360-4@http.gcc.gnu.org/bugzilla/> References: <bug-10360-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02324.txt.bz2 Content-length: 641 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10360 --- Comment #12 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- On Wed, 11 Apr 2018, jason at gcc dot gnu.org wrote: > The quoted passage in the documentation now reads > > --- > Some machines never actually require alignment; they allow reference to any > data type even at an odd address. For these machines, @code{__alignof__} > reports the smallest alignment that GCC gives the data type, usually as > mandated by the target ABI. That change (r133271) seems incorrect in this context, as it should be the alignment given for complete objects. >From gcc-bugs-return-602201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 20:26:37 2018 Return-Path: <gcc-bugs-return-602201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16527 invoked by alias); 19 Apr 2018 20:26:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16480 invoked by uid 48); 19 Apr 2018 20:26:32 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85472] Regex match bug Date: Thu, 19 Apr 2018 20:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on component everconfirmed Message-ID: <bug-85472-4-sWr2bvd6qM@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85472-4@http.gcc.gnu.org/bugzilla/> References: <bug-85472-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02325.txt.bz2 Content-length: 461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85472 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-19 Component|c++ |libstdc++ Ever confirmed|0 |1 >From gcc-bugs-return-602203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 20:48:47 2018 Return-Path: <gcc-bugs-return-602203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129023 invoked by alias); 19 Apr 2018 20:48:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128964 invoked by uid 48); 19 Apr 2018 20:48:42 -0000 From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Thu, 19 Apr 2018 20:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dclarke at blastwave 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: Message-ID: <bug-85440-4-hqKWkLvTLY@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02327.txt.bz2 Content-length: 696 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 --- Comment #10 from Dennis Clarke <dclarke at blastwave dot org> --- Well, current gcc 8 snapshot doesn't work : nix_$ nix_$ /usr/local/gcc8/bin/gcc --version gcc (genunix Wed Apr 18 19:16:29 GMT 2018) 8.0.1 20180415 (experimental) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. nix_$ /usr/local/gcc8/bin/gcc -m64 -mcpu=970 -o s s.c s.c:82:10: fatal error: quadmath.h: No such file or directory #include <quadmath.h> ^~~~~~~~~~~~ compilation terminated. nix_$ >From gcc-bugs-return-602202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 20:48:37 2018 Return-Path: <gcc-bugs-return-602202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128333 invoked by alias); 19 Apr 2018 20:48:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126681 invoked by uid 48); 19 Apr 2018 20:48:27 -0000 From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85436] [7 Regression] ICE compiling go code with -mcpu=power9 Date: Thu, 19 Apr 2018 20:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: <bug-85436-4-5sCUgQm0sL@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85436-4@http.gcc.gnu.org/bugzilla/> References: <bug-85436-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02326.txt.bz2 Content-length: 773 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85436 Peter Bergner <bergner at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-04-19 Assignee|unassigned at gcc dot gnu.org |bergner at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Peter Bergner <bergner at gcc dot gnu.org> --- Confirmed. The failure is similar to that which was fixed in PR83969 and is fixed by that patch. We didn't think we needed to back port the PR83969 patch, but I see now we do. I'm testing the back port now. >From gcc-bugs-return-602204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 20:54:49 2018 Return-Path: <gcc-bugs-return-602204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4998 invoked by alias); 19 Apr 2018 20:54:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4938 invoked by uid 48); 19 Apr 2018 20:54:44 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Thu, 19 Apr 2018 20:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85440-4-s2V8BPwjkk@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02328.txt.bz2 Content-length: 181 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 --- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- You need powerpc64le, big-endian doesn't support __float128. >From gcc-bugs-return-602205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 20:58:44 2018 Return-Path: <gcc-bugs-return-602205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40570 invoked by alias); 19 Apr 2018 20:58:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40539 invoked by uid 48); 19 Apr 2018 20:58:40 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85471] closing a "thread" in "C++" using "pthread_exit(NULL)" creates a "SIGABRT" Date: Thu, 19 Apr 2018 20:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: <bug-85471-4-MGy9zmEmV8@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85471-4@http.gcc.gnu.org/bugzilla/> References: <bug-85471-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02329.txt.bz2 Content-length: 3974 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85471 --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- Have you read https://gcc.gnu.org/bugs/ yet? (In reply to Andreas Otto from comment #2) > this is not as easy because this is a non trivial SW⦠what I mean⦠to just > use my test-case you have to setup a whole environment⦠the basic of a SW is > a client/server application using a non trivial protocol⦠We don't want the whole thing, we want a simple example that demonstrates the bug you are reporting. Otherwise your report is just hearsay. For example, here is a simple testcase which works perfectly and doesn't abort: #include <pthread.h> #include <thread> void f() { pthread_exit(nullptr); } int main() { std::thread t(f); t.join(); } Here is a testcase which calls std::terminate because the pthread_exit happens below a noexcept function: #include <pthread.h> #include <thread> void f() noexcept { pthread_exit(nullptr); } int main() { std::thread t(f); t.join(); } But this has a different stack trace to your valgrind output: ==25626== Memcheck, a memory error detector ==25626== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==25626== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==25626== Command: ./a.out ==25626== terminate called without an active exception ==25626== ==25626== Process terminating with default action of signal 6 (SIGABRT): dumping core ==25626== at 0x59459FB: raise (raise.c:51) ==25626== by 0x59477FF: abort (abort.c:89) ==25626== by 0x4ECC024: __gnu_cxx::__verbose_terminate_handler() (vterminate.cc:95) ==25626== by 0x4EC9C15: __cxxabiv1::__terminate(void (*)()) (eh_terminate.cc:47) ==25626== by 0x4EC9C60: std::terminate() (eh_terminate.cc:57) ==25626== by 0x4EC97AF: __gxx_personality_v0 (eh_personality.cc:670) ==25626== by 0x54E8FB4: _Unwind_ForcedUnwind_Phase2 (unwind.inc:175) ==25626== by 0x54E9574: _Unwind_ForcedUnwind (unwind.inc:207) ==25626== by 0x5700F0F: __pthread_unwind (unwind.c:121) ==25626== by 0x56F8754: __do_cancel (pthreadP.h:297) ==25626== by 0x56F8754: pthread_exit (pthread_exit.c:28) ==25626== by 0x400A4A: f() (th.cc:6) ==25626== by 0x4EF617E: execute_native_thread_routine (thread.cc:83) ==25626== ==25626== Process terminating with default action of signal 11 (SIGSEGV) ==25626== General Protection Fault ==25626== at 0x5A63E9C: _dl_catch_error (dl-error-skeleton.c:187) ==25626== by 0x5A63616: dlerror_run (dl-libc.c:46) ==25626== by 0x5A63616: __libc_dlclose (dl-libc.c:222) ==25626== by 0x5703C18: nptl_freeres (in /usr/lib64/libpthread-2.25.so) ==25626== by 0x5A8EF11: __libc_freeres (in /usr/lib64/libc-2.25.so) ==25626== by 0x4A286DB: _vgnU_freeres (vg_preloaded.c:77) ==25626== ==25626== HEAP SUMMARY: ==25626== in use at exit: 360 bytes in 3 blocks ==25626== total heap usage: 4 allocs, 1 frees, 73,064 bytes allocated ==25626== ==25626== LEAK SUMMARY: ==25626== definitely lost: 0 bytes in 0 blocks ==25626== indirectly lost: 0 bytes in 0 blocks ==25626== possibly lost: 288 bytes in 1 blocks ==25626== still reachable: 72 bytes in 2 blocks ==25626== suppressed: 0 bytes in 0 blocks ==25626== Rerun with --leak-check=full to see details of leaked memory ==25626== ==25626== For counts of detected and suppressed errors, rerun with: -v ==25626== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Segmentation fault (core dumped) So we need a testcase showing the problem. >From gcc-bugs-return-602206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 20:59:33 2018 Return-Path: <gcc-bugs-return-602206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42355 invoked by alias); 19 Apr 2018 20:59:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42294 invoked by uid 48); 19 Apr 2018 20:59:27 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Thu, 19 Apr 2018 20:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85440-4-BWTKvZkPHc@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02330.txt.bz2 Content-length: 215 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 --- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Or configure the big endian compiler with VSX by default, e.g. --with-cpu=power8 or similar. >From gcc-bugs-return-602207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 22:26:25 2018 Return-Path: <gcc-bugs-return-602207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6026 invoked by alias); 19 Apr 2018 22:26:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5814 invoked by uid 48); 19 Apr 2018 22:26:20 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85473] New: internal compiler error: in emit_move_insn, at expr.c:3722 Date: Thu, 19 Apr 2018 22:26: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: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget Message-ID: <bug-85473-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02331.txt.bz2 Content-length: 2573 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85473 Bug ID: 85473 Summary: internal compiler error: in emit_move_insn, at expr.c:3722 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: sebastian.peryt at intel dot com Target Milestone: --- Target: x86-64 [hjl@gnu-cfl-1 gcc]$ cat /tmp/x.i extern void _movdir64b (void * __P, const void * __Q) { __builtin_ia32_movdir64b (__P, __Q); } [hjl@gnu-cfl-1 gcc]$ ./xgcc -B./ -mx32 -mmovdir64b -mmovdiri -O2 -S /tmp/x.i during RTL pass: expand /tmp/x.i: In function â_movdir64bâ: /tmp/x.i:4:3: internal compiler error: in emit_move_insn, at expr.c:3722 __builtin_ia32_movdir64b (__P, __Q); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0xb1c92d emit_move_insn(rtx_def*, rtx_def*) /export/gnu/import/git/sources/gcc/gcc/expr.c:3721 0xaeef45 force_reg(machine_mode, rtx_def*) /export/gnu/import/git/sources/gcc/gcc/explow.c:666 0x14716b3 ix86_expand_builtin /export/gnu/import/git/sources/gcc/gcc/config/i386/i386.c:37146 0x962514 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) /export/gnu/import/git/sources/gcc/gcc/builtins.c:6648 0xb3d2f4 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /export/gnu/import/git/sources/gcc/gcc/expr.c:11004 0xb2fa7d expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /export/gnu/import/git/sources/gcc/gcc/expr.c:8231 0x9988c9 expand_expr /export/gnu/import/git/sources/gcc/gcc/expr.h:280 0x9a13a2 expand_call_stmt /export/gnu/import/git/sources/gcc/gcc/cfgexpand.c:2690 0x9a482d expand_gimple_stmt_1 /export/gnu/import/git/sources/gcc/gcc/cfgexpand.c:3624 0x9a4f23 expand_gimple_stmt /export/gnu/import/git/sources/gcc/gcc/cfgexpand.c:3790 0x9a5022 expand_gimple_tailcall /export/gnu/import/git/sources/gcc/gcc/cfgexpand.c:3836 0x9ad61d expand_gimple_basic_block /export/gnu/import/git/sources/gcc/gcc/cfgexpand.c:5796 0x9af0ba execute /export/gnu/import/git/sources/gcc/gcc/cfgexpand.c:6425 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. [hjl@gnu-cfl-1 gcc]$ >From gcc-bugs-return-602208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 23:03:28 2018 Return-Path: <gcc-bugs-return-602208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123139 invoked by alias); 19 Apr 2018 23:03:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121102 invoked by uid 48); 19 Apr 2018 23:03:24 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85473] internal compiler error: in emit_move_insn, at expr.c:3722 Date: Thu, 19 Apr 2018 23:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: <bug-85473-4-V4sj49uwiG@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85473-4@http.gcc.gnu.org/bugzilla/> References: <bug-85473-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02332.txt.bz2 Content-length: 817 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85473 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-19 Ever confirmed|0 |1 --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- movdir64 stores 64 byte. But it doesn't show: (define_insn "movdir64b_<mode>" [(unspec_volatile:SWI48[(match_operand:SWI48 0 "register_operand" "r") (match_operand:SWI48 1 "memory_operand")] UNSPECV_MOVDIR64B)] "TARGET_MOVDIR64B" "movdir64b\t{%1, %0|%0, %1}" [(set_attr "type" "other")]) Here register is used as address. >From gcc-bugs-return-602209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 23:12:25 2018 Return-Path: <gcc-bugs-return-602209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77117 invoked by alias); 19 Apr 2018 23:12:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77085 invoked by uid 48); 19 Apr 2018 23:12:20 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85473] internal compiler error: in emit_move_insn, at expr.c:3722 Date: Thu, 19 Apr 2018 23:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85473-4-Xv5gMRXdKj@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85473-4@http.gcc.gnu.org/bugzilla/> References: <bug-85473-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02333.txt.bz2 Content-length: 1416 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85473 --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- Something like this diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index dc80b34f302..99feb5ea629 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -37141,11 +37141,10 @@ ix86_expand_builtin (tree exp, rtx target, rtx subtarget, arg1 = CALL_EXPR_ARG (exp, 1); op0 = expand_normal (arg0); op1 = expand_normal (arg1); - mode0 = (TARGET_64BIT ? DImode : SImode); - op0 = force_reg (mode0, op0); - if (!memory_operand (op1, mode0)) - op1 = gen_rtx_MEM (mode0, op1); + op0 = ix86_zero_extend_to_Pmode (op0); + if (!memory_operand (op1, XImode)) + op1 = gen_rtx_MEM (XImode, op1); insn = (TARGET_64BIT ? gen_movdir64b_di (op0, op1) diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index a134ca88014..d01e3c631b5 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -20697,8 +20697,8 @@ [(set_attr "type" "other")]) (define_insn "movdir64b_<mode>" - [(unspec_volatile:SWI48[(match_operand:SWI48 0 "register_operand" "r") - (match_operand:SWI48 1 "memory_operand")] + [(unspec_volatile:XI [(match_operand:P 0 "register_operand" "r") + (match_operand:XI 1 "memory_operand")] UNSPECV_MOVDIR64B)] "TARGET_MOVDIR64B" "movdir64b\t{%1, %0|%0, %1}" >From gcc-bugs-return-602210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 19 23:31:06 2018 Return-Path: <gcc-bugs-return-602210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94629 invoked by alias); 19 Apr 2018 23:31:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94560 invoked by uid 48); 19 Apr 2018 23:31:02 -0000 From: "meissner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Thu, 19 Apr 2018 23:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: meissner at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85440-4-Weyn0uSfR7@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02334.txt.bz2 Content-length: 386 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 --- Comment #13 from Michael Meissner <meissner at gcc dot gnu.org> --- You can use --with-cpu=power7 as well. But if you only have power8 systems, it is better to use --with-cpu=power8. The little endian PowerPC Linux systems have a minimum cpu base level of power8, so float128 is available on that platform by default. >From gcc-bugs-return-602211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 01:19:54 2018 Return-Path: <gcc-bugs-return-602211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79183 invoked by alias); 20 Apr 2018 01:19:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79072 invoked by uid 48); 20 Apr 2018 01:19:49 -0000 From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/67308] FATAL: ThreadSanitizer: unexpected memory mapping Date: Fri, 20 Apr 2018 01:19: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: 5.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: <bug-67308-4-nnbGTNOMTo@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-67308-4@http.gcc.gnu.org/bugzilla/> References: <bug-67308-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02335.txt.bz2 Content-length: 516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67308 Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |mpolacek at gcc dot gnu.org Resolution|--- |FIXED --- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Fixed for GCC 7. >From gcc-bugs-return-602212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 01:52:48 2018 Return-Path: <gcc-bugs-return-602212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40905 invoked by alias); 20 Apr 2018 01:52:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40174 invoked by uid 48); 20 Apr 2018 01:52:44 -0000 From: "cpphackster at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85466] Performance is slow when doing 'branchless' conditional style math operations Date: Fri, 20 Apr 2018 01:52: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cpphackster at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85466-4-xbVaf1glZb@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85466-4@http.gcc.gnu.org/bugzilla/> References: <bug-85466-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02336.txt.bz2 Content-length: 357 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466 --- Comment #14 from Daniel Elliott <cpphackster at gmail dot com> --- I had a response from chandler carruth on twitter, who informed me that the benchark was hoisting the computation out of the loop. So thats why clang was faster. but also he said that the noconditional version was not vectorized. >From gcc-bugs-return-602213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 02:07:12 2018 Return-Path: <gcc-bugs-return-602213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26903 invoked by alias); 20 Apr 2018 02:07:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25284 invoked by uid 48); 20 Apr 2018 02:07:08 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85474] New: unspecified string literal comparison accepted in constexpr context Date: Fri, 20 Apr 2018 02:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85474-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02337.txt.bz2 Content-length: 1194 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85474 Bug ID: 85474 Summary: unspecified string literal comparison accepted in constexpr context Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- According to [expr.const]: An expression e is a core constant expression unless the evaluation of e, following the rules of the abstract machine (4.6), would evaluate one of the following expressions: ... -- a relational (8.9) or equality (8.10) operator where the result is unspecified; That means that the following program is ill-formed and needs to be rejected with an error: $ cat t.C && gcc -S -Wall -Wextra -Wpedantic t.C constexpr bool b = "" == ""; t.C:1:26: warning: comparison with string literal results in unspecified behavior [-Waddress] constexpr bool b = "" == ""; ^~ GCC accepts the program with only a warning when it should reject it with a hard error as Clang does. >From gcc-bugs-return-602214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 02:10:13 2018 Return-Path: <gcc-bugs-return-602214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53500 invoked by alias); 20 Apr 2018 02:10:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53454 invoked by uid 48); 20 Apr 2018 02:10:08 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85474] unspecified string literal comparison accepted in constexpr context Date: Fri, 20 Apr 2018 02:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cf_known_to_fail Message-ID: <bug-85474-4-8fBvIHz9bC@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85474-4@http.gcc.gnu.org/bugzilla/> References: <bug-85474-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02338.txt.bz2 Content-length: 501 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85474 Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid Known to fail| |5.3.0, 6.4.0, 7.3.0, 8.0 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- The test case was never rejected so it's not a regression. >From gcc-bugs-return-602215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 02:35:33 2018 Return-Path: <gcc-bugs-return-602215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5582 invoked by alias); 20 Apr 2018 02:35:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5543 invoked by uid 48); 20 Apr 2018 02:35:28 -0000 From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85475] New: [8 Regression] Compile time hog w/ -O1 -fpeel-loops Date: Fri, 20 Apr 2018 02:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85475-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02339.txt.bz2 Content-length: 1813 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85475 Bug ID: 85475 Summary: [8 Regression] Compile time hog w/ -O1 -fpeel-loops Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: compile-time-hog Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc-8.0.0-alpha20180415 snapshot (r259389) takes long (or indefinite) time to compile the following snippet w/ -O1 (-O2) -fpeel-loops: int nj (int le) { int zb; for (zb = 0; zb < 16; ++zb) le += le; return le * le; } % timeout 20 gcc-8.0.0-alpha20180415 -O1 -fpeel-loops -c i9xivvyu.c zsh: exit 124 timeout 20 gcc-8.0.0-alpha20180415 -O1 -fpeel-loops -c i9xivvyu.c Profile captured by perf top: 41.29% cc1 [.] tree_int_cst_equal 12.86% cc1 [.] vr_values::get_value_range 11.46% cc1 [.] vrp_valueize_1 7.44% cc1 [.] gimple_simplify_MULT_EXPR 4.18% cc1 [.] integer_all_onesp 3.75% cc1 [.] integer_zerop 2.96% cc1 [.] range_int_cst_singleton_p 2.93% cc1 [.] wi::max_value 2.29% cc1 [.] range_int_cst_singleton_p 2.26% cc1 [.] gimple_simplify_233 1.44% cc1 [.] gimple_resimplify2 1.08% cc1 [.] gimple_simplify 1.03% cc1 [.] gimple_negate_expr_p 0.82% cc1 [.] maybe_push_res_to_seq 0.73% cc1 [.] tree_strip_nop_conversions 0.65% cc1 [.] tree_int_cst_equal 0.61% cc1 [.] tree_swap_operands_p 0.50% cc1 [.] real_zerop 0.41% cc1 [.] tree_swap_operands_p 0.38% cc1 [.] integer_onep 0.35% cc1 [.] real_minus_onep 0.26% cc1 [.] real_onep 0.15% cc1 [.] integer_minus_onep 0.15% cc1 [.] commutative_tree_code >From gcc-bugs-return-602216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 02:55:50 2018 Return-Path: <gcc-bugs-return-602216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98894 invoked by alias); 20 Apr 2018 02:55:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 98859 invoked by uid 48); 20 Apr 2018 02:55:45 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85475] [8 Regression] Compile time hog w/ -O1 -fpeel-loops Date: Fri, 20 Apr 2018 02:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: <bug-85475-4-kwd3DArACD@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85475-4@http.gcc.gnu.org/bugzilla/> References: <bug-85475-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02340.txt.bz2 Content-length: 982 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85475 Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-20 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed. It looks like some sort of an infinite loop. Bisection points to r258061: 2018-02-28 Richard Biener <rguenther@suse.de> PR middle-end/84607 * genmatch.c (capture_info::walk_match): Do not mark captured expressions without operands as expr_p given they act more like predicates and should be subject to "lost tail" side-effect preserving. * gcc.dg/pr84607.c: New testcase. >From gcc-bugs-return-602217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 06:49:57 2018 Return-Path: <gcc-bugs-return-602217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60324 invoked by alias); 20 Apr 2018 06:49:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55366 invoked by uid 48); 20 Apr 2018 06:49:53 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85475] [8 Regression] Compile time hog w/ -O1 -fpeel-loops Date: Fri, 20 Apr 2018 06: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: compile-time-hog 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 target_milestone Message-ID: <bug-85475-4-rnpNVp2wNh@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85475-4@http.gcc.gnu.org/bugzilla/> References: <bug-85475-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02341.txt.bz2 Content-length: 511 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85475 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Target Milestone|--- |8.0 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Mine. >From gcc-bugs-return-602218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 07:16:25 2018 Return-Path: <gcc-bugs-return-602218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64907 invoked by alias); 20 Apr 2018 07:16:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64743 invoked by uid 48); 20 Apr 2018 07:16:20 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85475] [8 Regression] Compile time hog w/ -O1 -fpeel-loops Date: Fri, 20 Apr 2018 07:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: compile-time-hog 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: Message-ID: <bug-85475-4-pFfNESaPHL@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85475-4@http.gcc.gnu.org/bugzilla/> References: <bug-85475-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02342.txt.bz2 Content-length: 2393 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85475 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- In dom3 I see Applying pattern match.pd:2585, gimple-match.c:10461 Applying pattern match.pd:2585, gimple-match.c:10461 Applying pattern match.pd:2585, gimple-match.c:10461 Applying pattern match.pd:2585, gimple-match.c:10461 Applying pattern match.pd:2585, gimple-match.c:10461 Applying pattern match.pd:2585, gimple-match.c:10461 Applying pattern match.pd:2585, gimple-match.c:10461 Applying pattern match.pd:2585, gimple-match.c:10461 Applying pattern match.pd:2585, gimple-match.c:10461 Applying pattern match.pd:2585, gimple-match.c:10461 ... it is for example matching on (le_10 * 2) * (le_10 * 2), transforming it to (le_10 * le_10) * 4 which fails because of the :s. But then DOM faces the situation where the loop is fully unrolled and we have nj (int le) { int zb; unsigned int ivtmp_1; int _6; unsigned int ivtmp_16; unsigned int ivtmp_100; <bb 2> [local count: 63136020]: le_14 = le_3(D) * 2; zb_15 = 1; ivtmp_16 = 15; le_20 = le_14 * 2; zb_21 = 2; le_26 = le_20 * 2; zb_27 = 3; le_32 = le_26 * 2; zb_33 = 4; le_38 = le_32 * 2; zb_39 = 5; le_44 = le_38 * 2; zb_45 = 6; le_50 = le_44 * 2; zb_51 = 7; le_56 = le_50 * 2; zb_57 = 8; le_62 = le_56 * 2; zb_63 = 9; le_68 = le_62 * 2; zb_69 = 10; le_74 = le_68 * 2; zb_75 = 11; le_80 = le_74 * 2; zb_81 = 12; le_86 = le_80 * 2; zb_87 = 13; le_92 = le_86 * 2; zb_93 = 14; le_98 = le_92 * 2; zb_99 = 15; ivtmp_100 = 1; le_4 = le_98 * 2; zb_5 = 16; ivtmp_1 = 0; _6 = le_4 * le_4; return _6; } with DOM folding le_4 * le_4 via gimple_fold_stmt_to_constant_1. You can trivially see the exponential work we do when applying the pattern if you consider that we re-simplify each simplification result. /* Reassociate (X * CST) * Y to (X * Y) * CST. This does not introduce signed overflow for CST != 0 && CST != -1. */ (simplify (mult:c (mult:s @0 INTEGER_CST@1) @2) (if (TREE_CODE (@2) != INTEGER_CST && !integer_zerop (@1) && !integer_minus_onep (@1)) (mult (mult @0 @2) @1))) The issue is that we get into non-linear complexity once there's more than a single use of the inner multiplication, so an explicit single_use fixes that. >From gcc-bugs-return-602219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 07:47:51 2018 Return-Path: <gcc-bugs-return-602219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18998 invoked by alias); 20 Apr 2018 07:47:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18958 invoked by uid 48); 20 Apr 2018 07:47:46 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug objc/85476] New: ASAN error in finish_class ../../gcc/objc/objc-act.c:8006 Date: Fri, 20 Apr 2018 07:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: objc 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: <bug-85476-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02343.txt.bz2 Content-length: 2863 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85476 Bug ID: 85476 Summary: ASAN error in finish_class ../../gcc/objc/objc-act.c:8006 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: objc Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- $ ./xgcc -B. /home/mliska/Programming/gcc/gcc/testsuite/objc.dg/class-extension-3.m -I../../libobjc/ ================================================================= ==1431542==ERROR: AddressSanitizer: dynamic-stack-buffer-overflow on address 0x7ffddc1c45e9 at pc 0x00000064ae04 bp 0x7ffddc1c45b0 sp 0x7ffddc1c3d60 WRITE of size 10 at 0x7ffddc1c45e9 thread T0 #0 0x64ae03 in __interceptor_strcpy ../../../../libsanitizer/asan/asan_interceptors.cc:391 #1 0x74629f in finish_class ../../gcc/objc/objc-act.c:8006 #2 0x74805f in objc_finish_interface() ../../gcc/objc/objc-act.c:648 #3 0x8d028e in c_parser_objc_class_definition ../../gcc/c/c-parser.c:9566 #4 0x900698 in c_parser_translation_unit ../../gcc/c/c-parser.c:1524 #5 0x900698 in c_parse_file() ../../gcc/c/c-parser.c:18428 #6 0x9c1eff in c_common_parse_file() ../../gcc/c-family/c-opts.c:1132 #7 0x190e06b in compile_file ../../gcc/toplev.c:455 #8 0x618a6d in do_compile ../../gcc/toplev.c:2132 #9 0x618a6d in toplev::main(int, char**) ../../gcc/toplev.c:2267 #10 0x6233f4 in main ../../gcc/main.c:39 #11 0x7f9c1d6786e4 in __libc_start_main (/lib64/libc.so.6+0x206e4) #12 0x624588 in _start (/home/mliska/Programming/gcc/objdir/gcc/cc1obj+0x624588) Address 0x7ffddc1c45e9 is located in stack of thread T0 SUMMARY: AddressSanitizer: dynamic-stack-buffer-overflow ../../../../libsanitizer/asan/asan_interceptors.cc:391 in __interceptor_strcpy Shadow bytes around the buggy address: 0x10003b830860: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x10003b830870: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x10003b830880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x10003b830890: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x10003b8308a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x10003b8308b0: 00 00 00 00 00 00 00 00 ca ca ca ca 00[01]cb cb 0x10003b8308c0: cb cb cb cb 00 00 00 00 00 00 00 00 00 00 00 00 0x10003b8308d0: 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 04 f2 0x10003b8308e0: f2 f2 f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 0x10003b8308f0: f1 f1 f1 f1 00 00 00 00 00 00 00 00 00 00 00 00 0x10003b830900: 00 00 00 f2 f3 f3 f3 f3 00 00 00 00 00 00 00 00 It's simple to fix, let me to that. >From gcc-bugs-return-602220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 07:51:26 2018 Return-Path: <gcc-bugs-return-602220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22024 invoked by alias); 20 Apr 2018 07:51:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21977 invoked by uid 48); 20 Apr 2018 07:51:21 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug objc/85476] ASAN error in finish_class ../../gcc/objc/objc-act.c:8006 Date: Fri, 20 Apr 2018 07:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: objc X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on version assigned_to everconfirmed Message-ID: <bug-85476-4-yWoJIq25IT@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85476-4@http.gcc.gnu.org/bugzilla/> References: <bug-85476-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02344.txt.bz2 Content-length: 550 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85476 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-04-20 Version|unknown |8.0.1 Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org Ever confirmed|0 |1 >From gcc-bugs-return-602221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 07:57:33 2018 Return-Path: <gcc-bugs-return-602221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58883 invoked by alias); 20 Apr 2018 07:57:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58784 invoked by uid 55); 20 Apr 2018 07:57:27 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85462] [8 Regression] internal compiler error: in inc_refcount_use, at cp/pt.c:8955 Date: Fri, 20 Apr 2018 07:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85462-4-sNGto76qMg@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85462-4@http.gcc.gnu.org/bugzilla/> References: <bug-85462-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02345.txt.bz2 Content-length: 1052 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85462 --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Apr 20 07:56:52 2018 New Revision: 259516 URL: https://gcc.gnu.org/viewcvs?rev=259516&root=gcc&view=rev Log: PR c++/85462 * cp-tree.h (tinst_level): Remove in_system_header_p member, change refcount member from unsigned char to unsigned short, add refcount_infinity static data member, adjust comments. * pt.c (tinst_level::refcount_infinity): Define. (inc_refcount_use): Remove assert, don't increment if refcount is already refcount_infinity, adjust comment. (dec_refcount_use): Remove assert, don't decrement if refcount is refcount_infinity, adjust comment. (push_tinst_level_loc): Formatting fix. * g++.dg/cpp0x/pr85462.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/pr85462.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-602222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 07:58:46 2018 Return-Path: <gcc-bugs-return-602222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61690 invoked by alias); 20 Apr 2018 07:58:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60918 invoked by uid 48); 20 Apr 2018 07:58:39 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/65892] gcc fails to implement N685 aliasing of union members Date: Fri, 20 Apr 2018 07:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: alias X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: SUSPENDED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-65892-4-4MY1eVqW7a@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-65892-4@http.gcc.gnu.org/bugzilla/> References: <bug-65892-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02346.txt.bz2 Content-length: 4682 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 --- Comment #32 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to James Kuyper Jr. from comment #31) > (In reply to rguenther@suse.de from comment #29) > > On Thu, 19 Apr 2018, jameskuyper at verizon dot net wrote: > ... > > > The relevant wording is "anywhere that a declaration of the completed type of > > > the union is visible.", so it's unambiguously the type, not the object, which > > > must be visible. A declaration of the completed type can be visible without any > > > objects of that type being visible, and that's sufficient for this rule to > > > apply. > > > > > > > ... Must the access be performed > > > > using the union object, or just the union type, or neither? > > > > > > It says only that "it is permitted to inspect the common initial part"; it > > > imposes no restrictions on how the inspection may be performed. Clearly, > > > inspection through an lvalue of the union's type must be permitted, but it is > > > also permitted to use the more indirect methods which are the subject of this > > > bug report, simply because the standard says nothing to restrict the permission > > > it grants to the more direct cases. > > > > Note I repeatedly said this part of the standard is just stupid. > > As a judgement call, I reserve the right to disagree with you on that point, > particularly if that judgement was based primarily on the following > misconception: > > > ... It makes > > most if not all type-based alias analysis useless. > > How could that be true? It only applies to pairs of struct types that are > the types of members of the same union, it only applies within the scope of > a completed definition of that union's type, and it doesn't apply if the > implementation can prove to itself that the two objects in question are not > actually members of the same union object. It seems to me that the need to > take this rule into consideration would come up pretty infrequently. Elsewhere you said that "inspect the common initial part" needs to allow accesses that do not make the union object visible. So consider struct A { int i; float f; }; struct B { int i; double e; }; union { struct A a; struct B b; }; struct B b; struct A a; int foo1 (struct A *p) { return p->i; // GCC considers this to not alias 'b', but only 'a' } int foo2 (int *p) { return *p; // GCC considers this to alias 'b' and 'a' } float foo3 (float *p) { return *p; // GCC considers this to alias only 'a' } I guess foo3 is not allowed since 6.5.2.3p6 doesn't allow any type punning since it only covers the common initial sequence. We are too strict with foo1 I guess, with our current implementation I can't see to make that work without making *p alias 'b' as well. Now consider struct C { int i; }; union { struct A a; struct C; }; struct A a; struct C c; void foo (struct C *p) { *p = c; } do we need to consider this to assign to 'a'? As far as I read the standard yes. We don't handle that, and as I said above this would mean C and A to have the same alias-set which means now float * also aliases objects of type B and double * objects of type A. It doesn't make float * alias double * of course, so it's not all bets are off but it means that for a program using C++-like inheritance via unions (like GCC for example does) you mostly give up on TBAA. > Code which relies upon this feature to implement a C-style approximation to > inheritance has been fairly common, which is precisely why the C committee > decided to create this rule, to make sure such code had well-defined > behavior. > > > Which means I'll refuse any patches implementing it in a way that affects > > default behavior. A clean patch (I really can't think of any clean > > approach besides forcing -fno-strict-aliasing!) with some extra flag > > (well, just use -fno-strict-aliasing ...) would be fine with me. > > I can understanding not making this the default behavior if you feel that > way; I only use gcc in fully standard-conforming mode, anyway, so that > doesn't matter to me. However, personally, I would prefer it if gcc's > fully-conforming mode took full advantage of all the optimization > opportunities legitimately enabled by 6.5p7 (which does not include > opportunities revoked by 6.5.2.3p6). As the examples above show and probably because of the limited TBAA implementation in GCC honoring 6.5.2.3p6 comes at a cost. I'm not sure why 6.5.2.3p6 is necessary given 6.5.2.3p3 points to the footnote 95 which allows to do the inspection under the type-punning umbrella if the access is made through the union type. >From gcc-bugs-return-602223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 08:05:46 2018 Return-Path: <gcc-bugs-return-602223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20569 invoked by alias); 20 Apr 2018 08:05:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11144 invoked by uid 48); 20 Apr 2018 08:05:41 -0000 From: "linux at carewolf dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85406] Unnecessary blend when vectorizing short-cutted calculations Date: Fri, 20 Apr 2018 08:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: linux at carewolf dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85406-4-Qtij9MPAMw@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85406-4@http.gcc.gnu.org/bugzilla/> References: <bug-85406-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02347.txt.bz2 Content-length: 283 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85406 --- Comment #3 from Allan Jensen <linux at carewolf dot com> --- You need to add the loop around it void test(unsigned *buffer, int count) { for (int i = 0; i < count; ++i) buffer[i] = qPremultiply(buffer[i]); } >From gcc-bugs-return-602224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 08:07:57 2018 Return-Path: <gcc-bugs-return-602224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53430 invoked by alias); 20 Apr 2018 08:07:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49464 invoked by uid 48); 20 Apr 2018 08:07:52 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85462] [8 Regression] internal compiler error: in inc_refcount_use, at cp/pt.c:8955 Date: Fri, 20 Apr 2018 08:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85462-4-W6OMnxC2nP@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85462-4@http.gcc.gnu.org/bugzilla/> References: <bug-85462-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02348.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85462 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Fixed. >From gcc-bugs-return-602225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 08:19:23 2018 Return-Path: <gcc-bugs-return-602225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126275 invoked by alias); 20 Apr 2018 08:19:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126192 invoked by uid 48); 20 Apr 2018 08:19:17 -0000 From: "belous.vs at yandex dot ru" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/85477] New: IO_old_cookie_seek is called instead of _IO_cookie_seek when compiled with -fsanitizedress Date: Fri, 20 Apr 2018 08:19: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: 7.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: belous.vs at yandex dot ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: <bug-85477-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02349.txt.bz2 Content-length: 6403 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85477 Bug ID: 85477 Summary: IO_old_cookie_seek is called instead of _IO_cookie_seek when compiled with -fsanitize=address Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: belous.vs at yandex dot ru CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Created attachment 43994 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43994&action=edit source # gcc -v -g -Wall -Wextra -Werror -fsanitize=address x.c `Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-redhat-linux/7.2.1/lto-wrapper Target: i686-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --bindir=/usr/lib/gcc/i686-redhat-linux/7.2.1/bin --localedir=/usr/share/gcc72-7.2.1/locale --enable-plugin --enable-initfini-array --disable-libgcj --with-isl --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch=i686 --build=i686-redhat-linux Thread model: posix gcc version 7.2.1 20170829 (Red Hat 7.2.1-1.ac2) (GCC) COLLECT_GCC_OPTIONS='-v' '-g' '-Wall' '-Wextra' '-Werror' '-fsanitize=address' '-mtune=generic' '-march=i686' /usr/libexec/gcc/i686-redhat-linux/7.2.1/cc1 -quiet -v x.c -quiet -dumpbase x.c -mtune=generic -march=i686 -auxbase x -g -Wall -Wextra -Werror -version -fsanitize=address -o /tmp/ccUnYl25.s GNU C11 (GCC) version 7.2.1 20170829 (Red Hat 7.2.1-1.ac2) (i686-redhat-linux) compiled by GNU C version 7.2.1 20170829 (Red Hat 7.2.1-1.ac2), GMP version 6.1.2, MPFR version 3.1.5, MPC version 1.0.3, isl version none GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "/usr/lib/gcc/i686-redhat-linux/7.2.1/include-fixed" ignoring nonexistent directory "/usr/lib/gcc/i686-redhat-linux/7.2.1/../../../../i686-redhat-linux/include" #include "..." search starts here: #include <...> search starts here: /usr/lib/gcc/i686-redhat-linux/7.2.1/include /usr/local/include /usr/include End of search list. GNU C11 (GCC) version 7.2.1 20170829 (Red Hat 7.2.1-1.ac2) (i686-redhat-linux) compiled by GNU C version 7.2.1 20170829 (Red Hat 7.2.1-1.ac2), GMP version 6.1.2, MPFR version 3.1.5, MPC version 1.0.3, isl version none GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 2cc28a180c8eaf4513b3c8e8607ca785 COLLECT_GCC_OPTIONS='-v' '-g' '-Wall' '-Wextra' '-Werror' '-fsanitize=address' '-mtune=generic' '-march=i686' as -v --32 -o /tmp/cc34VkHR.o /tmp/ccUnYl25.s GNU assembler version 2.25 (i686-redhat-linux) using BFD version version 2.25-5.el6 COMPILER_PATH=/usr/libexec/gcc/i686-redhat-linux/7.2.1/:/usr/libexec/gcc/i686-redhat-linux/7.2.1/:/usr/libexec/gcc/i686-redhat-linux/:/usr/lib/gcc/i686-redhat-linux/7.2.1/:/usr/lib/gcc/i686-redhat-linux/ LIBRARY_PATH=/usr/lib/gcc/i686-redhat-linux/7.2.1/:/usr/lib/gcc/i686-redhat-linux/7.2.1/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-g' '-Wall' '-Wextra' '-Werror' '-fsanitize=address' '-mtune=generic' '-march=i686' /usr/libexec/gcc/i686-redhat-linux/7.2.1/collect2 -plugin /usr/libexec/gcc/i686-redhat-linux/7.2.1/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/i686-redhat-linux/7.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/cc8BZlnD.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/gcc/i686-redhat-linux/7.2.1/../../../crt1.o /usr/lib/gcc/i686-redhat-linux/7.2.1/../../../crti.o /usr/lib/gcc/i686-redhat-linux/7.2.1/crtbegin.o -L/usr/lib/gcc/i686-redhat-linux/7.2.1 -L/usr/lib/gcc/i686-redhat-linux/7.2.1/../../.. /usr/lib/gcc/i686-redhat-linux/7.2.1/libasan_preinit.o -lasan /tmp/cc34VkHR.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i686-redhat-linux/7.2.1/crtend.o /usr/lib/gcc/i686-redhat-linux/7.2.1/../../../crtn.o COLLECT_GCC_OPTIONS='-v' '-g' '-Wall' '-Wextra' '-Werror' '-fsanitize=address' '-mtune=generic' '-march=i686'` #./a.out: `ASAN:DEADLYSIGNAL ================================================================= ==3549==ERROR: AddressSanitizer: SEGV on unknown address 0x00000004 (pc 0x080488e2 bp 0xbffff54c sp 0xbffff514 T0) ==3549==The signal is caused by a READ memory access. ==3549==Hint: address points to the zero page. #0 0x80488e1 in io_seek /builddir/repo/mpopd_parser/tmp/x.c:25 #1 0xb799865b in _IO_old_cookie_seek (/lib/libc.so.6+0x12565b) #2 0xb78df73a in _IO_file_seekoff@@GLIBC_2.1 (/lib/libc.so.6+0x6c73a) #3 0xb78d4216 in _IO_cookie_seekoff (/lib/libc.so.6+0x61216) #4 0xb78d5ca7 in _IO_seekoff_unlocked (/lib/libc.so.6+0x62ca7) #5 0xb78dc9ed in fseeko (/lib/libc.so.6+0x699ed) #6 0x8048d8b in main /builddir/repo/mpopd_parser/tmp/x.c:66 #7 0xb7889d25 in __libc_start_main (/lib/libc.so.6+0x16d25) #8 0x80487a0 (/builddir/repo/mpopd_parser/tmp/a.out+0x80487a0) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV /builddir/repo/mpopd_parser/tmp/x.c:25 in io_seek ==3549==ABORTING` When compiling without `-fsanitize=address`, or using older gcc (4.9.3), all is ok (in this case `_IO_cookie_seek` is called instead of `IO_old_cookie_seek`). >From gcc-bugs-return-602226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 08:26:02 2018 Return-Path: <gcc-bugs-return-602226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67539 invoked by alias); 20 Apr 2018 08:26:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67406 invoked by uid 48); 20 Apr 2018 08:25:58 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/85477] IO_old_cookie_seek is called instead of _IO_cookie_seek when compiled with -fsanitizedress Date: Fri, 20 Apr 2018 08:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: <bug-85477-4-V7zYMyAVMx@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85477-4@http.gcc.gnu.org/bugzilla/> References: <bug-85477-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02350.txt.bz2 Content-length: 586 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85477 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-04-20 Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Let me take a look. >From gcc-bugs-return-602227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 08:27:38 2018 Return-Path: <gcc-bugs-return-602227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69019 invoked by alias); 20 Apr 2018 08:27:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68941 invoked by uid 48); 20 Apr 2018 08:27:34 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/65892] gcc fails to implement N685 aliasing of union members Date: Fri, 20 Apr 2018 08:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: alias X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: SUSPENDED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-65892-4-YpPeNjPWIH@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-65892-4@http.gcc.gnu.org/bugzilla/> References: <bug-65892-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02351.txt.bz2 Content-length: 2370 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 --- Comment #33 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Martin Sebor from comment #30) > Richard, I offered to write a proposal (with Clark) to improve the rules. > With the object model proposals already in the pipeline (N2223) this is a > good time to review them and see if it makes sense to extend or change them > to also cover this case in an acceptable way. It would be helpful if you > could take some time to summarize your main concerns or suggestions for > changes in this area. I can start working on the proposal for the fall 2018 > WG14 meeting. That's a load of information dangling from http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2223.htm (if I googled that correctly). It seems to be mostly questions and observations plus opinions being raised, sometimes obvious cases missing and "recent" (> GCC 4.5) GCC behavior not correctly reflected. I'm not sure in which form I can provide useful feedback here, just to mention a few misconceptions the authors have from browsing part of the material: - they say memcpy transfers the effective type, in other parts of the standard it says that memcpy accesses use a character type. That raises the question whether a memcpy implementation using a sequence of char reads/writes matches this semantics and thus what the effective type of the memory location written to via a character type is -- is it allowed to access that via any other effective type (or just the effective type of the source if that is somehow visible to the compiler)? - when asking for a char[] array to be treated the same as allocated storage with respect to changing its effective type (declared objects have a fixed effective type) they fail to consider the issue that we recently ran into with C++: struct { int i; char buf[4]; } s, r; *(float *)s.buf = 1.; r = s; how does the aggregate copying work? The effective type of the access is not compatible with the emplaced float which means it doesn't work in GCC. Same if you replace all of the above with allocated storage. Does that mean a structure with char members are somehow special? So overall there's too much material to go over - what's the exact standard wording changes suggested? Maybe I just didn't find them ... >From gcc-bugs-return-602228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 08:28:46 2018 Return-Path: <gcc-bugs-return-602228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72180 invoked by alias); 20 Apr 2018 08:28:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72142 invoked by uid 48); 20 Apr 2018 08:28:41 -0000 From: "linux at carewolf dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85406] Unnecessary blend when vectorizing short-cutted calculations Date: Fri, 20 Apr 2018 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: X-Bugzilla-Severity: normal X-Bugzilla-Who: linux at carewolf dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: <bug-85406-4-ETg6RbIrhF@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85406-4@http.gcc.gnu.org/bugzilla/> References: <bug-85406-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02352.txt.bz2 Content-length: 456 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85406 --- Comment #4 from Allan Jensen <linux at carewolf dot com> --- Created attachment 43995 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43995&action=edit gccbug85406.cpp This version compiles with a pcmpeqd and pandn instead of a blend, but the principle is the same. Though the last of a ptest in the beginning is worse, as that risks a performance regression compared to non-vectorized. >From gcc-bugs-return-602229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 08:31:53 2018 Return-Path: <gcc-bugs-return-602229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76472 invoked by alias); 20 Apr 2018 08:31:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76400 invoked by uid 48); 20 Apr 2018 08:31:49 -0000 From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83838] Many gcc.target/i386/indirect-thunk*.c tests FAIL Date: Fri, 20 Apr 2018 08:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status Message-ID: <bug-83838-4-NXGXDJOXgm@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83838-4@http.gcc.gnu.org/bugzilla/> References: <bug-83838-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02353.txt.bz2 Content-length: 632 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83838 Rainer Orth <ro at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target|i386-pc-solaris2.* |i386-pc-solaris2.10 Status|WAITING |NEW --- Comment #7 from Rainer Orth <ro at gcc dot gnu.org> --- In the meantime, I've enabled HIDDEN_LINKONCE on Solaris 11/x86. However, this (and COMDAT support) isn't possible on Solaris 10/x86 or is out of scope for GCC 8. So the ton of failures remains on Solaris 10/x86. >From gcc-bugs-return-602230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 08:39:48 2018 Return-Path: <gcc-bugs-return-602230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50084 invoked by alias); 20 Apr 2018 08:39:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50015 invoked by uid 48); 20 Apr 2018 08:39:44 -0000 From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/59664] avx512f-ceil-sfix-vec-2.c and avx512f-floor-sfix-vec-2.c FAIL on Solaris9/x86 Date: Fri, 20 Apr 2018 08: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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-59664-4-L0vQ0Cn1pR@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-59664-4@http.gcc.gnu.org/bugzilla/> References: <bug-59664-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02354.txt.bz2 Content-length: 449 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59664 Rainer Orth <ro at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #8 from Rainer Orth <ro at gcc dot gnu.org> --- Closing, Solaris 9 support is long gone. >From gcc-bugs-return-602231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 08:40:35 2018 Return-Path: <gcc-bugs-return-602231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51840 invoked by alias); 20 Apr 2018 08:40:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51765 invoked by uid 48); 20 Apr 2018 08:40:31 -0000 From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug go/59453] log/syslog FAILs on Solaris 9 Date: Fri, 20 Apr 2018 08:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-59453-4-gUs7AQDdBl@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-59453-4@http.gcc.gnu.org/bugzilla/> References: <bug-59453-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02355.txt.bz2 Content-length: 449 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59453 Rainer Orth <ro at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #5 from Rainer Orth <ro at gcc dot gnu.org> --- Closing, Solaris 9 support is long gone. >From gcc-bugs-return-602232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 08:41:13 2018 Return-Path: <gcc-bugs-return-602232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55224 invoked by alias); 20 Apr 2018 08:41:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53065 invoked by uid 48); 20 Apr 2018 08:41:09 -0000 From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug go/59452] net FAILs on Solaris 9 Date: Fri, 20 Apr 2018 08:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-59452-4-IOy9x0TSMy@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-59452-4@http.gcc.gnu.org/bugzilla/> References: <bug-59452-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02356.txt.bz2 Content-length: 449 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59452 Rainer Orth <ro at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #5 from Rainer Orth <ro at gcc dot gnu.org> --- Closing, Solaris 9 support is long gone. >From gcc-bugs-return-602233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 08:42:15 2018 Return-Path: <gcc-bugs-return-602233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102177 invoked by alias); 20 Apr 2018 08:42:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99480 invoked by uid 48); 20 Apr 2018 08:42:11 -0000 From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/58111] 32-bit gcc.target/i386/pr55342.c FAILs Date: Fri, 20 Apr 2018 08:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-58111-4-VGGbehzQ1c@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-58111-4@http.gcc.gnu.org/bugzilla/> References: <bug-58111-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02357.txt.bz2 Content-length: 418 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58111 Rainer Orth <ro at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Rainer Orth <ro at gcc dot gnu.org> --- Long fixed. >From gcc-bugs-return-602234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 08:42:58 2018 Return-Path: <gcc-bugs-return-602234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124286 invoked by alias); 20 Apr 2018 08:42:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120417 invoked by uid 48); 20 Apr 2018 08:42:51 -0000 From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/56326] g++.dg/gomp/tls-wrap4.C and g++.dg/tls/thread_local-wrap4.C FAIL on Solaris 9/x86 Date: Fri, 20 Apr 2018 08:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-56326-4-eo5sQtr0RN@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-56326-4@http.gcc.gnu.org/bugzilla/> References: <bug-56326-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02358.txt.bz2 Content-length: 449 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56326 Rainer Orth <ro at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #6 from Rainer Orth <ro at gcc dot gnu.org> --- Closing, Solaris 9 support is long gone. >From gcc-bugs-return-602235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 08:44:09 2018 Return-Path: <gcc-bugs-return-602235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41187 invoked by alias); 20 Apr 2018 08:44:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34950 invoked by uid 48); 20 Apr 2018 08:43:59 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85406] Unnecessary blend when vectorizing short-cutted calculations Date: Fri, 20 Apr 2018 08:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: unknown 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 blocked Message-ID: <bug-85406-4-5WfzsW8l48@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85406-4@http.gcc.gnu.org/bugzilla/> References: <bug-85406-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02359.txt.bz2 Content-length: 1141 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85406 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|WAITING |NEW Blocks| |53947 --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- I think it's too much asked from GCC to prove that if a == 255 the computation in the else path would result in x. The simplest fix would be to remove the conditional in the source. It's true that GCC doesn't evaluate costs of the vectorization properly as it looks at the if-converted copy when calculating the cost of the scalar loop. OTOH any estimate on how often the shortcut triggers compared to the computation might be off and a conservative estimate may cause us to not vectorize and thus slow down the code. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 [Bug 53947] [meta-bug] vectorizer missed-optimizations >From gcc-bugs-return-602236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 08:50:40 2018 Return-Path: <gcc-bugs-return-602236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106400 invoked by alias); 20 Apr 2018 08:50:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106215 invoked by uid 48); 20 Apr 2018 08:50:33 -0000 From: "krebbel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85478] New: ICE with single element vector Date: Fri, 20 Apr 2018 08:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0.1 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: <bug-85478-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02360.txt.bz2 Content-length: 2763 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478 Bug ID: 85478 Summary: ICE with single element vector Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- Created attachment 43996 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43996&action=edit Autoreduced testcase Compiling the attached testcase triggers an ICE cc1plus -march=arch12 -O3 -fpermissive t.cc Performing interprocedural optimizations <*free_lang_data> <visibility> <build_ssa_passes> <opt_local_passes> <targetclone> <free-fnsummary> <whole-program> <profile_estimate> <icf> <devirt> <cp> <fnsummary> <inline> <pure-const> <free-fnsummary> <static-var> <single-use> <comdats>Assembling functions: <materialize-all-clones> s<ae>& s<ae>::operator=(const s<t>&) [with t = ab<float>; ae = ab<long double>]during GIMPLE pass: vect t2.cc: In member function âs<ae>& s<ae>::operator=(const s<t>&) [with t = ab<float>; ae = ab<long double>]â: t2.cc:39:8: internal compiler error: in exact_div, at poly-int.h:2139 s<ae> &s<ae>::operator=(const s<t> &g) { ^~~~~ 0x21e8941 poly_int<1u, poly_result<unsigned long, if_nonpoly<int, int, poly_int_traits<int>::is_poly>::type, poly_coeff_pair_traits<unsigned long, if_nonpoly<int, int, poly_int_traits<int>::is_poly>::type>::result_kind>::type> exact_div<1u, unsigned long, int>(poly_int_pod<1u, unsigned long> const&, int) /home/andreas/build/../gcc/gcc/poly-int.h:2139 0x21e8941 vect_grouped_store_supported(tree_node*, unsigned long) /home/andreas/build/../gcc/gcc/tree-vect-data-refs.c:5150 0x1ce5115 vect_analyze_loop_2 /home/andreas/build/../gcc/gcc/tree-vect-loop.c:2495 0x1ce5115 vect_analyze_loop(loop*, _loop_vec_info*) /home/andreas/build/../gcc/gcc/tree-vect-loop.c:2621 0x1d03e13 vectorize_loops() /home/andreas/build/../gcc/gcc/tree-vectorizer.c:664 >From gcc-bugs-return-602237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 08:53:20 2018 Return-Path: <gcc-bugs-return-602237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109687 invoked by alias); 20 Apr 2018 08:53:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109503 invoked by uid 48); 20 Apr 2018 08:53:15 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/85477] IO_old_cookie_seek is called instead of _IO_cookie_seek when compiled with -fsanitizedress Date: Fri, 20 Apr 2018 08:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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 resolution Message-ID: <bug-85477-4-XvtDiIM1XN@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85477-4@http.gcc.gnu.org/bugzilla/> References: <bug-85477-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02361.txt.bz2 Content-length: 1451 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85477 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- It's dup. With the fix I see: $ gcc -m32 -fsanitize=undefined,address pr85477.c && ./a.out ASAN:DEADLYSIGNAL ================================================================= ==24720==ERROR: AddressSanitizer: SEGV on unknown address 0xf7fe82f0 (pc 0xf7fe8304 bp 0xf7b5c320 sp 0xffffcdec T16777215) ==24720==The signal is caused by a WRITE memory access. #0 0xf7fe8303 in _dl_get_tls_static_info (/lib/ld-linux.so.2+0x12303) #1 0xf7acce69 (/usr/lib/libasan.so.4+0x104e69) #2 0xf7ab8a65 (/usr/lib/libasan.so.4+0xf0a65) #3 0xf7fe5c7a in _dl_init (/lib/ld-linux.so.2+0xfc7a) #4 0xf7fd6cb9 (/lib/ld-linux.so.2+0xcb9) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/lib/ld-linux.so.2+0x12303) in _dl_get_tls_static_info ==24720==ABORTING *** This bug has been marked as a duplicate of bug 84761 *** >From gcc-bugs-return-602238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 08:53:23 2018 Return-Path: <gcc-bugs-return-602238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109973 invoked by alias); 20 Apr 2018 08:53:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109590 invoked by uid 48); 20 Apr 2018 08:53:18 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/84761] AddressSanitizer is not compatible with glibc 2.27 on x86 Date: Fri, 20 Apr 2018 08:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: cc Message-ID: <bug-84761-4-y1HgeW92PK@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84761-4@http.gcc.gnu.org/bugzilla/> References: <bug-84761-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02362.txt.bz2 Content-length: 452 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84761 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |belous.vs at yandex dot ru --- Comment #11 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- *** Bug 85477 has been marked as a duplicate of this bug. *** >From gcc-bugs-return-602239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 08:55:37 2018 Return-Path: <gcc-bugs-return-602239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124447 invoked by alias); 20 Apr 2018 08:55:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124335 invoked by uid 48); 20 Apr 2018 08:55:32 -0000 From: "krebbel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85478] ICE with single element vector Date: Fri, 20 Apr 2018 08:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0.1 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: <bug-85478-4-haIDfOsMOt@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85478-4@http.gcc.gnu.org/bugzilla/> References: <bug-85478-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02363.txt.bz2 Content-length: 1522 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478 --- Comment #1 from Andreas Krebbel <krebbel at gcc dot gnu.org> --- The testcases ICEs since r253196: S/390: Set the preferred mode for float vectors gcc/ChangeLog: 2017-09-26 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * config/s390/s390.c (s390_preferred_simd_mode): Return V4SFmode for SFmode. with: during RTL pass: reload t2.cc: In member function âdealii::FullMatrix<number>& dealii::FullMatrix<number>::operator=(const dealii::FullMatrix<number2>&) [with number2 = std::complex<float>; number = std::complex<long double>]â: t2.cc:199:3: internal compiler error: Max. number of generated reload insns per insn is achieved (90) } ^ 0x185f553 lra_constraints(bool) /home/andreas/gcc/gcc/lra-constraints.c:4756 0x1845459 lra(_IO_FILE*) /home/andreas/gcc/gcc/lra.c:2390 0x17f260b do_reload /home/andreas/gcc/gcc/ira.c:5440 0x17f260b execute /home/andreas/gcc/gcc/ira.c:5624 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. With the poly-int patches the ICE is triggered during vectorization already probably papering over the original ICE. With the patch posted here the vectorization will not continue and does not appear to end up in that situation anymore: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00758.html >From gcc-bugs-return-602240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 09:01:12 2018 Return-Path: <gcc-bugs-return-602240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9844 invoked by alias); 20 Apr 2018 09:01:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9268 invoked by uid 48); 20 Apr 2018 09:00:47 -0000 From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85479] New: ice in inc_refcount_use Date: Fri, 20 Apr 2018 09:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: <bug-85479-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02364.txt.bz2 Content-length: 1196 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85479 Bug ID: 85479 Summary: ice in inc_refcount_use Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 43997 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43997&action=edit gzipped C++ source code The attached C++ code, when compiled by recent trunk gcc, does this: In file included from array_real.cpp:28: array_tlp.hpp: In instantiation of âvoid ArrayOperator() [with K = double; Z = l ong int]â: array_real.cpp:44:32: required from here array_tlp.hpp:1703:27: internal compiler error: in inc_refcount_use, at cp/pt.c: 8955 0x63784e inc_refcount_use ../../trunk/gcc/cp/pt.c:8955 0x63784e set_refcount_ptr<tinst_level> ../../trunk/gcc/cp/pt.c:8994 0x998992 push_tinst_level_loc ../../trunk/gcc/cp/pt.c:10152 The new bug seems to exist between revision 259439 and 259515. I will have my usual go at reducing the code. >From gcc-bugs-return-602241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 09:04:22 2018 Return-Path: <gcc-bugs-return-602241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19122 invoked by alias); 20 Apr 2018 09:04:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16904 invoked by uid 48); 20 Apr 2018 09:04:17 -0000 From: "kretz at kde dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85480] New: zero extension from xmm to zmm via _mm512_insert???x? not optimized Date: Fri, 20 Apr 2018 09:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kretz at kde dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85480-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02365.txt.bz2 Content-length: 1027 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85480 Bug ID: 85480 Summary: zero extension from xmm to zmm via _mm512_insert???x? not optimized Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: kretz at kde dot org Target Milestone: --- Test case (cf. https://godbolt.org/g/p4Kt8X): #include <x86intrin.h> __m512 zero_extend2(__m128 a) { return _mm512_insertf32x4(__m512(), a, 0); } __m512d zero_extend2(__m128d a) { return _mm512_insertf64x2(__m512d(), a, 0); } __m512i zero_extend2(__m128i a) { return _mm512_inserti32x4(__m512i(), a, 0); } These 3 functions should compile to `vmovaps %xmm0, %xmm0`, `vmovapd %xmm0, %xmm0`, and `vmovdqa %xmm0, %xmm0`, respectively. GCC detects the optimization for the xmm->ymm and ymm->zmm cases already. It's only missing for the xmm->zmm case. >From gcc-bugs-return-602242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 09:06:18 2018 Return-Path: <gcc-bugs-return-602242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31615 invoked by alias); 20 Apr 2018 09:06:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31526 invoked by uid 48); 20 Apr 2018 09:06:14 -0000 From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319 Date: Fri, 20 Apr 2018 09:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85447-4-GV9ul6SX4l@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85447-4@http.gcc.gnu.org/bugzilla/> References: <bug-85447-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02366.txt.bz2 Content-length: 278 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 --- Comment #9 from Martin Jambor <jamborm at gcc dot gnu.org> --- Eventually, we have decided to go for a more limited fix which I have posted to the mailing list: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00995.html >From gcc-bugs-return-602243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 09:07:07 2018 Return-Path: <gcc-bugs-return-602243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32911 invoked by alias); 20 Apr 2018 09:07:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32725 invoked by uid 48); 20 Apr 2018 09:07:01 -0000 From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319 Date: Fri, 20 Apr 2018 09:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm 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: <bug-85449-4-dWwz83XK40@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85449-4@http.gcc.gnu.org/bugzilla/> References: <bug-85449-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02367.txt.bz2 Content-length: 233 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 --- Comment #11 from Martin Jambor <jamborm at gcc dot gnu.org> --- I have posted the following fix to the mailing list: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00996.html >From gcc-bugs-return-602245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 09:16:49 2018 Return-Path: <gcc-bugs-return-602245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74782 invoked by alias); 20 Apr 2018 09:16:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74679 invoked by uid 48); 20 Apr 2018 09:16:45 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85462] [8 Regression] internal compiler error: in inc_refcount_use, at cp/pt.c:8955 Date: Fri, 20 Apr 2018 09:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 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: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: <bug-85462-4-jsvoutAijy@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85462-4@http.gcc.gnu.org/bugzilla/> References: <bug-85462-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02369.txt.bz2 Content-length: 446 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85462 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcb314 at hotmail dot com --- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- *** Bug 85479 has been marked as a duplicate of this bug. *** >From gcc-bugs-return-602244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 09:16:48 2018 Return-Path: <gcc-bugs-return-602244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74737 invoked by alias); 20 Apr 2018 09:16:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74665 invoked by uid 48); 20 Apr 2018 09:16:44 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85479] ice in inc_refcount_use Date: Fri, 20 Apr 2018 09:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ 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: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85479-4-ha7JudH3tP@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85479-4@http.gcc.gnu.org/bugzilla/> References: <bug-85479-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02368.txt.bz2 Content-length: 499 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85479 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- just fixed *** This bug has been marked as a duplicate of bug 85462 *** >From gcc-bugs-return-602246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 09:17:36 2018 Return-Path: <gcc-bugs-return-602246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76628 invoked by alias); 20 Apr 2018 09:17:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76456 invoked by uid 48); 20 Apr 2018 09:17:32 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85480] zero extension from xmm to zmm via _mm512_insert???x? not optimized Date: Fri, 20 Apr 2018 09:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.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: bug_status cf_reconfirmed_on everconfirmed Message-ID: <bug-85480-4-vzC4JtHA2K@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85480-4@http.gcc.gnu.org/bugzilla/> References: <bug-85480-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02370.txt.bz2 Content-length: 575 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85480 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-20 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- I think I noted it elsewhere already (in vectorizer context), the patterns are somewhat incomplete. >From gcc-bugs-return-602247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 09:20:23 2018 Return-Path: <gcc-bugs-return-602247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81004 invoked by alias); 20 Apr 2018 09:20:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 80962 invoked by uid 48); 20 Apr 2018 09:20:18 -0000 From: "krebbel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85481] New: ICE in maybe_explain_implicit_delete Date: Fri, 20 Apr 2018 09:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: <bug-85481-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02371.txt.bz2 Content-length: 4223 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85481 Bug ID: 85481 Summary: ICE in maybe_explain_implicit_delete Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- Created attachment 43998 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43998&action=edit Autoreduced testcase cc1plus t.cc } class b { t.cc:2:1: error: expected â,â or â...â before â}â token ) ^ t.cc:2:2: error: expected â;â after class definition ^ t.cc:3:14: error: expected â;â at end of member declaration t.cc:4:2: error: expected â;â after class definition } class B { virtual ~B(; b d ^ ; t.cc:5:2: error: expected â;â after class definition } template class : B { ^ ; t.cc:5:22: error: expected â}â at end of input } template class : B { ^ t.cc:5:18: error: use of deleted function âb::~b()â } template class : B { ^ t.cc:3:7: internal compiler error: in maybe_explain_implicit_delete, at cp/method.c:1873 a c ~b() = default ^ 0x12e6821 maybe_explain_implicit_delete(tree_node*) /home/andreas/build/../gcc/gcc/cp/method.c:1873 0x12888b1 mark_used(tree_node*, int) /home/andreas/build/../gcc/gcc/cp/decl2.c:5255 0x11ad759 build_over_call /home/andreas/build/../gcc/gcc/cp/call.c:7736 0x11b221b build_new_method_call_1 /home/andreas/build/../gcc/gcc/cp/call.c:9378 0x11b221b build_new_method_call(tree_node*, tree_node*, vec<tree_node*, va_gc, vl_embed>**, tree_node*, int, tree_node**, int) /home/andreas/build/../gcc/gcc/cp/call.c:9453 0x12da887 locate_fn_flags /home/andreas/build/../gcc/gcc/cp/method.c:1024 0x12ddee3 walk_field_subobs /home/andreas/build/../gcc/gcc/cp/method.c:1439 0x12dedab synthesized_method_walk /home/andreas/build/../gcc/gcc/cp/method.c:1741 0x12e38f3 get_defaulted_eh_spec(tree_node*, int) /home/andreas/build/../gcc/gcc/cp/method.c:1775 0x13c5105 maybe_instantiate_noexcept(tree_node*, int) /home/andreas/build/../gcc/gcc/cp/pt.c:23256 0x13d9de5 check_final_overrider /home/andreas/build/../gcc/gcc/cp/search.c:1935 0x13d9de5 look_for_overrides_r /home/andreas/build/../gcc/gcc/cp/search.c:2089 0x13d9de5 look_for_overrides(tree_node*, tree_node*) /home/andreas/build/../gcc/gcc/cp/search.c:2034 0x11d6b8d check_for_override(tree_node*, tree_node*) /home/andreas/build/../gcc/gcc/cp/class.c:2774 0x12e1a13 lazily_declare_fn(special_function_kind, tree_node*) /home/andreas/build/../gcc/gcc/cp/method.c:2404 0x11c9125 dfs_declare_virt_assop_and_dtor /home/andreas/build/../gcc/gcc/cp/class.c:3011 0x13d4d57 dfs_walk_all(tree_node*, tree_node* (*)(tree_node*, void*), tree_node* (*)(tree_node*, void*), void*) /home/andreas/build/../gcc/gcc/cp/search.c:1410 0x13d4ded dfs_walk_all(tree_node*, tree_node* (*)(tree_node*, void*), tree_node* (*)(tree_node*, void*), void*) /home/andreas/build/../gcc/gcc/cp/search.c:1422 0x11ea4c5 declare_virt_assop_and_dtor /home/andreas/build/../gcc/gcc/cp/class.c:3030 0x11ea4c5 add_implicitly_declared_members /home/andreas/build/../gcc/gcc/cp/class.c:3170 >From gcc-bugs-return-602248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 09:22:16 2018 Return-Path: <gcc-bugs-return-602248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83237 invoked by alias); 20 Apr 2018 09:22:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83169 invoked by uid 48); 20 Apr 2018 09:22:11 -0000 From: "krebbel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85478] ICE with single element vector Date: Fri, 20 Apr 2018 09:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0.1 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: <bug-85478-4-6VqXgFWbYn@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85478-4@http.gcc.gnu.org/bugzilla/> References: <bug-85478-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02372.txt.bz2 Content-length: 297 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478 --- Comment #2 from Andreas Krebbel <krebbel at gcc dot gnu.org> --- I've opened another bugzilla for a probably unrelated problem triggered by a testcase reduce from the same source file: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85481 >From gcc-bugs-return-602249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 09:27:23 2018 Return-Path: <gcc-bugs-return-602249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111496 invoked by alias); 20 Apr 2018 09:27:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111460 invoked by uid 48); 20 Apr 2018 09:27:17 -0000 From: "kretz at kde dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85482] New: unnecessary vmovaps/vmovapd/vmovdqa emitted Date: Fri, 20 Apr 2018 09:27: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kretz at kde dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85482-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02373.txt.bz2 Content-length: 2270 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85482 Bug ID: 85482 Summary: unnecessary vmovaps/vmovapd/vmovdqa emitted Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: kretz at kde dot org Target Milestone: --- Test case (cf. https://godbolt.org/g/QkJYSK): #include <x86intrin.h> __m256 zero_extend1(__m128 a) { return _mm256_insertf128_ps(__m256(), a, 0); } __m256d zero_extend1(__m128d a) { return _mm256_insertf128_pd(__m256d(), a, 0); } __m256i zero_extend1(__m128i a) { return _mm256_insertf128_si256(__m256i(), a, 0); } __m512 zero_extend2(__m128 a) { return _mm512_insertf32x4(__m512(), a, 0); } __m512d zero_extend2(__m128d a) { return _mm512_insertf64x2(__m512d(), a, 0); } __m512i zero_extend2(__m128i a) { return _mm512_inserti32x4(__m512i(), a, 0); } __m512 zero_extend3(__m256 a) { return _mm512_insertf32x8(__m512(), a, 0); } __m512d zero_extend3(__m256d a) { return _mm512_insertf64x4(__m512d(), a, 0); } __m512i zero_extend3(__m256i a) { return _mm512_inserti64x4(__m512i(), a, 0); } template <class T> T blackhole; void test(void *mem) { blackhole<__m256 > = zero_extend1(_mm_load_ps((float *)mem)); blackhole<__m256d> = zero_extend1(_mm_load_pd((double *)mem)); blackhole<__m256i> = zero_extend1(_mm_load_si128((__m128i *)mem)); blackhole<__m512 > = zero_extend2(_mm_load_ps((float *)mem)); blackhole<__m512d> = zero_extend2(_mm_load_pd((double *)mem)); blackhole<__m512i> = zero_extend2(_mm_load_si128((__m128i *)mem)); blackhole<__m512 > = zero_extend3(_mm256_load_ps((float *)mem)); blackhole<__m512d> = zero_extend3(_mm256_load_pd((double *)mem)); blackhole<__m512i> = zero_extend3(_mm256_load_si256((__m256i *)mem)); } Between every load and store instruction in the `test` function, the vmov(aps|apd|dqa) is superfluous. The preceding load instruction already zeroes the high bits. Instead of the load instruction, there could also be a different instructions, or instruction sequences, that already guarantee the high bits to be zero. >From gcc-bugs-return-602250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 09:27:51 2018 Return-Path: <gcc-bugs-return-602250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112600 invoked by alias); 20 Apr 2018 09:27:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112513 invoked by uid 48); 20 Apr 2018 09:27:46 -0000 From: "kretz at kde dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85482] unnecessary vmovaps/vmovapd/vmovdqa emitted Date: Fri, 20 Apr 2018 09:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: kretz at kde dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cf_gcctarget Message-ID: <bug-85482-4-G2dVTm5kwM@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85482-4@http.gcc.gnu.org/bugzilla/> References: <bug-85482-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02374.txt.bz2 Content-length: 455 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85482 Matthias Kretz <kretz at kde dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Target| |x86_64-*-*, i?86-*-* --- Comment #1 from Matthias Kretz <kretz at kde dot org> --- related to PR85480 >From gcc-bugs-return-602251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 09:29:58 2018 Return-Path: <gcc-bugs-return-602251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6064 invoked by alias); 20 Apr 2018 09:29:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5308 invoked by uid 48); 20 Apr 2018 09:29:51 -0000 From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Fri, 20 Apr 2018 09:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dclarke at blastwave 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: cf_known_to_work Message-ID: <bug-85440-4-9skjDGvkRE@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02375.txt.bz2 Content-length: 4368 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 Dennis Clarke <dclarke at blastwave dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work|8.0 | --- Comment #14 from Dennis Clarke <dclarke at blastwave dot org> --- We are going in circles here. Neither libquadmath nor the required header exist nor function on the powerpc64 target wherein the processor is NOT an IBM power type unit. It is NOT known to work with gcc version 8 either as I have tested for that and the answer is a clear no. This is NOT a power8 nor a power7 nor any version thereof. This is the classic IBM PowerPC 970FX processor. This is big endian. There is NOT an option for "VSX by default". The real issue seems to lay down inside glibc, which I was looking at from the very beginning and I had already said the "non-IBM Power variations are simply not supported" and in glibc 2.26 we see : On ia64, powerpc64le, x86-32, and x86-64, the math library now implements 128-bit floating point as defined by ISO/IEC/IEEE 60559:2011 (IEEE 754-2008) and ISO/IEC TS 18661-3:2015. Contributed by Paul E. Murphy, Gabriel F. T. Gomes, Tulio Magno Quites Machado Filho, and Joseph Myers. To compile programs that use this feature, the compiler must support 128-bit floating point with the type name _Float128 (as defined by TS 18661-3) or __float128 (the nonstandard name used by GCC for C++, and for C prior to version 7). _GNU_SOURCE or __STDC_WANT_IEC_60559_TYPES_EXT__ must be defined to make the new interfaces visible. The new functions and macros correspond to those present for other floating-point types (except for a few obsolescent interfaces not supported for the new type), with F128 or f128 suffixes; for example, strtof128, HUGE_VAL_F128 and cosf128. Following TS 18661-3, there are no printf or scanf formats for the new type; the strfromf128 and strtof128 interfaces should be used instead. This was soon followed by 2.27 wherein : On platforms where long double has the IEEE binary128 format (aarch64, alpha, mips64, riscv, s390 and sparc), the math library now implements _Float128 interfaces for that type, as defined by ISO/IEC TS 18661-3:2015. These are the same interfaces added in version 2.26 for some platforms where this format is supported but is not the format of long double. However the gcc version 8 20180415 will compile C source and produce assembly that clearly uses the 128-bit IEEE 754-2008 format for floating point data however the options for -mfloat128 and -mfloat128-hardware clearly won't work here. The manual page is slightly misleading for "RS/6000 and PowerPC" options as really there needs to exist a page for "IBM Power" options. The options for abi ibmlongdouble and ieeelongdouble both work as expected and I have already shown that along with the output assembly wherein we do actually get both 128-bit datatypes : gcc: warning: using IBM extended precision long double cc1: warning: using IBM extended precision long double .quad 0x400921fb54442d18,0x3ca1a62633145c06 $ /usr/local/gcc7/bin/gcc -m64 -g -Wl,-rpath=/usr/local/lib -mcpu=970 -maltivec -mfull-toc -mregnames -mabi=ieeelongdouble -S -o ld.s ld.c ; grep "quad" ld.s | grep "0x" gcc: warning: using IEEE extended precision long double cc1: warning: using IEEE extended precision long double .quad 0x4000921fb54442d1,0x8469898cc51701b8 Regardless how you slice it here and want to say "works in ver 8" it simply does not and I have a powerpc 64-bit big-endian machine right here that bootstraps both version 7.3.0 and the available ver 8 test tarball just fine. Neither can do anything with libquadmath on this architecture as it is clearly not one of the IBM Power variants under Power ISA v.2.07 spec. Perhaps there needs to be a new manual page for "IBM RS/6000 and PowerPC Options" because really there exists the "IBM Power" systems and then the older "IBM RS/6000 and PowerPC Options". That may also cover the whole SoC type chips that we saw so many of from FreeScale and Motorola at one point. Someone, whomever it is, stop flipping this as "known to work on 8" where that just isn't true. >From gcc-bugs-return-602252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 09:35:53 2018 Return-Path: <gcc-bugs-return-602252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28145 invoked by alias); 20 Apr 2018 09:35:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28053 invoked by uid 48); 20 Apr 2018 09:35:48 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Fri, 20 Apr 2018 09:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85440-4-O2v38OCZss@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02376.txt.bz2 Content-length: 526 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 --- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> --- For libquadmath you need a working __float128 support. On x86_64, i686 and ia64 this is done through a slow software emulation in libgcc. On powerpc*, there is either a software emulation which requires VSX, or hardware implementation which requires power9. On s390 there is hardware implementation, but long double is already quad, so you don't need libquadmath. For everything else, just use mpfr. >From gcc-bugs-return-602253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 09:38:20 2018 Return-Path: <gcc-bugs-return-602253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33818 invoked by alias); 20 Apr 2018 09:38:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33712 invoked by uid 48); 20 Apr 2018 09:38:15 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85478] ICE with single element vector Date: Fri, 20 Apr 2018 09:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85478-4-ywDnNqp1rB@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85478-4@http.gcc.gnu.org/bugzilla/> References: <bug-85478-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02377.txt.bz2 Content-length: 235 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Hmm, it doesn't seem to ICE for me (with a cross from x86_64-linux). I configured with --target s390x-linux-gnu >From gcc-bugs-return-602254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 09:40:21 2018 Return-Path: <gcc-bugs-return-602254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37548 invoked by alias); 20 Apr 2018 09:40:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37468 invoked by uid 48); 20 Apr 2018 09:40:17 -0000 From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85447] [8 Regression] ICE in create_specialized_node, at ipa-cp.c:3870 since r259319 Date: Fri, 20 Apr 2018 09:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85447-4-ykpPnIbsgR@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85447-4@http.gcc.gnu.org/bugzilla/> References: <bug-85447-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02378.txt.bz2 Content-length: 1177 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85447 Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #10 from Martin Jambor <jamborm at gcc dot gnu.org> --- I forgot to put letters "PR" to the bug reference, anyway fixed with: Author: jamborm Date: Fri Apr 20 09:19:39 2018 New Revision: 259517 URL: https://gcc.gnu.org/viewcvs?rev=259517&root=gcc&view=rev Log: Check that clones of edges exist during IPA-CP 2018-04-20 Martin Jambor <mjambor@suse.cz> ipa/85447 * ipa-cp.c (create_specialized_node): Check that clones of self-recursive edges exist during IPA-CP. testsuite/ * g++.dg/ipa/pr85447.C: New file. * gcc.dg/ipa/ipcp-self-recursion-1.c: Likewise. Added: trunk/gcc/testsuite/g++.dg/ipa/pr85447.C trunk/gcc/testsuite/gcc.dg/ipa/ipcp-self-recursion-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-cp.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-602255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 09:40:54 2018 Return-Path: <gcc-bugs-return-602255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38641 invoked by alias); 20 Apr 2018 09:40:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38546 invoked by uid 48); 20 Apr 2018 09:40:50 -0000 From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319 Date: Fri, 20 Apr 2018 09:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 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: <bug-85449-4-HbotMfOx27@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85449-4@http.gcc.gnu.org/bugzilla/> References: <bug-85449-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02379.txt.bz2 Content-length: 1087 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #12 from Martin Jambor <jamborm at gcc dot gnu.org> --- I forgot to put letters "PR" to the bug reference, anyway fixed with: Author: jamborm Date: Fri Apr 20 09:35:33 2018 New Revision: 259518 URL: https://gcc.gnu.org/viewcvs?rev=259518&root=gcc&view=rev Log: Fix IPA-CP test for self-feeding recursive dependency 2018-04-20 Martin Jambor <mjambor@suse.cz> ipa/85449 * ipa-cp.c (cgraph_edge_brings_value_p): Move check for self-feeding recursion dependency to only apply to non-clones. testsuite/ * gcc.dg/ipa/pr85449.c: New test. Added: trunk/gcc/testsuite/gcc.dg/ipa/pr85449.c Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-cp.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-602256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 09:52:30 2018 Return-Path: <gcc-bugs-return-602256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66723 invoked by alias); 20 Apr 2018 09:52:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66615 invoked by uid 48); 20 Apr 2018 09:52:26 -0000 From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Fri, 20 Apr 2018 09:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dclarke at blastwave 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: Message-ID: <bug-85440-4-LJ0WGNbmHC@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02380.txt.bz2 Content-length: 1105 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 --- Comment #16 from Dennis Clarke <dclarke at blastwave dot org> --- Dear Jakub Jelinek : Exactly. Yes, I think the libmpfr/libgmp seem to work perfectly here but the real issue is that the old 970 and pre Power ISA v.2.03 spec type hardware is a historical artifact like the old DEC Alpha. I see that in gcc 7.3.0 we do get share/info/libquadmath.info installed BUT in gcc 8 we do not. This is good. It is annoying that the gcc compiler will produce the correct assembly for both the IBM long double and the IEEE 754-2008 type 128-bit floating point. One sort of works and the other does not at all. A value for pi becomes 2.0713495408... etc. The gcc manual page for "IBM RS/6000 and PowerPC Options" needs a bit of a re-write to address the strange results one may get from the use of "-mabi" ieeelongdouble or ibmlongdouble. At the very least the "warning" exists to let a user know that something is amiss here and strange results may occur. Dennis Clarke >From gcc-bugs-return-602257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 10:05:28 2018 Return-Path: <gcc-bugs-return-602257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10648 invoked by alias); 20 Apr 2018 10:05:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5709 invoked by uid 48); 20 Apr 2018 10:05:23 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Fri, 20 Apr 2018 10:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85440-4-hM0ymmY1CH@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02381.txt.bz2 Content-length: 931 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 --- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Dennis Clarke from comment #16) > It is annoying that the gcc compiler will produce the correct > assembly for both the IBM long double and the IEEE 754-2008 > type 128-bit floating point. One sort of works and the other I have no idea what you mean by correct assembly for -mabi=ieeelongdouble. If you try something as simple as long double add (long double x, long double y) { return x + y; } you'll see that it emits the SVR4 ABI calls like _q_add etc. for the software emulation, but neither glibc nor gcc provides implementation for these. So it doesn't work at all unless you provide your own library. This isn't some gap that libquadmath can cover, that library requires that {+,-,*,/} etc. work and furthermore the type needs to be __float128, not long double. >From gcc-bugs-return-602258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 10:29:15 2018 Return-Path: <gcc-bugs-return-602258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130565 invoked by alias); 20 Apr 2018 10:29:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130472 invoked by uid 48); 20 Apr 2018 10:29:11 -0000 From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Fri, 20 Apr 2018 10:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dclarke at blastwave 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: Message-ID: <bug-85440-4-g8z30EFZsV@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02382.txt.bz2 Content-length: 456 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 --- Comment #18 from Dennis Clarke <dclarke at blastwave dot org> --- We are saying the same thing here. Those same emulation routines exist elsewhere and are called _Qp_div, _Qp_mul and _Qp_add on Solaris SPARC systems whereas those are implemented into other places with more or less the same names. Let's not go in circles here. I see the issue and the old 970 is a historical artifact. >From gcc-bugs-return-602259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 10:31:38 2018 Return-Path: <gcc-bugs-return-602259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2531 invoked by alias); 20 Apr 2018 10:31:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2475 invoked by uid 48); 20 Apr 2018 10:31:34 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85475] [8 Regression] Compile time hog w/ -O1 -fpeel-loops Date: Fri, 20 Apr 2018 10:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: compile-time-hog 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: <bug-85475-4-Z1KtdCR91x@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85475-4@http.gcc.gnu.org/bugzilla/> References: <bug-85475-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02383.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85475 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Fixed. >From gcc-bugs-return-602260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 10:32:00 2018 Return-Path: <gcc-bugs-return-602260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3436 invoked by alias); 20 Apr 2018 10:32:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3364 invoked by uid 55); 20 Apr 2018 10:31:55 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85475] [8 Regression] Compile time hog w/ -O1 -fpeel-loops Date: Fri, 20 Apr 2018 10:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: compile-time-hog 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: <bug-85475-4-WASRaUtbA0@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85475-4@http.gcc.gnu.org/bugzilla/> References: <bug-85475-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02384.txt.bz2 Content-length: 678 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85475 --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Fri Apr 20 10:31:23 2018 New Revision: 259519 URL: https://gcc.gnu.org/viewcvs?rev=259519&root=gcc&view=rev Log: 2018-04-20 Richard Biener <rguenther@suse.de> PR middle-end/85475 * match.pd ((X * CST) * Y -> (X * Y) * CST): Avoid exponential complexity by forcing a single use of the multiply operand. * gcc.dg/torture/pr85475.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr85475.c Modified: trunk/gcc/ChangeLog trunk/gcc/match.pd trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-602261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 10:38:00 2018 Return-Path: <gcc-bugs-return-602261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25884 invoked by alias); 20 Apr 2018 10:37:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25818 invoked by uid 48); 20 Apr 2018 10:37:55 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85481] [8 Regression] ICE in maybe_explain_implicit_delete Date: Fri, 20 Apr 2018 10:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed Message-ID: <bug-85481-4-g7QdqGQ1a6@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85481-4@http.gcc.gnu.org/bugzilla/> References: <bug-85481-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02385.txt.bz2 Content-length: 943 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85481 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-20 CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org Target Milestone|--- |8.0 Summary|ICE in |[8 Regression] ICE in |maybe_explain_implicit_dele |maybe_explain_implicit_dele |te |te Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Started with r250994. >From gcc-bugs-return-602263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 10:41:52 2018 Return-Path: <gcc-bugs-return-602263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31693 invoked by alias); 20 Apr 2018 10:41:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31635 invoked by uid 48); 20 Apr 2018 10:41:46 -0000 From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85482] unnecessary vmovaps/vmovapd/vmovdqa emitted Date: Fri, 20 Apr 2018 10:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.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: bug_status cf_reconfirmed_on everconfirmed Message-ID: <bug-85482-4-hGucXCSIKw@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85482-4@http.gcc.gnu.org/bugzilla/> References: <bug-85482-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02387.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85482 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-20 Ever confirmed|0 |1 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. >From gcc-bugs-return-602262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 10:41:17 2018 Return-Path: <gcc-bugs-return-602262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30651 invoked by alias); 20 Apr 2018 10:41:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30595 invoked by uid 48); 20 Apr 2018 10:41:13 -0000 From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85481] [8 Regression] ICE in maybe_explain_implicit_delete Date: Fri, 20 Apr 2018 10:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-checking, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: <bug-85481-4-y3INDyPeRk@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85481-4@http.gcc.gnu.org/bugzilla/> References: <bug-85481-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02386.txt.bz2 Content-length: 592 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85481 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-checking --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The ICE goes away also with -fno-checking. 1872 else if (flag_checking) 1873 gcc_unreachable (); Wonder if we just don't want else if (flag_checking && (errorcount + sorrycount == 0)) instead. >From gcc-bugs-return-602264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 10:56:15 2018 Return-Path: <gcc-bugs-return-602264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111882 invoked by alias); 20 Apr 2018 10:56:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111229 invoked by uid 48); 20 Apr 2018 10:56:11 -0000 From: "krebbel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85478] ICE with single element vector Date: Fri, 20 Apr 2018 10:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0.1 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: <bug-85478-4-nxWgsgPius@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85478-4@http.gcc.gnu.org/bugzilla/> References: <bug-85478-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02388.txt.bz2 Content-length: 2388 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478 --- Comment #4 from Andreas Krebbel <krebbel at gcc dot gnu.org> --- Indeed it does not appear to fail with a cross from x86. I've checked with r259518 on s390x as well as on x86. With an x86 cross no tree dump is generated after 012t.ompexp and the generated assembler file does not contain any code. x86->s390x cross 012.ompexp: ... ;; Function c::f<ab<float>*, ab<long double>*> (_ZN1c1fIP2abIfEPS1_IeEEEiT_T0_, funcdef_no=15, decl_uid =2862, cgraph_uid=9, symbol_order=9) c::f<ab<float>*, ab<long double>*> (struct ab * g, struct ab * h) { struct ab * i; struct ab D.2925; <bb 2> : if (i == g) goto <bb 4>; [INV] else goto <bb 3>; [INV] <bb 3> : ab<long double>::ab (&D.2925, MEM[(const struct ab &)i]); *h = D.2925; h = h + 16; i = i + 16; goto <bb 2>; [INV] <bb 4> : __builtin_unreachable (); } ;; Function ab<long double>::ab (_ZN2abIeEC2ES_IfE, funcdef_no=6, decl_uid=2666, cgraph_uid=2, symbol_order=2) ab<long double>::ab (struct ab * const this, struct ab g) { complex double D.2939; <bb 2> : MEM[(struct &)this] = {CLOBBER}; D.2939 = ab<float>::m (&g); _1 = REALPART_EXPR <D.2939>; _2 = IMAGPART_EXPR <D.2939>; _3 = COMPLEX_EXPR <_1, _2>; this->n = _3; return; } s390x native 012.ompexp: ;; Function c::f<ab<float>*, ab<long double>*> (_ZN1c1fIP2abIfEPS1_IgEEEiT_T0_, funcdef_no=15, decl_uid =2896, cgraph_uid=9, symbol_order=9) c::f<ab<float>*, ab<long double>*> (struct ab * g, struct ab * h) { struct ab * i; struct ab D.2959; <bb 2> : if (i == g) goto <bb 4>; [INV] else goto <bb 3>; [INV] <bb 3> : ab<long double>::ab (&D.2959, MEM[(const struct ab &)i]); *h = D.2959; D.2959 = {CLOBBER}; h = h + 32; i = i + 16; goto <bb 2>; [INV] <bb 4> : __builtin_unreachable (); } ;; Function ab<long double>::ab (_ZN2abIgEC2ES_IfE, funcdef_no=6, decl_uid=2700, cgraph_uid=2, symbol_order=2) ab<long double>::ab (struct ab * const this, struct ab g) { complex double D.2973; <bb 2> : MEM[(struct &)this] = {CLOBBER}; D.2973 = ab<float>::m (&g); _1 = REALPART_EXPR <D.2973>; _2 = (long double) _1; _3 = IMAGPART_EXPR <D.2973>; _4 = (long double) _3; _5 = COMPLEX_EXPR <_2, _4>; this->n = _5; return; } >From gcc-bugs-return-602265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 10:57:28 2018 Return-Path: <gcc-bugs-return-602265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113312 invoked by alias); 20 Apr 2018 10:57:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 113208 invoked by uid 48); 20 Apr 2018 10:57:21 -0000 From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Fri, 20 Apr 2018 10:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dclarke at blastwave 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: Message-ID: <bug-85440-4-I4EhiAb4IS@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02389.txt.bz2 Content-length: 4538 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 --- Comment #19 from Dennis Clarke <dclarke at blastwave dot org> --- status : RESOLVED FIXED <-- seems to not apply. For the sake of showing how there really is a problem here, we can neatly compile some trivial code and get bizarre results simply because the platform would prefer to use the non-standard IBM long double data type. Any attempt to "add" two long doubles will result in a call to _q_add which doesn't exist and ld fails. ppc64$ cat foo.c #define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <locale.h> #include <sys/utsname.h> int main ( int argc, char *argv[] ) { int j; struct utsname uname_data; long double pi = 3.14159265358979323846264338327950288419716939937510L; long double one = 1.0L; long double two = 2.0L; setlocale( LC_MESSAGES, "C" ); if ( uname( &uname_data ) < 0 ) { fprintf ( stderr, "WARNING : Could not attain system uname data.\n" ); perror ( "uname" ); } else { printf (" system name = %s\n", uname_data.sysname ); printf (" node name = %s\n", uname_data.nodename ); printf (" release = %s\n", uname_data.release ); printf (" version = %s\n", uname_data.version ); printf (" machine = %s\n", uname_data.machine ); } printf ("\n"); /* correct 128 bit big endian hex representation of pi is * 0x40 00 92 1f b5 44 42 d1 84 69 89 8c c5 17 01 b8 */ printf("\naddr \"pi\" is %p\n", &pi ); printf("\ncontents : " ); for ( j=0; j<sizeof(long double); j++ ) printf("%02x ", ((unsigned char *)&pi)[j] ); printf("\n" ); printf("%+42.38Lf\n", pi ); printf(" +3.1415926535897932384626433832795028841971 <- pi\n" ); printf("\n\naddr \"one\" is %p\n", &one ); printf("\ncontents : " ); for ( j=0; j<sizeof(long double); j++ ) printf("%02x ", ((unsigned char *)&one)[j] ); printf("\n" ); printf("%+42.38Lf\n", one ); printf("\n\naddr \"two\" is %p\n", &two ); printf("\ncontents : " ); for ( j=0; j<sizeof(long double); j++ ) printf("%02x ", ((unsigned char *)&two)[j] ); printf("\n" ); printf("%+42.38Lf\n", two ); return (EXIT_SUCCESS); } ppc64$ ppc64$ /usr/local/gcc7/bin/gcc -m64 -std=iso9899:2011 \ > -Wfatal-errors -pedantic-errors -mcpu=970 -mfull-toc \ > -mregnames -mabi=ieeelongdouble -o foo foo.c gcc: warning: using IEEE extended precision long double cc1: warning: using IEEE extended precision long double ppc64$ ppc64$ ./foo system name = Linux node name = nix release = 4.16.2-genunix version = #1 SMP Wed Apr 18 16:41:48 GMT 2018 machine = ppc64 addr "pi" is 0x7fffe4399650 contents : 40 00 92 1f b5 44 42 d1 84 69 89 8c c5 17 01 b8 +2.07134954084936184770526779175270348787 +3.1415926535897932384626433832795028841971 <- pi addr "one" is 0x7fffe4399660 contents : 3f ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +1.93750000000000000000000000000000000000 addr "two" is 0x7fffe4399670 contents : 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +2.00000000000000000000000000000000000000 ppc64$ ppc64$ ppc64$ /usr/local/gcc7/bin/gcc -m64 -std=iso9899:2011 \ > -Wfatal-errors -pedantic-errors -mcpu=970 -mfull-toc \ > -mregnames -mabi=ibmlongdouble -o foo foo.c gcc: warning: using IBM extended precision long double cc1: warning: using IBM extended precision long double ppc64$ ./foo system name = Linux node name = nix release = 4.16.2-genunix version = #1 SMP Wed Apr 18 16:41:48 GMT 2018 machine = ppc64 addr "pi" is 0x7ffff5eef3e0 contents : 40 09 21 fb 54 44 2d 18 3c a1 a6 26 33 14 5c 06 +3.14159265358979323846264338327948122706 +3.1415926535897932384626433832795028841971 <- pi addr "one" is 0x7ffff5eef3f0 contents : 3f f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +1.00000000000000000000000000000000000000 addr "two" is 0x7ffff5eef400 contents : 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +2.00000000000000000000000000000000000000 ppc64$ Like you say "...it doesn't work at all unless you provide your own library." So very true. Well this has been fun and I think a POWER9 server is needed to do any real work and certainly the hardware support will be fun. >From gcc-bugs-return-602266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 11:18:09 2018 Return-Path: <gcc-bugs-return-602266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15375 invoked by alias); 20 Apr 2018 11:18:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15294 invoked by uid 55); 20 Apr 2018 11:18:04 -0000 From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85478] ICE with single element vector Date: Fri, 20 Apr 2018 11:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85478-4-bXcpLYxE95@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85478-4@http.gcc.gnu.org/bugzilla/> References: <bug-85478-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02390.txt.bz2 Content-length: 1056 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478 --- Comment #5 from rguenther at suse dot de <rguenther at suse dot de> --- On Fri, 20 Apr 2018, krebbel at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478 > > --- Comment #4 from Andreas Krebbel <krebbel at gcc dot gnu.org> --- > Indeed it does not appear to fail with a cross from x86. I've checked with > r259518 on s390x as well as on x86. With an x86 cross no tree dump is generated > after 012t.ompexp and the generated assembler file does not contain any code. I do see generated code for the explicitely instantiated operator. sth like void foo(ab<float> *a, ab<long double> *b){ c::f<ab<float> *, ab<long double> *> (a,b); } void bar(ab<float> x) { ab<__float128> a(x); } should instantiate both functions below explicitely but __float128 (taken from the demangling) doesn't do it and using 'long double' ends up with a different mangling (and code). That said, cross and native shouldn't differ and tracking down the reason would be interesting. >From gcc-bugs-return-602267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 11:43:27 2018 Return-Path: <gcc-bugs-return-602267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123464 invoked by alias); 20 Apr 2018 11:43:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123327 invoked by uid 48); 20 Apr 2018 11:43:18 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/79736] [5 Regression] Please submit a full bug report: unable to create precompiled headers Date: Fri, 20 Apr 2018 11:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.4.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cf_known_to_work target_milestone short_desc cf_known_to_fail Message-ID: <bug-79736-4-VywmHXwLqW@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-79736-4@http.gcc.gnu.org/bugzilla/> References: <bug-79736-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02391.txt.bz2 Content-length: 1548 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79736 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Known to work| |4.9.4, 6.1.0 Target Milestone|--- |6.0 Summary|Please submit a full bug |[5 Regression] Please |report: unable to create |submit a full bug report: |precompiled headers |unable to create | |precompiled headers Known to fail| |5.1.0, 5.5.0 --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- I can reproduce this with gcc 5 but not gcc 6 or later. The preprocessed source is 800kB even compressed, so I can't attach it. The ICE started with r221641 PR c++/65498 * pt.c (get_mostly_instantiated_function_type): Just return the type of the partially instantiated template in DECL_TI_TEMPLATE. It was fixed by r227846 2015-09-17 Richard Biener * cp-tree.h (note_decl_for_pch): Remove. * class.c (build_clone): Do not call note_decl_for_pch. * semantics.c (finish_member_declaration): Likewise. (note_decl_for_pch): Remove. * decl2.c (c_parse_final_cleanups): Mangle all globals before writing the PCH. Should we close it as FIXED? >From gcc-bugs-return-602268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 11:48:59 2018 Return-Path: <gcc-bugs-return-602268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55232 invoked by alias); 20 Apr 2018 11:48:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55169 invoked by uid 48); 20 Apr 2018 11:48:52 -0000 From: "thomas.petazzoni@free-electrons.com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/69401] gcc 5.3.0/6.1.0 on microblaze: internal compiler error: in gen_reg_rtx, at emit-rtl.c:1027 Date: Fri, 20 Apr 2018 11:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: thomas.petazzoni@free-electrons.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: <bug-69401-4-GFulsaG767@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-69401-4@http.gcc.gnu.org/bugzilla/> References: <bug-69401-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02392.txt.bz2 Content-length: 443 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69401 --- Comment #6 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- I see Eric Gallager added bug 68538 in the "See also" section. However, I don't see how they can be related: 68538 has been fixed, and the fix was only in CRIS-specific files. This bug however is only about Microblaze, so I don't see how it can be related to a bug that was fixed in CRIS-specific code. >From gcc-bugs-return-602269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 11:53:08 2018 Return-Path: <gcc-bugs-return-602269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95866 invoked by alias); 20 Apr 2018 11:53:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95839 invoked by uid 48); 20 Apr 2018 11:53:03 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85445] [nvptx, openacc] Calls to worker and vector routine broken Date: Fri, 20 Apr 2018 11:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: openacc, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85445-4-WOs0wSU8A1@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85445-4@http.gcc.gnu.org/bugzilla/> References: <bug-85445-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02393.txt.bz2 Content-length: 2433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85445 --- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Tom de Vries from comment #0) > og7 test-case ref-1.C fails in execution when run with trunk: At -O2, due to the call to routine Worker. The Vector routine is inlined, due to missing noinline,noclone attributes. > #pragma acc routine worker > void Worker (int *ptr, int m, int n, const int &inc) > { > #pragma acc loop worker > for (unsigned ix = 0; ix < m; ix++) > Vector(ptr + ix * n, n, inc); > } > > int main () > { > #pragma acc parallel copy(ary) > { > Worker (&ary[0][0], m, n, 1<<16); > } The inc parameter is a reference parameter, so the argument 1<<16 (65536) is saved on stack: ... mov.u32 %r25, 65536; st.u32 [%frame], %r25; ... and the address is passed as argument: ... .param.u64 %out_arg4; st.param.u64 [%out_arg4], %frame; call _Z6WorkerPiiiRKi, (%out_arg1, %out_arg2, %out_arg3, %out_arg4); ... The stack is declared with .local: ... .local .align 16 .b8 %frame_ar[16]; .reg.u64 %frame; cvta.local.u64 %frame, %frame_ar; ... which means: ... Local memory, private to each thread. ... The initialization of the stack is done in thread W0V0, but the stack is read in WAVA mode, so it's reading uninitialized stack memory in all but the W0V0 thread. >From gcc-bugs-return-602270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 11:57:23 2018 Return-Path: <gcc-bugs-return-602270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103433 invoked by alias); 20 Apr 2018 11:57:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103394 invoked by uid 48); 20 Apr 2018 11:57:18 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85445] [nvptx, openacc] Calls to worker and vector routine broken Date: Fri, 20 Apr 2018 11:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: openacc, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85445-4-vopLByf90u@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85445-4@http.gcc.gnu.org/bugzilla/> References: <bug-85445-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02394.txt.bz2 Content-length: 3006 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85445 --- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Tom de Vries from comment #1) > The initialization of the stack is done in thread W0V0, but the stack is > read in WAVA mode, so it's reading uninitialized stack memory in all but > the W0V0 thread. r239736 fixes this by propating the stack frame from W0V0 to WAVO: ... $ diff -u bad.s ok.s --- bad.s 2018-04-20 09:36:51.122581511 +0200 +++ ok.s 2018-04-20 09:53:01.971786471 +0200 @@ -344,28 +344,66 @@ .reg.u32 %r25; .reg.u64 %r26; .reg.u32 %r28; - .reg.pred %r30; - .reg.pred %r31; + .reg.u64 %r30; + .reg.u64 %r31; + .reg.u64 %r32; + .reg.u32 %r33; + .reg.pred %r34; + .reg.u64 %r35; + .reg.u64 %r36; + .reg.u64 %r37; + .reg.u64 %r38; + .reg.u32 %r39; + .reg.pred %r40; + .reg.u64 %r41; + .reg.pred %r42; + .reg.pred %r43; { .reg.u32 %y; mov.u32 %y, %tid.y; - setp.ne.u32 %r30, %y, 0; + setp.ne.u32 %r42, %y, 0; } { .reg.u32 %x; mov.u32 %x, %tid.x; - setp.ne.u32 %r31, %x, 0; + setp.ne.u32 %r43, %x, 0; } - @%r30 bra.uni $L30; - @%r31 bra $L31; + @%r42 bra.uni $L32; + @%r43 bra $L33; mov.u64 %r24, %ar0; mov.u32 %r25, 65536; st.u32 [%frame], %r25; mov.u32 %r28, 32; ld.u64 %r26, [%r24]; + // fork 14; + cvta.shared.u64 %r36, __worker_bcast; + mov.u64 %r38, %frame; + mov.u32 %r39, 2; + add.u64 %r41, %r36, 0; $L31: -$L30: + add.u32 %r39, %r39, -1; + ld.u64 %r37, [%r38]; + st.u64 [%r41], %r37; + add.u64 %r41, %r41, 8; + setp.ne.u32 %r40, %r39, 0; + add.u64 %r38, %r38, 8; + @%r40 bra.uni $L31; +$L33: +$L32: + bar.sync 0; // forked 14; + cvta.shared.u64 %r30, __worker_bcast; + mov.u64 %r32, %frame; + mov.u32 %r33, 2; + add.u64 %r35, %r30, 0; +$L30: + add.u32 %r33, %r33, -1; + ld.u64 %r31, [%r35]; + add.u64 %r35, %r35, 8; + st.u64 [%r32], %r31; + setp.ne.u32 %r34, %r33, 0; + add.u64 %r32, %r32, 8; + @%r34 bra.uni $L30; { .param.u64 %out_arg1; st.param.u64 [%out_arg1], %r26; @@ -377,6 +415,8 @@ st.param.u64 [%out_arg4], %frame; call _Z6WorkerPiiiRKi, (%out_arg1, %out_arg2, %out_arg3, %out_arg4); } + // joining 14; + bar.sync 1; // join 14; ret; } ... >From gcc-bugs-return-602272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 12:20:33 2018 Return-Path: <gcc-bugs-return-602272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25402 invoked by alias); 20 Apr 2018 12:20:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25244 invoked by uid 55); 20 Apr 2018 12:20:27 -0000 From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83969] [8 Regression] ICE in final_scan_insn, at final.c:2997 (error: could not split insn) for powerpc targets Date: Fri, 20 Apr 2018 12:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: CLOSED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-83969-4-V5Pvn4591g@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83969-4@http.gcc.gnu.org/bugzilla/> References: <bug-83969-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02396.txt.bz2 Content-length: 1299 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83969 --- Comment #15 from Peter Bergner <bergner at gcc dot gnu.org> --- Author: bergner Date: Fri Apr 20 12:19:10 2018 New Revision: 259520 URL: https://gcc.gnu.org/viewcvs?rev=259520&root=gcc&view=rev Log: gcc/ Backport from mainline 2018-03-09 Peter Bergner <bergner@vnet.ibm.com> PR target/83969 * config/rs6000/rs6000.c (rs6000_offsettable_memref_p): New prototype. Add strict argument and use it. (rs6000_split_multireg_move): Update for new strict argument. (mem_operand_gpr): Disallow all non-offsettable addresses. * config/rs6000/rs6000.md (*movdi_internal64): Use YZ constraint. gcc/testsuite/ PR target/85436 * go.dg/pr85436.go: New test. Backport from mainline 2018-03-09 Peter Bergner <bergner@vnet.ibm.com> PR target/83969 * gcc.target/powerpc/pr83969.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/pr83969.c branches/gcc-7-branch/gcc/testsuite/go.dg/pr85436.go Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/rs6000/rs6000.c branches/gcc-7-branch/gcc/config/rs6000/rs6000.md branches/gcc-7-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-602271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 12:20:32 2018 Return-Path: <gcc-bugs-return-602271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25356 invoked by alias); 20 Apr 2018 12:20:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25184 invoked by uid 55); 20 Apr 2018 12:20:25 -0000 From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85436] [7 Regression] ICE compiling go code with -mcpu=power9 Date: Fri, 20 Apr 2018 12:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85436-4-8RKACmiIjR@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85436-4@http.gcc.gnu.org/bugzilla/> References: <bug-85436-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02395.txt.bz2 Content-length: 1298 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85436 --- Comment #4 from Peter Bergner <bergner at gcc dot gnu.org> --- Author: bergner Date: Fri Apr 20 12:19:10 2018 New Revision: 259520 URL: https://gcc.gnu.org/viewcvs?rev=259520&root=gcc&view=rev Log: gcc/ Backport from mainline 2018-03-09 Peter Bergner <bergner@vnet.ibm.com> PR target/83969 * config/rs6000/rs6000.c (rs6000_offsettable_memref_p): New prototype. Add strict argument and use it. (rs6000_split_multireg_move): Update for new strict argument. (mem_operand_gpr): Disallow all non-offsettable addresses. * config/rs6000/rs6000.md (*movdi_internal64): Use YZ constraint. gcc/testsuite/ PR target/85436 * go.dg/pr85436.go: New test. Backport from mainline 2018-03-09 Peter Bergner <bergner@vnet.ibm.com> PR target/83969 * gcc.target/powerpc/pr83969.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/pr83969.c branches/gcc-7-branch/gcc/testsuite/go.dg/pr85436.go Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/rs6000/rs6000.c branches/gcc-7-branch/gcc/config/rs6000/rs6000.md branches/gcc-7-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-602273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 12:56:19 2018 Return-Path: <gcc-bugs-return-602273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10879 invoked by alias); 20 Apr 2018 12:56:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10829 invoked by uid 55); 20 Apr 2018 12:56:12 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug objc/85476] ASAN error in finish_class ../../gcc/objc/objc-act.c:8006 Date: Fri, 20 Apr 2018 12:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: objc X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85476-4-2rGX21FjE9@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85476-4@http.gcc.gnu.org/bugzilla/> References: <bug-85476-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02397.txt.bz2 Content-length: 517 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85476 --- Comment #1 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Author: marxin Date: Fri Apr 20 12:55:36 2018 New Revision: 259521 URL: https://gcc.gnu.org/viewcvs?rev=259521&root=gcc&view=rev Log: Do not overflow string buffer (PR objc/85476). 2018-04-20 Martin Liska <mliska@suse.cz> PR objc/85476 * objc-act.c (finish_class): Do not overflow string buffer. Modified: trunk/gcc/objc/ChangeLog trunk/gcc/objc/objc-act.c >From gcc-bugs-return-602274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 13:01:39 2018 Return-Path: <gcc-bugs-return-602274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20767 invoked by alias); 20 Apr 2018 13:01:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19431 invoked by uid 48); 20 Apr 2018 13:01:26 -0000 From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85449] [8 Regression] Wrong specialization is called in self recursive functions after r259319 Date: Fri, 20 Apr 2018 13:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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: <bug-85449-4-ezpiIccnDp@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85449-4@http.gcc.gnu.org/bugzilla/> References: <bug-85449-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02398.txt.bz2 Content-length: 140 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449 --- Comment #13 from Tamar Christina <tnfchris at gcc dot gnu.org> --- Thanks Martin! >From gcc-bugs-return-602275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 13:22:16 2018 Return-Path: <gcc-bugs-return-602275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46692 invoked by alias); 20 Apr 2018 13:22:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46655 invoked by uid 48); 20 Apr 2018 13:22:11 -0000 From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug objc/85476] ASAN error in finish_class ../../gcc/objc/objc-act.c:8006 Date: Fri, 20 Apr 2018 13:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: objc X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 resolution Message-ID: <bug-85476-4-OHurnxafph@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85476-4@http.gcc.gnu.org/bugzilla/> References: <bug-85476-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02399.txt.bz2 Content-length: 442 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85476 Martin LiÅ¡ka <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Martin LiÅ¡ka <marxin at gcc dot gnu.org> --- Fixed on trunk. >From gcc-bugs-return-602276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 13:31:08 2018 Return-Path: <gcc-bugs-return-602276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69099 invoked by alias); 20 Apr 2018 13:31:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69054 invoked by uid 55); 20 Apr 2018 13:31:04 -0000 From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85469] -mibt is unused Date: Fri, 20 Apr 2018 13:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85469-4-w9rIgnN30N@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85469-4@http.gcc.gnu.org/bugzilla/> References: <bug-85469-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02400.txt.bz2 Content-length: 2568 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85469 --- Comment #1 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Fri Apr 20 13:30:13 2018 New Revision: 259522 URL: https://gcc.gnu.org/viewcvs?rev=259522&root=gcc&view=rev Log: Define __CET__ for -fcf-protection and remove -mibt With revision 259496: commit b1384095a7c1d06a44b70853372ebe037b2f7867 Author: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Thu Apr 19 15:15:04 2018 +0000 x86: Enable -fcf-protection with multi-byte NOPs -mibt does nothing and can be removed. Define __CET__ to indicate level protection with -fcf-protection: (__CET__ & 1) != 0: -fcf-protection=branch or -fcf-protection=full (__CET__ & 2) != 0: -fcf-protection=return or -fcf-protection=full gcc/ PR target/85469 * common/config/i386/i386-common.c (OPTION_MASK_ISA_IBT_SET): Removed. (OPTION_MASK_ISA_IBT_UNSET): Likewise. (ix86_handle_option): Don't handle OPT_mibt. * config/i386/cet.h: Check __CET__ instead of __IBT__ and __SHSTK__. * config/i386/driver-i386.c (host_detect_local_cpu): Remove has_ibt and ibt. * config/i386/i386-c.c (ix86_target_macros_internal): Don't check OPTION_MASK_ISA_IBT nor flag_cf_protection. (ix86_target_macros): Define __CET__ with flag_cf_protection for -fcf-protection. * config/i386/i386.c (isa2_opts): Remove -mibt. * config/i386/i386.h (TARGET_IBT): Removed. (TARGET_IBT_P): Likewise. (ix86_valid_target_attribute_inner_p): Don't check OPT_mibt. * config/i386/i386.md (nop_endbr): Don't check TARGET_IBT. * config/i386/i386.opt (mcet): Update help message. (mshstk): Likewise. (mibt): Removed. * doc/invoke.texi: Remove -mibt. Document __CET__. Document -mcet as an alias for -mshstk. gcc/testsuite/ PR target/85469 * gcc.target/i386/pr85044.c (dg-options): Remove -mibt. * gcc.target/i386/sse-26.c (dg-options): Remove -mno-ibt. Modified: trunk/gcc/ChangeLog trunk/gcc/common/config/i386/i386-common.c trunk/gcc/config/i386/cet.h trunk/gcc/config/i386/driver-i386.c trunk/gcc/config/i386/i386-c.c trunk/gcc/config/i386/i386.c trunk/gcc/config/i386/i386.h trunk/gcc/config/i386/i386.md trunk/gcc/config/i386/i386.opt trunk/gcc/doc/invoke.texi trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/i386/pr85044.c trunk/gcc/testsuite/gcc.target/i386/sse-26.c >From gcc-bugs-return-602277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 13:32:10 2018 Return-Path: <gcc-bugs-return-602277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70908 invoked by alias); 20 Apr 2018 13:32:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70828 invoked by uid 48); 20 Apr 2018 13:32:06 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85469] -mibt is unused Date: Fri, 20 Apr 2018 13:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: <bug-85469-4-UT1X2M8wow@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85469-4@http.gcc.gnu.org/bugzilla/> References: <bug-85469-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02401.txt.bz2 Content-length: 478 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85469 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |8.0 --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- Fixed for GCC 8. >From gcc-bugs-return-602278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 13:32:11 2018 Return-Path: <gcc-bugs-return-602278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70920 invoked by alias); 20 Apr 2018 13:32:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70848 invoked by uid 48); 20 Apr 2018 13:32:06 -0000 From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81652] [meta-bug] -fcf-protection=full -mcet bugs Date: Fri, 20 Apr 2018 13:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-81652-4-Il0dNZWr8P@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81652-4@http.gcc.gnu.org/bugzilla/> References: <bug-81652-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02402.txt.bz2 Content-length: 441 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 Bug 81652 depends on bug 85469, which changed state. Bug 85469 Summary: -mibt is unused https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85469 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-602279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 13:44:36 2018 Return-Path: <gcc-bugs-return-602279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24581 invoked by alias); 20 Apr 2018 13:44:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23850 invoked by uid 48); 20 Apr 2018 13:44:32 -0000 From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85436] [7 Regression] ICE compiling go code with -mcpu=power9 Date: Fri, 20 Apr 2018 13:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-85436-4-dPG4sZqUlT@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85436-4@http.gcc.gnu.org/bugzilla/> References: <bug-85436-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02403.txt.bz2 Content-length: 436 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85436 Peter Bergner <bergner at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Peter Bergner <bergner at gcc dot gnu.org> --- Fixed in GCC 7. >From gcc-bugs-return-602280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 13:46:45 2018 Return-Path: <gcc-bugs-return-602280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28519 invoked by alias); 20 Apr 2018 13:46:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28485 invoked by uid 55); 20 Apr 2018 13:46:39 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85445] [nvptx, openacc] Calls to worker and vector routine broken Date: Fri, 20 Apr 2018 13:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: openacc, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85445-4-4o1wIVoNXZ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85445-4@http.gcc.gnu.org/bugzilla/> References: <bug-85445-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02404.txt.bz2 Content-length: 1026 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85445 --- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> --- Author: vries Date: Fri Apr 20 13:46:07 2018 New Revision: 259523 URL: https://gcc.gnu.org/viewcvs?rev=259523&root=gcc&view=rev Log: [nvptx] Fix calls to vector and worker routines 2018-04-20 Nathan Sidwell <nathan@codesourcery.com> Tom de Vries <tom@codesourcery.com> PR target/85445 * config/nvptx/nvptx.c (nvptx_emit_forking, nvptx_emit_joining): Emit insns for calls too. (nvptx_find_par): Always look for worker-level predecessor insn. (nvptx_propagate): Add is_call parm, return bool. Copy frame for calls. (nvptx_vpropagate, nvptx_wpropagate): Adjust. (nvptx_process_pars): Propagate frames for calls. * testsuite/libgomp.oacc-c++/ref-1.C: New. Added: trunk/libgomp/testsuite/libgomp.oacc-c++/ref-1.C Modified: trunk/gcc/ChangeLog trunk/gcc/config/nvptx/nvptx.c trunk/libgomp/ChangeLog >From gcc-bugs-return-602281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 13:48:49 2018 Return-Path: <gcc-bugs-return-602281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31208 invoked by alias); 20 Apr 2018 13:48:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31156 invoked by uid 48); 20 Apr 2018 13:48:43 -0000 From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84588] [8 Regression] internal compiler error: Segmentation fault (contains_struct_check()) Date: Fri, 20 Apr 2018 13:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc assigned_to Message-ID: <bug-84588-4-1MrZ26CWPa@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-84588-4@http.gcc.gnu.org/bugzilla/> References: <bug-84588-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02405.txt.bz2 Content-length: 585 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84588 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC|paolo.carlini at oracle dot com, | |vegard.nossum at gmail dot com | Assignee|unassigned at gcc dot gnu.org |paolo.carlini at oracle dot com --- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> --- Mine. >From gcc-bugs-return-602282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 14:03:48 2018 Return-Path: <gcc-bugs-return-602282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72061 invoked by alias); 20 Apr 2018 14:03:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72024 invoked by uid 48); 20 Apr 2018 14:03:44 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85445] [nvptx, openacc] Calls to worker and vector routine broken Date: Fri, 20 Apr 2018 14:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: openacc, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: <bug-85445-4-xO8HH8whKi@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85445-4@http.gcc.gnu.org/bugzilla/> References: <bug-85445-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02406.txt.bz2 Content-length: 523 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85445 Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |8.0 --- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> --- Patch with test-case committed, marking resolved-fixed. >From gcc-bugs-return-602283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 15:19:03 2018 Return-Path: <gcc-bugs-return-602283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2735 invoked by alias); 20 Apr 2018 15:19:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 719 invoked by uid 55); 20 Apr 2018 15:18:57 -0000 From: "carll at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83402] PPC64 implementation of ./rs6000/emmintrin.h gives out of range for _mm_slli_epi32 Date: Fri, 20 Apr 2018 15:19: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: carll at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pc at us dot ibm.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-83402-4-NKeIBbhq1W@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83402-4@http.gcc.gnu.org/bugzilla/> References: <bug-83402-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02407.txt.bz2 Content-length: 509 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83402 --- Comment #13 from Carl Love <carll at gcc dot gnu.org> --- Author: carll Date: Fri Apr 20 15:18:24 2018 New Revision: 259524 URL: https://gcc.gnu.org/viewcvs?rev=259524&root=gcc&view=rev Log: gcc/ChangeLog: 2018-04-20 Carl Love <cel@us.ibm.com> PR target/83402 * config/rs6000/rs6000-c.c (rs6000_gimple_fold_builtin): Add size check for arg0. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/rs6000.c >From gcc-bugs-return-602284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 15:32:13 2018 Return-Path: <gcc-bugs-return-602284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19303 invoked by alias); 20 Apr 2018 15:32:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12111 invoked by uid 48); 20 Apr 2018 15:32:07 -0000 From: "carll at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83402] PPC64 implementation of ./rs6000/emmintrin.h gives out of range for _mm_slli_epi32 Date: Fri, 20 Apr 2018 15:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carll at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pc at us dot ibm.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: <bug-83402-4-ljSmXOgjcH@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-83402-4@http.gcc.gnu.org/bugzilla/> References: <bug-83402-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02408.txt.bz2 Content-length: 535 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83402 Carl Love <carll at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |carll at gcc dot gnu.org Resolution|--- |FIXED --- Comment #14 from Carl Love <carll at gcc dot gnu.org> --- Marking this issue fixed, resolved, see comment 13. >From gcc-bugs-return-602285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 15:35:19 2018 Return-Path: <gcc-bugs-return-602285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58303 invoked by alias); 20 Apr 2018 15:35:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58250 invoked by uid 48); 20 Apr 2018 15:35:15 -0000 From: "sje at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85483] New: Many failures on test gcc.target/aarch64/sve/vcond_1.c Date: Fri, 20 Apr 2018 15:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sje 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: <bug-85483-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02409.txt.bz2 Content-length: 745 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85483 Bug ID: 85483 Summary: Many failures on test gcc.target/aarch64/sve/vcond_1.c Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: sje at gcc dot gnu.org Target Milestone: --- I am seeing a bunch of failures in the gcc.target/aarch64/sve/vcond_1.c test on aarch64. You can see them on the test results list at: https://gcc.gnu.org/ml/gcc-testresults/2018-04/msg01710.html They seem to have showed up in the last 24 hours, but I am not sure exactly what patch caused them. >From gcc-bugs-return-602286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 15:49:01 2018 Return-Path: <gcc-bugs-return-602286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99834 invoked by alias); 20 Apr 2018 15:48:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99695 invoked by uid 48); 20 Apr 2018 15:48:35 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85484] New: missing -Wstringop-overflow for strcpy with a string of non-const length Date: Fri, 20 Apr 2018 15:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: <bug-85484-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02410.txt.bz2 Content-length: 2325 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85484 Bug ID: 85484 Summary: missing -Wstringop-overflow for strcpy with a string of non-const length Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- The buffer overflow reported in bug 85476 can be reduced to the test case below. The overflow is quite obvious and should be easy to detect at compile-time via the -Wstringop-overflow warning yet GCC does not detect it, either with or without -D_FORTIFY_SOURCE. That's because __builtin_object_size that -Wstringop-overflow relies on only deals with constant sizes. But the non-constant string length and allocation size are both readily available in the tree-ssa-strlen pass and so the bug can easily be detected there. $ cat x.c && gcc -O2 -S -Wall -Wextra -Wpedantic -fdump-tree-strlen=/dev/stdout x.c void f (char*); void g (const char *s) { unsigned n = __builtin_strlen (s); char *d = __builtin_alloca (n); // off-by-one error (should be n + 1) __builtin_strcpy (d, s); // missing -Wstringop-overflow f (d); } void h (const char *s) { unsigned n = __builtin_strlen (s); char *d = __builtin_alloca (n); __builtin___strcpy_chk (d, s, __builtin_object_size (d, 1)); f (d); } ;; Function g (g, funcdef_no=0, decl_uid=1960, cgraph_uid=0, symbol_order=0) g (const char * s) { char * d; long unsigned int _1; long unsigned int _8; long unsigned int _10; <bb 2> [local count: 1073741825]: _1 = __builtin_strlen (s_3(D)); _8 = _1 & 4294967295; d_5 = __builtin_alloca (_8); _10 = _1 + 1; __builtin_memcpy (d_5, s_3(D), _10); f (d_5); return; } ;; Function h (h, funcdef_no=1, decl_uid=1965, cgraph_uid=1, symbol_order=1) h (const char * s) { char * d; long unsigned int _1; long unsigned int _2; long unsigned int _9; <bb 2> [local count: 1073741825]: _1 = __builtin_strlen (s_4(D)); _9 = _1 & 4294967295; d_6 = __builtin_alloca (_9); _2 = _1 + 1; __builtin_memcpy (d_6, s_4(D), _2); f (d_6); return; } >From gcc-bugs-return-602287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 15:54:40 2018 Return-Path: <gcc-bugs-return-602287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108504 invoked by alias); 20 Apr 2018 15:54:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108014 invoked by uid 55); 20 Apr 2018 15:54:34 -0000 From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/85361] Variable length array allowed in c89/90 Date: Fri, 20 Apr 2018 15:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85361-4-i1fX1tjqwa@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85361-4@http.gcc.gnu.org/bugzilla/> References: <bug-85361-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02411.txt.bz2 Content-length: 1357 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85361 --- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- See the documentation of -std=, regarding base standards. # The compiler can accept several base standards, such as @samp{c90} or # @samp{c++98}, and GNU dialects of those standards, such as # @samp{gnu90} or @samp{gnu++98}. When a base standard is specified, the # compiler accepts all programs following that standard plus those # using GNU extensions that do not contradict it. For example, # @option{-std=c90} turns off certain features of GCC that are # incompatible with ISO C90, such as the @code{asm} and @code{typeof} # keywords, but not other GNU extensions that do not have a meaning in # ISO C90, such as omitting the middle term of a @code{?:} # expression. On the other hand, when a GNU dialect of a standard is # specified, all features supported by the compiler are enabled, even when # those features change the meaning of the base standard. As a result, some # strict-conforming programs may be rejected. The particular standard # is used by @option{-Wpedantic} to identify which features are GNU # extensions given that version of the standard. For example # @option{-std=gnu90 -Wpedantic} warns about C++ style @samp{//} # comments, while @option{-std=gnu99 -Wpedantic} does not. >From gcc-bugs-return-602288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 15:56:31 2018 Return-Path: <gcc-bugs-return-602288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112837 invoked by alias); 20 Apr 2018 15:56:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112772 invoked by uid 48); 20 Apr 2018 15:56:27 -0000 From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85437] [8 Regression] member pointer static upcast rejected in a constexpr context Date: Fri, 20 Apr 2018 15:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: <bug-85437-4-BFbJ7o7AOz@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85437-4@http.gcc.gnu.org/bugzilla/> References: <bug-85437-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02412.txt.bz2 Content-length: 297 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85437 Nathan Sidwell <nathan at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >From gcc-bugs-return-602289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 16:00:56 2018 Return-Path: <gcc-bugs-return-602289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118441 invoked by alias); 20 Apr 2018 16:00:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118252 invoked by uid 48); 20 Apr 2018 16:00:41 -0000 From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85483] Many failures on test gcc.target/aarch64/sve/vcond_1.c Date: Fri, 20 Apr 2018 16:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: <bug-85483-4-4ZkOMxI83C@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85483-4@http.gcc.gnu.org/bugzilla/> References: <bug-85483-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02413.txt.bz2 Content-length: 640 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85483 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-20 CC| |ktkachov at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from ktkachov at gcc dot gnu.org --- That would be due to r259437. vcond_1.c needs to be a C++ test rather than a C one. It should be moved into g++.dg/other/ >From gcc-bugs-return-602290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 16:12:34 2018 Return-Path: <gcc-bugs-return-602290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2483 invoked by alias); 20 Apr 2018 16:12:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2424 invoked by uid 48); 20 Apr 2018 16:12:30 -0000 From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/85483] Many failures on test gcc.target/aarch64/sve/vcond_1.c Date: Fri, 20 Apr 2018 16:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status component Message-ID: <bug-85483-4-r7fqk25mZ2@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85483-4@http.gcc.gnu.org/bugzilla/> References: <bug-85483-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02414.txt.bz2 Content-length: 341 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85483 ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Component|tree-optimization |testsuite >From gcc-bugs-return-602291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 16:31:57 2018 Return-Path: <gcc-bugs-return-602291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16027 invoked by alias); 20 Apr 2018 16:31:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15977 invoked by uid 55); 20 Apr 2018 16:31:52 -0000 From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/85483] Many failures on test gcc.target/aarch64/sve/vcond_1.c Date: Fri, 20 Apr 2018 16:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85483-4-oLqQ6zLIrI@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85483-4@http.gcc.gnu.org/bugzilla/> References: <bug-85483-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02415.txt.bz2 Content-length: 1211 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85483 --- Comment #2 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Fri Apr 20 16:31:19 2018 New Revision: 259526 URL: https://gcc.gnu.org/viewcvs?rev=259526&root=gcc&view=rev Log: PR testsuite/85483: Move aarch64/sve/vcond_1.c test to g++.dg/other/ I totally botched up this sve test file in 259437. It needs C++, so move it to g++.dg/other and make it a .C file. Also adds the target guards to prevent it from running on non-aarch64 targets. Tested that it passes on aarch64-none-elf and doesn't get run on arm-none-eabi. Committing to trunk as obvious. PR testsuite/85483 * gcc.target/aarch64/sve/vcond_1.c: Move to... * g++.dg/other/sve_vcond_1.C: ... Here. Add target directives. * gcc.target/aarch64/sve/vcond_1_run.c: Move to... * g++.dg/other/sve_vcond_1_run.C: ... Here. Change include file name. Added: trunk/gcc/testsuite/g++.dg/other/sve_vcond_1.C trunk/gcc/testsuite/g++.dg/other/sve_vcond_1_run.C Removed: trunk/gcc/testsuite/gcc.target/aarch64/sve/vcond_1.c trunk/gcc/testsuite/gcc.target/aarch64/sve/vcond_1_run.c Modified: trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-602292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 16:39:13 2018 Return-Path: <gcc-bugs-return-602292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84492 invoked by alias); 20 Apr 2018 16:39:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84429 invoked by uid 48); 20 Apr 2018 16:39:08 -0000 From: "sebastian.peryt at intel dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85473] internal compiler error: in emit_move_insn, at expr.c:3722 Date: Fri, 20 Apr 2018 16:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sebastian.peryt at intel dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85473-4-2zI0Bt2R5L@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85473-4@http.gcc.gnu.org/bugzilla/> References: <bug-85473-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02416.txt.bz2 Content-length: 213 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85473 --- Comment #3 from Sebastian Peryt <sebastian.peryt at intel dot com> --- Proposed patch sent to ML: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg01011.html >From gcc-bugs-return-602293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 17:00:53 2018 Return-Path: <gcc-bugs-return-602293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78520 invoked by alias); 20 Apr 2018 17:00:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78406 invoked by uid 48); 20 Apr 2018 17:00:43 -0000 From: "krebbel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85478] ICE with single element vector Date: Fri, 20 Apr 2018 17:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0.1 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: <bug-85478-4-v3g6ailVu8@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85478-4@http.gcc.gnu.org/bugzilla/> References: <bug-85478-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02417.txt.bz2 Content-length: 883 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478 --- Comment #6 from Andreas Krebbel <krebbel at gcc dot gnu.org> --- The difference I have seen so far was triggered by building the cross with "--without-headers". As a result the detected glibc version is 0.0: config.log: configure:28145: checking for target glibc version configure:28169: result: 0.0 This in turn fails to set the proper default for the long double data type in configure: if test $glibc_version_major -gt 2 \ || ( test $glibc_version_major -eq 2 && test $glibc_version_minor -ge 4 ); then : gcc_cv_target_ldbl128=yes else ... configuring the cross --with-long-double-128 makes the first set of differences to disappear. However, the testcase still doesn't ICE when compiled with the cross. I will retry with a full cross. There appear to be more settings depending on the Glibc version. >From gcc-bugs-return-602294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 17:01:15 2018 Return-Path: <gcc-bugs-return-602294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79457 invoked by alias); 20 Apr 2018 17:01:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79342 invoked by uid 48); 20 Apr 2018 17:01:10 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/65892] gcc fails to implement N685 aliasing of union members Date: Fri, 20 Apr 2018 17:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: alias X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: SUSPENDED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-65892-4-duGSP0FMMw@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-65892-4@http.gcc.gnu.org/bugzilla/> References: <bug-65892-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02418.txt.bz2 Content-length: 1868 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 --- Comment #34 from Martin Sebor <msebor at gcc dot gnu.org> --- The questions in N2223 and the other documents are there to provide background and justification for the proposed changes (the questions come surveys they sent to various forums). The proposed words are at the end of each of the papers referenced from N2223. I don't have the sense that N2223 covers this case but it's closely related. Memcpy and memmove transfer the effective type only to objects with no declared type (i.e., allocated objects): int i = 123; void *p = malloc (sizeof i); memcpy (p, &i, sizeof i); // *p's effective type is now int This standard mentions just memcpy, memmove, and copies via a character type, so other mechanisms do not transfer the effective type. (The effective type of other (typed) storage is that of its declared type.) Memory is only allowed to be accessed via an lvalue compatible with its effective type (or char), so above, what's at p can only accessed as *(int*)p. I think in the use case below: struct { int i; char buf[4]; } s, r; *(float *)s.buf = 1.; r = s; the aggregate copy has to be viewed as a recursive copy of each of its members and copying buf[4] must be viewed as a memcpy, Char is definitely special (it can accesses anything with impunity, even indeterminate values). That said, I don't think the rules allow char arrays to be treated as allocated storage so while the store to s.buf via float* may be valid it doesn't change the effective type of s.buf and so the only way to read the float value stored in it is to copy it byte-by-byte (i.e., copy the float representation) to an object whose effective type is float. Some of the papers that deal with the effective type rules might touch on this (e.g., DR 236, Clark's N1520 >From gcc-bugs-return-602296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 17:09:28 2018 Return-Path: <gcc-bugs-return-602296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125155 invoked by alias); 20 Apr 2018 17:09:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125097 invoked by uid 48); 20 Apr 2018 17:09:22 -0000 From: "linux at carewolf dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85406] Unnecessary blend when vectorizing short-cutted calculations Date: Fri, 20 Apr 2018 17:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: linux at carewolf dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85406-4-WDBT4JpFVd@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85406-4@http.gcc.gnu.org/bugzilla/> References: <bug-85406-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02420.txt.bz2 Content-length: 520 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85406 --- Comment #6 from Allan Jensen <linux at carewolf dot com> --- Yeah, the a==255 was actually not a case I would expect the compiler to solve, which is why I changed the example to the a==0 case, which should be solveable using existing constant propagation. Note you can put both short-cuts in, though as it standards only gcc 7 and 8 can vectorize it with two conditions, so we cant use that in general code as we need it to be fast elsewhere too. >From gcc-bugs-return-602295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 17:09:04 2018 Return-Path: <gcc-bugs-return-602295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123335 invoked by alias); 20 Apr 2018 17:09:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111222 invoked by uid 48); 20 Apr 2018 17:08:59 -0000 From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/65892] gcc fails to implement N685 aliasing of union members Date: Fri, 20 Apr 2018 17:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: alias X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: SUSPENDED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-65892-4-0DlD7G46b4@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-65892-4@http.gcc.gnu.org/bugzilla/> References: <bug-65892-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02419.txt.bz2 Content-length: 489 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65892 --- Comment #35 from Martin Sebor <msebor at gcc dot gnu.org> --- Here are the proposed changes: Pointer Provenance: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2219.htm#proposed-technical-corrigendum Trap Representations: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2220.htm#proposed-technical-corrigendum Unspecified Values: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2221.htm#proposed-technical-corrigendum >From gcc-bugs-return-602297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 17:14:17 2018 Return-Path: <gcc-bugs-return-602297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7319 invoked by alias); 20 Apr 2018 17:14:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3343 invoked by uid 48); 20 Apr 2018 17:14:13 -0000 From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/85381] [og7, nvptx, openacc] parallel-loop-1.c fails with default vector length 128 Date: Fri, 20 Apr 2018 17:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: <bug-85381-4-TuyCYUwVwN@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85381-4@http.gcc.gnu.org/bugzilla/> References: <bug-85381-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02421.txt.bz2 Content-length: 850 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85381 Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43992|0 |1 is obsolete| | --- Comment #9 from Tom de Vries <vries at gcc dot gnu.org> --- Created attachment 43999 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43999&action=edit Tentative patch inserting dummy instructions (In reply to Tom de Vries from comment #7) > We may wanna insert dummy ops inbetween (it would be nice if something less > heavy than a membar.cta will work). This patch implements this approach. I've reported the bug at nvidia and see if they come up with a better or more restricted workaround. >From gcc-bugs-return-602298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 18:28:18 2018 Return-Path: <gcc-bugs-return-602298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125794 invoked by alias); 20 Apr 2018 18:28:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125760 invoked by uid 48); 20 Apr 2018 18:28:14 -0000 From: "francois.jacq at irsn dot fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85448] Report binding label clash with a global identifyer Date: Fri, 20 Apr 2018 18:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: francois.jacq at irsn dot fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85448-4-YxA7o8BEoI@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85448-4@http.gcc.gnu.org/bugzilla/> References: <bug-85448-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02422.txt.bz2 Content-length: 790 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85448 --- Comment #8 from francois.jacq at irsn dot fr --- (In reply to Thomas Koenig from comment #7) > As quoted by Steve Lionel on c.l.f (F2008, 16.2, para 2): > > "The global identifier of an entity shall not be the same as the global > identifier of any other entity. Furthermore, a > binding label shall not be the same as the global identifier of any other > global entity, ignoring differences in case." > > So, the code is invalid. Since this is not a constraint, the compiler > can do anything it pleases. > > It would be nice to have an error message, though; should be straightforward > to implement. Unfortunately, if you look into the comment #2, you will understand that the situation is a little bit more subtile. >From gcc-bugs-return-602299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 18:31:37 2018 Return-Path: <gcc-bugs-return-602299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128870 invoked by alias); 20 Apr 2018 18:31:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128785 invoked by uid 48); 20 Apr 2018 18:31:31 -0000 From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/79985] ICE in code_motion_path_driver, at sel-sched.c:6580 Date: Fri, 20 Apr 2018 18:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: 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: amonakov at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-79985-4-kLrtqvwjXv@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-79985-4@http.gcc.gnu.org/bugzilla/> References: <bug-79985-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02423.txt.bz2 Content-length: 1025 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79985 --- Comment #7 from Alexander Monakov <amonakov at gcc dot gnu.org> --- Or rather like this: diff --git a/gcc/df-scan.c b/gcc/df-scan.c index 95e1e0df2d5..732705c0385 100644 --- a/gcc/df-scan.c +++ b/gcc/df-scan.c @@ -3207,11 +3207,11 @@ df_insn_refs_collect (struct df_collection_rec *collection_rec, if (CALL_P (insn_info->insn)) df_get_call_refs (collection_rec, bb, insn_info, flags); - if (asm_noperands (PATTERN (insn_info->insn)) >= 0) + if (GET_CODE (PATTERN (insn_info->insn)) == ASM_INPUT) for (unsigned i = 0; i < FIRST_PSEUDO_REGISTER; i++) if (global_regs[i]) { - /* As with calls, asm statements reference all global regs. */ + /* As with calls, basic asms reference all global regs. */ df_ref_record (DF_REF_BASE, collection_rec, regno_reg_rtx[i], NULL, bb, insn_info, DF_REF_REG_USE, flags); df_ref_record (DF_REF_BASE, collection_rec, regno_reg_rtx[i], >From gcc-bugs-return-602300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 19:23:46 2018 Return-Path: <gcc-bugs-return-602300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114628 invoked by alias); 20 Apr 2018 19:23:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114566 invoked by uid 48); 20 Apr 2018 19:23:41 -0000 From: "meissner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64 Date: Fri, 20 Apr 2018 19:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: meissner at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-85440-4-ajt7TZIU47@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-85440-4@http.gcc.gnu.org/bugzilla/> References: <bug-85440-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02424.txt.bz2 Content-length: 1129 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 --- Comment #20 from Michael Meissner <meissner at gcc dot gnu.org> --- I'm sorry long double doesn't seem to work on your system. If your system does not have the appropriate long double libraries, you probably need to use the --with-long-double-64 option to make long double use the double type. Or you (or somebody else using the system) need to submit patches, so the compiler calls whatever is the names of the long double emulation on your system. With the current compiler, as has been stated, we cannot build libquadmath unless __float128 is supported. Right now, the only support is for the following systems: 1) Little endian power8/9 systems 2) Big endian power7/8/9 systems where you use the --with-cpu=<xxx> option, where <xxx> is power7, power8, or power9. There just isn't support for a IEEE 128-bit floating point type, unless you have the VSX (vector scalar extensions) that were first introduced in power7. The __gcc_q{add,sub,mul,div} come from the libgcc/config/rs6000/ibm-ldouble.c file. Perhaps it is not configured for your system. >From gcc-bugs-return-602301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 19:35:46 2018 Return-Path: <gcc-bugs-return-602301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124240 invoked by alias); 20 Apr 2018 19:35:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124154 invoked by uid 48); 20 Apr 2018 19:35:41 -0000 From: "emsr at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/66689] comp_ellint_3 and ellint_3 return garbage values Date: Fri, 20 Apr 2018 19:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: emsr at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: emsr at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-66689-4-DQi9DAyfAg@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-66689-4@http.gcc.gnu.org/bugzilla/> References: <bug-66689-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02425.txt.bz2 Content-length: 416 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66689 emsr at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #7 from emsr at gcc dot gnu.org --- We fixed this back in 1017-11-18. >From gcc-bugs-return-602302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 19:44:31 2018 Return-Path: <gcc-bugs-return-602302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56501 invoked by alias); 20 Apr 2018 19:44:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 56322 invoked by uid 48); 20 Apr 2018 19:44:21 -0000 From: "emsr at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/68397] std::tr1::expint fails in __expint_En_cont_frac for some long double arguments due to low __max_iter value Date: Fri, 20 Apr 2018 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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: emsr at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: emsr at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-68397-4-YHOJd6zlEx@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-68397-4@http.gcc.gnu.org/bugzilla/> References: <bug-68397-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02426.txt.bz2 Content-length: 409 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68397 emsr at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from emsr at gcc dot gnu.org --- We fixed this forever ago. >From gcc-bugs-return-602303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 20:05:41 2018 Return-Path: <gcc-bugs-return-602303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29764 invoked by alias); 20 Apr 2018 20:05:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29719 invoked by uid 48); 20 Apr 2018 20:05:36 -0000 From: "emsr at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/68397] std::tr1::expint fails in __expint_En_cont_frac for some long double arguments due to low __max_iter value Date: Fri, 20 Apr 2018 20:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: emsr at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: emsr at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-68397-4-rWeMqlGC2x@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-68397-4@http.gcc.gnu.org/bugzilla/> References: <bug-68397-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02427.txt.bz2 Content-length: 133 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68397 --- Comment #5 from emsr at gcc dot gnu.org --- We fixed this a long time ago. >From gcc-bugs-return-602304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 20:27:23 2018 Return-Path: <gcc-bugs-return-602304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53789 invoked by alias); 20 Apr 2018 20:27:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53669 invoked by uid 48); 20 Apr 2018 20:27:19 -0000 From: "TonyELewis at hotmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/65923] False positive for warning about literal operator suffix and using Date: Fri, 20 Apr 2018 20:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: TonyELewis at hotmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ville.voutilainen at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-65923-4-mgRWtbcAKf@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-65923-4@http.gcc.gnu.org/bugzilla/> References: <bug-65923-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02428.txt.bz2 Content-length: 355 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65923 --- Comment #9 from Tony E Lewis <TonyELewis at hotmail dot com> --- I'm so delighted to see: #include <chrono> #include <string> using std::literals::chrono_literals::operator""s; using std::literals::string_literals::operator""s; ...compiling cleaning on Godbolt. Thanks for this Ville. >From gcc-bugs-return-602305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 20:53:10 2018 Return-Path: <gcc-bugs-return-602305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36708 invoked by alias); 20 Apr 2018 20:53:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32671 invoked by uid 48); 20 Apr 2018 20:53:04 -0000 From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/81837] Internal compiler error (cp/typeck2.c:1264) Date: Fri, 20 Apr 2018 20:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: <bug-81837-4-dxVGz0jUkg@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81837-4@http.gcc.gnu.org/bugzilla/> References: <bug-81837-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02429.txt.bz2 Content-length: 1213 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81837 Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |egallager at gcc dot gnu.org Resolution|--- |FIXED --- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Vegard Nossum from comment #5) > This looks like it has been fixed, maybe somebody can confirm and change > status. Output is now: $ /usr/local/bin/g++ -c -std=c++14 -g -Wall -Wextra 81837.cc 81837.cc: In function 'int main()': 81837.cc:18:42: error: name 'align' used in a GNU-style designated initializer for an array chunk = new Unit <int> [10] {.align = 0}; ^ 81837.cc:18:42: error: could not convert '0' from 'int' to 'Unit<int>' $ So confirmed that there's no more ICE. I think the 2 remaining errors are different enough so as not to need to be de-duplicated, but feel free to open a new bug if you think there should only be one. >From gcc-bugs-return-602306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 20:59:39 2018 Return-Path: <gcc-bugs-return-602306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1174 invoked by alias); 20 Apr 2018 20:59:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1113 invoked by uid 48); 20 Apr 2018 20:59:35 -0000 From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/54696] Makefile doesn't propagate CPPFLAGS to host libraries Date: Fri, 20 Apr 2018 20:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 4.7.2 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc see_also Message-ID: <bug-54696-4-ACpLv8QHWd@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-54696-4@http.gcc.gnu.org/bugzilla/> References: <bug-54696-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02430.txt.bz2 Content-length: 574 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54696 Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|egall at gwmail dot gwu.edu |egallager at gcc dot gnu.org See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=78251 --- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> --- semi-related: bug 78251 >From gcc-bugs-return-602307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 21:10:49 2018 Return-Path: <gcc-bugs-return-602307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64989 invoked by alias); 20 Apr 2018 21:10:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64907 invoked by uid 48); 20 Apr 2018 21:10:44 -0000 From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/81837] Internal compiler error (cp/typeck2.c:1264) Date: Fri, 20 Apr 2018 21:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: <bug-81837-4-Wu7767F6WR@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-81837-4@http.gcc.gnu.org/bugzilla/> References: <bug-81837-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-04/txt/msg02431.txt.bz2 Content-length: 442 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81837 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0 --- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> --- In any case, please always set the Target Milestone when closing a bug. >From gcc-bugs-return-602308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 20 21:21:37 2018 Return-Path: <gcc-bugs-return-602308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81807 invoked by alias); 20 Apr 2018 21:21:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81798 invoked by uid 89); 20 Apr 2018 21:21:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.8 required=5.0 testsºYES_50,HTML_MESSAGE,LIKELY_SPAM_SUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,T_FILL_THIS_FORM_SHORT,UNSUBSCRIBE_BODY autolearn=no version=3.3.2 spammy=Market, sap, sic, SIC X-HELO: IND01-MA1-obe.outbound.protection.outlook.com Received: from mail-ma1ind01on0135.outbound.protection.outlook.com (HELO IND01-MA1-obe.outbound.protection.outlook.com) (104.47.100.135) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 20 Apr 2018 21:21:35 +0000 Received: from BM1PR0101MB1394.INDPRD01.PROD.OUTLOOK.COM (10.174.222.149) by BM1PR0101MB1844.INDPRD01.PROD.OUTLOOK.COM (52.133.129.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.15; Fri, 20 Apr 2018 21:21:30 +0000 Received: from BM1PR0101MB1394.INDPRD01.PROD.OUTLOOK.COM ([fe80::bd03:7d5b:daa9:8b7b]) by BM1PR0101MB1394.INDPRD01.PROD.OUTLOOK.COM ([fe80::bd03:7d5b:daa9:8b7b%13]) with mapi id 15.20.0696.011; Fri, 20 Apr 2018 21:21:30 +0000 From: Celina Clarke <celina.clarke@inforesearchsolutions.com> To: "gcc-bugs@gcc.gnu.org" <gcc-bugs@gcc.gnu.org> Subject: SAP NetWeaver Users list Date: Fri, 20 Apr 2018 21:21:00 -0000 Message-ID: <BM1PR0101MB1394496400F8958EA484C888F8B40@BM1PR0101MB1394.INDPRD01.PROD.OUTLOOK.COM> authentication-results: gcc.gnu.org; dkim=none (message not signed) header.d=none;gcc.gnu.org; dmarc=none action=none header.from=inforesearchsolutions.com; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BM1PR0101MB1844;7:k/gv1LKyXIMlawD609cq5KSgI30AQK9kYhPFbfRSS3Q+dtftLP4OdkpkVRIOiOfH5La3tPNsd9EXn+AXRpvp/Yx5jf47A69TBQh93WPT8Eks64TBxmA5j+LHxMCFj0v0T7u4FOFXz3RdtB+1CX0MJBivePm8qdYxzD/E/WYS6KLhOTDNy8pvfthQp7kJVfaHIni+3rJOOttdXRMmxxlbpjng7fE6tAt8N14PbL0Xbl0vbEe2KHIM5qT4p4ffq5Ge x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(7021125)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(5600026)(2017052603328)(7153060)(7193020);SRVR:BM1PR0101MB1844; x-ms-traffictypediagnostic: BM1PR0101MB1844: x-microsoft-antispam-prvs: <BM1PR0101MB18446C16F79577BCA9AA3132F8B40@BM1PR0101MB1844.INDPRD01.PROD.OUTLOOK.COM> x-exchange-antispam-report-test: UriScan:(28532068793085)(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231232)(944501398)(52105095)(6041310)(20161123564045)(2016111802025)(20161123560045)(20161123558120)(20161123562045)(6072148)(6043046)(201708071742011);SRVR:BM1PR0101MB1844;BCL:0;PCL:0;RULEID:;SRVR:BM1PR0101MB1844; x-forefront-prvs: 0648FCFFA8 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(39380400002)(396003)(39850400004)(346002)(376002)(26005)(8936002)(74316002)(8676002)(186003)(7696005)(478600001)(5250100002)(81686011)(476003)(3846002)(25786009)(6116002)(790700001)(7520500002)(6506007)(81166006)(44832011)(5660300001)(102836004)(3480700004)(2906002)(316002)(626008)(86362001)(6436002)(7736002)(6666003)(6916009)(66066001)(53936002)(2501003)(33656002)(2900100001)(3660700001)(6306002)(54896002)(5640700003)(55016002)(3280700002)(9686003)(2351001);DIR:OUT;SFP:1102;SCL:1;SRVR:BM1PR0101MB1844;H:BM1PR0101MB1394.INDPRD01.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;MLV:sfv; x-microsoft-antispam-message-info: ucRKR9uaobopNXqBNAqG6qUtjaq0Tq1tJGIH8Yhc8D8kQMw6EQfzNiqmUzyLsNVP+pgdZg/6QlE8eolSll4yg/f1bm5QkJ2EJaNCAgnlx6Jaf+DeOw73xRGxBvDCzB5OLozpK4JpqMb7dWF1XWUBVoWpx/ATaUKnwcDNxgpv8CDFPmyTDsXWaASN8aZXJqA1 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 32d3e660-1457-4994-5501-08d5a704af41 X-OriginatorOrg: inforesearchsolutions.com X-MS-Exchange-CrossTenant-Network-Message-Id: 32d3e660-1457-4994-5501-08d5a704af41 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2018 21:15:17.8345 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 13babfe8-560f-48bf-afee-d8a0e58d7ebc X-MS-Exchange-Transport-CrossTenantHeadersStamped: BM1PR0101MB1844 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2018-04/txt/msg02432.txt.bz2 Content-length: 681 Hello there, I would like to know if you are interested in acquiring SAP NetWeaver Users list. Information fields: Names, Title, Email, Phone, Company Name, Company URL, Company physical address, SIC Code, Industry, Company Size (Revenue and Employee). NOTE: If this is not relevant to you please get back to me with your Target Market, we cater to all types of target market available. Let me know your thoughts on this and I will get back with more information for your review. Await your response! Regards, Celina Clarke Demand Generation Manager If you do not wish to receive further emails, please respond with "Leave Out" or "Unsubscribe" in subject line
parent reply other threads:[~2018-04-13 12:03 UTC|newest] Thread overview: expand[flat|nested] mbox.gz Atom feed [parent not found: <bug-85393-4@http.gcc.gnu.org/bugzilla/>]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-85393-4-wc9qLI7U5s@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).