https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93274 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org --- Comment #5 from Martin Liška --- (In reply to Alexander Monakov from comment #4) > IFUNCs don't have to be somehow "globally visible". The comment is there > from day 1, but it's not clear why - possibly a misunderstanding? GCC > happily accepts a static ifunc, and rest of toolchain should have no problem > either: > > __attribute__((used,ifunc("r_f"))) > static void f(); > > static void *r_f() > { > return 0; > } > .type r_f, @function > r_f: > xorl %eax, %eax > ret > .size r_f, .-r_f > .type f, @gnu_indirect_function > .set f,r_f Great Alexander. Then let me to test the suggested change. >From gcc-bugs-return-665740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 09:42:25 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4604 invoked by alias); 16 Jan 2020 09:42:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4546 invoked by uid 48); 16 Jan 2020 09:42:19 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93285] New: [10 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:931 since g:08f594eb399dab06 Date: Thu, 16 Jan 2020 09:42: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01466.txt.bz2 Content-length: 3122 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93285 Bug ID: 93285 Summary: [10 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:931 since g:08f594eb399dab06 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: jason at gcc dot gnu.org Target Milestone: --- I see the following ICE: $ cat cpu.ii struct A { using btype = bool; template A(T); btype data; }; using boolean = A; struct B { auto m_fn1() -> void; struct { boolean nmiValid = 0; } status; }; auto B::m_fn1() -> void { status = {}; } $ g++ -fmax-errors=1 -std=c++17 cpu.ii -c cpu.ii: In member function ‘void B::m_fn1()’: cpu.ii:13:34: internal compiler error: in cp_gimplify_expr, at cp/cp-gimplify.c:933 13 | auto B::m_fn1() -> void { status = {}; } | ~~~~~~~^~~~ 0xa4038b cp_gimplify_expr(tree_node**, gimple**, gimple**) /home/marxin/Programming/gcc/gcc/cp/cp-gimplify.c:933 0x113932b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /home/marxin/Programming/gcc/gcc/gimplify.c:13490 0x110f081 gimplify_init_ctor_preeval /home/marxin/Programming/gcc/gcc/gimplify.c:4510 0x110f04f gimplify_init_ctor_preeval /home/marxin/Programming/gcc/gcc/gimplify.c:4496 0x1110a3f gimplify_init_constructor /home/marxin/Programming/gcc/gcc/gimplify.c:5082 0x1111681 gimplify_modify_expr_rhs /home/marxin/Programming/gcc/gcc/gimplify.c:5369 0x11127cb gimplify_modify_expr /home/marxin/Programming/gcc/gcc/gimplify.c:5720 0x11396d8 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /home/marxin/Programming/gcc/gcc/gimplify.c:13581 0x1116cc1 gimplify_stmt(tree_node**, gimple**) /home/marxin/Programming/gcc/gcc/gimplify.c:6822 0x11161f5 gimplify_cleanup_point_expr /home/marxin/Programming/gcc/gcc/gimplify.c:6564 0x113b165 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /home/marxin/Programming/gcc/gcc/gimplify.c:13973 0x1116cc1 gimplify_stmt(tree_node**, gimple**) /home/marxin/Programming/gcc/gcc/gimplify.c:6822 0x113e105 gimplify_body(tree_node*, bool) /home/marxin/Programming/gcc/gcc/gimplify.c:14830 0x113e8f6 gimplify_function_tree(tree_node*) /home/marxin/Programming/gcc/gcc/gimplify.c:14974 0xec24e7 cgraph_node::analyze() /home/marxin/Programming/gcc/gcc/cgraphunit.c:669 0xec43fc analyze_functions /home/marxin/Programming/gcc/gcc/cgraphunit.c:1210 0xec961d symbol_table::finalize_compilation_unit() /home/marxin/Programming/gcc/gcc/cgraphunit.c:2956 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >From gcc-bugs-return-665741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 09:42:45 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5451 invoked by alias); 16 Jan 2020 09:42:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5357 invoked by uid 48); 16 Jan 2020 09:42:41 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93285] [10 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:931 since g:08f594eb399dab06 Date: Thu, 16 Jan 2020 09: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: 10.0 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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cf_known_to_work target_milestone everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01467.txt.bz2 Content-length: 621 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93285 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Status|UNCONFIRMED |NEW Last reconfirmed| |2020-01-16 Known to work| |9.2.0 Target Milestone|--- |10.0 Ever confirmed|0 |1 Known to fail| |10.0 >From gcc-bugs-return-665742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 09:43:26 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8968 invoked by alias); 16 Jan 2020 09:43:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8741 invoked by uid 48); 16 Jan 2020 09:43:22 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93263] [9/10 Regression] -fno-automatic and RECURSIVE Date: Thu, 16 Jan 2020 09:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: markeggleston at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01468.txt.bz2 Content-length: 1135 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93263 --- Comment #5 from Tobias Burnus --- (In reply to markeggleston from comment #4) > - if (ns->save_all || !flag_automatic) > + if (!recursive && (ns->save_all || !flag_automatic)) > Does the trick. Now need to write the test cases and prepare a patch. I wonder whether it should be rather: if (ns->save_all || (!flag_automatic && !recursive)) I think your patch would break for the following code. And I believe it is standard conform Fortran 90/2018: integer :: cnt cnt = 0 call sub() if (cnt /= 5) stop 1 contains recursive subroutine sub() save logical :: first = .true. integer :: i cnt = cnt + 1 if (first) then first = .false. i = 1 end if print *, "Hello", i i = i + 1 if (i <= 5) call sub() end subroutine end * * * Side remark: The Fortran 2018 introduction states: "the RECURSIVE keyword is advisory only. The NON_RECURSIVE keyword specifies that a procedure is not recursive." Hence, I wonder whether this is correctly implemented in gfortran … >From gcc-bugs-return-665743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 09:47:10 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15573 invoked by alias); 16 Jan 2020 09:47:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15495 invoked by uid 48); 16 Jan 2020 09:47:05 -0000 From: "markeggleston at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93263] [9/10 Regression] -fno-automatic and RECURSIVE Date: Thu, 16 Jan 2020 09:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markeggleston at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: markeggleston at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01469.txt.bz2 Content-length: 1328 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93263 --- Comment #6 from markeggleston at gcc dot gnu.org --- (In reply to Tobias Burnus from comment #5) > (In reply to markeggleston from comment #4) > > - if (ns->save_all || !flag_automatic) > > + if (!recursive && (ns->save_all || !flag_automatic)) > > > Does the trick. Now need to write the test cases and prepare a patch. > > I wonder whether it should be rather: > if (ns->save_all || (!flag_automatic && !recursive)) That's clearer. > > I think your patch would break for the following code. And I believe it is > standard conform Fortran 90/2018: I'll check and reconsider if it does. > > integer :: cnt > cnt = 0 > call sub() > if (cnt /= 5) stop 1 > contains > recursive subroutine sub() > save > logical :: first = .true. > integer :: i > cnt = cnt + 1 > if (first) then > first = .false. > i = 1 > end if > print *, "Hello", i > i = i + 1 > if (i <= 5) call sub() > end subroutine > end > > * * * > > Side remark: The Fortran 2018 introduction states: > > "the RECURSIVE keyword is advisory only. The NON_RECURSIVE keyword specifies > that a procedure is not recursive." > > Hence, I wonder whether this is correctly implemented in gfortran … >From gcc-bugs-return-665744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 09:54:12 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26967 invoked by alias); 16 Jan 2020 09:54:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26895 invoked by uid 48); 16 Jan 2020 09:54:07 -0000 From: "felix.von.s at posteo dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/57612] add builtin to assert that expression does not have side effects Date: Thu, 16 Jan 2020 09:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: felix.von.s at posteo 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01470.txt.bz2 Content-length: 1105 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57612 felix changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |felix.von.s at posteo dot de --- Comment #3 from felix --- Overlaps bug 6906. Under that ticket, I proposed adding a built-in that simply returns whether or not a given expression has side effects, simply by exposing TREE_SIDE_EFFECTS(). This more general built-in could also (partially) address bug 79469, by allowing to define __builtin_assume as #define __builtin_assume(cond) do { \ if (__builtin_pure_p(cond)) \ if (!(cond)) \ __builtin_unreachable(); \ } while (0) Partially, because e.g. if A has side effects, then with the definition above __builtin_assume(A && B) would consider the whole condition to have side effects as well, and therefore disregard it, even if B could potentially be mined for optimisation opportunities. >From gcc-bugs-return-665745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 09:59:02 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45863 invoked by alias); 16 Jan 2020 09:59:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 45762 invoked by uid 48); 16 Jan 2020 09:58:55 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/87106] Group move and destruction of the source, where possible, for speed Date: Thu, 16 Jan 2020 09:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01471.txt.bz2 Content-length: 2029 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87106 --- Comment #25 from Jonathan Wakely --- I think that's the answer, yes (although I haven't refreshed my memory of the issues completely). A call to memmove does not begin the lifetime of any objects at the destination address. For types that are trivially-copyable but not trivial we could consider doing a first pass over the range to default-initialize the destination objects, then do the memmove to overwrite them with the desired values. In theory, the optimizer would realize the default-initializations are dead stores and completely remove that first loop (but only after the semantic checks have concluded that we are obeying the languages rules and have no undefined behaviour). So change the bitwise_relocatable condition to is_trivially_copyable && is_default_constructible and make __relocate_a_1 do something like this (completely untested, typing as I think about it): template struct __is_bitwise_relocatable : __and_, is_default_constructible<_Tp>> { }; template inline __enable_if_t::value, _Tp*> __relocate_a_1(_Tp* __first, _Tp* __last, _Tp* __result, allocator<_Up>& a) noexcept { ptrdiff_t __count = __last - __first; if (__count > 0) { if constexpr (!is_trivial_v) { #ifdef __OPTIMIZE__ // begin lifetime of destination objects std::__uninitialized_default_novalue_n(result, result + count); #else // can't do bitwise relocation today for (ptrdiff_t i = 0; i < count; ++i) __relocate_object_a(result + i, first + i, a); return result + count; #endif } __builtin_memmove(__result, __first, __count * sizeof(_Tp)); } return __result + __count; } >From gcc-bugs-return-665746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 10:02:31 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14969 invoked by alias); 16 Jan 2020 10:02:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14906 invoked by uid 48); 16 Jan 2020 10:02:26 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/87106] Group move and destruction of the source, where possible, for speed Date: Thu, 16 Jan 2020 10: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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01472.txt.bz2 Content-length: 584 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87106 --- Comment #26 from Jonathan Wakely --- Or maybe that should be: template struct __is_bitwise_relocatable : is_trivially_copyable<_Tp> { }; ... if constexpr (!is_trivial_v) if (is_default_constructible_v<_Tp> && (__OPTIMIZE__+0)) std::__uninitialized_default_novalue_n(result, result + count); else { // can't do bitwise relocation today ... } >From gcc-bugs-return-665747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 10:03:59 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18966 invoked by alias); 16 Jan 2020 10:03:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18857 invoked by uid 48); 16 Jan 2020 10:03:54 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/87106] Group move and destruction of the source, where possible, for speed Date: Thu, 16 Jan 2020 10:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01473.txt.bz2 Content-length: 290 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87106 --- Comment #27 from Jonathan Wakely --- > if constexpr (!is_trivial_v) > if (is_default_constructible_v<_Tp> && (__OPTIMIZE__+0)) That would need to be 'if constexpr' I'll stop now. >From gcc-bugs-return-665748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 10:09:32 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31590 invoked by alias); 16 Jan 2020 10:09:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31533 invoked by uid 48); 16 Jan 2020 10:09:27 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93263] [9/10 Regression] -fno-automatic and RECURSIVE Date: Thu, 16 Jan 2020 10:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: markeggleston at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01474.txt.bz2 Content-length: 930 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93263 Tobias Burnus changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=91413 --- Comment #7 from Tobias Burnus --- (In reply to Tobias Burnus from comment #5) > Side remark: The Fortran 2018 introduction states: > > "the RECURSIVE keyword is advisory only. The NON_RECURSIVE keyword specifies > that a procedure is not recursive." That's a Fortran 2018 change, see also PR 91413 … I am not quite sure what implications this have for -fno-automatic -frecursive etc. As those are vendor extensions, it probably just means that one just needs to update the documentation. >From gcc-bugs-return-665749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 10:10:31 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35724 invoked by alias); 16 Jan 2020 10:10:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35461 invoked by uid 55); 16 Jan 2020 10:10:24 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92176] LRA problem with reloads for subreg operands Date: Thu, 16 Jan 2020 10:10: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: 10.0 X-Bugzilla-Keywords: ra, wrong-code X-Bugzilla-Severity: major X-Bugzilla-Who: cvs-commit 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01475.txt.bz2 Content-length: 1196 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92176 --- Comment #10 from CVS Commits --- The master branch has been updated by Andreas Krebbel : https://gcc.gnu.org/g:3b5757ea87ad2274b841340335bf7536204e615b commit r10-5996-g3b5757ea87ad2274b841340335bf7536204e615b Author: Andreas Krebbel Date: Thu Jan 16 10:41:44 2020 +0100 Work around array out of bounds warning in mkdeps This suppresses an array out of bounds warning in mkdeps.c as proposed by Martin Sebor in the bugzilla. array subscript 2 is outside array bounds of ‘const char [2]’ Since this warning does occur during bootstrap it currently breaks werror builds on IBM Z. The problem can be reproduced also on x86_64 by changing the inlining threshold using: --param max-inline-insns-auto=80 Bootstrapped and regression tested on x86_64 and IBM Z. libcpp/ChangeLog: 2020-01-16 Andreas Krebbel PR tree-optimization/92176 * mkdeps.c (deps_add_default_target): Avoid calling apply_vpath to suppress an array out of bounds warning. >From gcc-bugs-return-665750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 10:14:48 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40860 invoked by alias); 16 Jan 2020 10:14:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40794 invoked by uid 48); 16 Jan 2020 10:14:43 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTMyODZdIE5ldzogWzEwIFJlZ3Jlc3Npb25dIElDRTogdHJl?= =?UTF-8?B?ZSBjaGVjazogZGlkIG5vdCBleHBlY3QgY2xhc3Mg4oCYdHlwZeKAmSwgaGF2?= =?UTF-8?B?ZSDigJh0eXBl4oCZIChyZWZlcmVuY2VfdHlwZSkgaW4gY29udmVydF9mcm9t?= =?UTF-8?B?X3JlZmVyZW5jZSwgYXQgY3AvY3Z0LmM6NTUwIHNpbmNlIGc6ZTBkOTE3OTJl?= =?UTF-8?B?ZWM0OTBkMQ==?Date: Thu, 16 Jan 2020 10:14: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01476.txt.bz2 Content-length: 4461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93286 Bug ID: 93286 Summary: [10 Regression] ICE: tree check: did not expect class ‘type’, have ‘type’ (reference_type) in convert_from_reference, at cp/cvt.c:550 since g:e0d91792eec490d1 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: edlinger at gcc dot gnu.org Target Milestone: --- I see the following ICE: $ cat effect.ii template using __bool_constant = struct A; template struct B : __bool_constant<__is_constructible(int, _Args...)> {}; template using enable_if_t = int; template bool is_constructible_v = B<_Args...>::value; class C { template >> C(_Tp &&); }; using Effect_t = C; void fn1(Effect_t effect) { [](int &effect) {}; } $ g++ -fmax-errors=1 -std=c++17 effect.ii -c effect.ii: In instantiation of ‘struct B’: effect.ii:5:35: required from ‘bool is_constructible_v’ effect.ii:7:50: required by substitution of ‘template C::C(_Tp&&) [with _Tp = int&&; = ]’ effect.ii:12:17: required from here effect.ii:3:28: internal compiler error: tree check: did not expect class ‘type’, have ‘type’ (reference_type) in convert_from_reference, at cp/cvt.c:550 3 | struct B : __bool_constant<__is_constructible(int, _Args...)> {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0x18ae642 tree_not_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*) /home/marxin/Programming/gcc/gcc/tree.c:9784 0x9cbb02 non_type_check(tree_node*, char const*, int, char const*) /home/marxin/Programming/gcc/gcc/tree.h:3457 0xa5747b convert_from_reference(tree_node*) /home/marxin/Programming/gcc/gcc/cp/cvt.c:550 0xc59671 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) /home/marxin/Programming/gcc/gcc/cp/pt.c:19865 0xc5b1cd tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) /home/marxin/Programming/gcc/gcc/cp/pt.c:20164 0xc53012 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) /home/marxin/Programming/gcc/gcc/cp/pt.c:18515 0xc2f384 tsubst_template_arg(tree_node*, tree_node*, int, tree_node*) /home/marxin/Programming/gcc/gcc/cp/pt.c:12069 0xc3306e tsubst_template_args(tree_node*, tree_node*, int, tree_node*) /home/marxin/Programming/gcc/gcc/cp/pt.c:13136 0xc4125f tsubst(tree_node*, tree_node*, int, tree_node*) /home/marxin/Programming/gcc/gcc/cp/pt.c:15388 0xc3f305 tsubst(tree_node*, tree_node*, int, tree_node*) /home/marxin/Programming/gcc/gcc/cp/pt.c:14988 0xc2d32c instantiate_class_template_1 /home/marxin/Programming/gcc/gcc/cp/pt.c:11639 0xc2f2da instantiate_class_template(tree_node*) /home/marxin/Programming/gcc/gcc/cp/pt.c:12051 0xcf9f6b complete_type(tree_node*) /home/marxin/Programming/gcc/gcc/cp/typeck.c:137 0xc9717f lookup_member(tree_node*, tree_node*, int, bool, int, access_failure_info*) /home/marxin/Programming/gcc/gcc/cp/search.c:1129 0xb7b010 lookup_qualified_name(tree_node*, tree_node*, int, bool, bool) /home/marxin/Programming/gcc/gcc/cp/name-lookup.c:6009 0xc435cb tsubst_qualified_id /home/marxin/Programming/gcc/gcc/cp/pt.c:15980 0xc55c14 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) /home/marxin/Programming/gcc/gcc/cp/pt.c:19184 0xc53012 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) /home/marxin/Programming/gcc/gcc/cp/pt.c:18515 0xc43a3e tsubst_init /home/marxin/Programming/gcc/gcc/cp/pt.c:16067 0xc6de81 regenerate_decl_from_template /home/marxin/Programming/gcc/gcc/cp/pt.c:24819 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >From gcc-bugs-return-665751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 10:16:18 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47962 invoked by alias); 16 Jan 2020 10:16:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47533 invoked by uid 48); 16 Jan 2020 10:15:40 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTMyODZdIFsxMCBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUgY2hl?= =?UTF-8?B?Y2s6IGRpZCBub3QgZXhwZWN0IGNsYXNzIOKAmHR5cGXigJksIGhhdmUg4oCY?= =?UTF-8?B?dHlwZeKAmSAocmVmZXJlbmNlX3R5cGUpIGluIGNvbnZlcnRfZnJvbV9yZWZl?= =?UTF-8?B?cmVuY2UsIGF0IGNwL2N2dC5jOjU1MCBzaW5jZSBnOmUwZDkxNzkyZWVjNDkw?= =?UTF-8?B?ZDE=?Date: Thu, 16 Jan 2020 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: 10.0 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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cf_known_to_work target_milestone everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01477.txt.bz2 Content-length: 621 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93286 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Status|UNCONFIRMED |NEW Last reconfirmed| |2020-01-16 Known to work| |9.2.0 Target Milestone|--- |10.0 Ever confirmed|0 |1 Known to fail| |10.0 >From gcc-bugs-return-665752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 10:19:32 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52128 invoked by alias); 16 Jan 2020 10:19:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52070 invoked by uid 48); 16 Jan 2020 10:19:27 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/91413] [F2018]: Procedures are recursive by default; switching from stack to static allocation is not safe Date: Thu, 16 Jan 2020 10:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01478.txt.bz2 Content-length: 1355 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91413 Tobias Burnus changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #6 from Tobias Burnus --- Currently, direct recursive use is still not permitted: Error: Function ‘faculty’ at (1) cannot be called recursively, as it is not RECURSIVE This has to be turned into "Error: Fortran 2018: ... without RECURSIVE". We also have to think about how to handle the -f(no-)automatic -frecursive etc. with this change. – As "SAVE" is also allowed in recursive functions, we just need to ensure that the old semantic stays the same and write a few more words to the documentation. Regarding -fmax-stack-var-size=n and -fstack-arrays, one also needs to should point out the implications regarding recursive use, possibly the effect of an explicit RECURSIVE and Fortran >= 2018. Regarding the stack to static handling: I think we currently also print the message if the user has explicitly given "NON_RECURSIVE" as the flag is currently binary (recursive - true/false) but it should keep track of (nonspecified, recursive, non_recursive). >From gcc-bugs-return-665753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 10:20:55 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54100 invoked by alias); 16 Jan 2020 10:20:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54005 invoked by uid 48); 16 Jan 2020 10:20:49 -0000 From: "markeggleston at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93263] [9/10 Regression] -fno-automatic and RECURSIVE Date: Thu, 16 Jan 2020 10:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markeggleston at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: markeggleston at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01479.txt.bz2 Content-length: 431 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93263 --- Comment #8 from markeggleston at gcc dot gnu.org --- The change to: if (ns->save_all || (!flag_automatic && !recursive)) Now allows the second example program to produce: Hello 1 Hello 2 Hello 3 Hello 4 Hello 5 instead of: Hello 1 Hello 32766 STOP 1 I'll add the second program as a test case. >From gcc-bugs-return-665754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 10:30:59 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65416 invoked by alias); 16 Jan 2020 10:30:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65186 invoked by uid 55); 16 Jan 2020 10:30:49 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92429] [10 Regression] ICE in vect_transform_stmt, at tree-vect-stmts.c:10918 Date: Thu, 16 Jan 2020 10: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01480.txt.bz2 Content-length: 1617 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92429 --- Comment #6 from CVS Commits --- The master branch has been updated by Andre Simoes Dias Vieira : https://gcc.gnu.org/g:f7dff7699fd70d3b8c3e637818e18c86f93ccfec commit r10-5997-gf7dff7699fd70d3b8c3e637818e18c86f93ccfec Author: Andre Vieira Date: Thu Jan 16 10:28:02 2020 +0000 PR tree-optimization/92429 do not fold when updating epilogue statements This patch addresses the problem reported in PR92429. When creating an epilogue for vectorization we have to replace the SSA_NAMEs in the PATTERN_DEF_SEQs and RELATED_STMTs of the epilogue's loop_vec_infos. When doing this we were using simplify_replace_tree which always folds the replacement. This may lead to a different tree-node than the one which was analyzed in vect_loop_analyze. In turn the new tree-node may require a different vectorization than the one we had prepared for which caused the ICE in question. gcc/ChangeLog: 2020-01-16 Andre Vieira PR tree-optimization/92429 * tree-ssa-loop-niter.h (simplify_replace_tree): Add parameter. * tree-ssa-loop-niter.c (simplify_replace_tree): Add parameter to control folding. * tree-vect-loop.c (update_epilogue_vinfo): Do not fold when replacing tree. gcc/testsuite/ChangeLog: 2020-01-16 Andre Vieira PR tree-optimization/92429 * gcc.dg/vect/pr92429.c: New test. >From gcc-bugs-return-665755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 10:31:04 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65815 invoked by alias); 16 Jan 2020 10:31:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65394 invoked by uid 48); 16 Jan 2020 10:30:56 -0000 From: "markeggleston at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93263] [9/10 Regression] -fno-automatic and RECURSIVE Date: Thu, 16 Jan 2020 10:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markeggleston at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: markeggleston at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01481.txt.bz2 Content-length: 1053 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93263 --- Comment #9 from markeggleston at gcc dot gnu.org --- (In reply to Tobias Burnus from comment #7) > (In reply to Tobias Burnus from comment #5) > > Side remark: The Fortran 2018 introduction states: > > > > "the RECURSIVE keyword is advisory only. The NON_RECURSIVE keyword specifies > > that a procedure is not recursive." > > That's a Fortran 2018 change, see also PR 91413 … > > I am not quite sure what implications this have for -fno-automatic > -frecursive etc. As those are vendor extensions, it probably just means that > one just needs to update the documentation. So for Fortran 2018 the default for a procedure should be recursive and prior to Fortran 2018 it should should not. The default standard is GNU which includes everything up Fortran 2018 plus extensions. When this is used I expect that no thought has been made regarding the standard so simply implementing the above would break existing programs. Should this issue be postponed to the stage 1? >From gcc-bugs-return-665756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 10:41:38 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125534 invoked by alias); 16 Jan 2020 10:41:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125434 invoked by uid 55); 16 Jan 2020 10:41:33 -0000 From: "ostash at ostash dot kiev.ua" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/40838] gcc shouldn't assume that the stack is aligned Date: Thu, 16 Jan 2020 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: 4.4.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ostash at ostash dot kiev.ua X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01482.txt.bz2 Content-length: 1001 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 --- Comment #96 from Viktor Ostashevskyi --- Honestly, I don't see how your compiler flags could help. cost-model=cheap is default, data-alignment doesn't change incoming stack alignment. ср, 15 січ. 2020, 14:31 користувач mahatma at eu dot by < gcc-bugzilla@gcc.gnu.org> пише: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 > > --- Comment #95 from Dzianis Kahanovich --- > Just FYI. Novadays, on my Thinkpad tablet with Atom (32 bit userspace > Gentoo), > I globally replace patch/-mstackrealign to "-fvect-cost-model=cheap > -fsimd-cost-model=cheap -malign-data=cacheline" and all works fine for -O3 > +. > (This is dirty example, as cacheline for some old SSE CPUs are different, > etc). > > -- > You are receiving this mail because: > You are on the CC list for the bug. >From gcc-bugs-return-665757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 10:49:14 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23520 invoked by alias); 16 Jan 2020 10:49:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23425 invoked by uid 48); 16 Jan 2020 10:49:10 -0000 From: "markeggleston at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93263] [9/10 Regression] -fno-automatic and RECURSIVE Date: Thu, 16 Jan 2020 10:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markeggleston at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: markeggleston at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01483.txt.bz2 Content-length: 286 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93263 --- Comment #10 from markeggleston at gcc dot gnu.org --- This is relevant: https://gcc.gnu.org/ml/fortran/2017-12/msg00082.html since the non_recursive keyword is not yet recognised by gfortran, I think it SHOULD be postponed. >From gcc-bugs-return-665758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 11:00:40 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36514 invoked by alias); 16 Jan 2020 11:00:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36096 invoked by uid 48); 16 Jan 2020 11:00:04 -0000 From: "doko at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/93282] [10 Regression] build failure introduced with the git conversion Date: Thu, 16 Jan 2020 11:00: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko at debian dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01484.txt.bz2 Content-length: 432 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93282 Matthias Klose changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Matthias Klose --- my bad, pebcak. >From gcc-bugs-return-665759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 11:13:50 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7542 invoked by alias); 16 Jan 2020 11:13:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7451 invoked by uid 48); 16 Jan 2020 11:13:41 -0000 From: "krebbel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92176] LRA problem with reloads for subreg operands Date: Thu, 16 Jan 2020 11: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: 10.0 X-Bugzilla-Keywords: ra, wrong-code X-Bugzilla-Severity: major X-Bugzilla-Who: krebbel 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01485.txt.bz2 Content-length: 1455 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92176 --- Comment #11 from Andreas Krebbel --- (In reply to CVS Commits from comment #10) > The master branch has been updated by Andreas Krebbel : > > https://gcc.gnu.org/g:3b5757ea87ad2274b841340335bf7536204e615b > > commit r10-5996-g3b5757ea87ad2274b841340335bf7536204e615b > Author: Andreas Krebbel > Date: Thu Jan 16 10:41:44 2020 +0100 > > Work around array out of bounds warning in mkdeps > > This suppresses an array out of bounds warning in mkdeps.c as proposed > by Martin Sebor in the bugzilla. > > array subscript 2 is outside array bounds of ‘const char [2]’ > > Since this warning does occur during bootstrap it currently breaks > werror builds on IBM Z. > > The problem can be reproduced also on x86_64 by changing the inlining > threshold using: --param max-inline-insns-auto=80 > > Bootstrapped and regression tested on x86_64 and IBM Z. > > libcpp/ChangeLog: > > 2020-01-16 Andreas Krebbel > > PR tree-optimization/92176 > * mkdeps.c (deps_add_default_target): Avoid calling apply_vpath to > suppress an array out of bounds warning. PR number was wrong in the commit - sorry. >From gcc-bugs-return-665760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 12:31:31 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23272 invoked by alias); 16 Jan 2020 12:31:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23150 invoked by uid 48); 16 Jan 2020 12:31:26 -0000 From: "markus at oberhumer dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/93287] New: _Static_assert creates spurious -Wdeclaration-after-statement warnings Date: Thu, 16 Jan 2020 12:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markus at oberhumer dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01486.txt.bz2 Content-length: 966 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93287 Bug ID: 93287 Summary: _Static_assert creates spurious -Wdeclaration-after-statement warnings Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: markus at oberhumer dot com Target Milestone: --- gcc 9 under Fedora 31: gcc version 9.2.1 20190827 (Red Hat 9.2.1-1) (GCC) The small program below creates spurious warnings: $ gcc -Wdeclaration-after-statement test.c test.c: In function ‘main’: test.c:4:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4 | _Static_assert(1 == 1, "error"); | ^~~~~~~~~~~~~~ $ cat test.c int main() { int r; r = 0; _Static_assert(1 == 1, "error"); return r; } >From gcc-bugs-return-665761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 12:35:38 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36939 invoked by alias); 16 Jan 2020 12:35:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36868 invoked by uid 48); 16 Jan 2020 12:35:33 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/93287] _Static_assert creates spurious -Wdeclaration-after-statement warnings Date: Thu, 16 Jan 2020 12:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.2.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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01487.txt.bz2 Content-length: 170 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93287 --- Comment #1 from Andrew Pinski --- _Static_assert is considered a declaration IIRC. >From gcc-bugs-return-665762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 12:42:23 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49013 invoked by alias); 16 Jan 2020 12:42:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48946 invoked by uid 48); 16 Jan 2020 12:42:17 -0000 From: "markus at oberhumer dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/93287] _Static_assert creates spurious -Wdeclaration-after-statement warnings Date: Thu, 16 Jan 2020 12:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markus at oberhumer dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01488.txt.bz2 Content-length: 259 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93287 --- Comment #2 from Markus F.X.J. Oberhumer --- This is somewhat unexpected, and I do not get any warnings when using clang: $ clang-9 -Wdeclaration-after-statement test.c >From gcc-bugs-return-665763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 12:51:11 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60595 invoked by alias); 16 Jan 2020 12:51:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60531 invoked by uid 48); 16 Jan 2020 12:51:07 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/93287] _Static_assert creates spurious -Wdeclaration-after-statement warnings Date: Thu, 16 Jan 2020 12:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.2.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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01489.txt.bz2 Content-length: 340 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93287 --- Comment #3 from Andrew Pinski --- (In reply to Markus F.X.J. Oberhumer from comment #2) > This is somewhat unexpected, and I do not get any warnings when using clang: > > $ clang-9 -Wdeclaration-after-statement test.c But clang might be wrong ... >From gcc-bugs-return-665764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 12:53:08 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73664 invoked by alias); 16 Jan 2020 12:53:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73592 invoked by uid 48); 16 Jan 2020 12:53:03 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/93278] huge almost empty array takes huge time to compile and produces huge object file Date: Thu, 16 Jan 2020 12:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01490.txt.bz2 Content-length: 785 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93278 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- Can't reproduce with current trunk (7.x is unsupported, but can't reproduce with that either): char a[HUGE] = "x"; ./cc1 -fmem-report -O2 -DHUGE=10000000000 pr93278.c ... TOTAL : 0.01 0.00 0.01 1383 kB Assembly is then: .type a, @object .size a, 10000000000 a: .string "x" .zero 9999999998 >From gcc-bugs-return-665765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 12:53:33 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74486 invoked by alias); 16 Jan 2020 12:53:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74426 invoked by uid 48); 16 Jan 2020 12:53:29 -0000 From: "fxue at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/93166] [10 Regression] ICE in get_info_about_necessary_edges, at ipa-cp.c:4137 since r278893 Date: Thu, 16 Jan 2020 12: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: fxue 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01491.txt.bz2 Content-length: 1027 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93166 --- Comment #3 from fxue at gcc dot gnu.org --- (In reply to Martin Jambor from comment #2) > I have analyzed this ICE and came to the conclusion that the assert is > wrong for polymorphic context lattices - e.g. in the reported case we > always pass the same class to first parameter, which in the recursive > call then serves as a basis to ancestor JF for the second parameter. > > When propagating polymorphic contexts within SCCs we allow creating > new values because for any sane input their number will be limited by > class hierarchy (and potential insane input limited by > param_ipa_cp_value_list_size). I think that is OK too. > > So we can either simply remove the assert or make it active only for > tree lattices. At the moment I'd prefer the former, but Feng, if this > assert proved valuable in development the recursive function > versioning patch, I'll be happy to keep it. What do you think? Sorry for late response due to trip. I'll check it. >From gcc-bugs-return-665766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 13:01:57 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97912 invoked by alias); 16 Jan 2020 13:01:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97848 invoked by uid 48); 16 Jan 2020 13:01:52 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/93287] _Static_assert creates spurious -Wdeclaration-after-statement warnings Date: Thu, 16 Jan 2020 13:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01492.txt.bz2 Content-length: 1363 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93287 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #4 from Andrew Pinski --- _Static_assert is a declaration in the C standard to allow it to be at the toplevel too. Also this fails as expected (on both GCC and Clang): int f(void) { if (1) _Static_assert (1); } ---- CUT ---- so yes _Static_assert is a declaration. I would say it is a bug in clang rather than gcc here. clang documentation is really really lacking here too: https://clang.llvm.org/docs/DiagnosticsReference.html#wdeclaration-after-statement :) GCC is much better: https://gcc.gnu.org/onlinedocs/gcc-9.2.0/gcc/Warning-Options.html#index-Wdeclaration-after-statement -Wdeclaration-after-statement (C and Objective-C only) Warn when a declaration is found after a statement in a block. This construct, known from C++, was introduced with ISO C99 and is by default allowed in GCC. It is not supported by ISO C90. See Mixed Declarations[1]. [1] https://gcc.gnu.org/onlinedocs/gcc-9.2.0/gcc/Mixed-Declarations.html#Mixed-Declarations >From gcc-bugs-return-665767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 13:06:41 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32534 invoked by alias); 16 Jan 2020 13:06:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32471 invoked by uid 48); 16 Jan 2020 13:06:36 -0000 From: "avieira at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92429] [10 Regression] ICE in vect_transform_stmt, at tree-vect-stmts.c:10918 Date: Thu, 16 Jan 2020 13:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: avieira at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: avieira at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01493.txt.bz2 Content-length: 422 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92429 avieira at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #7 from avieira at gcc dot gnu.org --- I believe this is fixed, closing. >From gcc-bugs-return-665768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 13:09:24 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34584 invoked by alias); 16 Jan 2020 13:09:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34555 invoked by uid 48); 16 Jan 2020 13:09:20 -0000 From: "markus at oberhumer dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/93287] _Static_assert creates spurious -Wdeclaration-after-statement warnings Date: Thu, 16 Jan 2020 13: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: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markus at oberhumer dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01494.txt.bz2 Content-length: 375 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93287 --- Comment #5 from Markus F.X.J. Oberhumer --- I see, many thanks for the clarification. Still this is not nice from a usability perspective - why did the standard make this a declaration instead of a statement? Well, will revert back to using homegrown COMPILE_TIME_ASSERT macros... >From gcc-bugs-return-665769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 13:12:27 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36713 invoked by alias); 16 Jan 2020 13:12:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36673 invoked by uid 48); 16 Jan 2020 13:12:22 -0000 From: "pmatos at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/93288] New: ICE in supergraph.cc:180 Date: Thu, 16 Jan 2020 13:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pmatos at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01495.txt.bz2 Content-length: 2010 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93288 Bug ID: 93288 Summary: ICE in supergraph.cc:180 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: pmatos at gcc dot gnu.org Target Milestone: --- Great work with the analyzer! :) I am running it on WebKit and I find a few issues. At the moment they all seem to point to supergraph.cc:180. Here's a reduced example with todays (16.01.2020) GCC: $ /home/pmatos/installs/gcc-20200116/bin/g++ -v Using built-in specs. COLLECT_GCC=/home/pmatos/installs/gcc-20200116/bin/g++ COLLECT_LTO_WRAPPER=/home/pmatos/installs/gcc-20200116/libexec/gcc/x86_64-pc-linux-gnu/10.0.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc/configure --prefix=/home/pmatos/installs/gcc-20200116 --enable-languages=c,c++,lto --disable-docs --disable-multilib --disable-nls --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.0.1 20200116 (experimental) (GCC) Test case: struct a { a(); }; class { a b; } c; $ /home/pmatos/installs/gcc-20200116/bin/g++ -std=gnu++17 -fanalyzer -c AllIsoHeaps.ii during IPA pass: analyzer AllIsoHeaps.ii:6:4: internal compiler error: Segmentation fault 6 | } c; | ^ 0x105fbdf crash_signal ../../gcc/gcc/toplev.c:328 0x140d341 supergraph::supergraph(logger*) ../../gcc/gcc/analyzer/supergraph.cc:180 0x13d768f impl_run_checkers(logger*) ../../gcc/gcc/analyzer/engine.cc:3520 0x13d8d73 run_checkers() ../../gcc/gcc/analyzer/engine.cc:3624 0x13cdb28 execute ../../gcc/gcc/analyzer/analyzer-pass.cc:84 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >From gcc-bugs-return-665770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 13:14:59 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38344 invoked by alias); 16 Jan 2020 13:14:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38316 invoked by uid 48); 16 Jan 2020 13:14:55 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/93287] _Static_assert creates spurious -Wdeclaration-after-statement warnings Date: Thu, 16 Jan 2020 13:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01496.txt.bz2 Content-length: 417 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93287 --- Comment #6 from Andrew Pinski --- (In reply to Markus F.X.J. Oberhumer from comment #5) > Still this is not nice from a usability perspective - why did the standard > make this a declaration instead of a statement? I said why, to allow it to be at the toplevel and not inside a function without changing the grammar that much. >From gcc-bugs-return-665771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 13:27:25 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46534 invoked by alias); 16 Jan 2020 13:27:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46429 invoked by uid 48); 16 Jan 2020 13:27:21 -0000 From: "edlinger at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTMyODZdIFsxMCBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUgY2hl?= =?UTF-8?B?Y2s6IGRpZCBub3QgZXhwZWN0IGNsYXNzIOKAmHR5cGXigJksIGhhdmUg4oCY?= =?UTF-8?B?dHlwZeKAmSAocmVmZXJlbmNlX3R5cGUpIGluIGNvbnZlcnRfZnJvbV9yZWZl?= =?UTF-8?B?cmVuY2UsIGF0IGNwL2N2dC5jOjU1MCBzaW5jZSBnOmUwZDkxNzkyZWVjNDkw?= =?UTF-8?B?ZDE=?Date: Thu, 16 Jan 2020 13: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: edlinger 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01497.txt.bz2 Content-length: 252 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93286 --- Comment #1 from Bernd Edlinger --- with the following command it started already earlier: gcc -Wshadow-compatible-local -fmax-errors=1 -std=c++17 -c effect.ii >From gcc-bugs-return-665772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 13:36:47 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70240 invoked by alias); 16 Jan 2020 13:36:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70169 invoked by uid 48); 16 Jan 2020 13:36:43 -0000 From: "wilco at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/93231] [10 Regression] ICEs since r280132 Date: Thu, 16 Jan 2020 13: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: wilco at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: wilco at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01498.txt.bz2 Content-length: 407 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93231 Wilco changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #8 from Wilco --- Fixed. >From gcc-bugs-return-665773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 14:01:09 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105285 invoked by alias); 16 Jan 2020 14:01:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105149 invoked by uid 48); 16 Jan 2020 14:01:00 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/93288] ICE in supergraph.cc:180 Date: Thu, 16 Jan 2020 14:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01499.txt.bz2 Content-length: 809 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93288 --- Comment #1 from David Malcolm --- Note that C++ is out-of-scope for the analyzer for GCC 10. Program received signal SIGSEGV, Segmentation fault. 0x0000000001cb37ed in supergraph::supergraph (this=0x7fffffffcda0, logger=0x0) at ../../src/gcc/analyzer/supergraph.cc:180 180 = ENTRY_BLOCK_PTR_FOR_FN (edge->callee->get_fun ()); Missing separate debuginfos, use: dnf debuginfo-install gmp-6.1.2-10.fc30.x86_64 libmpc-1.1.0-3.fc30.x86_64 libzstd-1.4.2-1.fc30.x86_64 mpfr-3.1.6-4.fc30.x86_64 (gdb) p edge->callee $1 = (gdb) p edge->callee->get_fun()->cfg $4 = (control_flow_graph *) 0x0 So it's a segfault reading through a NULL cfg pointer. >From gcc-bugs-return-665774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 14:05:13 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110212 invoked by alias); 16 Jan 2020 14:05:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110078 invoked by uid 48); 16 Jan 2020 14:05:07 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTMyODZdIFsxMCBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUgY2hl?= =?UTF-8?B?Y2s6IGRpZCBub3QgZXhwZWN0IGNsYXNzIOKAmHR5cGXigJksIGhhdmUg4oCY?= =?UTF-8?B?dHlwZeKAmSAocmVmZXJlbmNlX3R5cGUpIGluIGNvbnZlcnRfZnJvbV9yZWZl?= =?UTF-8?B?cmVuY2UsIGF0IGNwL2N2dC5jOjU1MCBzaW5jZSBnOmUwZDkxNzkyZWVjNDkw?= =?UTF-8?B?ZDE=?Date: Thu, 16 Jan 2020 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: 10.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01500.txt.bz2 Content-length: 519 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93286 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- Indeed, with those options started to ICE with r8-742-gb42cc3ca244ea57d5112638a73e7f83c58202a84 when __is_constructible has been implemented. >From gcc-bugs-return-665775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 14:11:11 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21341 invoked by alias); 16 Jan 2020 14:11:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21285 invoked by uid 48); 16 Jan 2020 14:11:06 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93289] New: array constructor of different length: Missing diagnostic when PARAMETER is in list Date: Thu, 16 Jan 2020 14:11: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: accepts-invalid, diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01501.txt.bz2 Content-length: 1034 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93289 Bug ID: 93289 Summary: array constructor of different length: Missing diagnostic when PARAMETER is in list Product: gcc Version: unknown Status: UNCONFIRMED Keywords: accepts-invalid, diagnostic Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- The following code has different string lengths in the array constructor. If only string literals are used, an error is printed. But if the first argument is a PARAMETER, seemingly no checking is done. character(len=*), parameter :: str = "abj", str2 = "1234" print *, ["ab", "hjf333", str] ! Error: Different CHARACTER lengths (2/6) in array... print *, ["ab", str2] ! Error -> OK print *, [str, "ab", "hjf333"] ! Accepted, why? print *, [str, str2] ! Accepted, why? end >From gcc-bugs-return-665776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 14:31:09 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57737 invoked by alias); 16 Jan 2020 14:31:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57374 invoked by uid 48); 16 Jan 2020 14:30:52 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/93290] New: analyzer ICE on isnan() Date: Thu, 16 Jan 2020 14:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01502.txt.bz2 Content-length: 2337 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93290 Bug ID: 93290 Summary: analyzer ICE on isnan() Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: dmalcolm at gcc dot gnu.org Target Milestone: --- As reported on IRC, this code ICEs the analyzer: #include int main(void) { float foo = 42.; if (isnan(foo)) { return 1; } return 0; } during IPA pass: analyzer foo.c: In function 'main': foo.c:4:8: internal compiler error: in eval_condition_without_cm, at analyzer/region-model.cc:5197 4 | if (isnan(foo)) { | ^ 0x632ab1 region_model::eval_condition_without_cm(svalue_id, tree_code, svalue_id) const ../../gcc-2588197/gcc/analyzer/region-model.cc:5197 0xe2e729 region_model::eval_condition(svalue_id, tree_code, svalue_id) const ../../gcc-2588197/gcc/analyzer/region-model.cc:5161 0xe2e729 region_model::add_constraint(tree_node*, tree_code, tree_node*, region_model_context*) ../../gcc-2588197/gcc/analyzer/region-model.cc:5270 0xe20492 program_state::on_edge(exploded_graph&, exploded_node const&, superedge const*, state_change*) ../../gcc-2588197/gcc/analyzer/program-state.cc:727 0xe0f549 exploded_node::on_edge(exploded_graph&, superedge const*, program_point*, program_state*, state_change*) const ../../gcc-2588197/gcc/analyzer/engine.cc:1075 0xe16297 exploded_graph::process_node(exploded_node*) ../../gcc-2588197/gcc/analyzer/engine.cc:2500 0xe16822 exploded_graph::process_worklist() ../../gcc-2588197/gcc/analyzer/engine.cc:2253 0xe16e69 impl_run_checkers(logger*) ../../gcc-2588197/gcc/analyzer/engine.cc:3570 0xe178d3 run_checkers() ../../gcc-2588197/gcc/analyzer/engine.cc:3624 0xe0de58 execute ../../gcc-2588197/gcc/analyzer/analyzer-pass.cc:84 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Confirmed with ab7c7b46c35ed1be68d4c020a2f20ee96f68b64b. It's due to unhandled case op == UNORDERED_EXPR in region_model::eval_condition_without_cm >From gcc-bugs-return-665777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 14:39:56 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100942 invoked by alias); 16 Jan 2020 14:39:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100886 invoked by uid 55); 16 Jan 2020 14:39:48 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/91263] unordered_map and unordered_set operator== double key comparison causes exponential behavior Date: Thu, 16 Jan 2020 14:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: fdumont at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01503.txt.bz2 Content-length: 1484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91263 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:d916538965ea260c6bcdb1d46581f6d572017ce8 commit r10-6005-gd916538965ea260c6bcdb1d46581f6d572017ce8 Author: Fran�ois Dumont Date: Thu Jan 16 08:34:21 2020 +0000 libstdc++: Improve unordered containers == operator (PR 91263) Avoid comparing elements with operator== multiple times by replacing uses of find and equal_range with equivalent inlined code that uses operator== instead of the container's equality comparison predicate. This is valid because the standard requires that operator== is a refinement of the equality predicate. Also replace the _S_is_permutation function with std::is_permutation, which wasn't yet implemented when this code was first written. PR libstdc++/91263 * include/bits/hashtable.h (_Hashtable<>): Make _Equality<> friend. * include/bits/hashtable_policy.h: Include . (_Equality_base): Remove. (_Equality<>::_M_equal): Review implementation. Use std::is_permutation. * testsuite/23_containers/unordered_multiset/operators/1.cc (Hash, Equal, test02, test03): New. * testsuite/23_containers/unordered_set/operators/1.cc (Hash, Equal, test02, test03): New. >From gcc-bugs-return-665778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 14:47:21 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33085 invoked by alias); 16 Jan 2020 14:47:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33008 invoked by uid 48); 16 Jan 2020 14:47:16 -0000 From: "krebbel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/93272] LRA: EH reg allocated to hold local variable Date: Thu, 16 Jan 2020 14:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 5.5.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: major X-Bugzilla-Who: krebbel 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01504.txt.bz2 Content-length: 353 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93272 --- Comment #2 from Andreas Krebbel --- This problem to some degree is specific to IBM Z since our EH regs are call-saved registers. For targets using call-clobbered EH regs such a collisions usually cannot happen. Perhaps it can be provoked with -fnon-call-exceptions. >From gcc-bugs-return-665779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 15:01:46 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85769 invoked by alias); 16 Jan 2020 15:01:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85592 invoked by uid 48); 16 Jan 2020 15:01:41 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93289] array constructor of different length: Missing diagnostic when PARAMETER is in list Date: Thu, 16 Jan 2020 15: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: unknown X-Bugzilla-Keywords: accepts-invalid, diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01505.txt.bz2 Content-length: 960 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93289 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #1 from kargl at gcc dot gnu.org --- (In reply to Tobias Burnus from comment #0) > print *, [str, "ab", "hjf333"] ! Accepted, why? > print *, [str, str2] ! Accepted, why? > end It appears to be an undocumented extension. Add -Wall to your command line. % gfcx -Wall -c a.f90 a.f90:2:20: 2 | print *, [str, "ab", "hjf333"] ! Accepted, why? | 1 Warning: CHARACTER expression at (1) is being truncated (6/3) [-Wcharacter-truncation] a.f90:3:14: 3 | print *, [str, str2] ! Accepted, why? | 1 Warning: CHARACTER expression at (1) is being truncated (4/3) [-Wcharacter-truncation] >From gcc-bugs-return-665780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 15:05:39 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91448 invoked by alias); 16 Jan 2020 15:05:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91402 invoked by uid 48); 16 Jan 2020 15:05:35 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/93290] analyzer ICE on isnan() Date: Thu, 16 Jan 2020 15:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01506.txt.bz2 Content-length: 409 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93290 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2020-01-16 Ever confirmed|0 |1 >From gcc-bugs-return-665781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 15:37:50 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87062 invoked by alias); 16 Jan 2020 15:37:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86997 invoked by uid 48); 16 Jan 2020 15:37:45 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/93264] [10 Regression] ICE in cfg_layout_redirect_edge_and_branch_force, at cfgrtl.c:4522 Date: Thu, 16 Jan 2020 15:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01507.txt.bz2 Content-length: 2061 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93264 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2020-01-16 CC| |hubicka at gcc dot gnu.org, | |jakub at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- It tries to redirect a crossing jump from cold to hot partition to a new bb that is in cold partition. cfg_layout_redirect_edge_and_branch has code to handle this case, but only if the branch is simplejump: 4429 if (e->flags & EDGE_CROSSING 4430 && BB_PARTITION (e->src) == BB_PARTITION (dest) 4431 && simplejump_p (BB_END (src))) 4432 { 4433 if (dump_file) 4434 fprintf (dump_file, 4435 "Removing crossing jump while redirecting edge form %i to %i\n", 4436 e->src->index, dest->index); 4437 delete_insn (BB_END (src)); 4438 remove_barriers_from_footer (src); 4439 e->flags |= EDGE_FALLTHRU; 4440 } which is not the case here: (insn 577 350 578 27 (set (reg:DI 309) (high:DI (label_ref:DI 220))) "pr71550.c":19:20 -1 (insn_list:REG_LABEL_OPERAND 220 (nil))) (insn 578 577 579 27 (set (reg:DI 308) (lo_sum:DI (reg:DI 309) (label_ref:DI 220))) "pr71550.c":19:20 -1 (insn_list:REG_LABEL_OPERAND 220 (expr_list:REG_EQUAL (label_ref:DI 220) (nil)))) (jump_insn/j 579 578 220 27 (set (pc) (reg:DI 308)) "pr71550.c":19:20 -1 (nil) -> 220) The generic code really doesn't know what it should remove to replace it with the fallthru edge. So, I'd say something in the caller or a few callers up should have punted on it before, but no idea what. >From gcc-bugs-return-665782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 15:41:31 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90891 invoked by alias); 16 Jan 2020 15:41:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90819 invoked by uid 48); 16 Jan 2020 15:41:26 -0000 From: "mahatma at eu dot by" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/40838] gcc shouldn't assume that the stack is aligned Date: Thu, 16 Jan 2020 15:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.4.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mahatma at eu dot by X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01508.txt.bz2 Content-length: 1537 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 --- Comment #97 from Dzianis Kahanovich --- No. Looking into gcc/opts.c - "-O3 optimizations" section - line: { OPT_LEVELS_3_PLUS, OPT_fvect_cost_model_, NULL, VECT_COST_MODEL_DYNAMIC }, - so, for -O3 it's "dynamic". Then, RTFM, "cheap" more cares about aligning. But anymore, I not try to rebuild 32bit "world" without ANY workaround, so all still dirty ;) PS For some options configuration behaviour still non-linear, so queryng "gcc -Q ..." still unsafe to check some defaults... (In reply to Viktor Ostashevskyi from comment #96) > Honestly, I don't see how your compiler flags could help. cost-model=cheap > is default, data-alignment doesn't change incoming stack alignment. > > ср, 15 січ. 2020, 14:31 користувач mahatma at eu dot by < > gcc-bugzilla@gcc.gnu.org> пише: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 > > > > --- Comment #95 from Dzianis Kahanovich --- > > Just FYI. Novadays, on my Thinkpad tablet with Atom (32 bit userspace > > Gentoo), > > I globally replace patch/-mstackrealign to "-fvect-cost-model=cheap > > -fsimd-cost-model=cheap -malign-data=cacheline" and all works fine for -O3 > > +. > > (This is dirty example, as cacheline for some old SSE CPUs are different, > > etc). > > > > -- > > You are receiving this mail because: > > You are on the CC list for the bug. >From gcc-bugs-return-665783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 15:46:02 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8938 invoked by alias); 16 Jan 2020 15:45:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8679 invoked by uid 48); 16 Jan 2020 15:45:23 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93285] [10 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:931 since g:08f594eb399dab06 Date: Thu, 16 Jan 2020 15: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01509.txt.bz2 Content-length: 378 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93285 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org >From gcc-bugs-return-665784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 15:55:13 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40152 invoked by alias); 16 Jan 2020 15:55:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40080 invoked by uid 48); 16 Jan 2020 15:55:09 -0000 From: "mahatma at eu dot by" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/40838] gcc shouldn't assume that the stack is aligned Date: Thu, 16 Jan 2020 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: 4.4.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mahatma at eu dot by X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01510.txt.bz2 Content-length: 327 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 --- Comment #98 from Dzianis Kahanovich --- fix: "I not try to rebuild 32bit "world" without ANY workaround" - on modern gcc (now all under 9.2). Previous experiments was times & versions ago, so many other new factors/fixes can solve most issues. >From gcc-bugs-return-665785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 16:10:33 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77263 invoked by alias); 16 Jan 2020 16:10:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77043 invoked by uid 48); 16 Jan 2020 16:10:28 -0000 From: "pmatos at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/93288] ICE in supergraph.cc:180 Date: Thu, 16 Jan 2020 16:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pmatos at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01511.txt.bz2 Content-length: 991 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93288 --- Comment #2 from pmatos at gcc dot gnu.org --- (In reply to David Malcolm from comment #1) > Note that C++ is out-of-scope for the analyzer for GCC 10. > > Program received signal SIGSEGV, Segmentation fault. > 0x0000000001cb37ed in supergraph::supergraph (this=0x7fffffffcda0, > logger=0x0) > at ../../src/gcc/analyzer/supergraph.cc:180 > 180 = ENTRY_BLOCK_PTR_FOR_FN (edge->callee->get_fun ()); > Missing separate debuginfos, use: dnf debuginfo-install > gmp-6.1.2-10.fc30.x86_64 libmpc-1.1.0-3.fc30.x86_64 > libzstd-1.4.2-1.fc30.x86_64 mpfr-3.1.6-4.fc30.x86_64 > > (gdb) p edge->callee > $1 = > > (gdb) p edge->callee->get_fun()->cfg > $4 = (control_flow_graph *) 0x0 > > So it's a segfault reading through a NULL cfg pointer. Ah - sorry. I was not aware of that. :) I will test it on C only for now then. Thanks. Feel free to close this if you wish. >From gcc-bugs-return-665786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 16:17:42 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32629 invoked by alias); 16 Jan 2020 16:17:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32044 invoked by uid 48); 16 Jan 2020 16:17:36 -0000 From: "mahatma at eu dot by" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/40838] gcc shouldn't assume that the stack is aligned Date: Thu, 16 Jan 2020 16: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: 4.4.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mahatma at eu dot by X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01512.txt.bz2 Content-length: 519 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 --- Comment #99 from Dzianis Kahanovich --- PPS About some hidden thinks/things. In pure theory. "*cost-model=cheap" can reduce SSE usage, -mstackrealign - can increase function prolog/epilog overhead. In my case - x7-Z8700 CPU have 2 FPU cores for 4 CPU cores (silvermont-1 have even less FPUs), so solution looks sure better then "-mstackrealign". But on some other CPUs something may be else and need to be tested about performance. >From gcc-bugs-return-665787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 16:18:27 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34441 invoked by alias); 16 Jan 2020 16:18:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34390 invoked by uid 48); 16 Jan 2020 16:18:22 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/93291] New: 'FAIL: gcc.dg/analyzer/pattern-test-2.c' for a few configurations Date: Thu, 16 Jan 2020 16:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: unknown X-Bugzilla-Keywords: 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: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01513.txt.bz2 Content-length: 3333 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93291 Bug ID: 93291 Summary: 'FAIL: gcc.dg/analyzer/pattern-test-2.c' for a few configurations Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: tschwinge at gcc dot gnu.org Target Milestone: --- Testing 299ddc612136421f1d9865ea4f2f84f7e3791824 on powerpc64le-unknown-linux-gnu, I see: PASS: gcc.dg/analyzer/pattern-test-2.c (test for warnings, line 11) PASS: gcc.dg/analyzer/pattern-test-2.c (test for warnings, line 11) FAIL: gcc.dg/analyzer/pattern-test-2.c (test for warnings, line 21) FAIL: gcc.dg/analyzer/pattern-test-2.c (test for warnings, line 21) PASS: gcc.dg/analyzer/pattern-test-2.c (test for warnings, line 21) PASS: gcc.dg/analyzer/pattern-test-2.c (test for warnings, line 21) FAIL: gcc.dg/analyzer/pattern-test-2.c (test for excess errors) [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c: In function 'test1': [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c:11:6: warning: pattern match on 'ptr != 0' [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c:11:6: note: (1) here ('ptr' is in state 'start') [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c:11:6: warning: pattern match on 'ptr == 0' [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c:11:6: note: (1) here ('ptr' is in state 'start') [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c: In function 'test_2': [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c:21:6: warning: pattern match on 'p != 0' [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c:21:6: note: (1) here ('p' is in state 'start') [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c:21:6: warning: pattern match on 'p == 0' [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c:21:6: note: (1) here ('p' is in state 'start') [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c:21:17: warning: pattern match on 'q == 0' [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c:21:6: note: (1) following 'false' branch (when 'p' is non-NULL)... [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c:21:17: note: (2) ...to here [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c:21:17: note: (3) here ('q' is in state 'start') [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c:21:17: warning: pattern match on 'q != 0' [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c:21:6: note: (1) following 'false' branch (when 'p' is non-NULL)... [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c:21:17: note: (2) ...to here [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c:21:17: note: (3) here ('q' is in state 'start') Excess errors: [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c:21:6: warning: pattern match on 'p == 0' [...]/gcc/testsuite/gcc.dg/analyzer/pattern-test-2.c:21:17: warning: pattern match on 'q == 0' Per , this happens for a few configurations: powerpc64le-unknown-linux-gnu, pru-unknown-elf, moxie-unknown-elf, m68k-unknown-linux-gnu, powerpc-ibm-aix7.2.0.0. >From gcc-bugs-return-665788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 16:22:41 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40559 invoked by alias); 16 Jan 2020 16:22:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40497 invoked by uid 48); 16 Jan 2020 16:22:36 -0000 From: "doug at cs dot dartmouth.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/93278] huge almost empty array takes huge time to compile and produces huge object file Date: Thu, 16 Jan 2020 16: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.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doug at cs dot dartmouth.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01514.txt.bz2 Content-length: 255 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93278 --- Comment #2 from doug mcilroy --- My error. I omitted half the program. The bad behavior is exhibited by char a{HUGE] = "x"; int main(){ return 0; } >From gcc-bugs-return-665789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 16:23:21 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44396 invoked by alias); 16 Jan 2020 16:23:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44095 invoked by uid 48); 16 Jan 2020 16:23:15 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/91263] unordered_map and unordered_set operator== double key comparison causes exponential behavior Date: Thu, 16 Jan 2020 16: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: fdumont at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01515.txt.bz2 Content-length: 218 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91263 --- Comment #5 from Jonathan Wakely --- Fixed on trunk. Let's keep this open and decide whether to backport it to the release branches. >From gcc-bugs-return-665791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 16:25:35 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47569 invoked by alias); 16 Jan 2020 16:25:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46890 invoked by uid 48); 16 Jan 2020 16:25:14 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/93293] New: 'FAIL: gcc.dg/analyzer/dot-output.c dg-check-dot dot-output.c.state-purge.dot' Date: Thu, 16 Jan 2020 16:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: unknown X-Bugzilla-Keywords: 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: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01517.txt.bz2 Content-length: 2820 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93293 Bug ID: 93293 Summary: 'FAIL: gcc.dg/analyzer/dot-output.c dg-check-dot dot-output.c.state-purge.dot' Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: tschwinge at gcc dot gnu.org Target Milestone: --- Testing 299ddc612136421f1d9865ea4f2f84f7e3791824 on x86_64-pc-linux-gnu, I see: XFAIL: gcc.dg/analyzer/dot-output.c (test for warnings, line 21) PASS: gcc.dg/analyzer/dot-output.c (test for excess errors) PASS: gcc.dg/analyzer/dot-output.c dg-check-dot dot-output.c.callgraph.dot PASS: gcc.dg/analyzer/dot-output.c dg-check-dot dot-output.c.eg.dot FAIL: gcc.dg/analyzer/dot-output.c dg-check-dot dot-output.c.state-purge.dot PASS: gcc.dg/analyzer/dot-output.c dg-check-dot dot-output.c.supergraph.dot spawn dot -O -Tpng dot-output.c.state-purge.dot Warning: dot-output.c.state-purge.dot:11: string ran past end of line Error: dot-output.c.state-purge.dot:12: syntax error near line 12 context: >>> ' <<< _5' not needed here Warning: dot-output.c.state-purge.dot:34: string ran past end of line Warning: dot-output.c.state-purge.dot:45: string ran past end of line Warning: dot-output.c.state-purge.dot:68: string ran past end of line [etc.] 1 digraph "supergraph" { 2 overlap=false; 3 compound=true; 4 subgraph "cluster_test_2" { 5 style="dashed"; color="black"; label="test_2"; 6 subgraph cluster_node_0 { 7 style="solid"; 8 color="black"; 9 fillcolor="lightgrey"; 10 label="sn: 0"; 11 annotation_for_node_0 [shape=none,margin=0,style=filled,fillcolor=lightblue,label="'c1_4' not needed here 12 '_5' not needed here 13 [more empty lines] 33 34 "]; 35 36 node_0 [shape=none,margin=0,style=filled,fillcolor=lightgrey,label=< 37
ENTRY
>]; 38 39 } 40 subgraph cluster_node_1 { 41 style="solid"; 42 color="black"; 43 fillcolor="lightgrey"; 44 label="sn: 1"; 45 annotation_for_node_1 [shape=none,margin=0,style=filled,fillcolor=lightblue,label="'c1_4' not needed here 46 '_5' not needed here 47 [more empty lines] [etc.] That's Ubuntu 12.10: $ dot -V dot - graphviz version 2.26.3 (20100126.1600) ... perhaps too old to deal with such multi-line strings -- but perhaps they shouldn't be generated like that? >From gcc-bugs-return-665790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 16:25:14 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46874 invoked by alias); 16 Jan 2020 16:25:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46778 invoked by uid 48); 16 Jan 2020 16:25:05 -0000 From: "doko at ubuntu dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/93292] New: [10 Regression] ICE (segfault) in vectorizable_comparison on powerpc64le-linux-gnu Date: Thu, 16 Jan 2020 16:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko at ubuntu dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01516.txt.bz2 Content-length: 2481 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93292 Bug ID: 93292 Summary: [10 Regression] ICE (segfault) in vectorizable_comparison on powerpc64le-linux-gnu Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: doko at ubuntu dot com Target Milestone: --- seen with 20200116 on powerpc64-linux-gnu $ cat editor_profiler.ii class a { public: static int c(float p1) { static int b; b = p1 ? p1 + 0.5 : 0; return b; } }; int *d; float e; void f() { float g; for (int h; h; h++) { d[h] += a::c(g < 0 ?: g > 5 ?: g); a::c(e); } } $ g++ -c -O3 -fstack-protector-strong editor_profiler.ii during GIMPLE pass: vect editor_profiler.ii: In function ‘void f()’: editor_profiler.ii:11:6: internal compiler error: Segmentation fault 11 | void f() { | ^ 0x10a217c3 crash_signal ../../src/gcc/toplev.c:328 0x10c9c79c TYPE_VECTOR_SUBPARTS(tree_node const*) ../../src/gcc/tree.h:3836 0x10c9c79c vectorizable_comparison ../../src/gcc/tree-vect-stmts.c:10495 0x10cad147 vect_analyze_stmt(_stmt_vec_info*, bool*, _slp_tree*, _slp_instance*, vec*) ../../src/gcc/tree-vect-stmts.c:10907 0x10cdb0ef vect_slp_analyze_node_operations ../../src/gcc/tree-vect-slp.c:2786 0x10cdb053 vect_slp_analyze_node_operations ../../src/gcc/tree-vect-slp.c:2850 0x10cdb053 vect_slp_analyze_node_operations ../../src/gcc/tree-vect-slp.c:2850 0x10cdb053 vect_slp_analyze_node_operations ../../src/gcc/tree-vect-slp.c:2850 0x10cdb053 vect_slp_analyze_node_operations ../../src/gcc/tree-vect-slp.c:2850 0x10cdf97f vect_slp_analyze_operations(vec_info*) ../../src/gcc/tree-vect-slp.c:2926 0x10ce208f vect_slp_analyze_bb_1 ../../src/gcc/tree-vect-slp.c:3250 0x10ce208f vect_slp_bb_region ../../src/gcc/tree-vect-slp.c:3311 0x10ce208f vect_slp_bb(basic_block_def*) ../../src/gcc/tree-vect-slp.c:3446 0x10ce79eb try_vectorize_loop_1 ../../src/gcc/tree-vectorizer.c:946 0x10ce83ff vectorize_loops() ../../src/gcc/tree-vectorizer.c:1125 0x10baec9f execute ../../src/gcc/tree-ssa-loop.c:414 Please submit a full bug report, with preprocessed source if appropriate. >From gcc-bugs-return-665792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 16:34:27 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87273 invoked by alias); 16 Jan 2020 16:34:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 87166 invoked by uid 48); 16 Jan 2020 16:34:22 -0000 From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93133] __builtin_isgreater emits trapping compare instruction Date: Thu, 16 Jan 2020 16:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rsandifo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01518.txt.bz2 Content-length: 912 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93133 rsandifo at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org --- Comment #3 from rsandifo at gcc dot gnu.org --- Mine. TBH I'm not really sure why the AArch64 definition of REVERSE_CONDITION is there. We can't use CCFP GT as a form of quiet GT (!UNLT) since it still looks to the target-independent code like a normal signalling GT, even if we ever did code-generate it differently. And there should be no target-specific reasons for turning a CCFPE GT into a CCFPE UNLT. So let's see how much breaks if we just remove the definition. :-) >From gcc-bugs-return-665793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 16:37:49 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91424 invoked by alias); 16 Jan 2020 16:37:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91246 invoked by uid 48); 16 Jan 2020 16:37:44 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93289] array constructor of different length: Missing diagnostic when PARAMETER is in list Date: Thu, 16 Jan 2020 16:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: accepts-invalid, diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01519.txt.bz2 Content-length: 628 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93289 --- Comment #2 from Tobias Burnus --- (In reply to kargl from comment #1) > It appears to be an undocumented extension. Add -Wall to your command line. I would rather call it a bug :-) The truncation warning is a separate thing. For instance, it (correctly) triggers for the following valid code: print *, [character(len=2) :: "ab", "hjf333"] and it does not trigger for the invalid character(len=*), parameter :: str = "123" print *, [str, "ab"] end (Obviously also not for the valid "[character(len=20) :: "ab", str]".) >From gcc-bugs-return-665794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 16:37:51 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91676 invoked by alias); 16 Jan 2020 16:37:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91315 invoked by uid 48); 16 Jan 2020 16:37:46 -0000 From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93133] __builtin_isgreater emits trapping compare instruction Date: Thu, 16 Jan 2020 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: 9.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rsandifo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01520.txt.bz2 Content-length: 373 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93133 --- Comment #4 from rsandifo at gcc dot gnu.org --- (In reply to rsandifo@gcc.gnu.org from comment #3) > Mine. TBH I'm not really sure why the AArch64 definition > of REVERSE_CONDITION is there. We can't use CCFP GT as > a form of quiet GT (!UNLT) [...] Of course I meant !UNLE here. >From gcc-bugs-return-665796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 16:52:41 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112679 invoked by alias); 16 Jan 2020 16:52:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112652 invoked by uid 48); 16 Jan 2020 16:52:36 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/93294] [10 Regression] Addition of -fdiagnostic-urls=never to testsuite flags broke compat.exp testing with ALT_CC_UNDER_TEST=gcc etc. Date: Thu, 16 Jan 2020 16:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 10.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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01522.txt.bz2 Content-length: 543 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93294 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2020-01-16 Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Target Milestone|--- |10.0 Ever confirmed|0 |1 >From gcc-bugs-return-665795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 16:52:29 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112021 invoked by alias); 16 Jan 2020 16:52:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111958 invoked by uid 48); 16 Jan 2020 16:52:24 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/93294] New: [10 Regression] Addition of -fdiagnostic-urls=never to testsuite flags broke compat.exp testing with ALT_CC_UNDER_TEST=gcc etc. Date: Thu, 16 Jan 2020 16:52: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01521.txt.bz2 Content-length: 642 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93294 Bug ID: 93294 Summary: [10 Regression] Addition of -fdiagnostic-urls=never to testsuite flags broke compat.exp testing with ALT_CC_UNDER_TEST=gcc etc. Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- All the compat.exp tests now FAIL if the alt compiler doesn't support this new option. >From gcc-bugs-return-665797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 17:14:50 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55437 invoked by alias); 16 Jan 2020 17:14:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55348 invoked by uid 48); 16 Jan 2020 17:14:44 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93289] array constructor of different length: Missing diagnostic when PARAMETER is in list Date: Thu, 16 Jan 2020 17:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: accepts-invalid, diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01523.txt.bz2 Content-length: 1220 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93289 --- Comment #3 from Tobias Burnus --- Okay, it is indeed a -std=gnu extension. I still regard it as bug that it differs, but we can now think about which one to change. Namely: In the always-error case (i.e. literal first): * gfc_resolve_character_array_constructor … if (expr->ts.u.cl->length == NULL) … else if (found_length != current_length) { gfc_error ("Different CHARACTER lengths (%ld/%ld) in array" " constructor at %L", (long) found_length, In the other case, one has: * gfc_resolve_character_array_constructor … if (expr->ts.u.cl->length == NULL) … else … gfc_set_constant_character_len (found_length, p->expr, has_ts ? -1 : current_length); And in gfc_set_constant_character_len: if (check_len != -1 && slen != check_len && !(gfc_option.allow_std & GFC_STD_GNU)) gfc_error_now ("The CHARACTER elements of the array constructor " "at %L must have the same length (%ld/%ld)", >From gcc-bugs-return-665798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 17:18:56 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62908 invoked by alias); 16 Jan 2020 17:18:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62852 invoked by uid 48); 16 Jan 2020 17:18:51 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92517] [10 Regression] ICE on incorrect syntax involving requires and decltype Date: Thu, 16 Jan 2020 17: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: 10.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01524.txt.bz2 Content-length: 2289 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92517 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2020-01-16 CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Jakub Jelinek --- This happens during tentative parsing, so no errors are reported for decltype not being followed by ( auto ) tokens and we segfault on trying to dereference NULL open_paren to get open_paren->location. The following patch avoids the ICE, on this testcase then reports: --- gcc/cp/parser.c.jj 2020-01-16 12:15:47.211552009 +0100 +++ gcc/cp/parser.c 2020-01-16 17:41:39.322353708 +0100 @@ -18237,10 +18237,15 @@ cp_parser_placeholder_type_specifier (cp placeholder = cp_lexer_consume_token (parser->lexer); open_paren = cp_parser_require (parser, CPP_OPEN_PAREN, RT_OPEN_PAREN); - cp_parser_require_keyword (parser, RID_AUTO, RT_AUTO); + if (!open_paren) + return error_mark_node; + if (!cp_parser_require_keyword (parser, RID_AUTO, RT_AUTO)) + return error_mark_node; close_paren = cp_parser_require (parser, CPP_CLOSE_PAREN, RT_CLOSE_PAREN, open_paren->location); + if (!close_paren) + return error_mark_node; } } pr92517.C:5:10: error: ‘C’ does not name a type 5 | requires C decltype | ^ Is that what we want, or do we want to emit an error even during tentative parsing, or make the whole function deal with NULL open_paren and/or close_paren and let the caller's do something? For open_paren it would be a matter of open_paren ? open_paren->location : UNKNOWN_LOCATION, for close_paren there is a single spot where we could use placeholder->location if close_paren is NULL. >From gcc-bugs-return-665799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 17:23:13 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68841 invoked by alias); 16 Jan 2020 17:23:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68765 invoked by uid 55); 16 Jan 2020 17:23:06 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/64271] Minimal patches to bootstrap on NetBSD Date: Thu, 16 Jan 2020 17:23: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01525.txt.bz2 Content-length: 1647 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64271 --- Comment #15 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:98d56ea8900fdcff8f1987cf2bf499a5b7399857 commit r10-6022-g98d56ea8900fdcff8f1987cf2bf499a5b7399857 Author: Jonathan Wakely Date: Fri Jan 10 16:01:19 2020 +0000 libstdc++: std::ctype fixes for recent versions of NetBSD This removes support for EOL versions of NetBSD and syncs the definitions with patches from NetBSD upstream. The only change here that isn't from upstream is to use _CTYPE_BL for the isblank class, which is correct but wasn't previously done either in FSF GCC or the NetBSD packages. 2020-01-16 Kai-Uwe Eckhardt Matthew Bauer Jonathan Wakely PR bootstrap/64271 (partial) * config/os/bsd/netbsd/ctype_base.h (ctype_base::mask): Change type to unsigned short. (ctype_base::alpha, ctype_base::digit, ctype_base::xdigit) (ctype_base::print, ctype_base::graph, ctype_base::alnum): Sync definitions with NetBSD upstream. (ctype_base::blank): Use _CTYPE_BL. * config/os/bsd/netbsd/ctype_configure_char.cc (_C_ctype_): Remove Declaration. (ctype::classic_table): Use _C_ctype_tab_ instead of _C_ctype_. (ctype::do_toupper, ctype::do_tolower): Cast char parameters to unsigned char. * config/os/bsd/netbsd/ctype_inline.h (ctype::is): Likewise. >From gcc-bugs-return-665800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 17:26:26 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74441 invoked by alias); 16 Jan 2020 17:26:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74338 invoked by uid 48); 16 Jan 2020 17:26:21 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93133] __builtin_isgreater emits trapping compare instruction Date: Thu, 16 Jan 2020 17:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01526.txt.bz2 Content-length: 569 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93133 --- Comment #5 from Segher Boessenkool --- (In reply to Jakub Jelinek from comment #1) > This happens during combine. If whether the comparison raises exception or > not is distinguished on aarch64 with CCFPEmode vs. CCFPmode, then guess the > problem is when that distinction gets ignored (unless in fast-math mode) or > when it goes away completely. combine isn't wrong here. Describing anything else than the result of the comparison with different CCmodes is what is wrong. >From gcc-bugs-return-665801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 17:46:05 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121304 invoked by alias); 16 Jan 2020 17:46:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115932 invoked by uid 55); 16 Jan 2020 17:45:33 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93289] array constructor of different length: Missing diagnostic when PARAMETER is in list Date: Thu, 16 Jan 2020 17: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: unknown X-Bugzilla-Keywords: accepts-invalid, diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01527.txt.bz2 Content-length: 1106 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93289 --- Comment #4 from Steve Kargl --- On Thu, Jan 16, 2020 at 05:14:44PM +0000, burnus at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93289 > > --- Comment #3 from Tobias Burnus --- > Okay, it is indeed a -std=gnu extension. I still regard it as bug that it > differs, but we can now think about which one to change. Namely: IMHO, yes, it is a bug. I have come to believe that anything that is an extension should emit a error/warning. This includes defacto standard things like REAL*4, where a new -fallow-invalid-typespec would accept REAL*4 with a warning and -Winvalid-typespec could be used to suppress the warning. FOr this particular bug, you also need to look in array.c. For example, in gfc_match_array_constructor(), gfortran walks the constructor to check for compatible typespecs of constructor components if a type spec is present (ie., [real(4) :: x, y]). See lines 1292-1332. The is also the function walk_array_constructor(). >From gcc-bugs-return-665803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 18:38:55 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57029 invoked by alias); 16 Jan 2020 18:38:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 56902 invoked by uid 48); 16 Jan 2020 18:38:50 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93280] [10 Regression] ICE: in cp_gimplify_expr, at cp /cp-gimplify.c:933 since g:08f594eb399dab06 Date: Thu, 16 Jan 2020 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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01529.txt.bz2 Content-length: 181 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93280 --- Comment #4 from Jason Merrill --- *** Bug 93285 has been marked as a duplicate of this bug. *** >From gcc-bugs-return-665802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 18:38:55 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56954 invoked by alias); 16 Jan 2020 18:38:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 56881 invoked by uid 48); 16 Jan 2020 18:38:50 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93285] [10 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.c:931 since g:08f594eb399dab06 Date: Thu, 16 Jan 2020 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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01528.txt.bz2 Content-length: 487 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93285 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Jason Merrill --- dup. *** This bug has been marked as a duplicate of bug 93280 *** >From gcc-bugs-return-665804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 18:39:09 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58365 invoked by alias); 16 Jan 2020 18:39:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58211 invoked by uid 48); 16 Jan 2020 18:39:05 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93280] [10 Regression] ICE: in cp_gimplify_expr, at cp /cp-gimplify.c:933 since g:08f594eb399dab06 Date: Thu, 16 Jan 2020 18: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01530.txt.bz2 Content-length: 378 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93280 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org >From gcc-bugs-return-665805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 18:51:22 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66061 invoked by alias); 16 Jan 2020 18:51:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66038 invoked by uid 48); 16 Jan 2020 18:51:17 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/93292] [10 Regression] ICE (segfault) in vectorizable_comparison on powerpc64le-linux-gnu Date: Thu, 16 Jan 2020 18:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.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 attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01531.txt.bz2 Content-length: 512 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93292 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- Created attachment 47661 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47661&action=edit gcc10-pr93292.patch Untested fix. >From gcc-bugs-return-665806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 19:06:17 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108351 invoked by alias); 16 Jan 2020 19:06:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108202 invoked by uid 48); 16 Jan 2020 19:06:09 -0000 From: "dan at stahlke dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/87106] Group move and destruction of the source, where possible, for speed Date: Thu, 16 Jan 2020 19:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dan at stahlke dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01532.txt.bz2 Content-length: 298 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87106 --- Comment #28 from Dan Stahlke --- Thank you. That makes sense. I had asked about it here: https://stackoverflow.com/questions/59690019 I was directed to this thread, and linked back to the SO thread you provided. >From gcc-bugs-return-665807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 19:09:00 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130853 invoked by alias); 16 Jan 2020 19:08:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130452 invoked by uid 48); 16 Jan 2020 19:08:54 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/93278] huge almost empty array takes huge time to compile and produces huge object file Date: Thu, 16 Jan 2020 19: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: 7.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01533.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93278 --- Comment #3 from Jakub Jelinek --- If you mean [ rather than { before HUGE, that doesn't change anything at all. Maybe it is assembler or linker that need a lot of memory or time, but gcc certainly doesn't. >From gcc-bugs-return-665808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 19:38:01 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118175 invoked by alias); 16 Jan 2020 19:38:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118068 invoked by uid 48); 16 Jan 2020 19:37:53 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/87106] Group move and destruction of the source, where possible, for speed Date: Thu, 16 Jan 2020 19:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01534.txt.bz2 Content-length: 525 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87106 --- Comment #29 from Marc Glisse --- Note that __is_bitwise_relocatable is specialized to true for deque, so we are not super consistent here ;-) The original patch used is_trivially_move_constructible, IIRC I changed it to is_trivial so the review wouldn't turn into a lengthy discussion on the subject, but I don't think going back to is_trivially_move_constructible would cause miscompilations (maybe warnings with -Wsystem-headers). >From gcc-bugs-return-665809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 20:27:47 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87011 invoked by alias); 16 Jan 2020 20:27:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86934 invoked by uid 48); 16 Jan 2020 20:27:43 -0000 From: "ensadc at mailnesia dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93295] New: ICE in alias_ctad_tweaks Date: Thu, 16 Jan 2020 20:27: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ensadc at mailnesia dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01535.txt.bz2 Content-length: 1942 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93295 Bug ID: 93295 Summary: ICE in alias_ctad_tweaks Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://wandbox.org/permlink/B02uUhc2QP8OChB9 ==== template struct A { A(int); }; template A(T) -> A; template using B = A; B a(0); ==== prog.cc:10:12: internal compiler error: in alias_ctad_tweaks, at cp/pt.c:28223 10 | B a((int*)0); | ^ 0x5b9faa alias_ctad_tweaks ../../source/gcc/cp/pt.c:28223 0x5b9faa deduction_guides_for ../../source/gcc/cp/pt.c:28395 0x7048b3 do_class_deduction ../../source/gcc/cp/pt.c:28500 0x7048b3 do_auto_deduction(tree_node*, tree_node*, tree_node*, int, auto_deduction_context, tree_node*, int) ../../source/gcc/cp/pt.c:28629 0x6693e6 cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int) ../../source/gcc/cp/decl.c:7463 0x6eb461 cp_parser_init_declarator ../../source/gcc/cp/parser.c:20762 0x6ce805 cp_parser_simple_declaration ../../source/gcc/cp/parser.c:13627 0x6f3962 cp_parser_declaration ../../source/gcc/cp/parser.c:13325 0x6f4084 cp_parser_translation_unit ../../source/gcc/cp/parser.c:4723 0x6f4084 c_parse_file() ../../source/gcc/cp/parser.c:43563 0x7bb56b c_common_parse_file() ../../source/gcc/c-family/c-opts.c:1186 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. ==== The error disappears if `A` is changed to `A`, or if `, class = int` is removed. >From gcc-bugs-return-665810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 20:41:37 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21991 invoked by alias); 16 Jan 2020 20:41:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21955 invoked by uid 48); 16 Jan 2020 20:41:33 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93295] ICE in alias_ctad_tweaks Date: Thu, 16 Jan 2020 20:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01536.txt.bz2 Content-length: 561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93295 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2020-01-16 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed. >From gcc-bugs-return-665811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 20:50:55 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30383 invoked by alias); 16 Jan 2020 20:50:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30344 invoked by uid 48); 16 Jan 2020 20:50:49 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93295] ICE in alias_ctad_tweaks Date: Thu, 16 Jan 2020 20: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01537.txt.bz2 Content-length: 1257 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93295 --- Comment #2 from Marek Polacek --- commit 1a291106384cabc73da0bc0f457b1cd3a4015970 Author: Jason Merrill Date: Wed Nov 27 17:05:53 2019 -0500 Implement P1814R0, CTAD for alias templates. This patch implements C++20 class template argument deduction for alias templates, which works by a moderately arcane transformation of the deduction guides for the underlying class template. When implementing it, it seemed that I could simplify the rules in the draft a bit and get essentially the same effect; I'll be emailing the committee to that effect soon. gcc/cp/ * pt.c (rewrite_tparm_list): Factor out of build_deduction_guide. (maybe_aggr_guide): Check for copy-init here. (alias_ctad_tweaks, deduction_guides_for): New. (ctor_deduction_guides_for): Factor out of do_class_deduction. (ctad_template_p): New. * parser.c (cp_parser_simple_type_specifier): Use it. * constraint.cc (append_constraint): New. gcc/c-family/ * c-cppbuiltin.c (c_cpp_builtins): Update __cpp_deduction_guides. From-SVN: r278786 >From gcc-bugs-return-665812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 21:02:48 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38214 invoked by alias); 16 Jan 2020 21:02:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38148 invoked by uid 48); 16 Jan 2020 21:02:41 -0000 From: "pskocik at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/93239] Enhancement: allow unevaluated statement expressions at filescope Date: Thu, 16 Jan 2020 21:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pskocik at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01538.txt.bz2 Content-length: 1446 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93239 --- Comment #1 from pskocik at gmail dot com --- Fixing this seems as simple as removing/commenting-out: gcc/c/c-parser.c:8195 /* If we've not yet started the current function's statement list, gcc/c/c-parser.c:8196 or we're in the parameter scope of an old-style function gcc/c/c-parser.c:8197 declaration, statement expressions are not allowed. */ gcc/c/c-parser.c:8198 if (!building_stmt_list_p () || old_style_parameter_scope ()) gcc/c/c-parser.c:8199 { gcc/c/c-parser.c:8200 error_at (loc, "braced-group within expression allowed " gcc/c/c-parser.c:8201 "only inside a function"); gcc/c/c-parser.c:8202 parser->error = true; gcc/c/c-parser.c:8203 c_parser_skip_until_found (parser, CPP_CLOSE_BRACE, NULL); gcc/c/c-parser.c:8204 c_parser_skip_until_found (parser, CPP_CLOSE_PAREN, NULL); gcc/c/c-parser.c:8205 expr.set_error (); gcc/c/c-parser.c:8206 break; gcc/c/c-parser.c:8207 } This would be both very useful, and it makes all kind of sense, because other expression constructs (function calls, comma expressions, ...) aren't restricted syntactically either (just semantically), which means they _can_ be inside untaken branches of constant-forming _Generic/__builtin_choose_expr, and I can think of no good reason why statement expressions shouldn't be allowed there too. >From gcc-bugs-return-665813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 21:03:47 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41870 invoked by alias); 16 Jan 2020 21:03:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41322 invoked by uid 48); 16 Jan 2020 21:03:38 -0000 From: "pskocik at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91298] $ at the beginging causing Error: junk `(%rip)' after expression Date: Thu, 16 Jan 2020 21: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: 7.3.0 X-Bugzilla-Keywords: assemble-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: pskocik at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01539.txt.bz2 Content-length: 1551 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91298 pskocik at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pskocik at gmail dot com --- Comment #4 from pskocik at gmail dot com --- Related https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45591 . I've played with it and this simple patch diff --git a/gcc/final.c b/gcc/final.c index fefc4874b24a..ba7425afa667 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -4087,11 +4087,20 @@ output_addr_const (FILE *file, rtx x) case SYMBOL_REF: if (SYMBOL_REF_DECL (x)) assemble_external (SYMBOL_REF_DECL (x)); -#ifdef ASM_OUTPUT_SYMBOL_REF - ASM_OUTPUT_SYMBOL_REF (file, x); -#else - assemble_name (file, XSTR (x, 0)); -#endif + + { + bool dollar_eh = XSTR(x,0)[0] == '$'; + if (dollar_eh) fputc('(',file); + + #ifdef ASM_OUTPUT_SYMBOL_REF + ASM_OUTPUT_SYMBOL_REF (file, x); + #else + assemble_name (file, XSTR (x, 0)); + #endif + + if (dollar_eh) fputc(')',file); + } + break; case LABEL_REF: seems to fix it, at least for x86-64. Basically you need parentheses around names of globals (at least those that start with `$`) when they're used as operands. The parentheses is what clang does. Both clang and tinycc have no problem with this. It would be great if gcc could catch up. >From gcc-bugs-return-665814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 21:20:15 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77727 invoked by alias); 16 Jan 2020 21:20:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77661 invoked by uid 48); 16 Jan 2020 21:20:10 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/93292] [10 Regression] ICE (segfault) in vectorizable_comparison on powerpc64le-linux-gnu since r10-5071 Date: Thu, 16 Jan 2020 21:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on assigned_to target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01540.txt.bz2 Content-length: 1069 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93292 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2020-01-16 Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Target Milestone|--- |10.0 Summary|[10 Regression] ICE |[10 Regression] ICE |(segfault) in |(segfault) in |vectorizable_comparison on |vectorizable_comparison on |powerpc64le-linux-gnu |powerpc64le-linux-gnu since | |r10-5071 Ever confirmed|0 |1 --- Comment #2 from Jakub Jelinek --- Started with r10-5071-g02d895504cc59be06fc3f7ec0cfd4eb160561211. >From gcc-bugs-return-665815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 21:32:12 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91111 invoked by alias); 16 Jan 2020 21:32:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91049 invoked by uid 48); 16 Jan 2020 21:32:07 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/93291] 'FAIL: gcc.dg/analyzer/pattern-test-2.c' for a few configurations Date: Thu, 16 Jan 2020 21:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01541.txt.bz2 Content-length: 1093 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93291 --- Comment #1 from David Malcolm --- Thanks. The test is rather over-specified, it seems. x86_64 gimple for test_2 is: _1 = p_5(D) == 0B; _2 = q_6(D) == 0B; _3 = _1 | _2; if (_3 != 0) goto ; [51.12%] else goto ; [48.88%] powerpc64le gimple for test_2 has: if (p_2(D) == 0B) goto ; [18.09%] else goto ; [81.91%] [local count: 879501929]: if (q_3(D) == 0B) goto ; [30.95%] else goto ; [69.05%] So on x86_64, it's done both comparisons against NULL first, and optimized the || into: _3 = _1 | _2; whereas on powerpc64le it uses control flow to do this. The purpose of this test is to verify that the pattern-matching detects the underlying conditionals in the presence of that "_3 = _1 | _2;" optimization, so maybe a gimple FE test might be appropriate here. I'm not sure where the difference between the targets originates; is there a way to force the usage of bitwise-or here? >From gcc-bugs-return-665816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 21:37:42 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1392 invoked by alias); 16 Jan 2020 21:37:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1324 invoked by uid 48); 16 Jan 2020 21:37:36 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93028] internal compiler error: in write_type, at cp/mangle.c:2073 Date: Thu, 16 Jan 2020 21:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01542.txt.bz2 Content-length: 2289 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93028 --- Comment #7 from Marek Polacek --- Trying to compile test.cpp from Comment 5 again, I did see an ICE: internal compiler error: tree check: expected tree that contains ‘decl minimal’ structure, have ‘tree_list’ in lookup_type_scope_1, at cp/name-lookup.c:6492 0x1829be2 tree_contains_struct_check_failed(tree_node const*, tree_node_structure_enum, char const*, int, char const*) ../../gcc/tree.c:10071 0x83f864 contains_struct_check(tree_node*, tree_node_structure_enum, char const*, int, char const*) ../../gcc/tree.h:3311 0xa02cae lookup_type_scope_1 ../../gcc/cp/name-lookup.c:6492 0xa02fab lookup_type_scope(tree_node*, tag_scope) ../../gcc/cp/name-lookup.c:6535 0x93d757 lookup_and_check_tag ../../gcc/cp/decl.c:13990 0x93deff xref_tag_1 ../../gcc/cp/decl.c:14104 0x93e8a8 xref_tag(tag_types, tree_node*, tag_scope, bool) ../../gcc/cp/decl.c:14226 0xa34cab cp_parser_elaborated_type_specifier ../../gcc/cp/parser.c:18583 0xa328e6 cp_parser_type_specifier ../../gcc/cp/parser.c:17450 0xa2ce49 cp_parser_decl_specifier_seq ../../gcc/cp/parser.c:14120 0xa48668 cp_parser_single_declaration ../../gcc/cp/parser.c:28165 0xa477da cp_parser_template_declaration_after_parameters ../../gcc/cp/parser.c:27846 0xa484fc cp_parser_explicit_template_declaration ../../gcc/cp/parser.c:28094 0xa48556 cp_parser_template_declaration_after_export ../../gcc/cp/parser.c:28113 0xa2f573 cp_parser_template_declaration ../../gcc/cp/parser.c:15594 0xa41183 cp_parser_member_declaration ../../gcc/cp/parser.c:24332 0xa41076 cp_parser_member_specification_opt ../../gcc/cp/parser.c:24259 0xa3efdd cp_parser_class_specifier_1 ../../gcc/cp/parser.c:23400 0xa3fe34 cp_parser_class_specifier ../../gcc/cp/parser.c:23662 0xa32844 cp_parser_type_specifier ../../gcc/cp/parser.c:17424 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. but that got fixed by 41d93b16cac5b348b7883e259f7880b4a0addc23 >From gcc-bugs-return-665817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 21:38:03 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2336 invoked by alias); 16 Jan 2020 21:38:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2211 invoked by uid 48); 16 Jan 2020 21:37:57 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTMyODZdIFsxMCBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUgY2hl?= =?UTF-8?B?Y2s6IGRpZCBub3QgZXhwZWN0IGNsYXNzIOKAmHR5cGXigJksIGhhdmUg4oCY?= =?UTF-8?B?dHlwZeKAmSAocmVmZXJlbmNlX3R5cGUpIGluIGNvbnZlcnRfZnJvbV9yZWZl?= =?UTF-8?B?cmVuY2UsIGF0IGNwL2N2dC5jOjU1MCBzaW5jZSBnOmUwZDkxNzkyZWVjNDkw?= =?UTF-8?B?ZDE=?Date: Thu, 16 Jan 2020 21: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01543.txt.bz2 Content-length: 452 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93286 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |jason at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org >From gcc-bugs-return-665818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 21:50:42 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12497 invoked by alias); 16 Jan 2020 21:50:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12430 invoked by uid 48); 16 Jan 2020 21:50:37 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/93293] 'FAIL: gcc.dg/analyzer/dot-output.c dg-check-dot dot-output.c.state-purge.dot' Date: Thu, 16 Jan 2020 21:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01544.txt.bz2 Content-length: 1137 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93293 --- Comment #1 from David Malcolm --- Thanks for filing this. I was using record-style labels, but switched to HTML-style labels when I upgraded graphviz and my record-style labels stopped working. Based on https://lists.freedesktop.org/archives/wayland-devel/2017-June/034218.html which says: > http://www.graphviz.org/content/i-havent-been-able-render-these-files-graphviz-226 > indicates that the error message basically means that the authors of > graphviz consider record-style labels to be deprecated and are no > longer fixing errors with them. This patch changes the labels to be > in the HTML style, which seems to require duplicating style between all > the nodes, but it's not like these files are often edited. That link is a 404, but archive.org has: https://web.archive.org/web/20170816104830/http://www.graphviz.org:80/content/i-havent-been-able-render-these-files-graphviz-226 So it seems there should probably be a minimum version of graphviz in that DejaGnu test. Works for me with graphviz-2.40.1-46.fc30.x86_64, FWIW. >From gcc-bugs-return-665819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 21:51:40 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13752 invoked by alias); 16 Jan 2020 21:51:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13705 invoked by uid 55); 16 Jan 2020 21:51:34 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/93239] Enhancement: allow unevaluated statement expressions at filescope Date: Thu, 16 Jan 2020 21: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.5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01545.txt.bz2 Content-length: 1386 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93239 --- Comment #2 from joseph at codesourcery dot com --- I'd be concerned about trouble when code processing statements tries to deal with context that doesn't exist outside of functions. Consider a statement expression containing a function definition (does that count as a nested function?), statement expressions containing declarations, possibly with extern, possibly not (how do those interact with file-scope declarations?), statement expressions containing _Atomic operations (see the sort of issues we had in bug 65345, though that was fixed), statement expressions containing __local__ declarations and goto. It would be necessary to go through language features systematically, especially declarations and language features that try to create declarations internally, to ensure they behave sensibly inside statement expressions at file scope - and to test all the same features in old-style parameter declarations to ensure declarations from those features don't get mixed up in the parameter declaration handling. (I concur that unevaluated statement expressions *should* be allowed at file scope, but think such a change would need pretty extensive test coverage of language features that are likely to be risky in such a context.) >From gcc-bugs-return-665820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 21:55:29 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21561 invoked by alias); 16 Jan 2020 21:55:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21538 invoked by uid 48); 16 Jan 2020 21:55:24 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93036] [9/10 Regression] g++.dg/cpp2a/nontype-class27.C testcase accepted in -std=c++17 mode since r276248 Date: Thu, 16 Jan 2020 21: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: 10.0 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: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01546.txt.bz2 Content-length: 475 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93036 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Marek Polacek --- Fixed by g:657fea973b000000350c99de9e67bff0438d1503. >From gcc-bugs-return-665821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 22:22:47 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95004 invoked by alias); 16 Jan 2020 22:22:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94961 invoked by uid 48); 16 Jan 2020 22:22:41 -0000 From: "benjamin at readyatdawn dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93296] New: Compiler error when assigning array to const reference with implicit constructor call. Date: Thu, 16 Jan 2020 22:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: benjamin at readyatdawn dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01547.txt.bz2 Content-length: 9442 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93296 Bug ID: 93296 Summary: Compiler error when assigning array to const reference with implicit constructor call. Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: benjamin at readyatdawn dot com Target Milestone: --- I'm seeing this error running godbolt.org compiler explorer. I don't have gcc installed on my PC so I have not attached a preprocessed file, but the bug is very simple to reproduce. I see the issue with all versions of gcc available on compiler explorer. This is the simplest repro I ended up with: struct Container { Container(int (&)[3]) { } }; int main() { int data[3]; const Container& container = data; return 0; } error: invalid initialization of reference of type 'const Container&' from expression of type 'int*' A few changes avoid the issue, these both work: const Container container = data; // no reference const Container& container { data }; // explicit construction Compiler output with '-v': Using built-in specs. COLLECT_GCC=/opt/compiler-explorer/gcc-9.2.0/bin/g++ Target: x86_64-linux-gnu Configured with: ../gcc-9.2.0/configure --prefix=/opt/compiler-explorer/gcc-build/staging --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --disable-bootstrap --enable-multiarch --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --enable-clocale=gnu --enable-languages=c,c++,fortran,ada,d --enable-ld=yes --enable-gold=yes --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-linker-build-id --enable-lto --enable-plugins --enable-threads=posix --with-pkgversion=Compiler-Explorer-Build Thread model: posix gcc version 9.2.0 (Compiler-Explorer-Build) COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-g' '-o' './output.s' '-masm=intel' '-S' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /opt/compiler-explorer/gcc-9.2.0/bin/../libexec/gcc/x86_64-linux-gnu/9.2.0/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -iprefix /opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/x86_64-linux-gnu/9.2.0/ -D_GNU_SOURCE -quiet -dumpbase example.cpp -masm=intel -mtune=generic -march=x86-64 -auxbase-strip ./output.s -g -version -fdiagnostics-color=always -o ./output.s GNU C++14 (Compiler-Explorer-Build) version 9.2.0 (x86_64-linux-gnu) compiled by GNU C version 7.4.0, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version isl-0.18-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "/opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/x86_64-linux-gnu/9.2.0/../../../../x86_64-linux-gnu/include" ignoring duplicate directory "/opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/../../lib/gcc/x86_64-linux-gnu/9.2.0/../../../../include/c++/9.2.0" ignoring duplicate directory "/opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/../../lib/gcc/x86_64-linux-gnu/9.2.0/../../../../include/c++/9.2.0/x86_64-linux-gnu" ignoring duplicate directory "/opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/../../lib/gcc/x86_64-linux-gnu/9.2.0/../../../../include/c++/9.2.0/backward" ignoring duplicate directory "/opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/../../lib/gcc/x86_64-linux-gnu/9.2.0/include" ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" ignoring duplicate directory "/opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/../../lib/gcc/x86_64-linux-gnu/9.2.0/include-fixed" ignoring nonexistent directory "/opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/../../lib/gcc/x86_64-linux-gnu/9.2.0/../../../../x86_64-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/x86_64-linux-gnu/9.2.0/../../../../include/c++/9.2.0 /opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/x86_64-linux-gnu/9.2.0/../../../../include/c++/9.2.0/x86_64-linux-gnu /opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/x86_64-linux-gnu/9.2.0/../../../../include/c++/9.2.0/backward /opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/x86_64-linux-gnu/9.2.0/include /opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/x86_64-linux-gnu/9.2.0/include-fixed /usr/local/include /opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/../../include /usr/include/x86_64-linux-gnu /usr/include End of search list. GNU C++14 (Compiler-Explorer-Build) version 9.2.0 (x86_64-linux-gnu) compiled by GNU C version 7.4.0, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version isl-0.18-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 35bcd684e0bc8b3378dcc1f162909bba : In function 'int main()': :7:34: error: invalid initialization of reference of type 'const Container&' from expression of type 'int*' 7 | const Container& container = data; | ^~~~ ASM generation compiler returned: 1 Using built-in specs. COLLECT_GCC=/opt/compiler-explorer/gcc-9.2.0/bin/g++ COLLECT_LTO_WRAPPER=/opt/compiler-explorer/gcc-9.2.0/bin/../libexec/gcc/x86_64-linux-gnu/9.2.0/lto-wrapper Target: x86_64-linux-gnu Configured with: ../gcc-9.2.0/configure --prefix=/opt/compiler-explorer/gcc-build/staging --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --disable-bootstrap --enable-multiarch --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --enable-clocale=gnu --enable-languages=c,c++,fortran,ada,d --enable-ld=yes --enable-gold=yes --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-linker-build-id --enable-lto --enable-plugins --enable-threads=posix --with-pkgversion=Compiler-Explorer-Build Thread model: posix gcc version 9.2.0 (Compiler-Explorer-Build) COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-g' '-o' './output.s' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /opt/compiler-explorer/gcc-9.2.0/bin/../libexec/gcc/x86_64-linux-gnu/9.2.0/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -iprefix /opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/x86_64-linux-gnu/9.2.0/ -D_GNU_SOURCE -quiet -dumpbase example.cpp -mtune=generic -march=x86-64 -auxbase example -g -version -fdiagnostics-color=always -o /tmp/cc5PFAVP.s GNU C++14 (Compiler-Explorer-Build) version 9.2.0 (x86_64-linux-gnu) compiled by GNU C version 7.4.0, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version isl-0.18-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "/opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/x86_64-linux-gnu/9.2.0/../../../../x86_64-linux-gnu/include" ignoring duplicate directory "/opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/../../lib/gcc/x86_64-linux-gnu/9.2.0/../../../../include/c++/9.2.0" ignoring duplicate directory "/opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/../../lib/gcc/x86_64-linux-gnu/9.2.0/../../../../include/c++/9.2.0/x86_64-linux-gnu" ignoring duplicate directory "/opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/../../lib/gcc/x86_64-linux-gnu/9.2.0/../../../../include/c++/9.2.0/backward" ignoring duplicate directory "/opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/../../lib/gcc/x86_64-linux-gnu/9.2.0/include" ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" ignoring duplicate directory "/opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/../../lib/gcc/x86_64-linux-gnu/9.2.0/include-fixed" ignoring nonexistent directory "/opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/../../lib/gcc/x86_64-linux-gnu/9.2.0/../../../../x86_64-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/x86_64-linux-gnu/9.2.0/../../../../include/c++/9.2.0 /opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/x86_64-linux-gnu/9.2.0/../../../../include/c++/9.2.0/x86_64-linux-gnu /opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/x86_64-linux-gnu/9.2.0/../../../../include/c++/9.2.0/backward /opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/x86_64-linux-gnu/9.2.0/include /opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/x86_64-linux-gnu/9.2.0/include-fixed /usr/local/include /opt/compiler-explorer/gcc-9.2.0/bin/../lib/gcc/../../include /usr/include/x86_64-linux-gnu /usr/include End of search list. GNU C++14 (Compiler-Explorer-Build) version 9.2.0 (x86_64-linux-gnu) compiled by GNU C version 7.4.0, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version isl-0.18-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 35bcd684e0bc8b3378dcc1f162909bba : In function 'int main()': :7:34: error: invalid initialization of reference of type 'const Container&' from expression of type 'int*' 7 | const Container& container = data; | ^~~~ Execution build compiler returned: 1 >From gcc-bugs-return-665822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 22:41:36 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20322 invoked by alias); 16 Jan 2020 22:41:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7352 invoked by uid 55); 16 Jan 2020 22:41:31 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93280] [10 Regression] ICE: in cp_gimplify_expr, at cp /cp-gimplify.c:933 since g:08f594eb399dab06 Date: Thu, 16 Jan 2020 22:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01548.txt.bz2 Content-length: 1536 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93280 --- Comment #5 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:801f5b96775288e55193a66a746caab1ddd56f4a commit r10-6024-g801f5b96775288e55193a66a746caab1ddd56f4a Author: Jason Merrill Date: Thu Jan 16 10:46:40 2020 -0500 PR c++/93280 - ICE with aggregate assignment and DMI. I recently added an assert to cp-gimplify to catch any TARGET_EXPR_DIRECT_INIT_P being expanded without a target object, and this testcase found one. We started out with a TARGET_EXPR around the CONSTRUCTOR, which would normally mean that the member initializer would be used to directly initialize the appropriate member of whatever object the TARGET_EXPR ends up initializing. But then gimplify_modify_expr_rhs stripped the TARGET_EXPR in order to assign directly from the elements of the CONSTRUCTOR, leaving no object for the TARGET_EXPR_DIRECT_INIT_P to initialize. I considered setting CONSTRUCTOR_PLACEHOLDER_BOUNDARY in that case, which implies TARGET_EXPR_NO_ELIDE, but decided that there's no particular reason the A initializer needs to initialize a member of a B rather than a distinct A object, so let's only set TARGET_EXPR_DIRECT_INIT_P when we're using the DMI in a constructor. * init.c (get_nsdmi): Set TARGET_EXPR_DIRECT_INIT_P here. * typeck2.c (digest_nsdmi_init): Not here. >From gcc-bugs-return-665823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 22:41:59 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76594 invoked by alias); 16 Jan 2020 22:41:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65717 invoked by uid 48); 16 Jan 2020 22:41:55 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93280] [10 Regression] ICE: in cp_gimplify_expr, at cp /cp-gimplify.c:933 since g:08f594eb399dab06 Date: Thu, 16 Jan 2020 22:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01549.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93280 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Jason Merrill --- Fixed. >From gcc-bugs-return-665824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 23:38:27 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57764 invoked by alias); 16 Jan 2020 23:38:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57684 invoked by uid 48); 16 Jan 2020 23:38:21 -0000 From: "rogero at howzatt dot demon.co.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/89358] [8 Regression] Combining -std=c++14 and -std=c++17 objects gives ODR warnings Date: Thu, 16 Jan 2020 23: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: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rogero at howzatt dot demon.co.uk X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01550.txt.bz2 Content-length: 169 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358 --- Comment #23 from Roger Orr --- That's good to hear -- thank you very much! >From gcc-bugs-return-665825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 23:43:56 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64163 invoked by alias); 16 Jan 2020 23:43:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63432 invoked by uid 55); 16 Jan 2020 23:43:50 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92833] ice for broken C code Date: Thu, 16 Jan 2020 23: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: 10.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: keremkat+gcc at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01551.txt.bz2 Content-length: 875 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92833 --- Comment #7 from CVS Commits --- The master branch has been updated by Joseph Myers : https://gcc.gnu.org/g:852f0ae80555238c425e33f98df5c7077694bd9f commit r10-6026-g852f0ae80555238c425e33f98df5c7077694bd9f Author: Kerem Kat Date: Thu Jan 16 23:42:11 2020 +0000 Fix ICE caused by swallowing a token in c_parser_consume_token This patch fixes ICE on invalid code, specifically files that have conflict-marker-like signs before EOF. PR c/92833 gcc/c/ * c-parser.c (c_parser_consume_token): Fix peeked token stack pop to support 4 available tokens. gcc/testsuite/ * c-c++-common/pr92833-1.c, c-c++-common/pr92833-2.c, c-c++-common/pr92833-3.c, c-c++-common/pr92833-4.c: New tests. >From gcc-bugs-return-665826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 16 23:44:25 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65197 invoked by alias); 16 Jan 2020 23:44:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65128 invoked by uid 48); 16 Jan 2020 23:44:21 -0000 From: "jsm28 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92833] ice for broken C code Date: Thu, 16 Jan 2020 23: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: 10.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: keremkat+gcc at gmail dot com X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01552.txt.bz2 Content-length: 497 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92833 Joseph S. Myers changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |10.0 --- Comment #8 from Joseph S. Myers --- Fix committed, thanks. >From gcc-bugs-return-665827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 00:16:17 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12692 invoked by alias); 17 Jan 2020 00:16:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12530 invoked by uid 48); 17 Jan 2020 00:16:01 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/93291] 'FAIL: gcc.dg/analyzer/pattern-test-2.c' for a few configurations Date: Fri, 17 Jan 2020 00:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01553.txt.bz2 Content-length: 415 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93291 --- Comment #2 from Andrew Pinski --- (In reply to David Malcolm from comment #1) > I'm not sure where the difference between the targets originates; is there a > way to force the usage of bitwise-or here? Try to write it this way: bool tmp1 = p == 0B; bool tmp2 = q == 0B bool tmp = tmp1 | tmp2; if (tmp) .... >From gcc-bugs-return-665828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 01:02:40 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15012 invoked by alias); 17 Jan 2020 01:02:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14824 invoked by uid 48); 17 Jan 2020 01:02:35 -0000 From: "euloanty at live dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93297] New: internal compiler error: in set_constraints, at cp/constraint.cc: Date: Fri, 17 Jan 2020 01:02: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: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-invalid-code, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: euloanty at live dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01554.txt.bz2 Content-length: 3535 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93297 Bug ID: 93297 Summary: internal compiler error: in set_constraints, at cp/constraint.cc: Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-checking, ice-on-invalid-code, ice-on-valid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: euloanty at live dot com Target Milestone: --- sha1.cc: In function ‘int main()’: sha1.cc:7:90: internal compiler error: in set_constraints, at cp/constraint.cc:1176 7 | fast_io::osha s(std::piecewise_construct,std::forward_as_tuple(),std::forward_as_tuple()); | ^ 0x658b55 set_constraints(tree_node*, tree_node*) ../../gcc/gcc/cp/constraint.cc:1176 0xa23457 alias_ctad_tweaks ../../gcc/gcc/cp/pt.c:28284 0xa23457 deduction_guides_for ../../gcc/gcc/cp/pt.c:28395 0xa2377b do_class_deduction ../../gcc/gcc/cp/pt.c:28500 0xa2377b do_auto_deduction(tree_node*, tree_node*, tree_node*, int, auto_deduction_context, tree_node*, int) ../../gcc/gcc/cp/pt.c:28629 0x9584ec cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int) ../../gcc/gcc/cp/decl.c:7463 0x9fe844 cp_parser_init_declarator ../../gcc/gcc/cp/parser.c:20768 0x9e07c2 cp_parser_simple_declaration ../../gcc/gcc/cp/parser.c:13629 0x9e251a cp_parser_declaration_statement ../../gcc/gcc/cp/parser.c:13061 0x9e30b7 cp_parser_statement ../../gcc/gcc/cp/parser.c:11383 0x9e4098 cp_parser_statement_seq_opt ../../gcc/gcc/cp/parser.c:11745 0x9e4178 cp_parser_compound_statement ../../gcc/gcc/cp/parser.c:11699 0x9fab65 cp_parser_function_body ../../gcc/gcc/cp/parser.c:22907 0x9fab65 cp_parser_ctor_initializer_opt_and_function_body ../../gcc/gcc/cp/parser.c:22958 0x9fde3d cp_parser_function_definition_after_declarator ../../gcc/gcc/cp/parser.c:28745 0x9fee46 cp_parser_function_definition_from_specifiers_and_declarator ../../gcc/gcc/cp/parser.c:28661 0x9fee46 cp_parser_init_declarator ../../gcc/gcc/cp/parser.c:20536 0x9e07c2 cp_parser_simple_declaration ../../gcc/gcc/cp/parser.c:13629 0xa091a2 cp_parser_declaration ../../gcc/gcc/cp/parser.c:13328 0xa0991a cp_parser_translation_unit ../../gcc/gcc/cp/parser.c:4723 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. on windows MinGW-w64 sha1.cc: In function 'int main()': sha1.cc:7:90: internal compiler error: in set_constraints, at cp/constraint.cc:1177 7 | fast_io::osha s(std::piecewise_construct,std::forward_as_tuple(),std::forward_as_tuple()); | ^ libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >From gcc-bugs-return-665829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 01:03:49 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19190 invoked by alias); 17 Jan 2020 01:03:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19152 invoked by uid 48); 17 Jan 2020 01:03:44 -0000 From: "euloanty at live dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93297] internal compiler error: in set_constraints, at cp/constraint.cc: Date: Fri, 17 Jan 2020 01: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: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-invalid-code, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: euloanty at live dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01555.txt.bz2 Content-length: 485 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93297 fdlbxtqi changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |euloanty at live dot com --- Comment #1 from fdlbxtqi --- Created attachment 47662 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47662&action=edit preprocessed file >From gcc-bugs-return-665830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 03:07:25 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10653 invoked by alias); 17 Jan 2020 03:07:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10622 invoked by uid 48); 17 Jan 2020 03:07:20 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93119] [ICE] The traditional TLS support of aarch64-ilp32 target may be not perfect while enable fPIC Date: Fri, 17 Jan 2020 03: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code 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: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01556.txt.bz2 Content-length: 573 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93119 --- Comment #5 from Andrew Pinski --- Created attachment 47663 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47663&action=edit Patch which fixes the problem So we need to accept P modes and not PTR modes for the aarch64_valid_symref. And then we need to also change the mode of the result to be always Pmode (DImode). And then we need to take the lower part of the result. Oh also instead of checking if we are targetting ILP32, we need to check the type of imm and such. >From gcc-bugs-return-665831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 03:08:46 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11766 invoked by alias); 17 Jan 2020 03:08:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11731 invoked by uid 48); 17 Jan 2020 03:08:41 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93119] [ICE] The traditional TLS support of aarch64-ilp32 target may be not perfect while enable fPIC Date: Fri, 17 Jan 2020 03: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code 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: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01557.txt.bz2 Content-length: 672 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93119 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > Created attachment 47663 [details] > Patch which fixes the problem > > So we need to accept P modes and not PTR modes for the aarch64_valid_symref. > And then we need to also change the mode of the result to be always Pmode > (DImode). > And then we need to take the lower part of the result. > > Oh also instead of checking if we are targetting ILP32, we need to check the > type of imm and such. I will submit this patch after a build/test but I made sure both testcases don't fail any more. >From gcc-bugs-return-665832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 03:25:35 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64060 invoked by alias); 17 Jan 2020 03:25:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63975 invoked by uid 55); 17 Jan 2020 03:25:29 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTMyODZdIFsxMCBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUgY2hl?= =?UTF-8?B?Y2s6IGRpZCBub3QgZXhwZWN0IGNsYXNzIOKAmHR5cGXigJksIGhhdmUg4oCY?= =?UTF-8?B?dHlwZeKAmSAocmVmZXJlbmNlX3R5cGUpIGluIGNvbnZlcnRfZnJvbV9yZWZl?= =?UTF-8?B?cmVuY2UsIGF0IGNwL2N2dC5jOjU1MCBzaW5jZSBnOmUwZDkxNzkyZWVjNDkw?= =?UTF-8?B?ZDE=?Date: Fri, 17 Jan 2020 03: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01558.txt.bz2 Content-length: 906 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93286 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:5194b51ed9714808d88827531e91474895b6c706 commit r10-6029-g5194b51ed9714808d88827531e91474895b6c706 Author: Jason Merrill Date: Thu Jan 16 16:55:39 2020 -0500 PR c++/93286 - ICE with __is_constructible and variadic template. Here we had been recursing in tsubst_copy_and_build if type2 was a TREE_LIST because that function knew how to deal with pack expansions, and tsubst didn't. But tsubst_copy_and_build expects to be dealing with expressions, so we crash when trying to convert_from_reference a type. * pt.c (tsubst) [TREE_LIST]: Handle pack expansion. (tsubst_copy_and_build) [TRAIT_EXPR]: Always use tsubst for type2. >From gcc-bugs-return-665833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 03:41:43 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96943 invoked by alias); 17 Jan 2020 03:41:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96854 invoked by uid 48); 17 Jan 2020 03:41:37 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTMyODZdIFsxMCBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUgY2hl?= =?UTF-8?B?Y2s6IGRpZCBub3QgZXhwZWN0IGNsYXNzIOKAmHR5cGXigJksIGhhdmUg4oCY?= =?UTF-8?B?dHlwZeKAmSAocmVmZXJlbmNlX3R5cGUpIGluIGNvbnZlcnRfZnJvbV9yZWZl?= =?UTF-8?B?cmVuY2UsIGF0IGNwL2N2dC5jOjU1MCBzaW5jZSBnOmUwZDkxNzkyZWVjNDkw?= =?UTF-8?B?ZDE=?Date: Fri, 17 Jan 2020 03: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01559.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93286 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Jason Merrill --- Fixed. >From gcc-bugs-return-665834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 04:49:52 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51776 invoked by alias); 17 Jan 2020 04:49:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51749 invoked by uid 48); 17 Jan 2020 04:49:47 -0000 From: "msl0000023508 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/93298] New: GCC 10.0 non-current union member access Date: Fri, 17 Jan 2020 04:49: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msl0000023508 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01560.txt.bz2 Content-length: 2359 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93298 Bug ID: 93298 Summary: GCC 10.0 non-current union member access Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: msl0000023508 at gmail dot com Target Milestone: --- I'm not sure whether this test program is valid, but here it is: $ cat test-case.c extern int printf(const char *, ...); union { unsigned int m1; unsigned short int m2; } a; unsigned int *const b = &a.m1; unsigned short *c = &a.m2; int main() { int i; for(i = 0; i < 5; i++) { *b = 0; (*c)++; } printf("%u\n", a.m1); printf("%hu\n", a.m2); return 0; } $ gcc-10-20200110 -v Using built-in specs. COLLECT_GCC=gcc-10-20200110 COLLECT_LTO_WRAPPER=/opt/gcc-10-20200110/bin/../lib/gcc/x86_64-unknown-freebsd11/10.0.0/lto-wrapper Target: x86_64-unknown-freebsd11 Configured with: ../gcc-10-20200110/configure --build=x86_64-unknown-freebsd11 --prefix=/usr/local --sysconfdir=/etc --localstatedir=/var --libexecdir='/usr/local/lib' --enable-version-specific-runtime-libs --disable-rpath --with-system-zlib --enable-languages=c,c++,objc,obj-c++,fortran,lto --enable-plugin --enable-initfini-array --enable-gnu-indirect-function --program-suffix=-10-20200110 Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.0.0 20200110 (experimental) (GCC) $ gcc-10-20200110 -Wall -Wextra -O2 test-case.c $ ./a.out 0 5 $ gcc-10-20200110 -Wall -Wextra -O1 test-case.c $ ./a.out 1 1 I has been read C90 and C99 for information of reading non-current member in an union; it seems the value would be 'unspecified' by the C99. While C90 says: > if a member of a union object is accessed after a value has been stored in a different member of the object, the behavior is implementation-defined. I tried to use C90 mode to compile the program, but got same result: $ gcc-10-20200110 -Wall -Wextra -std=c90 -O2 test-case.c $ ./a.out 0 5 $ gcc-10-20200110 -Wall -Wextra -std=c90 -O1 test-case.c $ ./a.out 1 1 $ gcc-10-20200110 -Wall -Wextra -std=c90 -Os test-case.c $ ./a.out 0 5 >From gcc-bugs-return-665835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 05:04:26 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68984 invoked by alias); 17 Jan 2020 05:04:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68878 invoked by uid 48); 17 Jan 2020 05:04:21 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/93298] GCC 10.0 non-current union member access Date: Fri, 17 Jan 2020 05: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01561.txt.bz2 Content-length: 637 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93298 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Andrew Pinski --- >I'm not sure whether this test program is valid You are not accessing via the union but rather via a short or an int. BUT it is a dup of bug 57359. *** This bug has been marked as a duplicate of bug 57359 *** >From gcc-bugs-return-665836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 05:04:28 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69169 invoked by alias); 17 Jan 2020 05:04:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68941 invoked by uid 48); 17 Jan 2020 05:04:23 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/57359] store motion causes wrong code for union access at -O3 Date: Fri, 17 Jan 2020 05:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01562.txt.bz2 Content-length: 452 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msl0000023508 at gmail dot com --- Comment #18 from Andrew Pinski --- *** Bug 93298 has been marked as a duplicate of this bug. *** >From gcc-bugs-return-665837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 05:08:55 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76625 invoked by alias); 17 Jan 2020 05:08:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76559 invoked by uid 48); 17 Jan 2020 05:08:50 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/57359] store motion causes wrong code for union access at -O3 Date: Fri, 17 Jan 2020 05:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01563.txt.bz2 Content-length: 756 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 --- Comment #19 from Andrew Pinski --- (In reply to Richard Biener from comment #14) > Testcase from PR81028 > > extern void abort(); > > typedef int A; > typedef float B; > > void __attribute__((noinline,noclone)) > foo(A *p, B *q, long unk) > { > for (long i = 0; i < unk; ++i) { > *p = 1; > q[i] = 42; > } > } > I don't see how the above function cannot be optimized to what we currently optimize it to? The C/C++ aliasing rules say p and q cannot be a related pointer at all. In the inplacement new case, there is another issue going on. Locals and changing types was a defect report against C++ (or at least I thought I saw one). >From gcc-bugs-return-665838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 06:44:46 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125101 invoked by alias); 17 Jan 2020 06:44:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125050 invoked by uid 48); 17 Jan 2020 06:44:37 -0000 From: "wwwhhhyyy333 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92980] [miss optimization]redundant load missed by fre. Date: Fri, 17 Jan 2020 06: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: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: wwwhhhyyy333 at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01564.txt.bz2 Content-length: 1368 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92980 --- Comment #11 from Hongyu Wang --- (In reply to rguenther@suse.de from comment #10) > > It has two exits which makes it difficult > Or impossible to make it truly do-while. > But it's close enough and further rotating the loop doesn't make it better. Thanks for the explanation. But the original loop without eliminating the parser code is: [local count: 114863532]: goto ; [100.00%] [local count: 1014686025]: i.0_1 = (unsigned int) i_10; _2 = i.0_1 * 4; _3 = a_13(D) + _2; _4 = *_3; _5 = i.0_1 + 1; _6 = _5 * 4; _7 = a_13(D) + _6; _8 = *_7; if (_4 > _8) goto ; [5.50%] else goto ; [94.50%] [local count: 958878293]: i_15 = i_10 + 1; [local count: 1073741824]: # i_10 = PHI <0(2), i_15(4)> _9 = n_12(D) + -1; if (_9 > i_10) goto ; [94.50%] else goto ; [5.50%] [local count: 114863532]: # _11 = PHI <0(3), 1(5)> return _11; This is considered as not a do-while loop since the latch (bb 4) is not empty, and it is successfully rotated. I don't think there is much difference except i_15 = i_10 + 1 which can be optimized by fre after the parser change. So I wonder if the original one is rotated, why the one with empty latch can't. >From gcc-bugs-return-665839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 07:09:02 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40052 invoked by alias); 17 Jan 2020 07:09:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39978 invoked by uid 55); 17 Jan 2020 07:08:58 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/57359] store motion causes wrong code for union access at -O3 Date: Fri, 17 Jan 2020 07: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: 4.9.0 X-Bugzilla-Keywords: alias, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01565.txt.bz2 Content-length: 1348 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 --- Comment #20 from rguenther at suse dot de --- On Fri, 17 Jan 2020, pinskia at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 > > --- Comment #19 from Andrew Pinski --- > (In reply to Richard Biener from comment #14) > > Testcase from PR81028 > > > > extern void abort(); > > > > typedef int A; > > typedef float B; > > > > void __attribute__((noinline,noclone)) > > foo(A *p, B *q, long unk) > > { > > for (long i = 0; i < unk; ++i) { > > *p = 1; > > q[i] = 42; > > } > > } > > > > I don't see how the above function cannot be optimized to what we currently > optimize it to? The C/C++ aliasing rules say p and q cannot be a related > pointer at all. > > In the inplacement new case, there is another issue going on. Locals and > changing types was a defect report against C++ (or at least I thought I saw > one). This is about "placement new" or rather the middle-end memory model. You can also simply make p/q point to different union members of the same union where then the above is still valid with unk == 0 but we mess it up, re-ordering the stores (basically we say the stores don't conflict which is not correct for WAW or WAR dependences) >From gcc-bugs-return-665840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 07:23:24 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91999 invoked by alias); 17 Jan 2020 07:23:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91962 invoked by uid 48); 17 Jan 2020 07:23:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92980] [miss optimization]redundant load missed by fre. Date: Fri, 17 Jan 2020 07: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: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01566.txt.bz2 Content-length: 1096 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92980 --- Comment #12 from Richard Biener --- Ah, sorry I failed to see the entry from BB2 isn't fallthru. I agree the difference is spurious in this particular case but in general it's quite hard to do better without excessively rotating most multi-exit loops. Note in the end you also have to satisfy should_duplicate_loop_header_p for each block to duplicate. So what is suprious here is that we do not consider do { } while (i++ < n); to be a do-while loop but we do for do { } while (++i < n); due to the IV update in the latch. IMHO technically that's correct. The loop in question does not look like a do-while loop to us because the loop header doesn't contain "most" of the loop body. But CFG wise it perfectly satisfies the predicate. I think the new FAILs are somewhat spurious and one would need to investigate on a case-by-case basis whether they really are a regression. Often they are testcases for specific input IL (which you changed) rather than a specific C testcase. >From gcc-bugs-return-665841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 07:25:09 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94085 invoked by alias); 17 Jan 2020 07:25:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93283 invoked by uid 48); 17 Jan 2020 07:24:53 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93119] [ICE] The traditional TLS support of aarch64-ilp32 target may be not perfect while enable fPIC Date: Fri, 17 Jan 2020 07: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code 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: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01567.txt.bz2 Content-length: 499 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93119 --- Comment #7 from Andrew Pinski --- So looking further, my patch is incorrect. The glibc sources for __tls_get_addr says it returns void* which is a 32bit value which might or might not be zero extended. So I need to fix this slightly different from what I did. >These are supposed to be machine addresses, not C pointers. Yes and no but see above, even my attached patch is wrong. I am rewriting this again. >From gcc-bugs-return-665842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 07:36:27 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101895 invoked by alias); 17 Jan 2020 07:36:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101867 invoked by uid 48); 17 Jan 2020 07:36:20 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/93278] huge almost empty array takes huge time to compile and produces huge object file Date: Fri, 17 Jan 2020 07: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.4.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: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01568.txt.bz2 Content-length: 579 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93278 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2020-01-17 Ever confirmed|0 |1 --- Comment #4 from Richard Biener --- Please provide the compiler command-line you are using, append -v and provide the generated output. >From gcc-bugs-return-665843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 07:37:47 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102913 invoked by alias); 17 Jan 2020 07:37:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102860 invoked by uid 48); 17 Jan 2020 07:37:43 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93279] [9/10 Regression] C++ Template substitution ICE Date: Fri, 17 Jan 2020 07:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority cf_known_to_work version target_milestone short_desc cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01569.txt.bz2 Content-length: 662 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93279 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Known to work| |8.3.0 Version|unknown |9.2.0 Target Milestone|--- |9.3 Summary|[9 Regression] C++ Template |[9/10 Regression] C++ |substitution ICE |Template substitution ICE Known to fail| |10.0, 9.2.0 >From gcc-bugs-return-665844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 07:39:35 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104076 invoked by alias); 17 Jan 2020 07:39:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 104034 invoked by uid 48); 17 Jan 2020 07:39:31 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/93294] [10 Regression] Addition of -fdiagnostic-urls=never to testsuite flags broke compat.exp testing with ALT_CC_UNDER_TEST=gcc etc. Date: Fri, 17 Jan 2020 07:39: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01570.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93294 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 07:43:59 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129930 invoked by alias); 17 Jan 2020 07:43:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129889 invoked by uid 48); 17 Jan 2020 07:43:52 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/93298] GCC 10.0 non-current union member access Date: Fri, 17 Jan 2020 07:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 10.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: resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01571.txt.bz2 Content-length: 655 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93298 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|DUPLICATE |INVALID --- Comment #2 from Richard Biener --- I'd say it's not a dup but INVALID since you are reading the non-active union member a.m1 after the loop which ends in activating a.m2. GCCs type punning via union doesn't apply because you use pointer accesses as Andrew says. He also points to a related (and valid) bugreport though. >From gcc-bugs-return-665846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 08:18:09 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41186 invoked by alias); 17 Jan 2020 08:18:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41134 invoked by uid 48); 17 Jan 2020 08:18:04 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93119] [ICE] The traditional TLS support of aarch64-ilp32 target may be not perfect while enable fPIC Date: Fri, 17 Jan 2020 08: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code 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: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01572.txt.bz2 Content-length: 676 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93119 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #47663|0 |1 is obsolete| | --- Comment #8 from Andrew Pinski --- Created attachment 47664 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47664&action=edit New patch New patch which does what I describe. I am sill need to test it. It corrects the issue I mentioned about zero_extending the result of the function call. >From gcc-bugs-return-665847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 08:31:19 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85893 invoked by alias); 17 Jan 2020 08:31:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85343 invoked by uid 48); 17 Jan 2020 08:31:14 -0000 From: "doko at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93299] New: [9/10 Regression] ICE in tsubst_copy, at cp/pt.c:15779 Date: Fri, 17 Jan 2020 08:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko at debian dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01573.txt.bz2 Content-length: 1128 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93299 Bug ID: 93299 Summary: [9/10 Regression] ICE in tsubst_copy, at cp/pt.c:15779 Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- [forwarded from https://bugs.debian.org/949024] seen with gcc-9 branch 20200110 and trunk: $ cat foo.ii template struct a { enum { b }; }; class c; template class __attribute__((aligned((a::b)))) d {}; class : d<0> { $ g++ -c -std=gnu++14 foo.ii foo.ii: In instantiation of 'class d<0>': foo.ii:6:9: required from here foo.ii:5:58: internal compiler error: in tsubst_copy, at cp/pt.c:15779 5 | template class __attribute__((aligned((a::b)))) d {}; | ^ 0x7f3dbc75bbba __libc_start_main ../csu/libc-start.c:308 Please submit a full bug report, with preprocessed source if appropriate. >From gcc-bugs-return-665848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 08:34:48 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121613 invoked by alias); 17 Jan 2020 08:34:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121529 invoked by uid 55); 17 Jan 2020 08:34:43 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/93294] [10 Regression] Addition of -fdiagnostic-urls=never to testsuite flags broke compat.exp testing with ALT_CC_UNDER_TEST=gcc etc. Date: Fri, 17 Jan 2020 08:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01574.txt.bz2 Content-length: 722 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93294 --- Comment #1 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:40111910b0aa897b3e4c8d60c0c263e5c1a50446 commit r10-6032-g40111910b0aa897b3e4c8d60c0c263e5c1a50446 Author: Jakub Jelinek Date: Fri Jan 17 09:30:17 2020 +0100 testsuite: Unbreak compat.exp testing with alt compiler PR93294 2020-01-17 Jakub Jelinek PR testsuite/93294 * lib/c-compat.exp (compat-use-alt-compiler): Handle -fdiagnostics-urls=never similarly to -fdiagnostics-color=never. (compat_setup_dfp): Likewise. >From gcc-bugs-return-665849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 08:39:58 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126695 invoked by alias); 17 Jan 2020 08:39:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126654 invoked by uid 48); 17 Jan 2020 08:39:53 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93300] New: ICE in convert_mode_scalar, at expr.c:325 Date: Fri, 17 Jan 2020 08:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 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 target_milestone cf_gcchost cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01575.txt.bz2 Content-length: 3098 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93300 Bug ID: 93300 Summary: ICE in convert_mode_scalar, at expr.c:325 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux-gnu Target: arm-linux-gnueabi I see the following ICE: $ arm-linux-gnueabi-gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/torture/floatn-convert.c -mfp16-format=ieee during RTL pass: expand /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/torture/floatn-convert.c: In function ‘main’: /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/torture/floatn-convert.c:94:1: internal compiler error: in convert_mode_scalar, at expr.c:325 94 | main (void) | ^~~~ 0x59db33 convert_mode_scalar /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/expr.c:325 0x59db33 convert_move(rtx_def*, rtx_def*, int) /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/expr.c:297 0x7d0fb0 convert_modes(machine_mode, machine_mode, rtx_def*, int) /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/expr.c:737 0x9cb221 prepare_float_lib_cmp /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/optabs.c:4227 0x9cb221 prepare_cmp_insn /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/optabs.c:4022 0x9cbabe emit_cmp_and_jump_insns(rtx_def*, rtx_def*, rtx_code, rtx_def*, machine_mode, int, rtx_def*, profile_probability) /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/optabs.c:4176 0x7438d1 do_compare_rtx_and_jump(rtx_def*, rtx_def*, rtx_code, int, machine_mode, rtx_def*, rtx_code_label*, rtx_code_label*, profile_probability) /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/dojump.c:1169 0x744b81 do_compare_and_jump /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/dojump.c:1243 0x745ab6 do_jump_1 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/dojump.c:219 0x6e4a3e expand_gimple_cond /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/cfgexpand.c:2517 0x6e4a3e expand_gimple_basic_block /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/cfgexpand.c:5739 0x6e5c96 execute /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/cfgexpand.c:6539 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >From gcc-bugs-return-665850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 08:41:45 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 611 invoked by alias); 17 Jan 2020 08:41:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130751 invoked by uid 55); 17 Jan 2020 08:41:38 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/93292] [10 Regression] ICE (segfault) in vectorizable_comparison on powerpc64le-linux-gnu since r10-5071 Date: Fri, 17 Jan 2020 08:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01576.txt.bz2 Content-length: 992 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93292 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:dc9ba9d045d0cfc06207806fd64b06ab3304b196 commit r10-6033-gdc9ba9d045d0cfc06207806fd64b06ab3304b196 Author: Jakub Jelinek Date: Fri Jan 17 09:39:45 2020 +0100 vect: Fix ICE in vectorizable_comparison PR93292 The following testcase ICEs on powerpc64le-linux. The problem is that get_vectype_for_scalar_type returns NULL, and while most places in tree-vect-stmts.c handle that case, this spot doesn't and punts only if it is non-NULL, but with different number of elts than expected. 2020-01-17 Jakub Jelinek PR tree-optimization/93292 * tree-vect-stmts.c (vectorizable_comparison): Punt also if get_vectype_for_scalar_type returns NULL. * g++.dg/opt/pr93292.C: New test. >From gcc-bugs-return-665852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 08:42:43 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2622 invoked by alias); 17 Jan 2020 08:42:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2531 invoked by uid 48); 17 Jan 2020 08:42:38 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/93292] [10 Regression] ICE (segfault) in vectorizable_comparison on powerpc64le-linux-gnu since r10-5071 Date: Fri, 17 Jan 2020 08: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01578.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93292 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Jakub Jelinek --- Fixed. >From gcc-bugs-return-665851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 08:42:18 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1683 invoked by alias); 17 Jan 2020 08:42:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1634 invoked by uid 48); 17 Jan 2020 08:42:13 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/93294] [10 Regression] Addition of -fdiagnostic-urls=never to testsuite flags broke compat.exp testing with ALT_CC_UNDER_TEST=gcc etc. Date: Fri, 17 Jan 2020 08: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: 10.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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01577.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93294 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Jakub Jelinek --- Fixed. >From gcc-bugs-return-665853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 08:44:31 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5789 invoked by alias); 17 Jan 2020 08:44:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5707 invoked by uid 48); 17 Jan 2020 08:44:26 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93299] [9/10 Regression] ICE in tsubst_copy, at cp/pt.c:15779 Date: Fri, 17 Jan 2020 08:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.1 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01579.txt.bz2 Content-length: 663 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93299 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2020-01-17 CC| |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Liška --- Thanks for report. But is it a valid code snippet? Is there a release of clang or GCC that accepts that? >From gcc-bugs-return-665854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 08:47:23 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7974 invoked by alias); 17 Jan 2020 08:47:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7939 invoked by uid 48); 17 Jan 2020 08:47:18 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93297] internal compiler error: in set_constraints, at cp/constraint.cc: Date: Fri, 17 Jan 2020 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: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-invalid-code, ice-on-valid-code 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01580.txt.bz2 Content-length: 674 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93297 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2020-01-17 CC| |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Martin Liška --- Thanks for the report. Can you please send us the command line used for the compilation? Ideally output of -v option. >From gcc-bugs-return-665855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 08:47:29 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8548 invoked by alias); 17 Jan 2020 08:47:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7976 invoked by uid 48); 17 Jan 2020 08:47:23 -0000 From: "ch3root at openwall dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/93301] New: Wrong optimization: instability of uninitialized variables leads to nonsense Date: Fri, 17 Jan 2020 08:47: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ch3root at openwall dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01581.txt.bz2 Content-length: 2129 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93301 Bug ID: 93301 Summary: Wrong optimization: instability of uninitialized variables leads to nonsense Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ch3root at openwall dot com Target Milestone: --- Instability is inconsistency, which leads to logical contradictions, which leads to total chaos. Similar to bug 61502, comment 42, but with uninitialized variables: ---------------------------------------------------------------------- #include __attribute__((noipa)) // imagine it in a separate TU static void *opaque(void *p) { return p; } int main() { int c = 1; opaque(&c); unsigned char x = 0; opaque(&x); unsigned char y; // no trap representation possible (void)&y; // disarm C11, 6.3.2.1p2 unsigned char z; int b; if (x == y) { b = 1; z = x; } else { b = 0; z = y; } opaque(&b); if (b) printf("b = %d c = %d x = %d e = %d\n", b, c, x, c ? z : 5); } ---------------------------------------------------------------------- $ gcc -std=c11 -O3 test.c && ./a.out b = 1 c = 1 x = 0 e = 5 ---------------------------------------------------------------------- gcc x86-64 version: gcc (GCC) 10.0.1 20200117 (experimental) ---------------------------------------------------------------------- Given that the printf has fired, `b` is `1`, hence `z` is the same as `x` and `e = 0` should be printed. According to my reading of C11 this program doesn't invoke UB. (And I thought that most proposals about "wobbly" values wouldn't change this but I'm not sure anymore:-) Even if this particular example is deemed undefined by gcc, I guess inconsistencies could blow everything up even without any help from a programmer. clang bug -- https://bugs.llvm.org/show_bug.cgi?id=44512. >From gcc-bugs-return-665856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 08:49:10 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12538 invoked by alias); 17 Jan 2020 08:49:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11713 invoked by uid 48); 17 Jan 2020 08:48:47 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93300] ICE in convert_mode_scalar, at expr.c:325 Date: Fri, 17 Jan 2020 08:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01582.txt.bz2 Content-length: 483 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93300 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2020-01-17 CC| |ktkachov at gcc dot gnu.org Ever confirmed|0 |1 >From gcc-bugs-return-665858-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 08:54:14 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42095 invoked by alias); 17 Jan 2020 08:54:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42039 invoked by uid 48); 17 Jan 2020 08:54:08 -0000 From: "doko at ubuntu dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/93303] New: [10 Regression] ICE in lra_constraints.c4948 on aarch64-linux-gnu Date: Fri, 17 Jan 2020 08:54: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko at ubuntu dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01584.txt.bz2 Content-length: 1449 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93303 Bug ID: 93303 Summary: [10 Regression] ICE in lra_constraints.c4948 on aarch64-linux-gnu Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: doko at ubuntu dot com Target Milestone: --- Created attachment 47666 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47666&action=edit test case seen with trunk 20200116 on aarch64-linux-gnu: $ g++ -c -O2 -std=gnu++11 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-protector-strong test.ii during RTL pass: reload : In function 'void dh(dd, dg, cz, av, av, de, df, int, int, int, int, int, int, int) [with = ae; bz = bp; dd = int; de = aw; df = aw; dg = cy; cz = ao]': :158:1: internal compiler error: maximum number of generated reload insns per insn achieved (90) 0xadc5d7 lra_constraints(bool) ../../src/gcc/lra-constraints.c:4948 0xac6977 lra(_IO_FILE*) ../../src/gcc/lra.c:2437 0xa85887 do_reload ../../src/gcc/ira.c:5526 0xa85887 execute ../../src/gcc/ira.c:5712 Please submit a full bug report, with preprocessed source if appropriate. >From gcc-bugs-return-665857-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 08:54:02 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41384 invoked by alias); 17 Jan 2020 08:54:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41310 invoked by uid 48); 17 Jan 2020 08:53:56 -0000 From: "lifeibiren at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/93302] New: -O2 -fno-inline produces wrong results Date: Fri, 17 Jan 2020 08:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lifeibiren at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01583.txt.bz2 Content-length: 2375 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93302 Bug ID: 93302 Summary: -O2 -fno-inline produces wrong results Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: lifeibiren at gmail dot com Target Milestone: --- Created attachment 47665 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47665&action=edit preprocessed file I am code to do tcp checksum and find that output binary doesn't work as expected with compilation option -O2 -fno-inline. Partial source code is uploaded as an attachment and it seems to work with any compilation options but -O2 -fno-inline. Test Env: gcc 9.2.0 (Arch Linux) gcc 5.3.0 (Ubuntu 16.04) Expected output: 12345678 87654321 40 12 5678 5678 1234 68ac 4321 abcd 8765 13332 600 13932 2800 16132 I disassemble the output binary and find that the instructions to store saddr and daddr to stack memory are optimized out so hdr's first two members stay uninitialized. If a memory barrier 'asm volatile("": : :"memory");' is put before access 'hdr', gcc could get it right. Env Info: GCC VERSION: $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/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++,d --enable-shared --enable-threads=posix --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 --enable-cet=auto gdc_include_dir=/usr/include/dlang/gdc Thread model: posix gcc version 9.2.0 (GCC) BUG COMMAND: $ gcc test3.c -O2 -fno-inline COMPILER OUTPUT: NOTHING OS: $ cat /etc/issue Arch Linux \r (\l) PREP FILE: ATTACHMENT >From gcc-bugs-return-665859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 08:55:15 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43583 invoked by alias); 17 Jan 2020 08:55:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43539 invoked by uid 48); 17 Jan 2020 08:55:11 -0000 From: "doko at ubuntu dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/93303] [10 Regression] ICE in lra_constraints.c4948 on aarch64-linux-gnu Date: Fri, 17 Jan 2020 08: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko at ubuntu 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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01585.txt.bz2 Content-length: 238 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93303 --- Comment #1 from Matthias Klose --- Created attachment 47667 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47667&action=edit preprocessed source >From gcc-bugs-return-665860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:07:18 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59041 invoked by alias); 17 Jan 2020 09:07:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58865 invoked by uid 48); 17 Jan 2020 09:07:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/93271] [8/9/10 regression] SRA producing wrong code on denormals Date: Fri, 17 Jan 2020 09:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01586.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93271 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.4 >From gcc-bugs-return-665861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:07:19 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59109 invoked by alias); 17 Jan 2020 09:07:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58885 invoked by uid 48); 17 Jan 2020 09:07:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92779] [8/9/10 Regression] ICE in gfc_conv_intrinsic_funcall, at fortran/trans-intrinsic.c:4225 Date: Fri, 17 Jan 2020 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: 10.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.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01587.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92779 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.4 >From gcc-bugs-return-665863-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:07:21 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59470 invoked by alias); 17 Jan 2020 09:07:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58987 invoked by uid 48); 17 Jan 2020 09:07:16 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/80635] [8/9/10 regression] std::optional and bogus -Wmaybe-uninitialized warning Date: Fri, 17 Jan 2020 09:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic, patch 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.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01589.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.4 >From gcc-bugs-return-665862-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:07:19 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59209 invoked by alias); 17 Jan 2020 09:07:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58911 invoked by uid 48); 17 Jan 2020 09:07:15 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92606] [8/9/10 Regression][avr] invalid merge of symbols in progmem and data sections Date: Fri, 17 Jan 2020 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: 9.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01588.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92606 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.4 >From gcc-bugs-return-665868-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:08:44 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64210 invoked by alias); 17 Jan 2020 09:08:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64170 invoked by uid 48); 17 Jan 2020 09:08:40 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/93303] [10 Regression] ICE in lra_constraints.c4948 on aarch64-linux-gnu Date: Fri, 17 Jan 2020 09:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01594.txt.bz2 Content-length: 294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93303 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.0 >From gcc-bugs-return-665865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:08:10 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62247 invoked by alias); 17 Jan 2020 09:08:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62054 invoked by uid 48); 17 Jan 2020 09:08:05 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93299] [9/10 Regression] ICE in tsubst_copy, at cp/pt.c:15779 Date: Fri, 17 Jan 2020 09:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.1 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: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01591.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93299 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.3 >From gcc-bugs-return-665867-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:08:44 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64206 invoked by alias); 17 Jan 2020 09:08:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64158 invoked by uid 48); 17 Jan 2020 09:08:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/92792] [10 Regression] symbols dropped from libphobos Date: Fri, 17 Jan 2020 09:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 10.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: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01593.txt.bz2 Content-length: 294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92792 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.0 >From gcc-bugs-return-665864-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:08:08 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62115 invoked by alias); 17 Jan 2020 09:08:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62024 invoked by uid 48); 17 Jan 2020 09:08:03 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93263] [9/10 Regression] -fno-automatic and RECURSIVE Date: Fri, 17 Jan 2020 09:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.1 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: markeggleston at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01590.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93263 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.3 >From gcc-bugs-return-665866-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:08:10 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62336 invoked by alias); 17 Jan 2020 09:08:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62078 invoked by uid 48); 17 Jan 2020 09:08:05 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91320] [9/10 Regression] x86-64 code generation / register allocation regressed. Date: Fri, 17 Jan 2020 09:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01592.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91320 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.3 >From gcc-bugs-return-665870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:16:06 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87254 invoked by alias); 17 Jan 2020 09:16:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86854 invoked by uid 48); 17 Jan 2020 09:15:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/80635] [8/9/10 regression] std::optional and bogus -Wmaybe-uninitialized warning Date: Fri, 17 Jan 2020 09:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: diagnostic, patch 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: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority version Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01596.txt.bz2 Content-length: 347 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Version|unknown |8.2.0 >From gcc-bugs-return-665869-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:16:04 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87003 invoked by alias); 17 Jan 2020 09:16:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86737 invoked by uid 48); 17 Jan 2020 09:15:52 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/93302] -O2 -fno-inline produces wrong results Date: Fri, 17 Jan 2020 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: 9.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01595.txt.bz2 Content-length: 636 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93302 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski --- Use either -fno-strict-aliasing, memcpy or an union to fix the aliasing issue in your code. You wrote hdr as a struct psuedo_hdr but reading it as an uint16_t, only the field length can be read as an uint16_t . >From gcc-bugs-return-665871-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:17:48 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90990 invoked by alias); 17 Jan 2020 09:17:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90913 invoked by uid 48); 17 Jan 2020 09:17:43 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/84490] [8/9/10 regression] 436.cactusADM regressed by 6-8% percent with -Ofast on Zen and Haswell, compared to gcc 7.2 Date: Fri, 17 Jan 2020 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 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01597.txt.bz2 Content-length: 403 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84490 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 --- Comment #12 from Richard Biener --- Wonder if we can have an update on this? >From gcc-bugs-return-665873-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:20:41 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94573 invoked by alias); 17 Jan 2020 09:20:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94228 invoked by uid 48); 17 Jan 2020 09:20:37 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88494] [9/10 Regression] polyhedron 10% mdbx runtime regression Date: Fri, 17 Jan 2020 09:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01599.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88494 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:20:28 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93498 invoked by alias); 17 Jan 2020 09:20:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93445 invoked by uid 48); 17 Jan 2020 09:20:23 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/93303] [10 Regression] ICE in lra_constraints.c4948 on aarch64-linux-gnu Date: Fri, 17 Jan 2020 09:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: dependson Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01598.txt.bz2 Content-length: 574 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93303 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |93221 --- Comment #2 from Andrew Pinski --- Most likely a dup of bug 93221. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93221 [Bug 93221] [10 Regression] ICE maximum number of generated reload insns per insn achieved (90) on aarch64 >From gcc-bugs-return-665874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:21:04 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95602 invoked by alias); 17 Jan 2020 09:21:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95560 invoked by uid 48); 17 Jan 2020 09:20:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/88660] [8/9/10 Regression] Invalid report of "set but used variable" with -O Date: Fri, 17 Jan 2020 09:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.2.1 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: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01600.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88660 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665875-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:22:15 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16957 invoked by alias); 17 Jan 2020 09:22:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16908 invoked by uid 48); 17 Jan 2020 09:22:11 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/89075] [9/10 Regression] error: type variant has different TREE_TYPE Date: Fri, 17 Jan 2020 09: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: 9.0 X-Bugzilla-Keywords: ice-checking, lto 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: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01601.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89075 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665877-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:22:47 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19029 invoked by alias); 17 Jan 2020 09:22:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18384 invoked by uid 48); 17 Jan 2020 09:22:43 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/89584] [9/10 Regression] CPU2000 degradations with r268448 (172.mgrid -22%, 252.eon -8%) Date: Fri, 17 Jan 2020 09: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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01603.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89584 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665876-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:22:25 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17657 invoked by alias); 17 Jan 2020 09:22:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17606 invoked by uid 48); 17 Jan 2020 09:22:21 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/89075] [9/10 Regression] error: type variant has different TREE_TYPE Date: Fri, 17 Jan 2020 09: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: 9.0 X-Bugzilla-Keywords: ice-checking, lto 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: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01602.txt.bz2 Content-length: 298 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89075 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED >From gcc-bugs-return-665878-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:25:05 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22328 invoked by alias); 17 Jan 2020 09:24:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22177 invoked by uid 48); 17 Jan 2020 09:24:40 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/90204] [8/9/10 Regression] C code is optimized worse than C++ Date: Fri, 17 Jan 2020 09:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget priority cf_known_to_work Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01604.txt.bz2 Content-length: 416 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90204 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-*-* i?86-*-* Priority|P3 |P2 Known to work| |7.3.0 >From gcc-bugs-return-665879-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:26:24 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33570 invoked by alias); 17 Jan 2020 09:26:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33516 invoked by uid 48); 17 Jan 2020 09:26:20 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90333] [9/10 Regression] Can't apply attributes to lambdas with trailing returns Date: Fri, 17 Jan 2020 09:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.1.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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01605.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90333 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:26:49 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34388 invoked by alias); 17 Jan 2020 09:26:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34336 invoked by uid 48); 17 Jan 2020 09:26:44 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/90415] [9/10 Regression] std::is_copy_constructible> is incomplete Date: Fri, 17 Jan 2020 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: 9.1.1 X-Bugzilla-Keywords: rejects-valid 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: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01606.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90415 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665881-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:27:41 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35503 invoked by alias); 17 Jan 2020 09:27:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35458 invoked by uid 48); 17 Jan 2020 09:27:36 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90546] [9/10 Regression] Incorrect template argument deduction for conversion functions Date: Fri, 17 Jan 2020 09: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: 9.1.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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01607.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90546 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665882-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:29:04 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48501 invoked by alias); 17 Jan 2020 09:29:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48454 invoked by uid 48); 17 Jan 2020 09:29:00 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/90565] [10 regression] test cases gcc.dg/uninit-18.c and uninit-pr90394-1-gimple.c broken as of r271460 Date: Fri, 17 Jan 2020 09:29: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: 10.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01608.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90565 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:37:15 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68040 invoked by alias); 17 Jan 2020 09:37:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68002 invoked by uid 48); 17 Jan 2020 09:37:10 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/90579] [8/9/10 Regression] Huge store forward stall due to vectorizer, missed CSE Date: Fri, 17 Jan 2020 09:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.1.1 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: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status assigned_to short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01609.txt.bz2 Content-length: 1703 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90579 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Summary|[8/9/10 Regression] Huge |[8/9/10 Regression] Huge |store forward stall due to |store forward stall due to |vectorizer |vectorizer, missed CSE --- Comment #9 from Richard Biener --- So we now have a "real" FRE after the vectorizer but we fail to CSE MEM [(double *)&r] = vect__3.20_74; ... MEM [(double *)&r + 32B] = vect__62.26_88; ... vect__5.7_34 = MEM [(double *)&r + 16B]; mine for GCC 11 to look at. The code to CSE that load for _74 and _88 is going to be a bit awkward though but it will nicely combine with the following stmts vect__5.8_35 = VEC_PERM_EXPR ; stmp_t_12.9_36 = BIT_FIELD_REF ; stmp_t_12.9_37 = stmp_t_12.9_36 + 0.0; stmp_t_12.9_38 = BIT_FIELD_REF ; stmp_t_12.9_39 = stmp_t_12.9_37 + stmp_t_12.9_38; stmp_t_12.9_40 = BIT_FIELD_REF ; stmp_t_12.9_41 = stmp_t_12.9_39 + stmp_t_12.9_40; stmp_t_12.9_42 = BIT_FIELD_REF ; t_12 = stmp_t_12.9_41 + stmp_t_12.9_42; and hopefully elide 'r' completely. >From gcc-bugs-return-665884-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:38:02 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71865 invoked by alias); 17 Jan 2020 09:38:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71784 invoked by uid 48); 17 Jan 2020 09:37:56 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/90594] [9/10 regression] Spurious popcount emitted Date: Fri, 17 Jan 2020 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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01610.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90594 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665886-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:38:56 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4321 invoked by alias); 17 Jan 2020 09:38:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124899 invoked by uid 48); 17 Jan 2020 09:38:51 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/90706] [9/10 Regression] Useless code generated for stack / register operations on AVR Date: Fri, 17 Jan 2020 09: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: 9.1.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01612.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90706 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 >From gcc-bugs-return-665885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:38:18 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77092 invoked by alias); 17 Jan 2020 09:38:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73168 invoked by uid 48); 17 Jan 2020 09:38:13 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90609] [9/10 Regression] Compilation error in std::function default member initialization inside template class with defaulted constructor Date: Fri, 17 Jan 2020 09:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.1.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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01611.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90609 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665887-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:39:18 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13906 invoked by alias); 17 Jan 2020 09:39:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13859 invoked by uid 48); 17 Jan 2020 09:39:13 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90740] [9/10 Regression] VLA with lamba causes an incorrect unitialized in this function warning Date: Fri, 17 Jan 2020 09:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: ice-on-valid-code, 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01613.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90740 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665888-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:40:15 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21355 invoked by alias); 17 Jan 2020 09:40:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21283 invoked by uid 48); 17 Jan 2020 09:40:10 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90992] [9/10 Regression] -Wnoexcept produce false positive Date: Fri, 17 Jan 2020 09:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.1.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: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01614.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90992 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665889-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:41:19 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59283 invoked by alias); 17 Jan 2020 09:41:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53073 invoked by uid 48); 17 Jan 2020 09:41:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91052] [10 Regression] ICE in fix_reg_equiv_init, at ira.c:2705 Date: Fri, 17 Jan 2020 09: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01615.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91052 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665890-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:42:29 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36768 invoked by alias); 17 Jan 2020 09:42:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31827 invoked by uid 48); 17 Jan 2020 09:42:24 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91123] [10 Regression] no longer removes redundant store Date: Fri, 17 Jan 2020 09: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: 10.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: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01616.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91123 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665891-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:44:02 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3924 invoked by alias); 17 Jan 2020 09:43:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3013 invoked by uid 48); 17 Jan 2020 09:43:53 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91144] [10 regression] 176.gcc miscompare after r273294 Date: Fri, 17 Jan 2020 09:43: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: 10.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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01617.txt.bz2 Content-length: 433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91144 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #5 from Richard Biener --- Invalid. >From gcc-bugs-return-665892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:44:03 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4433 invoked by alias); 17 Jan 2020 09:44:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3345 invoked by uid 48); 17 Jan 2020 09:43:55 -0000 From: "rguenth at gcc dot 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: Fri, 17 Jan 2020 09:44: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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01618.txt.bz2 Content-length: 476 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 91144, which changed state. Bug 91144 Summary: [10 regression] 176.gcc miscompare after r273294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91144 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID >From gcc-bugs-return-665895-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:50:44 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61873 invoked by alias); 17 Jan 2020 09:50:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61437 invoked by uid 48); 17 Jan 2020 09:50:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/85559] [meta-bug] Improve conditional move Date: Fri, 17 Jan 2020 09:50: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: 9.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01620.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85559 Bug 85559 depends on bug 91154, which changed state. Bug 91154 Summary: [10 Regression] 456.hmmer regression on Haswell caused by r272922 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91154 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-665893-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:50:41 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61501 invoked by alias); 17 Jan 2020 09:50:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61296 invoked by uid 48); 17 Jan 2020 09:50:37 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/91154] [10 Regression] 456.hmmer regression on Haswell caused by r272922 Date: Fri, 17 Jan 2020 09: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: 10.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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01619.txt.bz2 Content-length: 639 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91154 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #39 from Richard Biener --- So this bug turned into a mess of random benchmarks. The 456.hmmer regression is fixed. Please open new bugs for any other things found. cactusADM jumps up and down on my tester and shows no clear regression. >From gcc-bugs-return-665894-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:50:43 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61660 invoked by alias); 17 Jan 2020 09:50:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61378 invoked by uid 48); 17 Jan 2020 09:50:38 -0000 From: "rguenth at gcc dot 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: Fri, 17 Jan 2020 09:50: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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01621.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 91154, which changed state. Bug 91154 Summary: [10 Regression] 456.hmmer regression on Haswell caused by r272922 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91154 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-665896-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:51:04 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64050 invoked by alias); 17 Jan 2020 09:51:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63773 invoked by uid 48); 17 Jan 2020 09:50:59 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91052] [10 Regression] ICE in fix_reg_equiv_init, at ira.c:2705 Date: Fri, 17 Jan 2020 09: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code, ra 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01622.txt.bz2 Content-length: 160 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91052 --- Comment #7 from Martin Liška --- @Kewen: Can you please take a look? >From gcc-bugs-return-665897-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:52:25 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66066 invoked by alias); 17 Jan 2020 09:52:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65983 invoked by uid 48); 17 Jan 2020 09:52:18 -0000 From: "ncm at cantrip dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/67153] [8/9/10 Regression] integer optimizations 53% slower than std::bitset<> Date: Fri, 17 Jan 2020 09:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ncm at cantrip dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01623.txt.bz2 Content-length: 947 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67153 --- Comment #29 from ncm at cantrip dot org --- > My reason for thinking this is not a bug is that the fastest choice will > depend on the contents of the word list. Regardless of layout, there will > be one option that is slightly faster than the other. I guess it's > reasonable to ask, though, whether it's better by default to try to save one > cycle on an already very fast empty loop, or to save one cycle on a more > expensive loop. But the real gain (if there is one) will be matching the > layout to the runtime behavior, for which the compiler requires outside > information. Saving one cycle on a two-cycle loop has a possibility of a much larger effect than saving one cycle of a fifty-cycle loop. Even if the fifty-cycle loop is the norm, an extra cycle costs only 2%, but if the two-cycle loop is the more common, as in this case, saving the one cycle is a big win. >From gcc-bugs-return-665898-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:53:43 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69561 invoked by alias); 17 Jan 2020 09:53:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69050 invoked by uid 48); 17 Jan 2020 09:53:38 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91217] [8/9/10 Regression] Returning std::array from lambda results in an extra copy step on return Date: Fri, 17 Jan 2020 09:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01624.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91217 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665899-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:58:27 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91791 invoked by alias); 17 Jan 2020 09:58:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91721 invoked by uid 48); 17 Jan 2020 09:58:22 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/91333] [9/10 Regression] suboptimal register allocation for inline asm Date: Fri, 17 Jan 2020 09: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: 10.0 X-Bugzilla-Keywords: missed-optimization, ra 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.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority cf_known_to_work cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01625.txt.bz2 Content-length: 633 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91333 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Known to work| |8.3.1 Known to fail| |9.2.1 --- Comment #4 from Richard Biener --- I can confirm this on the GCC 9 branch but trunk is fine apart from at -O1. Maybe tuning/default arch affects this (didn't check, I use x86-64 and generic). >From gcc-bugs-return-665900-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:59:04 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92673 invoked by alias); 17 Jan 2020 09:59:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92598 invoked by uid 48); 17 Jan 2020 09:58:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91377] [8/9/10 Regression] ICE with non-static block scope constexpr, captured in lambda, used as template parameter Date: Fri, 17 Jan 2020 09: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: 9.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01626.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91377 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665901-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 09:59:26 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93453 invoked by alias); 17 Jan 2020 09:59:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 93375 invoked by uid 48); 17 Jan 2020 09:59:21 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91465] [9/10 Regression] unexpected expression of kind overload (ICE) Date: Fri, 17 Jan 2020 09: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: 9.1.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: P2 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01627.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91465 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665903-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:01:37 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96561 invoked by alias); 17 Jan 2020 10:01:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96513 invoked by uid 48); 17 Jan 2020 10:01:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91598] [8/9/10 regression] 60% speed drop on neon intrinsic loop Date: Fri, 17 Jan 2020 10: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: 10.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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01629.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91598 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665902-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:01:20 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95621 invoked by alias); 17 Jan 2020 10:01:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95528 invoked by uid 48); 17 Jan 2020 10:01:02 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91529] [8/9/10 Regression] -fmerge-all-constants leads to corrupt output without inlining Date: Fri, 17 Jan 2020 10:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01628.txt.bz2 Content-length: 352 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91529 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Priority|P3 |P2 >From gcc-bugs-return-665904-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:03:00 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100719 invoked by alias); 17 Jan 2020 10:02:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100656 invoked by uid 48); 17 Jan 2020 10:02:56 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91699] [10 Regression] Bogus Wstringop-overflow in Fotran with -flto after revision r274997 Date: Fri, 17 Jan 2020 10: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: 10.0 X-Bugzilla-Keywords: diagnostic, lto 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01630.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91699 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665906-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:03:48 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105015 invoked by alias); 17 Jan 2020 10:03:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 104952 invoked by uid 48); 17 Jan 2020 10:03:43 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91706] [8/9/10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in equate_type_number_to_die, at dwarf2out.c:5782 Date: Fri, 17 Jan 2020 10: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: 10.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-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: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01632.txt.bz2 Content-length: 357 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91706 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid Priority|P3 |P2 >From gcc-bugs-return-665905-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:03:33 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101887 invoked by alias); 17 Jan 2020 10:03:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101733 invoked by uid 48); 17 Jan 2020 10:03:28 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92804] [10 Regression] ICE trying to use concept as a nested-name-specifier Date: Fri, 17 Jan 2020 10: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: 10.0 X-Bugzilla-Keywords: 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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01631.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92804 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2020-01-17 Ever confirmed|0 |1 --- Comment #2 from Paolo Carlini --- Confirmed. >From gcc-bugs-return-665907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:06:05 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109543 invoked by alias); 17 Jan 2020 10:06:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 109336 invoked by uid 48); 17 Jan 2020 10:06:00 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/91708] [10 regression][ARM] Bootstrap fails in gen_movsi, at config/arm/arm.md:5258 Date: Fri, 17 Jan 2020 10:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 10.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: bernd.edlinger at hotmail dot de X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01633.txt.bz2 Content-length: 566 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91708 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #23 from Richard Biener --- The bootstrap issue is fixed. The wrong-code issue is older, if people want to pursue backports please open a separate issue tracking that. >From gcc-bugs-return-665908-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:07:52 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113474 invoked by alias); 17 Jan 2020 10:07:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112803 invoked by uid 48); 17 Jan 2020 10:07:46 -0000 From: "linkw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91052] [10 Regression] ICE in fix_reg_equiv_init, at ira.c:2705 Date: Fri, 17 Jan 2020 10: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: linkw 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01634.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91052 --- Comment #8 from Kewen Lin --- Sorry, I just saw this bug was starting to fail with my commit. Thanks for @ing me! My commit is just to pass the finiteness information down to RTL phase. The loops in that case are simple and have only an exit respectively, it should be taken as finite loop, I think my commit just exposed some bugs. I'll take vacation for two weeks, will dig into this then. >From gcc-bugs-return-665909-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:10:10 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22350 invoked by alias); 17 Jan 2020 10:10:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22045 invoked by uid 48); 17 Jan 2020 10:10:05 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92542] [10 Regression] ICE with class template argument deduction following typo Date: Fri, 17 Jan 2020 10:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-invalid-code, needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01635.txt.bz2 Content-length: 473 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92542 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paolo.carlini at oracle dot com --- Comment #1 from Paolo Carlini --- Seems already fixed. If so I will add the testcases and resolve the bug. >From gcc-bugs-return-665910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:13:18 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31292 invoked by alias); 17 Jan 2020 10:13:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31232 invoked by uid 48); 17 Jan 2020 10:13:13 -0000 From: "markeggleston at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93263] [9/10 Regression] -fno-automatic and RECURSIVE Date: Fri, 17 Jan 2020 10:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markeggleston at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: markeggleston at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01636.txt.bz2 Content-length: 518 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93263 markeggleston at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #11 from markeggleston at gcc dot gnu.org --- Committed: master e4a5f73449d7352ba8128fecbc9a9570d746abdb releases/gcc-9 f158d9197de75187fa0db26b74bc5d16b5aae242 >From gcc-bugs-return-665911-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:17:07 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38765 invoked by alias); 17 Jan 2020 10:17:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38682 invoked by uid 48); 17 Jan 2020 10:17:02 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91710] [9/10 Regression] unexpected ABI change note Date: Fri, 17 Jan 2020 10:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.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: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01637.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91710 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665912-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:23:22 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44543 invoked by alias); 17 Jan 2020 10:23:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44464 invoked by uid 48); 17 Jan 2020 10:23:17 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91735] [9/10 Regression] Runtime regression for SPEC2000 177.mesa on Haswell around the end of August 2018 Date: Fri, 17 Jan 2020 10:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.1.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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01638.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91735 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665913-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:24:42 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46290 invoked by alias); 17 Jan 2020 10:24:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46047 invoked by uid 48); 17 Jan 2020 10:24:36 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/91797] [10 regression] r273240 breaks test case gcc.target/powerpc/pr68805.c Date: Fri, 17 Jan 2020 10:24: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01639.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91797 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665915-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:25:35 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48460 invoked by alias); 17 Jan 2020 10:25:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47889 invoked by uid 48); 17 Jan 2020 10:25:29 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91804] [10 regression] r265398 breaks gcc.target/powerpc/vec-rlmi-rlnm.c Date: Fri, 17 Jan 2020 10: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: 10.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: P1 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01641.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91804 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665914-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:25:29 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47607 invoked by alias); 17 Jan 2020 10:25:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47502 invoked by uid 48); 17 Jan 2020 10:25:03 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/91799] [10 regression] r273245 breaks test case gcc.target/powerpc/pr88233.c Date: Fri, 17 Jan 2020 10:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01640.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91799 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665916-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:27:35 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50705 invoked by alias); 17 Jan 2020 10:27:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50559 invoked by uid 48); 17 Jan 2020 10:27:30 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91825] [10 regression] Bogus -Wmaybe-uninitialized with r275744 breaks bootstrap Date: Fri, 17 Jan 2020 10:27: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: 10.0 X-Bugzilla-Keywords: build, diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01642.txt.bz2 Content-length: 563 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91825 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #11 from Richard Biener --- Bootstrap is fixed, the uninit warning isn't a regression itself and the C++ IL change isn't bad (it's good). Thus let's close this one. >From gcc-bugs-return-665917-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:27:37 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50983 invoked by alias); 17 Jan 2020 10:27:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50642 invoked by uid 48); 17 Jan 2020 10:27:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues Date: Fri, 17 Jan 2020 10:27: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.1.0 X-Bugzilla-Keywords: diagnostic, meta-bug X-Bugzilla-Severity: trivial X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01643.txt.bz2 Content-length: 501 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 91825, which changed state. Bug 91825 Summary: [10 regression] Bogus -Wmaybe-uninitialized with r275744 breaks bootstrap https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91825 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-665918-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:29:46 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55084 invoked by alias); 17 Jan 2020 10:29:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55011 invoked by uid 48); 17 Jan 2020 10:29:37 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/91333] [9/10 Regression] suboptimal register allocation for inline asm Date: Fri, 17 Jan 2020 10: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: 10.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse 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.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01644.txt.bz2 Content-length: 887 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91333 --- Comment #5 from Marc Glisse --- With trunk (master?), compiling with -O3, h gives movapd %xmm1, %xmm3 addsd %xmm3, %xmm1 movapd %xmm0, %xmm2 addsd %xmm2, %xmm0 addsd %xmm1, %xmm0 which looks good (the asm prevents from doing addsd %xmm1 %xmm1 directly). However, if I add -mavx, I get vmovapd %xmm0, %xmm2 vmovapd %xmm1, %xmm4 vmovapd %xmm1, %xmm0 vaddsd %xmm0, %xmm4, %xmm0 vmovapd %xmm2, %xmm3 vaddsd %xmm2, %xmm3, %xmm2 vaddsd %xmm0, %xmm2, %xmm0 That's 2 extra moves compared to the non-avx version, which seems wrong since AVX gives more freedom to the RA. Those initial moves look quite similar to the ones I get for f with gcc-9 -O3 -mno-avx, so the optimization looks fragile. >From gcc-bugs-return-665919-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:31:20 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57074 invoked by alias); 17 Jan 2020 10:31:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57002 invoked by uid 48); 17 Jan 2020 10:31:13 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91826] [8/9/10 Regression] Unexpected behavior when class defined with namespace alias Date: Fri, 17 Jan 2020 10:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: rejects-valid 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: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01645.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91826 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:32:52 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60006 invoked by alias); 17 Jan 2020 10:32:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59935 invoked by uid 48); 17 Jan 2020 10:32:48 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91890] [10 Regression] -Warray-bounds warning testing glibc not suppressed by pragma Date: Fri, 17 Jan 2020 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: 10.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01647.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91890 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665920-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:32:34 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59181 invoked by alias); 17 Jan 2020 10:32:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58983 invoked by uid 48); 17 Jan 2020 10:32:29 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91298] $ at the beginging causing Error: junk `(%rip)' after expression Date: Fri, 17 Jan 2020 10:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: assemble-failure 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: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01646.txt.bz2 Content-length: 256 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91298 --- Comment #5 from Jakub Jelinek --- Created attachment 47668 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47668&action=edit gcc10-pr91298.patch Untested patch. >From gcc-bugs-return-665922-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:33:37 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61721 invoked by alias); 17 Jan 2020 10:33:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60967 invoked by uid 48); 17 Jan 2020 10:33:31 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91933] [8/9/10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in build_simple_base_path, at cp/class.c:541 Date: Fri, 17 Jan 2020 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: 10.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code, 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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01648.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91933 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665924-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:36:39 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75477 invoked by alias); 17 Jan 2020 10:36:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75411 invoked by uid 48); 17 Jan 2020 10:36:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92010] [8/9/10 Regression] gcc internal error since 8x on warning write-strings Date: Fri, 17 Jan 2020 10:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01650.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92010 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:36:03 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74644 invoked by alias); 17 Jan 2020 10:36:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74542 invoked by uid 48); 17 Jan 2020 10:35:57 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/92002] [10 regression] -Wuninitialized warning in gcc/wide-int.cc Date: Fri, 17 Jan 2020 10:36: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: 10.0 X-Bugzilla-Keywords: diagnostic 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01649.txt.bz2 Content-length: 453 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92002 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING --- Comment #8 from Richard Biener --- Did this somehow get fixed (the bootstrap?) or require some nonstandard configuration? >From gcc-bugs-return-665925-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:38:24 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111028 invoked by alias); 17 Jan 2020 10:38:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103900 invoked by uid 48); 17 Jan 2020 10:38:18 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92542] [10 Regression] ICE with class template argument deduction following typo Date: Fri, 17 Jan 2020 10: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: 10.0 X-Bugzilla-Keywords: ice-on-invalid-code, needs-bisection 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01651.txt.bz2 Content-length: 350 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92542 --- Comment #2 from Jonathan Wakely --- The ICE started with r277865 "Implement C++20 operator<=>." aka g:b7689b962dd6536bbb2567bfdec52e35109af7ab It was fixed with r278786 "Implement P1814R0, CTAD for alias templates." aka g:1a291106384cabc73da0bc0f457b1cd3a4015970 >From gcc-bugs-return-665926-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:39:27 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116415 invoked by alias); 17 Jan 2020 10:39:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 116357 invoked by uid 55); 17 Jan 2020 10:39:22 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/92002] [10 regression] -Wuninitialized warning in gcc/wide-int.cc Date: Fri, 17 Jan 2020 10:39: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: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01652.txt.bz2 Content-length: 856 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92002 --- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #8 from Richard Biener --- > Did this somehow get fixed (the bootstrap?) or require some nonstandard > configuration? Not at all. I still cannot make any sense of the warning, but hacked around it by disabling -Werror for the affected files in t-sparc to get any work done: diff --git a/gcc/config/sparc/t-sparc b/gcc/config/sparc/t-sparc --- a/gcc/config/sparc/t-sparc +++ b/gcc/config/sparc/t-sparc @@ -27,3 +27,7 @@ sparc-c.o: $(srcdir)/config/sparc/sparc- sparc-d.o: $(srcdir)/config/sparc/sparc-d.c $(COMPILE) $< $(POSTCOMPILE) + +# Hack around PR bootstrap/92002. +tree-ssanames.o-warn += -Wno-error +wide-int.o-warn += -Wno-error >From gcc-bugs-return-665927-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:41:57 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121516 invoked by alias); 17 Jan 2020 10:41:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121449 invoked by uid 48); 17 Jan 2020 10:41:50 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92031] [9/10 Regression] Incorrect "taking address of r-value" error Date: Fri, 17 Jan 2020 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: 9.2.1 X-Bugzilla-Keywords: rejects-valid 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: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01653.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92031 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665928-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:42:19 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122286 invoked by alias); 17 Jan 2020 10:42:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122246 invoked by uid 48); 17 Jan 2020 10:42:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92068] [8/9/10 Regression] ICE on invalid in process_partial_specialization Date: Fri, 17 Jan 2020 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: 10.0 X-Bugzilla-Keywords: ice-on-invalid-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: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01654.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92068 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665929-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:44:30 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4421 invoked by alias); 17 Jan 2020 10:44:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128025 invoked by uid 48); 17 Jan 2020 10:44:24 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92071] [10 regression][ARM] ice in gen_movsi, at config/arm/arm.md:5378 Date: Fri, 17 Jan 2020 10: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: 10.0 X-Bugzilla-Keywords: needs-bisection, 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01655.txt.bz2 Content-length: 1111 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92071 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-bisection, wrong-code Priority|P3 |P1 --- Comment #6 from Richard Biener --- (In reply to Richard Earnshaw from comment #5) > (In reply to Jakub Jelinek from comment #4) > > I'd say this should be fixed in the arm backend, instead of asserts it > > should check whether operands are aligned and if not, perform unaligned load > > or store, > > because the amount of spots in the middle-end that actually just call > > emit_move_insn when they see a MEM is huge. > > Huh, this is a mid-end bug. How can fixing it in the backend be anything > bug a hack? > > There's a contract in place here. If the target defines STRICT_ALIGNMENT, > the midend must NEVER pass an unaligned object to gen_movsi Agreed. Did anybody bisect what caused this? >From gcc-bugs-return-665930-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:45:01 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5962 invoked by alias); 17 Jan 2020 10:45:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5896 invoked by uid 48); 17 Jan 2020 10:44:57 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92099] [9/10 Regression] static_assert of struct template of false_type succeed with GCC8 but not GCC9 Date: Fri, 17 Jan 2020 10:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority cf_known_to_work Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01656.txt.bz2 Content-length: 347 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92099 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Known to work| |8.1.0 >From gcc-bugs-return-665932-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:46:49 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8358 invoked by alias); 17 Jan 2020 10:46:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8267 invoked by uid 48); 17 Jan 2020 10:46:44 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/92165] [10 regression] g++.dg/cpp2a/nodiscard-once.C fails starting with r277205 Date: Fri, 17 Jan 2020 10:46: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: 10.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01658.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92165 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665931-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:46:07 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7373 invoked by alias); 17 Jan 2020 10:46:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7292 invoked by uid 48); 17 Jan 2020 10:46:02 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92152] [10 Regression] Wrong code (Resurrection of PR53663) Date: Fri, 17 Jan 2020 10: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: 10.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: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01657.txt.bz2 Content-length: 466 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92152 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #7 from Richard Biener --- I will take a look. >From gcc-bugs-return-665933-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:47:59 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9477 invoked by alias); 17 Jan 2020 10:47:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9415 invoked by uid 48); 17 Jan 2020 10:47:53 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92177] [10 regression] gcc.dg/vect/bb-slp-22.c FAILs Date: Fri, 17 Jan 2020 10: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01659.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92177 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665934-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:49:07 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10842 invoked by alias); 17 Jan 2020 10:49:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10593 invoked by uid 48); 17 Jan 2020 10:48:55 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92190] [10 Regression] ICE in sp_valid_at, at config/i386/i386.c:6162 since r276648 Date: Fri, 17 Jan 2020 10: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: 10.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget priority cf_gcchost Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01660.txt.bz2 Content-length: 408 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92190 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-linux-gnu Priority|P3 |P1 Host|x86_64-linux-gnu | >From gcc-bugs-return-665935-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:51:48 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13092 invoked by alias); 17 Jan 2020 10:51:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13046 invoked by uid 48); 17 Jan 2020 10:51:44 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92264] [10 Regression] Compile time hog in 521.wrf_r with -Ofast -march=znver2 -g since r276318 Date: Fri, 17 Jan 2020 10:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.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: P1 X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01661.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92264 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:55:59 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51806 invoked by alias); 17 Jan 2020 10:55:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51726 invoked by uid 48); 17 Jan 2020 10:55:53 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92303] [10 regression] gcc.target/sparc/ultrasp12.c times out Date: Fri, 17 Jan 2020 10: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: 10.0 X-Bugzilla-Keywords: needs-bisection 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01662.txt.bz2 Content-length: 497 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92303 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-bisection Status|NEW |WAITING --- Comment #2 from Richard Biener --- There's no RA commits in that range, further bisection is needed. >From gcc-bugs-return-665937-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:56:54 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67096 invoked by alias); 17 Jan 2020 10:56:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67039 invoked by uid 48); 17 Jan 2020 10:56:47 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92328] [10 Regression] ICE in eliminate_stmt, at tree-ssa-sccvn.c:5497 Date: Fri, 17 Jan 2020 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: 10.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01663.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92328 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:57:52 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68681 invoked by alias); 17 Jan 2020 10:57:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 68637 invoked by uid 48); 17 Jan 2020 10:57:48 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92376] [9/10 Regression] bootstrap fails with --disable-hosted-libstdcxx Date: Fri, 17 Jan 2020 10:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: build 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: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01664.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92376 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665939-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:58:14 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69660 invoked by alias); 17 Jan 2020 10:58:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69610 invoked by uid 48); 17 Jan 2020 10:58:10 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92388] [10 Regression] ICE in insert_regs, at cse.c:1129 Date: Fri, 17 Jan 2020 10: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: 10.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01665.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92388 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665940-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:58:39 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70720 invoked by alias); 17 Jan 2020 10:58:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70611 invoked by uid 48); 17 Jan 2020 10:58:33 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92517] [10 Regression] ICE on incorrect syntax involving requires and decltype Date: Fri, 17 Jan 2020 10: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: 10.0 X-Bugzilla-Keywords: ice-on-invalid-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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01666.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92517 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665941-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:58:51 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71494 invoked by alias); 17 Jan 2020 10:58:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71438 invoked by uid 48); 17 Jan 2020 10:58:47 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92531] [9/10 Regression] ICE in uses_template_parms, at cp/pt.c:10471 Date: Fri, 17 Jan 2020 10: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01667.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92531 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665942-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 10:59:36 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72489 invoked by alias); 17 Jan 2020 10:59:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72418 invoked by uid 48); 17 Jan 2020 10:59:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92536] [10 Regression] ICE when trying to using deduction guide following unknown type error Date: Fri, 17 Jan 2020 10: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: 10.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01668.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92536 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 >From gcc-bugs-return-665943-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:01:06 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74117 invoked by alias); 17 Jan 2020 11:00:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73755 invoked by uid 48); 17 Jan 2020 11:00:23 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92539] [8/9/10 Regression] -Warray-bounds false positive (loop unroll?) Date: Fri, 17 Jan 2020 11: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: 10.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: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01669.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92539 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665944-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:02:24 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86962 invoked by alias); 17 Jan 2020 11:02:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85646 invoked by uid 48); 17 Jan 2020 11:02:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92583] [8/9/10 Regression] internal compiler error: in tsubst_copy, at cp/pt.c:15552 Date: Fri, 17 Jan 2020 11:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01670.txt.bz2 Content-length: 359 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92583 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Priority|P3 |P2 >From gcc-bugs-return-665945-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:03:45 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91542 invoked by alias); 17 Jan 2020 11:03:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 91213 invoked by uid 48); 17 Jan 2020 11:03:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/92588] [10 Regression] ICE nodes with unreleased memory found Date: Fri, 17 Jan 2020 11: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: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code, needs-bisection, 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: P3 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01671.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92588 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-checking --- Comment #2 from Richard Biener --- AFAIU this is just a warning that we fail to "free" some GC memory? >From gcc-bugs-return-665946-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:04:20 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99303 invoked by alias); 17 Jan 2020 11:04:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97598 invoked by uid 48); 17 Jan 2020 11:04:15 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92593] [10 Regression] ICE with CTAD using undeclared constraint Date: Fri, 17 Jan 2020 11: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: 10.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code, needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01672.txt.bz2 Content-length: 356 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92593 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |error-recovery Priority|P3 |P4 >From gcc-bugs-return-665947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:04:40 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100749 invoked by alias); 17 Jan 2020 11:04:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100521 invoked by uid 48); 17 Jan 2020 11:04:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/92600] [9/10 Regression] ICE: symtab_node::verify failed, building 523.xalancbmk_r with -flto -fno-inline since r267359 Date: Fri, 17 Jan 2020 11:04: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: 10.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01673.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92600 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665948-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:04:55 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102222 invoked by alias); 17 Jan 2020 11:04:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101929 invoked by uid 48); 17 Jan 2020 11:04:50 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92601] [9/10 Regression] error: type variant differs by TYPE_NEEDS_CONSTRUCTING Date: Fri, 17 Jan 2020 11:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01674.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92601 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665949-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:14:31 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127876 invoked by alias); 17 Jan 2020 11:14:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 127779 invoked by uid 48); 17 Jan 2020 11:14:26 -0000 From: "kito at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93304] New: RISC-V: Function with interrupt attribute use register without save/restore at prologue/epilogue Date: Fri, 17 Jan 2020 11:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kito at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01675.txt.bz2 Content-length: 1645 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93304 Bug ID: 93304 Summary: RISC-V: Function with interrupt attribute use register without save/restore at prologue/epilogue Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: kito at gcc dot gnu.org Target Milestone: --- Target: riscv64-unknown-elf Function with interrupt attribute use register without save/restore at prologue/epilogue. The problem is come from register rename pass, it use register not handled at prologue/epilogue, but it's because RISC-V didn't implement HARD_REGNO_RENAME_OK. Version: GCC 8, 9, trunk Option: -O -frename-registers -march=rv64i -mabi=lp64 Testcase: static unsigned _timer_ticks = 0; void m_timer_interrupt(void) __attribute__((interrupt)); void m_timer_interrupt(void) { _timer_ticks ++; } Code gen (by e4a5f73449d7352ba8128fecbc9a9570d746abdb): m_timer_interrupt: addi sp,sp,-16 sw a4,12(sp) sw a5,8(sp) lui a4,%hi(_timer_ticks) lw a5,%lo(_timer_ticks)(a4) addi t0,a5,1 # sw t0,%lo(_timer_ticks)(a4) # t0 are used but it not save/restore at prologue/epilogue lw a4,12(sp) lw a5,8(sp) addi sp,sp,16 mret Reported by goxinxog@gmail.com at RISC-V SW Dev list (https://groups.google.com/a/groups.riscv.org/d/msg/sw-dev/w8CCfQwk5DA/ZC0izJvBCAAJ) >From gcc-bugs-return-665950-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:29:04 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13681 invoked by alias); 17 Jan 2020 11:29:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13605 invoked by uid 48); 17 Jan 2020 11:28:58 -0000 From: "linkw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91052] [10 Regression] ICE in fix_reg_equiv_init, at ira.c:2705 Date: Fri, 17 Jan 2020 11:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: linkw 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01676.txt.bz2 Content-length: 434 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91052 --- Comment #9 from Kewen Lin --- I can't reproduce this on both powerpc64le-linux-gnu (edabbec31e3bfc9a9757f80c8610706ed00e5a1a) and ppc64-redhat-linux (r278916), IIUC I need the powerpc-e300c3 environment header/library as sysroot for cross-compiler build. Could you guide me how to get it? Does it exist somewhere in some machine in Compiler Farm? >From gcc-bugs-return-665951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:31:29 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17617 invoked by alias); 17 Jan 2020 11:30:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16641 invoked by uid 48); 17 Jan 2020 11:30:32 -0000 From: "roland.wintersteller@wallner-automation.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/52985] Postincrement not applied after indexing ternary array expression Date: Fri, 17 Jan 2020 11: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: 4.6.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: roland.wintersteller@wallner-automation.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01677.txt.bz2 Content-length: 538 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52985 Roland Wintersteller changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |roland.wintersteller@wallne | |r-automation.com --- Comment #3 from Roland Wintersteller --- same with gcc-8/9/?, works with clang >From gcc-bugs-return-665952-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:34:24 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19900 invoked by alias); 17 Jan 2020 11:34:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19848 invoked by uid 48); 17 Jan 2020 11:34:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92606] [8/9/10 Regression][avr] invalid merge of symbols in progmem and data sections Date: Fri, 17 Jan 2020 11: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: 9.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01678.txt.bz2 Content-length: 472 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92606 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 --- Comment #9 from Richard Biener --- x86 has __gs/fs address-spaces so a testcase that is broken there can be constructed as well I guess. Martin? >From gcc-bugs-return-665954-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:35:08 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21051 invoked by alias); 17 Jan 2020 11:35:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20832 invoked by uid 48); 17 Jan 2020 11:35:04 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92606] [8/9/10 Regression][avr] invalid merge of symbols in progmem and data sections Date: Fri, 17 Jan 2020 11: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: 9.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01680.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92606 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org >From gcc-bugs-return-665953-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:35:07 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20859 invoked by alias); 17 Jan 2020 11:35:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20773 invoked by uid 48); 17 Jan 2020 11:35:01 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92625] [8/9/10 Regression] Internal compiler error accessing element in static constexpr char array in template class using alias Date: Fri, 17 Jan 2020 11:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01679.txt.bz2 Content-length: 359 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92625 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Priority|P3 |P2 >From gcc-bugs-return-665956-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:36:59 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23715 invoked by alias); 17 Jan 2020 11:36:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23659 invoked by uid 48); 17 Jan 2020 11:36:54 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92071] [10 regression][ARM] ice in gen_movsi, at config/arm/arm.md:5378 Date: Fri, 17 Jan 2020 11:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: needs-bisection, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01682.txt.bz2 Content-length: 472 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92071 --- Comment #7 from Richard Earnshaw --- (In reply to Richard Biener from comment #6) > Agreed. Did anybody bisect what caused this? It only came to light when we added a check in the backend. So I'm not sure a bisect will be that helpful, except if you try with that patch applied to every revision under bisect. Even that might not help as this is likely a long-standing issue. >From gcc-bugs-return-665955-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:36:00 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22564 invoked by alias); 17 Jan 2020 11:36:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22465 invoked by uid 48); 17 Jan 2020 11:35:56 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92654] [8/9/10 Regression] internal compiler error: in lookup_template_class_1 Date: Fri, 17 Jan 2020 11: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01681.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92654 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665957-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:37:19 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24466 invoked by alias); 17 Jan 2020 11:37:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24398 invoked by uid 48); 17 Jan 2020 11:37:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92718] [8/9/10 Regression] Bogus Wstringop-overflow in __builtin_memset() of an element of array of size 1 of struct Date: Fri, 17 Jan 2020 11:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.3.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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01683.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92718 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:37:58 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25466 invoked by alias); 17 Jan 2020 11:37:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25427 invoked by uid 48); 17 Jan 2020 11:37:53 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/92763] [8/9/10 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.c:22659, or in force_type_die, at dwarf2out.c:26224 Date: Fri, 17 Jan 2020 11:37: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: 10.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: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01684.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92763 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:39:11 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26910 invoked by alias); 17 Jan 2020 11:39:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26858 invoked by uid 48); 17 Jan 2020 11:39:06 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92773] [8/9/10 Regression] GCC compilation with big array / header is infinite Date: Fri, 17 Jan 2020 11:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: compile-time-hog, 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: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01685.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92773 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665960-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:40:48 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33339 invoked by alias); 17 Jan 2020 11:40:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33296 invoked by uid 48); 17 Jan 2020 11:40:44 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92779] [8/9/10 Regression] ICE in gfc_conv_intrinsic_funcall, at fortran/trans-intrinsic.c:4225 Date: Fri, 17 Jan 2020 11:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01686.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92779 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 >From gcc-bugs-return-665961-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:41:39 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34474 invoked by alias); 17 Jan 2020 11:41:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34405 invoked by uid 48); 17 Jan 2020 11:41:35 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/92784] [10 regression] ICE when compiling g++.dg/torture/pr59226.C after r278944 Date: Fri, 17 Jan 2020 11:41: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: 10.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01687.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92784 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665962-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:44:44 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57847 invoked by alias); 17 Jan 2020 11:44:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57768 invoked by uid 48); 17 Jan 2020 11:44:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92788] [10 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2313 Date: Fri, 17 Jan 2020 11:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-invalid-code, 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01688.txt.bz2 Content-length: 471 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92788 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 --- Comment #3 from Richard Biener --- delay the EH edge purging? Guess then the EH edge redirect will complain because there's no stmt throwing... >From gcc-bugs-return-665963-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:45:04 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58696 invoked by alias); 17 Jan 2020 11:45:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58577 invoked by uid 48); 17 Jan 2020 11:44:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92815] [8/9/10 Regression] spurious -Wstringop-overflow writing into a flexible array of an extern struct Date: Fri, 17 Jan 2020 11:45: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: 10.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: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01689.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92815 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665964-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:46:13 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60989 invoked by alias); 17 Jan 2020 11:46:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60731 invoked by uid 48); 17 Jan 2020 11:46:08 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92819] [10 Regression] Worse code generated on avx2 due to simplify_vector_constructor Date: Fri, 17 Jan 2020 11: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: 10.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: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01690.txt.bz2 Content-length: 435 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92819 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org >From gcc-bugs-return-665965-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:46:44 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63068 invoked by alias); 17 Jan 2020 11:46:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62686 invoked by uid 48); 17 Jan 2020 11:46:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92822] [10 Regression] vfma_laneq_f32 and vmul_laneq_f32 are broken on aarch64 after r278938 Date: Fri, 17 Jan 2020 11: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: 10.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: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01691.txt.bz2 Content-length: 435 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92822 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org >From gcc-bugs-return-665966-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:47:13 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65159 invoked by alias); 17 Jan 2020 11:47:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64841 invoked by uid 48); 17 Jan 2020 11:47:07 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/92829] [10 regression] several test case failures starting with r278983 Date: Fri, 17 Jan 2020 11:47: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: 10.0 X-Bugzilla-Keywords: diagnostic 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: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01692.txt.bz2 Content-length: 368 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92829 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 --- Comment #4 from Richard Biener --- Fixed? >From gcc-bugs-return-665967-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:47:25 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66272 invoked by alias); 17 Jan 2020 11:47:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66007 invoked by uid 48); 17 Jan 2020 11:47:20 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92852] [8/9/10 Regression] location references block not in block tree Date: Fri, 17 Jan 2020 11:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: ice-checking 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: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01693.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92852 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665968-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:47:38 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67604 invoked by alias); 17 Jan 2020 11:47:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67344 invoked by uid 48); 17 Jan 2020 11:47:33 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/92588] [10 Regression] ICE nodes with unreleased memory found Date: Fri, 17 Jan 2020 11:47: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: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code, needs-bisection, 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01694.txt.bz2 Content-length: 323 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92588 --- Comment #3 from Martin Liška --- (In reply to Richard Biener from comment #2) > AFAIU this is just a warning that we fail to "free" some GC memory? It looks to me like this. Btw. I can't reproduce that on current master right now. >From gcc-bugs-return-665969-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:51:43 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99636 invoked by alias); 17 Jan 2020 11:51:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99366 invoked by uid 48); 17 Jan 2020 11:51:37 -0000 From: "kito at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93304] RISC-V: Function with interrupt attribute use register without save/restore at prologue/epilogue Date: Fri, 17 Jan 2020 11:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kito at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01695.txt.bz2 Content-length: 232 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93304 --- Comment #1 from Kito Cheng --- Created attachment 47669 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47669&action=edit pr93304-v1.patch >From gcc-bugs-return-665970-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:52:40 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101346 invoked by alias); 17 Jan 2020 11:52:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101299 invoked by uid 48); 17 Jan 2020 11:52:35 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92879] [10 Regression] incorrect warning of __builtin_memset offset is out of the bounds on zero-size allocation and initialization Date: Fri, 17 Jan 2020 11: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: 10.0 X-Bugzilla-Keywords: alias, 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01696.txt.bz2 Content-length: 785 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92879 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization CC| |rguenth at gcc dot gnu.org --- Comment #5 from Richard Biener --- There's eventually the possibility to adjust call_may_clobber_ref_p_1 to handle calls that are DECL_IS_REPLACEABLE_OPERATOR_NEW_P specially. Not sure why that is "replaceable" but you mention new is not replaceable... Ah, there's also DECL_IS_OPERATOR_NEW_P (but docs say it's to be used for alias analysis on the resulting ptr). >From gcc-bugs-return-665971-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:55:21 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110437 invoked by alias); 17 Jan 2020 11:55:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108832 invoked by uid 48); 17 Jan 2020 11:55:16 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92909] [8/9/10 Regression] ICE on incorrect lambda inside variadic template Date: Fri, 17 Jan 2020 11:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-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: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01697.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92909 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:57:13 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123924 invoked by alias); 17 Jan 2020 11:57:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123701 invoked by uid 48); 17 Jan 2020 11:57:07 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92918] [8/9/10 Regression] Does not do name lookup when using from base class Date: Fri, 17 Jan 2020 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: 9.2.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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01698.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92918 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 11:59:05 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126014 invoked by alias); 17 Jan 2020 11:59:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125953 invoked by uid 48); 17 Jan 2020 11:59:01 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/92955] [10 regression] gcc.dg/vect/pr60505.c fails starting with r279392 Date: Fri, 17 Jan 2020 11:59: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: 10.0 X-Bugzilla-Keywords: diagnostic 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01699.txt.bz2 Content-length: 402 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92955 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING --- Comment #2 from Richard Biener --- Can you attach preprocessed source? >From gcc-bugs-return-665975-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 12:03:34 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130331 invoked by alias); 17 Jan 2020 12:03:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130171 invoked by uid 48); 17 Jan 2020 12:03:29 -0000 From: "rguenth at gcc dot 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: Fri, 17 Jan 2020 12:03: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: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01701.txt.bz2 Content-length: 504 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 93144, which changed state. Bug 93144 Summary: [10 Regression] 459.GemsFDTD debug info size increase by 50% since r279563 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93144 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID >From gcc-bugs-return-665974-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 12:03:33 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130252 invoked by alias); 17 Jan 2020 12:03:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130134 invoked by uid 48); 17 Jan 2020 12:03:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/93144] [10 Regression] 459.GemsFDTD debug info size increase by 50% since r279563 Date: Fri, 17 Jan 2020 12:03: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: 10.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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01700.txt.bz2 Content-length: 465 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93144 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #7 from Richard Biener --- I'd say it can be explained by inlining. >From gcc-bugs-return-665977-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 12:06:24 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66234 invoked by alias); 17 Jan 2020 12:06:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53645 invoked by uid 48); 17 Jan 2020 12:06:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/93199] [8/9/10 Regression] Compile time hog in sink_clobbers Date: Fri, 17 Jan 2020 12: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: 10.0 X-Bugzilla-Keywords: compile-time-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: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01703.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93199 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-665976-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 12:06:03 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20307 invoked by alias); 17 Jan 2020 12:06:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17158 invoked by uid 48); 17 Jan 2020 12:05:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93169] [10 regression] Variable incorrectly put into readonly section. Date: Fri, 17 Jan 2020 12:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.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: P1 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01702.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93169 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665978-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 12:07:06 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116620 invoked by alias); 17 Jan 2020 12:07:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 116569 invoked by uid 48); 17 Jan 2020 12:07:01 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93221] [10 Regression] ICE maximum number of generated reload insns per insn achieved (90) on aarch64 Date: Fri, 17 Jan 2020 12: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: 10.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: P1 X-Bugzilla-Assigned-To: joel.hutton at arm dot com X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01704.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93221 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665980-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 12:08:21 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122081 invoked by alias); 17 Jan 2020 12:08:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121813 invoked by uid 48); 17 Jan 2020 12:08:16 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/93227] [10 regression] g++.dg/cpp0x/std-layout1.C fails starting with r280065 Date: Fri, 17 Jan 2020 12:08: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01706.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93227 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665979-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 12:08:05 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120312 invoked by alias); 17 Jan 2020 12:08:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119900 invoked by uid 48); 17 Jan 2020 12:07:59 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/93305] New: [OpenACC] 'acc_shutdown' vs. active data lifetimes Date: Fri, 17 Jan 2020 12:08: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: unknown X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: 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 target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01705.txt.bz2 Content-length: 2000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93305 Bug ID: 93305 Summary: [OpenACC] 'acc_shutdown' vs. active data lifetimes Product: gcc Version: unknown Status: UNCONFIRMED Keywords: openacc 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 Depends on: 65904, 88981, 88941 Target Milestone: --- We need to better lay out and document how we handle 'acc_shutdown' vs. active data lifetimes: for example, due to 'async' still running, due to OpenACC 'declare', due to OpenACC 'data' construct, due to OpenACC 'enter data' without 'exit data'. Likewise for an implicit "shutdown" at process termination. It seems clear that 'acc_shutdown' should immediately unmap/deallocate everything. It's less clear what should happen when after an 'acc_shutdown' we then again (implicitly/explicitly) 'acc_init': how/which state gets restored? It seems wrong that we currently make it a runtime error when "shutdown in 'acc data' region". (The diagnostic got added in gomp-4_0-branch r216925 "Rationalise thread-local variables in libgomp OpenACC support"; unclear what the behavior was before.) It's not clear what after an 'acc_shutdown' should happen in the "exit" handling of a structured data region; . Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65904 [Bug 65904] Memory corruption with acc_shutdown, nvptx offloading, libgomp.oacc-c-c++-common/asyncwait-1.c https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88941 [Bug 88941] [nvptx, openacc, libgomp] Assertion `!s->map->active' failed for empty asynchronous parallel https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88981 [Bug 88981] [nvptx, openacc, libgomp] How to handle async regions without corresponding wait >From gcc-bugs-return-665981-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 12:09:44 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3281 invoked by alias); 17 Jan 2020 12:09:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3191 invoked by uid 48); 17 Jan 2020 12:09:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/93258] [10 regression] Missed constant folding from constructor Date: Fri, 17 Jan 2020 12:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.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: WORKSFORME X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01707.txt.bz2 Content-length: 473 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93258 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #4 from Richard Biener --- So you need to come up with another testcase. >From gcc-bugs-return-665982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 12:10:19 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4482 invoked by alias); 17 Jan 2020 12:10:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4415 invoked by uid 48); 17 Jan 2020 12:10:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/93264] [10 Regression] ICE in cfg_layout_redirect_edge_and_branch_force, at cfgrtl.c:4522 Date: Fri, 17 Jan 2020 12:10: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: 10.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01708.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93264 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 >From gcc-bugs-return-665983-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 12:10:36 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5228 invoked by alias); 17 Jan 2020 12:10:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5185 invoked by uid 48); 17 Jan 2020 12:10:31 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/93271] [8/9/10 regression] SRA producing wrong code on denormals Date: Fri, 17 Jan 2020 12: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: 10.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: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01709.txt.bz2 Content-length: 352 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93271 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Priority|P3 |P2 >From gcc-bugs-return-665984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 12:18:56 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61796 invoked by alias); 17 Jan 2020 12:18:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61744 invoked by uid 48); 17 Jan 2020 12:18:51 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/93306] New: Unnecessary file I/O done for #if 0 && __has_include(...) Date: Fri, 17 Jan 2020 12:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: 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: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01710.txt.bz2 Content-length: 9897 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93306 Bug ID: 93306 Summary: Unnecessary file I/O done for #if 0 && __has_include(...) Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: preprocessor Assignee: nathan at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- Given: #if 0 && __has_include("foo.h") #endif strace shows a lot of redundant I/O: stat("foo.h.gch", 0x7ffdc491f760) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "foo.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/home/jwakely", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib/gcc", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu/10.0.1", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/include", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/include/c++", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/include/c++/10.0.1", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/include/c++/10.0.1/foo.h", 0x7ffdc491e620) = -1 ENOENT (No such file or directory) stat("/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu/10.0.1/../../../../include/c++/10.0.1/foo.h.gch", 0x7ffdc491f760) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu/10.0.1/../../../../include/c++/10.0.1/foo.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/home/jwakely", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib/gcc", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu/10.0.1", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/include", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/include/c++", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/include/c++/10.0.1", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/include/c++/10.0.1/x86_64-pc-linux-gnu", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/include/c++/10.0.1/x86_64-pc-linux-gnu/foo.h", 0x7ffdc491e620) = -1 ENOENT (No such file or directory) stat("/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu/10.0.1/../../../../include/c++/10.0.1/x86_64-pc-linux-gnu/foo.h.gch", 0x7ffdc491f760) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu/10.0.1/../../../../include/c++/10.0.1/x86_64-pc-linux-gnu/foo.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/home/jwakely", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib/gcc", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu/10.0.1", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/include", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/include/c++", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/include/c++/10.0.1", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/include/c++/10.0.1/backward", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/include/c++/10.0.1/backward/foo.h", 0x7ffdc491e620) = -1 ENOENT (No such file or directory) stat("/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu/10.0.1/../../../../include/c++/10.0.1/backward/foo.h.gch", 0x7ffdc491f760) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu/10.0.1/../../../../include/c++/10.0.1/backward/foo.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/home/jwakely", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib/gcc", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu/10.0.1", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu/10.0.1/include", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu/10.0.1/include/foo.h", 0x7ffdc491e620) = -1 ENOENT (No such file or directory) stat("/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu/10.0.1/include/foo.h.gch", 0x7ffdc491f760) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu/10.0.1/include/foo.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/usr/local", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/usr/local/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/usr/local/include/foo.h", 0x7ffdc491e620) = -1 ENOENT (No such file or directory) stat("/usr/local/include/foo.h.gch", 0x7ffdc491f760) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/usr/local/include/foo.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/home/jwakely", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/include", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/include/foo.h", 0x7ffdc491e620) = -1 ENOENT (No such file or directory) stat("/home/jwakely/gcc/10/include/foo.h.gch", 0x7ffdc491f760) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/jwakely/gcc/10/include/foo.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/home/jwakely", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib/gcc", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu/10.0.1", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu/10.0.1/include-fixed", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu/10.0.1/include-fixed/foo.h", 0x7ffdc491e620) = -1 ENOENT (No such file or directory) stat("/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu/10.0.1/include-fixed/foo.h.gch", 0x7ffdc491f760) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/jwakely/gcc/10/lib/gcc/x86_64-pc-linux-gnu/10.0.1/include-fixed/foo.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/usr/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/usr/include/foo.h", 0x7ffdc491e620) = -1 ENOENT (No such file or directory) stat("/usr/include/foo.h.gch", 0x7ffdc491f760) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/usr/include/foo.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) This affects uses like: #if __cplusplus >= 201703L && __has_include() On IRC Nathan said "I see what's happening the __has_include evaluator is ignoring the skip_eval counter" >From gcc-bugs-return-665985-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 12:22:25 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66851 invoked by alias); 17 Jan 2020 12:22:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66783 invoked by uid 48); 17 Jan 2020 12:22:21 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/92784] [10 regression] ICE when compiling g++.dg/torture/pr59226.C after r278944 Date: Fri, 17 Jan 2020 12:22: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: 10.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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01711.txt.bz2 Content-length: 500 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92784 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Martin Liška --- Fixed on trunk with g:r10-5195-ga414fd426346558d7a913af3ed82bcc1121fc880. >From gcc-bugs-return-665986-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 12:23:45 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71555 invoked by alias); 17 Jan 2020 12:23:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71498 invoked by uid 48); 17 Jan 2020 12:23:41 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91052] [10 Regression] ICE in fix_reg_equiv_init, at ira.c:2705 Date: Fri, 17 Jan 2020 12: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code, ra 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01712.txt.bz2 Content-length: 567 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91052 --- Comment #10 from Martin Liška --- (In reply to Kewen Lin from comment #9) > I can't reproduce this on both powerpc64le-linux-gnu > (edabbec31e3bfc9a9757f80c8610706ed00e5a1a) and ppc64-redhat-linux (r278916), > IIUC I need the powerpc-e300c3 environment header/library as sysroot for > cross-compiler build. Could you guide me how to get it? Does it exist > somewhere in some machine in Compiler Farm? You should not need it. One only needs to build make-host (front-ends). >From gcc-bugs-return-665987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 12:25:23 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73723 invoked by alias); 17 Jan 2020 12:25:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73242 invoked by uid 48); 17 Jan 2020 12:25:18 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/80005] cpp expands __has_include() filename parts Date: Fri, 17 Jan 2020 12:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 6.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01713.txt.bz2 Content-length: 571 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80005 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |nathan at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org --- Comment #2 from Nathan Sidwell --- I happen to be looking in this part anyway ... >From gcc-bugs-return-665988-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 12:26:13 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76220 invoked by alias); 17 Jan 2020 12:26:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 76171 invoked by uid 48); 17 Jan 2020 12:26:08 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/93301] Wrong optimization: instability of uninitialized variables leads to nonsense Date: Fri, 17 Jan 2020 12:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01714.txt.bz2 Content-length: 798 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93301 --- Comment #1 from Richard Biener --- So we perform if-conversion on the comparison with an undefined value and from there things go downhill (guess DOM would also happily propagate equivalences). I don't think that C guarantees that 'y' has the same value if (x == y) { <--- here b = 1; z = x; } else { b = 0; z = y; <--- and here } at least I'd be surprised. Note whether something is initialized or not is not readily visible in general (it is for this particular testcase of course), so there cannot be a "fix" that works in all cases. My solution would be to make program behavior undefined (which as outlined above it probably already is). >From gcc-bugs-return-665989-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 12:28:03 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77759 invoked by alias); 17 Jan 2020 12:28:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77642 invoked by uid 48); 17 Jan 2020 12:27:58 -0000 From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93133] __builtin_isgreater emits trapping compare instruction Date: Fri, 17 Jan 2020 12:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rsandifo at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01715.txt.bz2 Content-length: 592 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93133 rsandifo at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from rsandifo at gcc dot gnu.org --- Fixed by r10-6036-g865257c447cc50f5819e9b53da83145f3c36c305 (forgot to mark the PR in the changelog, so it wasn't picked up automatically). >From gcc-bugs-return-665990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 12:35:04 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85376 invoked by alias); 17 Jan 2020 12:35:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85277 invoked by uid 48); 17 Jan 2020 12:34:59 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/69879] Create a pointer to the default operator new and delete Date: Fri, 17 Jan 2020 12: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gabriel.ibarra at tallertechnologies dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01716.txt.bz2 Content-length: 360 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69879 --- Comment #8 from Jonathan Wakely --- I missed this question, sorry. The changes needed to add new symbols to libstdc++.so (including adjusting the tests) are documented at: https://gcc.gnu.org/onlinedocs/libstdc++/manual/appendix_porting.html#build_hacking.configure.version >From gcc-bugs-return-665991-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 12:44:20 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126922 invoked by alias); 17 Jan 2020 12:44:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126880 invoked by uid 48); 17 Jan 2020 12:44:16 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/92165] [10 regression] g++.dg/cpp2a/nodiscard-once.C fails starting with r277200 Date: Fri, 17 Jan 2020 12: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: 10.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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01717.txt.bz2 Content-length: 498 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92165 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jakub Jelinek --- I think this has been fixed by r10-4298-g2df0c2315a21a05838c8015d27678d236f4d0cd4 >From gcc-bugs-return-665992-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 12:46:41 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3037 invoked by alias); 17 Jan 2020 12:46:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2760 invoked by uid 48); 17 Jan 2020 12:46:35 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/93258] [10 regression] Missed constant folding from constructor Date: Fri, 17 Jan 2020 12:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.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: WORKSFORME X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01718.txt.bz2 Content-length: 1065 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93258 --- Comment #5 from Martin Liška --- Fixed on trunk with g:r10-5888-ge0804c9b5efdf17bbfb692a787df36b86f71af8d. Bisecting latest revisions e0804c9b5efdf17b(10 Jan 2020 13:47)(jason@redhat.com): [took: 4.921s] result: OK ;; Function fn1 (_Z3fn1v, funcdef_no=9, decl_uid=2587, cgraph_uid=8, symbol_order=8) (executed once) fn1 () { struct o D.2606; [local count: 1073741824]: D.2606 = bw::ci::cj (0B, 6); [return slot optimization] D.2606 ={v} {CLOBBER}; __builtin_unreachable (); } 640b23d7ff5f3fad(10 Jan 2020 13:46)(jason@redhat.com): [took: 5.350s] result: OK ;; Function fn1 (_Z3fn1v, funcdef_no=9, decl_uid=2587, cgraph_uid=8, symbol_order=8) (executed once) fn1 () { const char * p$cd; struct o D.2606; long int _6; [local count: 1073741824]: p$cd_5 = ck.cd; _6 = p$cd_5 - ""; D.2606 = bw::ci::cj (0B, _6); [return slot optimization] D.2606 ={v} {CLOBBER}; __builtin_unreachable (); } >From gcc-bugs-return-665993-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 13:08:57 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90062 invoked by alias); 17 Jan 2020 13:08:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90005 invoked by uid 48); 17 Jan 2020 13:08:52 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/93307] New: ODR violations Date: Fri, 17 Jan 2020 13:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01719.txt.bz2 Content-length: 2785 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93307 Bug ID: 93307 Summary: ODR violations Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: hubicka at gcc dot gnu.org Target Milestone: --- Bootstrapping with LTO complains about ODR issues in analyzer ../../gcc/analyzer/region-model.h:792: warning: type ‘struct region’ violates the C++ One Definition Rule [-Wodr] 792 | class region | ../../gcc/sched-int.h:1443:8: note: a type with different virtual table pointers is defined in another translation unit 1443 | struct region | ^ ../../gcc/analyzer/region-model.h:792: warning: type ‘struct region’ violates the C++ One Definition Rule [-Wodr] 792 | class region ..... ../../gcc/analyzer/region-model.h:1239: warning: type ‘struct array_region’ violates the C++ One Definition Rule [-Wodr] 1239 | class array_region : public region | ../../gcc/analyzer/region-model.h:1239: note: a type with different bases is defined in another translation unit 1239 | class array_region : public region | ../../gcc/analyzer/region-model.h:1038: warning: type ‘struct union_region’ violates the C++ One Definition Rule [-Wodr] 1038 | class union_region : public struct_or_union_region | ../../gcc/analyzer/region-model.h:1038: note: a type with different bases is defined in another translation unit 1038 | class union_region : public struct_or_union_region | ../../gcc/analyzer/region-model.h:1011: warning: type ‘struct struct_region’ violates the C++ One Definition Rule [-Wodr] 1011 | class struct_region : public struct_or_union_region | ../../gcc/analyzer/region-model.h:1011: note: a type with different bases is defined in another translation unit 1011 | class struct_region : public struct_or_union_region | ../../gcc/tree-ssa-structalias.c:531: warning: type ‘struct constraint’ violates the C++ One Definition Rule [-Wodr] 531 | struct constraint | ../../gcc/analyzer/constraint-manager.h:121: note: a different type is defined in another translation unit 121 | class constraint | ../../gcc/tree-ssa-structalias.c:533: note: the first difference of corresponding definitions is field ‘lhs’ 533 | struct constraint_expr lhs; | ../../gcc/analyzer/constraint-manager.h:142: note: a field with different name is defined in another translation unit 142 | equiv_class_id m_lhs; At first glance they all seems valid. If not I would be happy to know about it. >From gcc-bugs-return-665994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 13:14:47 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121473 invoked by alias); 17 Jan 2020 13:14:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121371 invoked by uid 48); 17 Jan 2020 13:14:42 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/69879] Create a pointer to the default operator new and delete Date: Fri, 17 Jan 2020 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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gabriel.ibarra at tallertechnologies dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01720.txt.bz2 Content-length: 354 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69879 --- Comment #9 from Jonathan Wakely --- N.B. the new patterns your patch adds to the gnu.ver script need to use '[jmy]' instead of 'm' for the size_t parameters, e.g. __default_operator_new_throw[jmy] Otherwise they will only match targets where size_t is unsigned long. >From gcc-bugs-return-665995-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 13:17:16 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124666 invoked by alias); 17 Jan 2020 13:17:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124601 invoked by uid 48); 17 Jan 2020 13:17:11 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/92002] [10 regression] -Wuninitialized warning in gcc/wide-int.cc Date: Fri, 17 Jan 2020 13: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: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01721.txt.bz2 Content-length: 193 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92002 --- Comment #10 from Jakub Jelinek --- -Wno-error=uninitialized might be more appropriate for the workaround. >From gcc-bugs-return-665996-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 13:19:52 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128189 invoked by alias); 17 Jan 2020 13:19:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128076 invoked by uid 55); 17 Jan 2020 13:19:45 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92692] [9/10 Regression] Saving off the callee saved register between ldxr/stxr (caused by shrink wrapping improvements) Date: Fri, 17 Jan 2020 13: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: 10.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: blocker X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: wilco at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01722.txt.bz2 Content-length: 1400 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92692 --- Comment #15 from CVS Commits --- The master branch has been updated by Wilco Dijkstra : https://gcc.gnu.org/g:e5e07b68187b9aa334519746c45b8cffc5eb7e5c commit r10-6038-ge5e07b68187b9aa334519746c45b8cffc5eb7e5c Author: Wilco Dijkstra Date: Fri Jan 17 13:17:21 2020 +0000 [AArch64] Fix shrinkwrapping interactions with atomics (PR92692) The separate shrinkwrapping pass may insert stores in the middle of atomics loops which can cause issues on some implementations. Avoid this by delaying splitting atomics patterns until after prolog/epilog generation. gcc/ PR target/92692 * config/aarch64/aarch64.c (aarch64_split_compare_and_swap) Add assert to ensure prolog has been emitted. (aarch64_split_atomic_op): Likewise. * config/aarch64/atomics.md (aarch64_compare_and_swap) Use epilogue_completed rather than reload_completed. (aarch64_atomic_exchange): Likewise. (aarch64_atomic_): Likewise. (atomic_nand): Likewise. (aarch64_atomic_fetch_): Likewise. (atomic_fetch_nand): Likewise. (aarch64_atomic__fetch): Likewise. (atomic_nand_fetch): Likewise. >From gcc-bugs-return-665997-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 13:29:11 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22846 invoked by alias); 17 Jan 2020 13:29:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22765 invoked by uid 55); 17 Jan 2020 13:29:05 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/93281] Various analyzer testsuite failures for 32-bit targets Date: Fri, 17 Jan 2020 13:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01723.txt.bz2 Content-length: 1669 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93281 --- Comment #4 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:5f0303833d542b273da33e4b149974e739d350e5 commit r10-6039-g5f0303833d542b273da33e4b149974e739d350e5 Author: David Malcolm Date: Wed Jan 15 15:55:11 2020 -0500 analyzer: fix handling of negative byte offsets (v2) (PR 93281) Various 32-bit targets show failures in gcc.dg/analyzer/data-model-1.c with tests of the form: __analyzer_eval (q[-2].x == 107024); /* { dg-warning "TRUE" } */ __analyzer_eval (q[-2].y == 107025); /* { dg-warning "TRUE" } */ where they emit UNKNOWN instead. The root cause is that gimple has a byte-based twos-complement offset of -16 expressed like this: _55 = q_92 + 4294967280; (32-bit) or: _55 = q_92 + 18446744073709551600; (64-bit) Within region_model::convert_byte_offset_to_array_index that unsigned offset was being divided by the element size to get an offset within an array. This happened to work on 64-bit target and host, but not elsewhere; the offset needs to be converted to a signed type before the division is meaningful. This patch does so, fixing the failures. gcc/analyzer/ChangeLog: PR analyzer/93281 * region-model.cc (region_model::convert_byte_offset_to_array_index): Convert to ssizetype before dividing by byte_size. Use fold_binary rather than fold_build2 to avoid needlessly constructing a tree for the non-const case. >From gcc-bugs-return-665998-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 13:31:11 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24783 invoked by alias); 17 Jan 2020 13:30:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24704 invoked by uid 48); 17 Jan 2020 13:30:52 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/93281] Various analyzer testsuite failures for 32-bit targets Date: Fri, 17 Jan 2020 13:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01724.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93281 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from David Malcolm --- Should be fixed by r10-6039-g5f0303833d542b273da33e4b149974e739d350e5 >From gcc-bugs-return-665999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 13:31:50 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26342 invoked by alias); 17 Jan 2020 13:31:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26264 invoked by uid 48); 17 Jan 2020 13:31:45 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/69879] Create a pointer to the default operator new and delete Date: Fri, 17 Jan 2020 13:31: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gabriel.ibarra at tallertechnologies dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01725.txt.bz2 Content-length: 4005 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69879 --- Comment #10 from Jonathan Wakely --- (In reply to Daniel Gutson from comment #0) > This issue comes from the following discussion: > > https://gcc.gnu.org/ml/libstdc++/2015-11/msg00009.html > > In short: Pedro Alves suggested as a solution the addition of a pointer to > the original (default) operator new and another for the operator delete, > e.g. __default_operator_new and __default_operator_delete. > This will allow users to override the global operators new and delete, and > yet call the original implementations, for example to alter the behavior > when there is no memory and the nothrow new should not iterate calling the > new_handler. Re-reading that thread, I'm not really convinced by the motivation. the requirement is based on a fairly convoluted set of self-imposed conditions. Since PR 68210 was fixed, the no-throw versions of operator new are now coupled to the throwing operator new. That means you only need to replace one version of new/delete and the others will use it. So we probably don't need to expose a __default_operator_xxx pointer for every overload now. Also, the original problem described in https://gcc.gnu.org/ml/libstdc++/2015-11/msg00009.html should no longer exist. The new-handler should simply throw when it can't make more memory available (as required by the standard), and that will cause the nothrow operator new to return null. There is a tangential problem though, which I am interested in. ince PR 68210 was fixed, when libstdc++ itself is built with -fno-exceptions then failure to allocate will abort the process, even if you use the nothrow operator new. I'm interested in a solution that allows operator new(nothrow_t, size_t) to return null when built with -fno-exceptions. One approach might be for operator new(nothrow_t, size_t) to detect when operator new(size_t) has been replaced (which might involve comparing its address with something like __default_operator_new_throw, and if the addresses are the same (i.e. the user hasn't replaced operator new) then do the work directly instead of calling operator new(size_t), but return null instead of throwing. That would make new(nothrow) useful again in environment where even libstdc++ is built with -fno-exceptions. Also, the alternative implementation of operator new(nothrow_t, size_t) could potentially use a different type of new-handler, which could be used to get the behaviour that motivated this bug report and the thread above. So something like this in libsupc++/new_opnt.cc using __nothrow_new_handler = bool(*)(); extern __nothrow_new_handler __nt_new_handler; _GLIBCXX_WEAK_DEFINITION void * operator new (std::size_t sz, const std::nothrow_t&) noexcept { #if __cpp_exceptions // _GLIBCXX_RESOLVE_LIB_DEFECTS // 206. operator new(size_t, nothrow) may become unlinked to ordinary // operator new if ordinary version replaced __try { return ::operator new(sz); } __catch (...) { return nullptr; } #else // no-exceptions if ( /* operator new has been replaced */ ) return ::operator new(sz); // otherwise, do the allocation directly so we can return null on failure void *p; /* malloc (0) is unpredictable; avoid it. */ if (__builtin_expect (sz == 0, false)) sz = 1; while ((p = malloc (sz)) == 0) { if (__nt_new_handler && __nt_new_handler()) continue; // retry new_handler handler = std::get_new_handler (); if (! handler) return 0; handler (); } return p; #endif } This would allow a program to set a non-standard handler that doesn't have to throw or terminate if it can't make memory available, causing the nothrow-new to return null, which was the original aim. I think something like this would solve the original problem, but *also* make nothrow-new more useful for people who aren't installing new-handlers. >From gcc-bugs-return-666000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 13:32:28 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27347 invoked by alias); 17 Jan 2020 13:32:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27279 invoked by uid 48); 17 Jan 2020 13:32:23 -0000 From: "r.j.hogan at reading dot ac.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93308] New: bind(c) subroutine changes lower bound of array argument in caller Date: Fri, 17 Jan 2020 13:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: r.j.hogan at reading dot ac.uk X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01726.txt.bz2 Content-length: 2895 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93308 Bug ID: 93308 Summary: bind(c) subroutine changes lower bound of array argument in caller Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: r.j.hogan at reading dot ac.uk Target Milestone: --- Created attachment 47670 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47670&action=edit Self contained source file that demonstrates the bug When the attached program is compiled and run, the allocatable array has its lbound changed from 1 to 0 when it returns from the bind(c) routine, while the explicit-shape array does not. This can be seen from the output line: After call: lbound(A) = 0 , A(1) = 2.00000000 Correct behaviour (the lbound is not changed) is found when the same code is compiled using gfortran 8.3.0 or earlier, or using the Intel Fortran compiler. Note that all versions of gfortran I have used issue the following warning, whether or not their behaviour is correct: Warning: Variable ‘v’ at (1) is a dummy argument of the BIND(C) procedure ‘routine_bindc’ but may not be C interoperable [-Wc-binding-type] This bug is unfortunate because as far as I can see the other Fortran-2018 aspects of passing arrays to and from C/C++ work well. Thanks, Robin Hogan. $ gfortran -v Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:hsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.2.1-9ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 9.2.1 20191008 (Ubuntu 9.2.1-9ubuntu2) >From gcc-bugs-return-666001-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 13:43:17 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51499 invoked by alias); 17 Jan 2020 13:43:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51443 invoked by uid 48); 17 Jan 2020 13:43:12 -0000 From: "ch3root at openwall dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/93301] Wrong optimization: instability of uninitialized variables leads to nonsense Date: Fri, 17 Jan 2020 13:43: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ch3root at openwall dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01727.txt.bz2 Content-length: 1219 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93301 --- Comment #2 from Alexander Cherepanov --- The problem is much more serious. It's not that C has some guarantees about two values of `y` while gcc doesn't provide them. It's that one part of gcc assumes there are some guarantees about two values of `y` while another part of gcc doesn't provide such guarantees. There were many discussions about "wobbly" values (DR 260, DR 451 etc.) and I don't expect gcc to give the same values for two `y`s at all. The second value is taken in the `else` branch, which we don't care about (at least while this branch doesn't invoke UB). Given that `b` is `1` we know that the `then` branch is taken. It's surely possible to make this testcase undefined. If I understand them correctly, llvm folks claim that "real compilers" (gcc included I assume) follow rules that are more like C++ than C (see the linked clang bug report). The C++ rules are much more strict and make `x == y` undefined if `y` is uninitialized. But my guess is that the C++ rules will not help. The problem is the internal inconsistency so everything will blow up independently of any external rules. >From gcc-bugs-return-666002-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 13:46:55 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54946 invoked by alias); 17 Jan 2020 13:46:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54905 invoked by uid 48); 17 Jan 2020 13:46:50 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/93307] ODR violations Date: Fri, 17 Jan 2020 13:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01728.txt.bz2 Content-length: 447 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93307 --- Comment #1 from David Malcolm --- Looks like a valid complaint to me; sorry about the breakage. Possibly a silly question, but how do you specify an LTO bootstrap? I'm wondering why I'm not running into this; I'm configuring with "lto" in my --enable-languages. I guess I'll introduce a namespace to put the analyzer names in. "ana" is nice and short. >From gcc-bugs-return-666003-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 13:49:00 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57840 invoked by alias); 17 Jan 2020 13:48:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57795 invoked by uid 48); 17 Jan 2020 13:48:55 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/93306] Unnecessary file I/O done for #if 0 && __has_include(...) Date: Fri, 17 Jan 2020 13:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01729.txt.bz2 Content-length: 467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93306 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #1 from Nathan Sidwell --- Fixed bf09d886a4be1031f7003073115af6cbc5575353 >From gcc-bugs-return-666004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 13:50:05 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59266 invoked by alias); 17 Jan 2020 13:50:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59176 invoked by uid 55); 17 Jan 2020 13:50:00 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/93306] Unnecessary file I/O done for #if 0 && __has_include(...) Date: Fri, 17 Jan 2020 13:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01730.txt.bz2 Content-length: 779 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93306 --- Comment #2 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:bf09d886a4be1031f7003073115af6cbc5575353 commit r10-6040-gbf09d886a4be1031f7003073115af6cbc5575353 Author: Nathan Sidwell Date: Fri Jan 17 05:39:47 2020 -0800 [PR93306] Short-circuit has_include the preprocessor evaluator has a skip_eval counter, but we weren't checking it after parsing has_include(foo), but before looking for foo. Resulting in unnecessary io for 'FALSE_COND && has_include ' PR preprocessor/93306 * expr.c (parse_has_include): Refactor. Check skip_eval before looking. >From gcc-bugs-return-666005-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 14:03:36 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89662 invoked by alias); 17 Jan 2020 14:03:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89538 invoked by uid 48); 17 Jan 2020 14:03:25 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92071] [10 regression][ARM] ice in gen_movsi, at config/arm/arm.md:5378 Date: Fri, 17 Jan 2020 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: 10.0 X-Bugzilla-Keywords: needs-bisection, 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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01731.txt.bz2 Content-length: 1598 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92071 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu.org --- Comment #8 from Jakub Jelinek --- The ICE started with r10-2840-g70cdb21e579191fe9f0f1d45e328908e59c0179e but we generated silently wrong-code before that, I believe since r7-5812-ga271e415611a80f1e86e625fd61360e193d04474 ldr r3, .L3 ldr r3, [r3] ldm r3, {r0, r1} b bar is what we generate with that r244249 and up, which likely doesn't handle if a is not 8 (or just 4) byte aligned. Before that we emitted push {r4, r5, lr} ldr r3, .L4 ldr r3, [r3] ldrb r0, [r3] @ zero_extendqisi2 ldrb r1, [r3, #5] @ zero_extendqisi2 ldrb ip, [r3, #1] @ zero_extendqisi2 ldrb r2, [r3, #4] @ zero_extendqisi2 ldrb r5, [r3, #2] @ zero_extendqisi2 ldrb r4, [r3, #6] @ zero_extendqisi2 orr r2, r2, r1, lsl #8 ldrb lr, [r3, #3] @ zero_extendqisi2 orr ip, r0, ip, lsl #8 ldrb r1, [r3, #7] @ zero_extendqisi2 orr r0, ip, r5, lsl #16 orr r2, r2, r4, lsl #16 orr r0, r0, lr, lsl #24 orr r1, r2, r1, lsl #24 pop {r4, r5, lr} b bar which clearly can handle unaligned load. >From gcc-bugs-return-666006-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 14:05:26 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94726 invoked by alias); 17 Jan 2020 14:05:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94584 invoked by uid 48); 17 Jan 2020 14:05:21 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/69879] Create a pointer to the default operator new and delete Date: Fri, 17 Jan 2020 14: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: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gabriel.ibarra at tallertechnologies dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01732.txt.bz2 Content-length: 2009 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69879 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=86013 --- Comment #11 from Jonathan Wakely --- Stated differently, the original problem is "the new-handler can only prevent looping by throwing an exception or terminating, which isn't appropriate for enironments using -fno-exceptions". The first solution (proposed on the mailing list) was to add a custom build mode that prevents looping, but makes operator new non-conforming. The solution proposed in comment 0 is to allow users to override new/delete with their desired behaviour but still call the default versions. The more I think about it, the more I dislike that. The new-handler is a global variable, so switching it back and forth like that is completely incompatible with multithreaded programs. As soon as two threads use new at the same time, you have no idea which new-handler will be used by __default_operator_new. I think the approach is completely untenable. Also, it would rely on GNU-specific symbols that only exist in libstdc++, so those symbols are completely redundant. The defaults in libstdc++ just use malloc. Fact. If you have to replace new anyway then just make it use malloc directly, instead of relying on __default_operator_new, which is just going to call malloc. I think the only sensible approach here is "make nothrow-new work without exceptions". So don't call the throwing new and try to catch the exception, and don't assume the new-handler will throw when it couldn't make memory available. PR 86013 comment 8 shows a possible way to implement the check here: if ( /* operator new has been replaced */ ) return ::operator new(sz); >From gcc-bugs-return-666007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 14:23:57 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123914 invoked by alias); 17 Jan 2020 14:23:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123850 invoked by uid 55); 17 Jan 2020 14:23:52 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93228] [[deprecated("message")]] on template struct/class drops message Date: Fri, 17 Jan 2020 14: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: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01733.txt.bz2 Content-length: 1007 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93228 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c60a18f8056facdcf370ce0e5f51550c9df5b539 commit r10-6041-gc60a18f8056facdcf370ce0e5f51550c9df5b539 Author: Jakub Jelinek Date: Fri Jan 17 15:22:22 2020 +0100 c++: Fix deprecated attribute handling on templates (PR c++/93228) As the following testcase shows, when deprecated attribute is on a template, we'd never print the message if any, because the attribute is not present on the TEMPLATE_DECL with which warn_deprecated_use is called, but on its DECL_TEMPLATE_RESULT or its type. 2020-01-17 Jakub Jelinek PR c++/93228 * parser.c (cp_parser_template_name): Look up deprecated attribute in DECL_TEMPLATE_RESULT or its type's attributes. * g++.dg/cpp1y/attr-deprecated-3.C: New test. >From gcc-bugs-return-666008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 14:26:41 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8867 invoked by alias); 17 Jan 2020 14:26:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8794 invoked by uid 55); 17 Jan 2020 14:26:36 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92531] [9/10 Regression] ICE in uses_template_parms, at cp/pt.c:10471 Date: Fri, 17 Jan 2020 14: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01734.txt.bz2 Content-length: 872 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92531 --- Comment #4 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:eff9c61dfb082cb3ea26f354d795e4098ec76866 commit r10-6042-geff9c61dfb082cb3ea26f354d795e4098ec76866 Author: Jason Merrill Date: Fri Jan 17 08:37:49 2020 -0500 PR c++/92531 - ICE with noexcept(lambda). This was failing because uses_template_parms didn't recognize LAMBDA_EXPR as a kind of expression. Instead of trying to enumerate all the different varieties of expression and then aborting if what's left isn't error_mark_node, let's handle error_mark_node and then assume anything else is an expression. * pt.c (uses_template_parms): Don't try to enumerate all the expression cases. >From gcc-bugs-return-666009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 14:58:28 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23166 invoked by alias); 17 Jan 2020 14:58:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23074 invoked by uid 48); 17 Jan 2020 14:58:22 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/69879] Create a pointer to the default operator new and delete Date: Fri, 17 Jan 2020 14:58: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gabriel.ibarra at tallertechnologies dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01735.txt.bz2 Content-length: 706 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69879 --- Comment #12 from Jonathan Wakely --- Created attachment 47671 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47671&action=edit Elide exception handling in nothrow new Here's a proof of concept showing how to make the nothrow operator work without exceptions, and also give up if the new_handler keeps returning without making enough memory available. This avoids the overhead of throwing and catching bad_alloc, which is what I care about. Does this also adequately address the original concern? The (tries > 100) part should probably be user-controllable (maybe by a glibc-style tunable, see PR 88264). >From gcc-bugs-return-666010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 15:03:07 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32906 invoked by alias); 17 Jan 2020 15:03:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32785 invoked by uid 48); 17 Jan 2020 15:02:58 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92531] [9 Regression] ICE in uses_template_parms, at cp/pt.c:10471 Date: Fri, 17 Jan 2020 15: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_work assigned_to short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01736.txt.bz2 Content-length: 728 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92531 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Known to work| |10.0 Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org Summary|[9/10 Regression] ICE in |[9 Regression] ICE in |uses_template_parms, at |uses_template_parms, at |cp/pt.c:10471 |cp/pt.c:10471 --- Comment #5 from Jason Merrill --- Fixed on trunk so far. >From gcc-bugs-return-666011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 15:04:14 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33946 invoked by alias); 17 Jan 2020 15:04:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33903 invoked by uid 48); 17 Jan 2020 15:04:09 -0000 From: "ripero84 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93309] New: Wrong error about duplicate implicit none Date: Fri, 17 Jan 2020 15:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ripero84 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01737.txt.bz2 Content-length: 1550 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93309 Bug ID: 93309 Summary: Wrong error about duplicate implicit none Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: ripero84 at gmail dot com Target Milestone: --- gfortran thinks the following module code is wrong: $ cat ine.f90 module m implicit none(external) contains subroutine s implicit none(external) end subroutine end module $ gfortran-9 -std=f2018 ine.f90 -c -o ine.o ine.f90:5:17: 5 | implicit none(external) | 1 Error: Duplicate IMPLICIT NONE statement at (1) As far as I can see, this is valid Fortran 2018: when the standard says "C891 [...] No more than one IMPLICIT NONE statement shall appear in a scoping unit." one has to bear in mind that a module and a contained subprogram are two different scoping units. And while "C895 If IMPLICIT NONE with an implicit-none-spec of EXTERNAL appears within a scoping unit, the name of an external or dummy procedure in that scoping unit or in a contained subprogram or BLOCK construct shall have [...]" means that the effects of a module-level IMPLICIT NONE(EXTERNAL) also extend to the subprograms the module contains, it does not forbid repeating an IMPLICIT NONE(EXTERNAL) statement in them. If there is another reason why this is forbidden I would like to know. >From gcc-bugs-return-666012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 15:05:05 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35100 invoked by alias); 17 Jan 2020 15:05:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35046 invoked by uid 48); 17 Jan 2020 15:05:00 -0000 From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93310] New: Incorrect constexpr virtual evaluation inside a constructor Date: Fri, 17 Jan 2020 15: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01738.txt.bz2 Content-length: 1284 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93310 Bug ID: 93310 Summary: Incorrect constexpr virtual evaluation inside a constructor Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppalka at gcc dot gnu.org Target Milestone: --- The following testcase gets miscompiled on GCC 9 and on GCC 10 with -DUSE_CONSTEXPR due to (I believe) the constexpr virtual evaluation incorrectly resolving the dynamic type of ((A *)this) to C rather than B inside B's constructor. $ cat virtual-2.cc #if defined USE_CONSTEXPR # define CONSTEXPR constexpr #else # define CONSTEXPR #endif struct A { virtual CONSTEXPR char f () const { return 'A'; } }; struct B : A { char x; constexpr B () : x (0) { x = ((A *)this)->f(); } virtual CONSTEXPR char f () const { return 'B'; } }; struct C : B { virtual CONSTEXPR char f () const { return 'C'; } }; int main () { CONSTEXPR C c; if (c.x != 'B') __builtin_abort (); } $ g++ -std=c++2a virtual-2.cc $ ./a.out $ g++ -std=c++2a virtual-2.cc -DUSE_CONSTEXPR $ ./a.out zsh: abort ./a.out >From gcc-bugs-return-666013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 15:05:14 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35840 invoked by alias); 17 Jan 2020 15:05:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35781 invoked by uid 48); 17 Jan 2020 15:05:10 -0000 From: "markeggleston at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93263] [9/10 Regression] -fno-automatic and RECURSIVE Date: Fri, 17 Jan 2020 15:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markeggleston at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: markeggleston at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01739.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93263 --- Comment #12 from markeggleston at gcc dot gnu.org --- Committed: master https://gcc.gnu.org/g:e4a5f73449d7352ba8128fecbc9a9570d746abdb releases/gcc-9 https://gcc.gnu.org/g:f158d9197de75187fa0db26b74bc5d16b5aae242 Updated to URLs. >From gcc-bugs-return-666015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 15:08:41 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39813 invoked by alias); 17 Jan 2020 15:08:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39763 invoked by uid 55); 17 Jan 2020 15:08:36 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/93227] [10 regression] g++.dg/cpp0x/std-layout1.C fails starting with r280065 Date: Fri, 17 Jan 2020 15:08: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01741.txt.bz2 Content-length: 623 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93227 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f1a7789d0f4780b296b66e93f598bf2b2c109f43 commit r10-6046-gf1a7789d0f4780b296b66e93f598bf2b2c109f43 Author: Jonathan Wakely Date: Fri Jan 10 13:04:09 2020 +0000 Fix g++ testsuite failure caused by std::is_pod deprecation PR testsuite/93227 * g++.dg/cpp0x/std-layout1.C: Use -Wno-deprecated-declarations for C++20, due to std::is_pod being deprecated. >From gcc-bugs-return-666014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 15:08:20 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39058 invoked by alias); 17 Jan 2020 15:08:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38783 invoked by uid 48); 17 Jan 2020 15:08:15 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/93227] [10 regression] g++.dg/cpp0x/std-layout1.C fails starting with r280065 Date: Fri, 17 Jan 2020 15:08: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: 10.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: P1 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01740.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93227 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Jonathan Wakely --- Patch approved by Jason on IRC and committed. >From gcc-bugs-return-666016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 15:21:45 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48676 invoked by alias); 17 Jan 2020 15:21:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 48638 invoked by uid 48); 17 Jan 2020 15:21:40 -0000 From: "kuzniar95 at o2 dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93311] New: Missing "warning" when instantiating a constexpr function Date: Fri, 17 Jan 2020 15:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kuzniar95 at o2 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01742.txt.bz2 Content-length: 1939 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93311 Bug ID: 93311 Summary: Missing "warning" when instantiating a constexpr function Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: kuzniar95 at o2 dot pl Target Milestone: --- The following piece of code produces a binary but the compiler output doesn't inform if it's a warning or an error. Compilation command: g++ -std=c++17 main.cpp //---------------------- #include #include template constexpr std::array foo() noexcept { std::array ret; return ret; } int main() { foo<2>(); } //---------------------- The above results in: //---------------------- In file included from main.cpp:1: main.cpp: In instantiation of 'constexpr std::array foo() [with long unsigned int Size = 2]': main.cpp:13:13: required from here /usr/local/include/c++/9.2.0/array:94:12: note: 'struct std::array' has no user-provided default constructor 94 | struct array | ^~~~~ /usr/local/include/c++/9.2.0/array:110:56: note: and the implicitly-defined constructor does not initialize 'int std::array::_M_elems [2]' 110 | typename _AT_Type::_Type _M_elems; | ^~~~~~~~ //---------------------- By the way - adding a pair of empty braces there (i.e. ret{}) solves the issue, which is OK - "untemplatizing" the function leads to "error: uninitialized variable 'ret' in 'constexpr' function", which also is OK (see: https://stackoverflow.com/questions/26568820/why-do-templates-allow-constexpr-function-members-with-non-constexpr-constructor) >From gcc-bugs-return-666017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 15:27:15 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74980 invoked by alias); 17 Jan 2020 15:27:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74926 invoked by uid 48); 17 Jan 2020 15:27:10 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/92829] [10 regression] several test case failures starting with r278983 Date: Fri, 17 Jan 2020 15: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: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01743.txt.bz2 Content-length: 851 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92829 --- Comment #5 from Martin Sebor --- Only the gcc.dg/Warray-bounds-56.c failure. I still see the failures below in a recent test result (https://gcc.gnu.org/ml/gcc-testresults/2020-01/msg00764.html): FAIL: gcc.dg/Wstringop-overflow-25.c (test for warnings, line 317) FAIL: gcc.dg/Wstringop-overflow-25.c (test for warnings, line 318) FAIL: gcc.dg/Wstringop-overflow-25.c (test for warnings, line 319) FAIL: g++.dg/warn/Wstringop-overflow-4.C -std=gnu++14 (test for warnings, line 117) FAIL: g++.dg/warn/Wstringop-overflow-4.C -std=gnu++17 (test for warnings, line 117) FAIL: g++.dg/warn/Wstringop-overflow-4.C -std=gnu++2a (test for warnings, line 117) FAIL: g++.dg/warn/Wstringop-overflow-4.C -std=gnu++98 (test for warnings, line 117) >From gcc-bugs-return-666018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 15:32:11 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81100 invoked by alias); 17 Jan 2020 15:32:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81006 invoked by uid 55); 17 Jan 2020 15:32:06 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/22466] ICE on classes in template functions which attempt closure Date: Fri, 17 Jan 2020 15: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: 4.0.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01744.txt.bz2 Content-length: 905 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22466 --- Comment #2 from CVS Commits --- The master branch has been updated by Alexander Monakov : https://gcc.gnu.org/g:2c2e9f7a5d4b5db97f268ae247b3a82b1610a543 commit r10-6048-g2c2e9f7a5d4b5db97f268ae247b3a82b1610a543 Author: Alexander Monakov Date: Fri Jan 17 18:15:44 2020 +0300 gdbinit.in: make shorthands accept an explicit argument Make gdb shorthands such as 'pr' accept an argument, in addition to implictly taking register '$' as the thing to examine. The 'eval ...' one-liners are used to workaround GDB bug #22466. * gdbinit.in (help-gcc-hooks): New command. (pp, pr, prl, pt, pct, pgg, pgq, pgs, pge, pmz, ptc, pdn, ptn, pdd, prc, pi, pbm, pel, trt): Take $arg0 instead of $ if supplied. Update documentation. >From gcc-bugs-return-666019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 15:32:56 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83452 invoked by alias); 17 Jan 2020 15:32:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83376 invoked by uid 48); 17 Jan 2020 15:32:51 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93311] Missing "warning" when instantiating a constexpr function Date: Fri, 17 Jan 2020 15:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01745.txt.bz2 Content-length: 626 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93311 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Jonathan Wakely --- It's a "note" that follows a warning, but the warning is suppressed in that context. I think this is PR 90243 which I already fixed on trunk. *** This bug has been marked as a duplicate of bug 90243 *** >From gcc-bugs-return-666020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 15:32:57 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83565 invoked by alias); 17 Jan 2020 15:32:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83405 invoked by uid 48); 17 Jan 2020 15:32:52 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90243] diagnostic notes that belong to a suppressed error about an uninitialized variable in a constexpr function are still shown Date: Fri, 17 Jan 2020 15:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: 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: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01746.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90243 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kuzniar95 at o2 dot pl --- Comment #8 from Jonathan Wakely --- *** Bug 93311 has been marked as a duplicate of this bug. *** >From gcc-bugs-return-666022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 15:35:10 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88903 invoked by alias); 17 Jan 2020 15:35:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88405 invoked by uid 48); 17 Jan 2020 15:34:59 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings Date: Fri, 17 Jan 2020 15:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01748.txt.bz2 Content-length: 517 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 91699, which changed state. Bug 91699 Summary: [10 Regression] Bogus Wstringop-overflow in Fotran with -flto after revision r274997 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91699 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME >From gcc-bugs-return-666021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 15:35:08 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88767 invoked by alias); 17 Jan 2020 15:35:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88268 invoked by uid 48); 17 Jan 2020 15:34:57 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91699] [10 Regression] Bogus Wstringop-overflow in Fotran with -flto after revision r274997 Date: Fri, 17 Jan 2020 15:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: diagnostic, lto X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01747.txt.bz2 Content-length: 653 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91699 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #6 from Martin Sebor --- I don't see these failures in recent test results for aarch64,powerpc64,x86_64}-linux so I'm going to resolve this as working. Dominique and/or Iain, please confirm and reopen if the failures persist on your targets (which ones?). >From gcc-bugs-return-666023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 15:41:42 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126060 invoked by alias); 17 Jan 2020 15:41:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125999 invoked by uid 48); 17 Jan 2020 15:41:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/80005] cpp expands __has_include() filename parts Date: Fri, 17 Jan 2020 15:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 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: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01749.txt.bz2 Content-length: 1065 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80005 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- --- libcpp/expr.c.jj 2020-01-17 15:21:20.450514947 +0100 +++ libcpp/expr.c 2020-01-17 16:37:55.298369858 +0100 @@ -2202,12 +2202,16 @@ parse_has_include (cpp_reader *pfile, en result.low = 0; pfile->state.in__has_include__++; + bool saved_angled_headers = pfile->state.angled_headers; + pfile->state.angled_headers = 1; const cpp_token *token = cpp_get_token (pfile); bool paren = token->type == CPP_OPEN_PAREN; if (paren) token = cpp_get_token (pfile); + pfile->state.angled_headers = saved_angled_headers; + bool bracket = token->type != CPP_STRING; cpp_hashnode *node = NULL; char *fname = NULL; fixes this for me. >From gcc-bugs-return-666024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 15:51:57 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34657 invoked by alias); 17 Jan 2020 15:51:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34605 invoked by uid 48); 17 Jan 2020 15:51:51 -0000 From: "markeggleston at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93175] ICE involving nested parameterized derived types Date: Fri, 17 Jan 2020 15: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: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markeggleston at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01750.txt.bz2 Content-length: 1953 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93175 markeggleston at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2020-01-17 CC| |markeggleston at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from markeggleston at gcc dot gnu.org --- Confirmed. For master (10.0) at https://gcc.gnu.org/g:6ed8c923325c9b2fcb30996fa14582ac136d9329 pr93175.f90:30:0: 30 | end program pdt_test | internal compiler error: Segmentation fault 0xd8158f crash_signal ../../gcc/gcc/toplev.c:328 0x6acc63 insert_parameter_exprs ../../gcc/gcc/fortran/decl.c:3542 0x6cbd19 gfc_traverse_expr(gfc_expr*, gfc_symbol*, bool (*)(gfc_expr*, gfc_symbol*, int*), int) ../../gcc/gcc/fortran/expr.c:5188 0x78c245 structure_alloc_comps ../../gcc/gcc/fortran/trans-array.c:9522 0x790766 gfc_allocate_pdt_comp(gfc_symbol*, tree_node*, int, gfc_actual_arglist*) ../../gcc/gcc/fortran/trans-array.c:9838 0x78b313 structure_alloc_comps ../../gcc/gcc/fortran/trans-array.c:9597 0x790766 gfc_allocate_pdt_comp(gfc_symbol*, tree_node*, int, gfc_actual_arglist*) ../../gcc/gcc/fortran/trans-array.c:9838 0x7a460f gfc_trans_deferred_vars(gfc_symbol*, gfc_wrapped_block*) ../../gcc/gcc/fortran/trans-decl.c:4653 0x7a7a33 gfc_generate_function_code(gfc_namespace*) ../../gcc/gcc/fortran/trans-decl.c:6928 0x722fb8 translate_all_program_units ../../gcc/gcc/fortran/parse.c:6302 0x722fb8 gfc_parse_file() ../../gcc/gcc/fortran/parse.c:6541 0x76e30f gfc_be_parse_file ../../gcc/gcc/fortran/f95-lang.c:210 Also occurs on releases/gcc-8 checked 8.1.0 and 8.5.0 and on releases/gcc-9 checked 9.2.0 >From gcc-bugs-return-666025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 15:54:43 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36636 invoked by alias); 17 Jan 2020 15:54:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36604 invoked by uid 48); 17 Jan 2020 15:54:38 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92376] [8/9/10 Regression] bootstrap fails with --disable-hosted-libstdcxx Date: Fri, 17 Jan 2020 15: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: 10.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: P2 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01751.txt.bz2 Content-length: 710 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92376 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|9.3 |8.4 Summary|[9/10 Regression] bootstrap |[8/9/10 Regression] |fails with |bootstrap fails with |--disable-hosted-libstdcxx |--disable-hosted-libstdcxx --- Comment #2 from Jonathan Wakely --- I'm not sure if the aligned_alloc problem started with gcc-6 or gcc-7, but it's definitely present in gcc-8 so needs fixing there too. >From gcc-bugs-return-666026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 16:05:23 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37856 invoked by alias); 17 Jan 2020 16:05:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37796 invoked by uid 48); 17 Jan 2020 16:05:18 -0000 From: "tromey at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/57612] add builtin to assert that expression does not have side effects Date: Fri, 17 Jan 2020 16: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: tromey at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01752.txt.bz2 Content-length: 825 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57612 --- Comment #4 from Tom Tromey --- (In reply to H. Peter Anvin from comment #2) > I would like to second this request, however, I would like to request that > it issues a warning rather than an error. It can always be promoted to an > error via -Werror= or the equivalent pragma. What's the use case for this? It seems simpler to just not use this macro when you don't want the effect. (In reply to felix from comment #3) > Overlaps bug 6906. Under that ticket, I proposed adding a built-in that > simply returns whether or not a given expression has side effects, simply by > exposing TREE_SIDE_EFFECTS(). This seems the same to me, in that __builtin_assert_no_side_effects could, I think, just be a static_assert using your builtin. >From gcc-bugs-return-666027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 16:08:35 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45140 invoked by alias); 17 Jan 2020 16:08:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 45016 invoked by uid 48); 17 Jan 2020 16:08:30 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93310] Incorrect constexpr virtual evaluation inside a constructor Date: Fri, 17 Jan 2020 16:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01753.txt.bz2 Content-length: 621 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93310 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Status|UNCONFIRMED |NEW Last reconfirmed| |2020-01-17 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed. >From gcc-bugs-return-666028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 16:13:53 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50527 invoked by alias); 17 Jan 2020 16:13:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50358 invoked by uid 48); 17 Jan 2020 16:13:48 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93299] [9/10 Regression] ICE in tsubst_copy, at cp/pt.c:15779 Date: Fri, 17 Jan 2020 16: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: 9.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01754.txt.bz2 Content-length: 738 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93299 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|WAITING |NEW CC| |mpolacek at gcc dot gnu.org --- Comment #2 from Marek Polacek --- class : d<0> { certainly not valid. But this one seems to be valid and still ICEs: template struct a { enum { b = 8 }; }; class c; template class __attribute__((aligned((a::b)))) d {}; class c : d<0> { }; >From gcc-bugs-return-666029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 16:29:05 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78078 invoked by alias); 17 Jan 2020 16:29:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78036 invoked by uid 48); 17 Jan 2020 16:29:01 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93299] [9/10 Regression] ICE in tsubst_copy, at cp/pt.c:15779 Date: Fri, 17 Jan 2020 16:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01755.txt.bz2 Content-length: 193 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93299 --- Comment #3 from Marek Polacek --- Seems to have started with g:e4511ca2e9ecdb51d41b64452398f8e2df575668. >From gcc-bugs-return-666030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 16:33:09 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101389 invoked by alias); 17 Jan 2020 16:33:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95171 invoked by uid 48); 17 Jan 2020 16:33:03 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92815] [8/9/10 Regression] spurious -Wstringop-overflow writing into a flexible array of an extern struct Date: Fri, 17 Jan 2020 16:33: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: 10.0 X-Bugzilla-Keywords: diagnostic, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01756.txt.bz2 Content-length: 2707 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92815 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code --- Comment #3 from Martin Sebor --- The is a bug in the object size pass that has existed since its introduction. The addr_object_size() computes the size of the extern object based on its type, not taking into consideration that, as an extension, GCC allows flexible array members to be initialized to more elements than would otherwise fit into the struct. To avoid this, the function needs to conservatively fail for uninitialized extern structs with a flexible array member. The modified test case below illustrates it. With _FORTIFY_SOURCE defined, it aborts. $ cat pr92815.c && gcc -O2 -Wall -c pr92815.c && gcc -D_FORTIFY_SOURCE=2 -DMAIN -O2 -Wall pr92815.c pr92815.o && ./a.out #include struct S { int n; char ax[]; }; #if MAIN extern struct S s; __attribute__ ((noipa)) void g (void) { strcpy (s.ax, "123"); } int main (void) { g (); } #else struct S s = { 5, { 1, 2, 3, 4, 5 } }; #endif In file included from /usr/include/string.h:494, from pr92815.c:1: In function ‘strcpy’, inlined from ‘g’ at pr92815.c:9:3: /usr/include/bits/string_fortified.h:90:10: warning: ‘__builtin___strcpy_chk’ writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pr92815.c: In function ‘g’: pr92815.c:6:17: note: at offset 0 to object ‘s’ with size 4 declared here 6 | extern struct S s; | ^ In file included from /usr/include/string.h:494, from pr92815.c:1: In function ‘strcpy’, inlined from ‘g’ at pr92815.c:9:3: /usr/include/bits/string_fortified.h:90:10: warning: ‘__builtin___memcpy_chk’ offset [4, 7] is out of the bounds [0, 4] of object ‘s’ with type ‘struct S’ [-Warray-bounds] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pr92815.c: In function ‘g’: pr92815.c:6:17: note: ‘s’ declared here 6 | extern struct S s; | ^ *** buffer overflow detected ***: ./a.out terminated Aborted (core dumped) >From gcc-bugs-return-666031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 16:34:08 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43359 invoked by alias); 17 Jan 2020 16:34:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43218 invoked by uid 48); 17 Jan 2020 16:34:02 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92788] [10 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2313 Date: Fri, 17 Jan 2020 16:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-invalid-code, 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01757.txt.bz2 Content-length: 441 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92788 --- Comment #4 from Jakub Jelinek --- The problem is exactly in the EH edge purging being delayed, if it would be done before thread_through_all_blocks, then it might work. But not sure if the edge purging doesn't invalidate something that thread_through_all_blocks relies on (and we'd need to repeat the EH edge purging after thread_through_all_blcoks). >From gcc-bugs-return-666032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 16:53:20 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24546 invoked by alias); 17 Jan 2020 16:53:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24438 invoked by uid 48); 17 Jan 2020 16:53:15 -0000 From: "kuzniar95 at o2 dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93311] Missing "warning" when instantiating a constexpr function Date: Fri, 17 Jan 2020 16:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kuzniar95 at o2 dot pl X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01758.txt.bz2 Content-length: 443 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93311 kuzniar95 at o2 dot pl changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|DUPLICATE |FIXED --- Comment #2 from kuzniar95 at o2 dot pl --- @Jonathan Wakely I've managed to find an online GCC10 compiler so I can now confirm that it's indeed been fixed. Thanks! >From gcc-bugs-return-666033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 16:58:47 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35372 invoked by alias); 17 Jan 2020 16:58:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35287 invoked by uid 48); 17 Jan 2020 16:58:42 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/93076] [10 Regression] internal compiler error: Segmentation fault during GIMPLE pass: cddce Date: Fri, 17 Jan 2020 16:58: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01759.txt.bz2 Content-length: 654 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93076 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jakub at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #5 from Jakub Jelinek --- The #c0 ICE has been fixed with r280126, so it is yet another dup of the many tree sharing PRs. *** This bug has been marked as a duplicate of bug 93173 *** >From gcc-bugs-return-666034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 16:58:47 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35380 invoked by alias); 17 Jan 2020 16:58:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35311 invoked by uid 48); 17 Jan 2020 16:58:43 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93173] [10 Regression] "error: incorrect sharing of tree nodes" and "internal compiler error: verify_gimple failed" Date: Fri, 17 Jan 2020 16: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: 10.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: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01760.txt.bz2 Content-length: 440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93173 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |raj.khem at gmail dot com --- Comment #5 from Jakub Jelinek --- *** Bug 93076 has been marked as a duplicate of this bug. *** >From gcc-bugs-return-666035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 17:04:39 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52732 invoked by alias); 17 Jan 2020 17:04:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52690 invoked by uid 55); 17 Jan 2020 17:04:34 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92376] [8/9/10 Regression] bootstrap fails with --disable-hosted-libstdcxx Date: Fri, 17 Jan 2020 17:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01761.txt.bz2 Content-length: 955 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92376 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:0ba6a850b597236832140bf57bf6083b6fab93f9 commit r10-6049-g0ba6a850b597236832140bf57bf6083b6fab93f9 Author: Jonathan Wakely Date: Fri Jan 17 15:49:02 2020 +0000 libstdc++: Fix freestanding build PR 92376) In a freestanding library we don't install the header, so don't try to include it unless it exists. Explicitly declare aligned alloc functions for freestanding, because doesn't declare them. PR libstdc++/92376 * include/bits/c++config: Only do PSTL config when the header is present, to fix freestanding. * libsupc++/new_opa.cc [!_GLIBCXX_HOSTED]: Declare allocation functions if they were detected by configure. >From gcc-bugs-return-666036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 17:05:12 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55851 invoked by alias); 17 Jan 2020 17:05:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55804 invoked by uid 48); 17 Jan 2020 17:05:07 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92376] [8/9 Regression] bootstrap fails with --disable-hosted-libstdcxx Date: Fri, 17 Jan 2020 17: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: 10.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: P2 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01762.txt.bz2 Content-length: 540 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92376 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[8/9/10 Regression] |[8/9 Regression] bootstrap |bootstrap fails with |fails with |--disable-hosted-libstdcxx |--disable-hosted-libstdcxx --- Comment #4 from Jonathan Wakely --- Fixed on trunk so far. >From gcc-bugs-return-666037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 17:06:20 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57859 invoked by alias); 17 Jan 2020 17:06:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57213 invoked by uid 48); 17 Jan 2020 17:06:13 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93299] [9/10 Regression] ICE in tsubst_copy, at cp/pt.c:15779 Date: Fri, 17 Jan 2020 17:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01763.txt.bz2 Content-length: 539 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93299 --- Comment #4 from Marek Polacek --- force_paren_expr now creates a VIEW_CONVERT_EXPR: + expr = build1 (VIEW_CONVERT_EXPR, TREE_TYPE (expr), expr); + REF_PARENTHESIZED_P (expr) = true; but it's not a case that tsubst_copy can handle: 16426 /* We shouldn't see any other uses of these in templates. */ 16427 gcc_unreachable (); as it's not a location_wrapper_p or a TEMPLATE_PARM_INDEX wrapper in a VIEW_CONVERT_EXPR. >From gcc-bugs-return-666038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 17:10:49 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71827 invoked by alias); 17 Jan 2020 17:10:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71747 invoked by uid 48); 17 Jan 2020 17:10:42 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/90704] filesystem::path overloads for file streams are not conforming Date: Fri, 17 Jan 2020 17: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: 10.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: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01764.txt.bz2 Content-length: 551 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90704 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW Assignee|redi at gcc dot gnu.org |unassigned at gcc dot gnu.org Target Milestone|10.0 |11.0 --- Comment #1 from Jonathan Wakely --- This isn't going to get fixed for GCC 10.1, sorry. >From gcc-bugs-return-666039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 17:11:58 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75840 invoked by alias); 17 Jan 2020 17:11:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75788 invoked by uid 48); 17 Jan 2020 17:11:54 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/90295] Please define ~exception_ptr inline Date: Fri, 17 Jan 2020 17: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: 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: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01765.txt.bz2 Content-length: 433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90295 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW Assignee|redi at gcc dot gnu.org |unassigned at gcc dot gnu.org Target Milestone|10.0 |11.0 >From gcc-bugs-return-666040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 17:14:41 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77852 invoked by alias); 17 Jan 2020 17:14:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77744 invoked by uid 48); 17 Jan 2020 17:14:36 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/69724] Unnecessary temporary object during std::thread construction Date: Fri, 17 Jan 2020 17:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01766.txt.bz2 Content-length: 500 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69724 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|10.0 |11.0 --- Comment #6 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #5) > I'm leaving this open until std::async is changed too. Which isn't in scope for GCC 10 now. >From gcc-bugs-return-666041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 17:15:04 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79864 invoked by alias); 17 Jan 2020 17:15:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79733 invoked by uid 48); 17 Jan 2020 17:14:58 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/66742] abort on sorting list with custom allocator that is not stateless Date: Fri, 17 Jan 2020 17: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: 4.9.2 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01767.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66742 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|10.0 |11.0 >From gcc-bugs-return-666042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 17:16:13 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81876 invoked by alias); 17 Jan 2020 17:16:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81581 invoked by uid 48); 17 Jan 2020 17:15:55 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/64271] Minimal patches to bootstrap on NetBSD Date: Fri, 17 Jan 2020 17: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01768.txt.bz2 Content-length: 469 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64271 --- Comment #16 from Jonathan Wakely --- Those patches actually were sent to the list, and I reviewed them, and got no reply: https://gcc.gnu.org/ml/libstdc++/2014-12/msg00069.html I've committed them (after suitable updates) so the libstdc++ parts of this should be finished now. libcilkrts was dropped from GCC mainline. Is the libgfortran/configure patch still relevant and needed? >From gcc-bugs-return-666043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 17:17:16 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84207 invoked by alias); 17 Jan 2020 17:17:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 84153 invoked by uid 48); 17 Jan 2020 17:17:12 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93299] [9/10 Regression] ICE in tsubst_copy, at cp/pt.c:15779 Date: Fri, 17 Jan 2020 17:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01769.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93299 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org >From gcc-bugs-return-666044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 17:30:59 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76237 invoked by alias); 17 Jan 2020 17:30:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 75833 invoked by uid 48); 17 Jan 2020 17:30:29 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/90565] [10 regression] test cases gcc.dg/uninit-18.c and uninit-pr90394-1-gimple.c broken as of r271460 Date: Fri, 17 Jan 2020 17:30: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: 10.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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01770.txt.bz2 Content-length: 466 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90565 --- Comment #3 from Jakub Jelinek --- Looking at gcc-testresults, this seems to be long fixed, isn't it? At least, I see both uninit-18.c and uninit-pr90394-1-gimple.c FAIL and not FAIL pretty randomly in May, but certainly haven't seen them in recent testresults, nor can reproduce with a cross-compiler to powerpc64le-linux and valgrind is clean on it too. So, can we close this? >From gcc-bugs-return-666046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 17:33:08 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13868 invoked by alias); 17 Jan 2020 17:33:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10147 invoked by uid 48); 17 Jan 2020 17:33:02 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/91027] [10 regression] SEGV in hash_table::find_slot_with_hash Date: Fri, 17 Jan 2020 17:33: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code, lto 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01772.txt.bz2 Content-length: 185 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91027 --- Comment #9 from Jakub Jelinek --- I think D bugs shouldn't block the release, shouldn't this be P4? >From gcc-bugs-return-666045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 17:33:04 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12597 invoked by alias); 17 Jan 2020 17:33:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4601 invoked by uid 48); 17 Jan 2020 17:33:00 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93299] [9/10 Regression] ICE in tsubst_copy, at cp/pt.c:15779 Date: Fri, 17 Jan 2020 17:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01771.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93299 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-666047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 17:55:52 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97708 invoked by alias); 17 Jan 2020 17:55:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 97105 invoked by uid 48); 17 Jan 2020 17:55:45 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/90565] [10 regression] test cases gcc.dg/uninit-18.c and uninit-pr90394-1-gimple.c broken as of r271460 Date: Fri, 17 Jan 2020 17: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01773.txt.bz2 Content-length: 560 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90565 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #4 from Alexander Monakov --- I think this should have been fully resolved by PR90587 fix as indicated by Vlad in his gcc-patches message: https://gcc.gnu.org/ml/gcc-patches/2019-05/msg01600.html >From gcc-bugs-return-666048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 18:05:09 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8274 invoked by alias); 17 Jan 2020 18:05:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8113 invoked by uid 48); 17 Jan 2020 18:05:03 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/90565] [10 regression] test cases gcc.dg/uninit-18.c and uninit-pr90394-1-gimple.c broken as of r271460 Date: Fri, 17 Jan 2020 18:05: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: 10.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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01774.txt.bz2 Content-length: 475 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90565 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jakub Jelinek --- Thanks. Assuming it is fixed then, if not, please reopen. >From gcc-bugs-return-666049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 18:06:11 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22682 invoked by alias); 17 Jan 2020 18:06:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17737 invoked by uid 48); 17 Jan 2020 18:06:05 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93312] New: [10 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1923 Date: Fri, 17 Jan 2020 18:06: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: 10.0 X-Bugzilla-Keywords: ice-checking, 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: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01775.txt.bz2 Content-length: 3332 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93312 Bug ID: 93312 Summary: [10 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1923 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-checking, 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: armv7a-hardfloat-linux-gnueabi Created attachment 47672 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47672&action=edit reduced testcase This triggers while building libgcc2.o with RTL checking enabled. $ cc1 -quiet -O testcase.c during RTL pass: combine testcase.c: In function 'foo': testcase.c:8:1: internal compiler error: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1923 8 | } | ^ 0x6ca66c rtl_check_failed_code1(rtx_def const*, rtx_code, char const*, int, char const*) /repo/gcc-trunk/gcc/rtl.c:879 0x7939ac rhs_regno /repo/gcc-trunk/gcc/rtl.h:1923 0x79fbf4 rhs_regno /repo/gcc-trunk/gcc/config/arm/arm.c:13807 0x79fbf4 clear_operation_p(rtx_def*, bool) /repo/gcc-trunk/gcc/config/arm/arm.c:13782 0x174b80a clear_multiple_operation_1 /repo/gcc-trunk/gcc/config/arm/predicates.md:551 0x174b80a clear_multiple_operation(rtx_def*, machine_mode) /repo/gcc-trunk/gcc/config/arm/predicates.md:558 0x17aac6f recog_41 /repo/gcc-trunk/gcc/config/arm/vfp.md:1989 0x183e0d7 recog(rtx_def*, rtx_insn*, int*) /repo/gcc-trunk/gcc/config/arm/arm-fixed.md:558 0x187516f recog_for_combine_1 /repo/gcc-trunk/gcc/combine.c:11447 0x187fe9e recog_for_combine /repo/gcc-trunk/gcc/combine.c:11717 0x189569b try_combine /repo/gcc-trunk/gcc/combine.c:3656 0x1899a73 combine_instructions /repo/gcc-trunk/gcc/combine.c:1303 0x1899a73 rest_of_handle_combine /repo/gcc-trunk/gcc/combine.c:15059 0x1899a73 execute /repo/gcc-trunk/gcc/combine.c:15104 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ xgcc -v Using built-in specs. COLLECT_GCC=/repo/build-trunk-20200117170346-0ba6a850b59-checking-yes-rtl-df-extra-armv7a-hardfloat/./gcc/xgcc Target: armv7a-hardfloat-linux-gnueabi Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra --with-cloog --with-ppl --with-isl --with-float=hard --with-fpu=vfpv4 --with-arch=armv7-a --with-sysroot=/usr/armv7a-hardfloat-linux-gnueabi --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=armv7a-hardfloat-linux-gnueabi --with-ld=/usr/bin/armv7a-hardfloat-linux-gnueabi-ld --with-as=/usr/bin/armv7a-hardfloat-linux-gnueabi-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-20200117170346-0ba6a850b59-checking-yes-rtl-df-extra-armv7a-hardfloat Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.0.1 20200117 (experimental) (GCC) >From gcc-bugs-return-666050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 18:28:42 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65408 invoked by alias); 17 Jan 2020 18:28:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65366 invoked by uid 48); 17 Jan 2020 18:28:37 -0000 From: "herschel at hep dot phy.cam.ac.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93313] New: g++: internal compiler error: Segmentation fault signal terminated program cc1plus Date: Fri, 17 Jan 2020 18: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: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: herschel at hep dot phy.cam.ac.uk X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01776.txt.bz2 Content-length: 3223 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93313 Bug ID: 93313 Summary: g++: internal compiler error: Segmentation fault signal terminated program cc1plus Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: herschel at hep dot phy.cam.ac.uk Target Milestone: --- I would like to report an apparent bug in the c++ compiler: the compiler segfaults when trying to compile my code, and it asks me to report the bug. I wrote my program to evaluate a large expression (a polynomial). For smaller expressions (200 KB), the program compiles without problems. However, for this large expression (23 MB), the compiler segfaults. The compiler isn't running out of RAM (it used only ~8GB before crashing, even on a machine with ~200 GB RAM). I have tried compiling on my laptop [gcc version 9.2.1 20191008 (Ubuntu 9.2.1-9ubuntu2)] as well as on a server [gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)]. Here is the output of "gcc -v": Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:hsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.2.1-9ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 9.2.1 20191008 (Ubuntu 9.2.1-9ubuntu2) Here is the command I used to try to compile my program: g++ myexample.cpp -o myexample -I/home/herschel/usr/include/firefly/ -L/home/herschel/usr/lib/firefly -lfirefly -lgmp -lz -lflint -lgmpxx -save-temps Here is the complete output from gcc: g++: internal compiler error: Segmentation fault signal terminated program cc1plus Please submit a full bug report, with preprocessed source if appropriate. See for instructions. The pre-processed file "myexample.ii" is large (25MB), for the reasons explained at the start of this report. This makes it too large to include as an attachment, and I have instead uploaded it to: https://www.hep.phy.cam.ac.uk/~herschel/myexample.ii >From gcc-bugs-return-666051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 18:59:28 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63014 invoked by alias); 17 Jan 2020 18:59:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62985 invoked by uid 48); 17 Jan 2020 18:59:23 -0000 From: "language.lawyer at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93314] New: Invalid use of non-static data member causes ICE in gimplify_expr Date: Fri, 17 Jan 2020 18: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: 10.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: language.lawyer at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01777.txt.bz2 Content-length: 3372 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93314 Bug ID: 93314 Summary: Invalid use of non-static data member causes ICE in gimplify_expr Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: language.lawyer at gmail dot com Target Milestone: --- int main() { struct S { int m; }; return sizeof(char[S::m]); } $ g++ prog.cc prog.cc: In function 'int main()': prog.cc:4:27: internal compiler error: in gimplify_expr, at gimplify.c:14581 4 | return sizeof(char[S::m]); | ~~~^ 0x5c6160 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../source/gcc/gimplify.c:14581 0x9a7434 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../source/gcc/gimplify.c:13885 0x9a7de0 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../source/gcc/gimplify.c:13702 0x9aa19f gimplify_compound_lval ../../source/gcc/gimplify.c:3064 0x9a6c00 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../source/gcc/gimplify.c:13533 0x9a7434 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../source/gcc/gimplify.c:13885 0x9a7129 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../source/gcc/gimplify.c:14348 0x9abfb0 internal_get_tmp_var ../../source/gcc/gimplify.c:619 0x9ac749 get_initialized_tmp_var(tree_node*, gimple**, gimple**, bool) ../../source/gcc/gimplify.c:674 0x9ac749 gimplify_save_expr ../../source/gcc/gimplify.c:6072 0x9a7621 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../source/gcc/gimplify.c:13881 0x9a7434 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../source/gcc/gimplify.c:13885 0x9a7129 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../source/gcc/gimplify.c:14348 0x9a7434 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../source/gcc/gimplify.c:13885 0x9b1ecb gimplify_modify_expr ../../source/gcc/gimplify.c:5765 0x9a73a2 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../source/gcc/gimplify.c:13581 0x9acc8e gimplify_stmt(tree_node**, gimple**) ../../source/gcc/gimplify.c:6822 0x9acc8e gimplify_and_add(tree_node*, gimple**) ../../source/gcc/gimplify.c:486 0x9acc8e gimplify_return_expr ../../source/gcc/gimplify.c:1667 0x9a8303 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../source/gcc/gimplify.c:13842 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. (https://wandbox.org/permlink/GNNTjXAK2pQ5clUt) I've selectively checked about some of g++ versions, from 4.4.7 to HEAD, on wandbox.org. They're all crashing, just segfaulting before 5.1.0 and ICEing in gimplify_expr starting from 5.1.0. >From gcc-bugs-return-666052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 19:05:01 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69492 invoked by alias); 17 Jan 2020 19:05:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69422 invoked by uid 55); 17 Jan 2020 19:04:55 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92542] [10 Regression] ICE with class template argument deduction following typo Date: Fri, 17 Jan 2020 19: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: 10.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01778.txt.bz2 Content-length: 511 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92542 --- Comment #3 from CVS Commits --- The master branch has been updated by Paolo Carlini : https://gcc.gnu.org/g:4c9e5b02f08b1b02f9b498c5121d06dea3f2c1c4 commit r10-6055-g4c9e5b02f08b1b02f9b498c5121d06dea3f2c1c4 Author: Paolo Carlini Date: Fri Jan 17 20:02:21 2020 +0100 Add testcase of PR c++/92542, already fixed. PR c++/92542 * g++.dg/pr92542.C: New. >From gcc-bugs-return-666053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 19:05:06 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70160 invoked by alias); 17 Jan 2020 19:05:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69558 invoked by uid 55); 17 Jan 2020 19:05:01 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92542] [10 Regression] ICE with class template argument deduction following typo Date: Fri, 17 Jan 2020 19: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: 10.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01779.txt.bz2 Content-length: 511 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92542 --- Comment #4 from CVS Commits --- The master branch has been updated by Paolo Carlini : https://gcc.gnu.org/g:7e45138702a9c26b00d25db07f92a271b054e304 commit r10-6056-g7e45138702a9c26b00d25db07f92a271b054e304 Author: Paolo Carlini Date: Fri Jan 17 20:03:58 2020 +0100 Add testcase of PR c++/92542, already fixed. PR c++/92542 * g++.dg/pr92542.C: New. >From gcc-bugs-return-666054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 19:06:22 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71864 invoked by alias); 17 Jan 2020 19:06:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71815 invoked by uid 48); 17 Jan 2020 19:06:16 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93312] [10 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1923 Date: Fri, 17 Jan 2020 19:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01780.txt.bz2 Content-length: 667 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93312 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2020-01-17 CC| |jakub at gcc dot gnu.org Target Milestone|--- |10.0 Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- This got broken with r10-6012-g9722215a027b68651c3c7a8af9204d033197e9c0 >From gcc-bugs-return-666055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 19:06:34 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72563 invoked by alias); 17 Jan 2020 19:06:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72518 invoked by uid 48); 17 Jan 2020 19:06:29 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92542] [10 Regression] ICE with class template argument deduction following typo Date: Fri, 17 Jan 2020 19: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: 10.0 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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01781.txt.bz2 Content-length: 499 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92542 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC|paolo.carlini at oracle dot com | Resolution|--- |FIXED --- Comment #5 from Paolo Carlini --- Thanks Jon. >From gcc-bugs-return-666056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 19:09:20 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74436 invoked by alias); 17 Jan 2020 19:09:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74385 invoked by uid 48); 17 Jan 2020 19:09:14 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/93312] [10 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1923 Date: Fri, 17 Jan 2020 19: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: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01782.txt.bz2 Content-length: 579 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93312 Jakub Jelinek 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 --- Created attachment 47673 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47673&action=edit gcc10-pr93312.patch Untested fix. >From gcc-bugs-return-666058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 19:26:53 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30819 invoked by alias); 17 Jan 2020 19:26:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30748 invoked by uid 55); 17 Jan 2020 19:26:49 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTMyODZdIFsxMCBSZWdyZXNzaW9uXSBJQ0U6IHRyZWUgY2hl?= =?UTF-8?B?Y2s6IGRpZCBub3QgZXhwZWN0IGNsYXNzIOKAmHR5cGXigJksIGhhdmUg4oCY?= =?UTF-8?B?dHlwZeKAmSAocmVmZXJlbmNlX3R5cGUpIGluIGNvbnZlcnRfZnJvbV9yZWZl?= =?UTF-8?B?cmVuY2UsIGF0IGNwL2N2dC5jOjU1MCBzaW5jZSBnOmUwZDkxNzkyZWVjNDkw?= =?UTF-8?B?ZDE=?Date: Fri, 17 Jan 2020 19: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01784.txt.bz2 Content-length: 913 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93286 --- Comment #5 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:5c7938eb3f1a116b1cf9a28090f2cc5e08814ce4 commit r9-8140-g5c7938eb3f1a116b1cf9a28090f2cc5e08814ce4 Author: Jason Merrill Date: Thu Jan 16 16:55:39 2020 -0500 PR c++/93286 - ICE with __is_constructible and variadic template. Here we had been recursing in tsubst_copy_and_build if type2 was a TREE_LIST because that function knew how to deal with pack expansions, and tsubst didn't. But tsubst_copy_and_build expects to be dealing with expressions, so we crash when trying to convert_from_reference a type. * pt.c (tsubst) [TREE_LIST]: Handle pack expansion. (tsubst_copy_and_build) [TRAIT_EXPR]: Always use tsubst for type2. >From gcc-bugs-return-666057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 19:26:18 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11194 invoked by alias); 17 Jan 2020 19:26:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6128 invoked by uid 48); 17 Jan 2020 19:26:13 -0000 From: "language.lawyer at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93314] Invalid use of non-static data member causes ICE in gimplify_expr Date: Fri, 17 Jan 2020 19: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: 10.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: language.lawyer at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01783.txt.bz2 Content-length: 670 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93314 --- Comment #1 from Language Lawyer --- GCC thinks that `char[S::m]` is VLA (because the lvalue-to-rvalue conversion on `S::m` lvalue doesn't look like a constant expression) and tries to move the evaluation of `sizeof(char[S::m])` to run time. $ g++ prog.cc -pedantic prog.cc: In function 'int main()': prog.cc:4:28: warning: ISO C++ forbids variable length array [-Wvla] 4 | return sizeof(char[S::m]); | ^ prog.cc:4:27: internal compiler error: in gimplify_expr, at gimplify.c:14581 4 | return sizeof(char[S::m]); | ... >From gcc-bugs-return-666059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 19:27:07 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31742 invoked by alias); 17 Jan 2020 19:27:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31654 invoked by uid 55); 17 Jan 2020 19:27:00 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92531] [9 Regression] ICE in uses_template_parms, at cp/pt.c:10471 Date: Fri, 17 Jan 2020 19: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01785.txt.bz2 Content-length: 879 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92531 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:3815f211649cd5c8a277348aa71c9c18bc5ed070 commit r9-8141-g3815f211649cd5c8a277348aa71c9c18bc5ed070 Author: Jason Merrill Date: Fri Jan 17 08:37:49 2020 -0500 PR c++/92531 - ICE with noexcept(lambda). This was failing because uses_template_parms didn't recognize LAMBDA_EXPR as a kind of expression. Instead of trying to enumerate all the different varieties of expression and then aborting if what's left isn't error_mark_node, let's handle error_mark_node and then assume anything else is an expression. * pt.c (uses_template_parms): Don't try to enumerate all the expression cases. >From gcc-bugs-return-666060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 19:28:36 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33637 invoked by alias); 17 Jan 2020 19:28:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33570 invoked by uid 55); 17 Jan 2020 19:28:30 -0000 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/90374] Fortran 2018: Support d0.d, e0.d, es0.d, en0.d, g0.d and ew.d e0 edit descriptors for output Date: Fri, 17 Jan 2020 19:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01786.txt.bz2 Content-length: 691 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90374 --- Comment #28 from CVS Commits --- The master branch has been updated by Jerry DeLisle : https://gcc.gnu.org/g:82033483fd74b1dcedab416d98673e212258498d commit r10-6057-g82033483fd74b1dcedab416d98673e212258498d Author: Jerry DeLisle Date: Fri Jan 17 11:26:10 2020 -0800 PR90374 Zero width format specifiers. PR libfortran/90374 * io/format.c (parse_format_list): Zero width not allowed with FMT_D. * io/write_float.def (build_float_string): Include range of higher exponent values that require wider width. >From gcc-bugs-return-666061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 19:43:42 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55914 invoked by alias); 17 Jan 2020 19:43:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55853 invoked by uid 48); 17 Jan 2020 19:43:38 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92531] [9 Regression] ICE in uses_template_parms, at cp/pt.c:10471 Date: Fri, 17 Jan 2020 19:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01787.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92531 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Jason Merrill --- Fixed. >From gcc-bugs-return-666062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 19:46:28 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40525 invoked by alias); 17 Jan 2020 19:46:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40489 invoked by uid 48); 17 Jan 2020 19:46:23 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93314] Invalid use of non-static data member causes ICE in gimplify_expr Date: Fri, 17 Jan 2020 19: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: 10.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01788.txt.bz2 Content-length: 402 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93314 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2020-01-17 Ever confirmed|0 |1 >From gcc-bugs-return-666063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 19:53:55 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59374 invoked by alias); 17 Jan 2020 19:53:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59297 invoked by uid 55); 17 Jan 2020 19:53:50 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92303] [10 regression] gcc.target/sparc/ultrasp12.c times out Date: Fri, 17 Jan 2020 19: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: 10.0 X-Bugzilla-Keywords: compile-time-hog, needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg01789.txt.bz2 Content-length: 670 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92303 --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #2 from Richard Biener --- > There's no RA commits in that range, further bisection is needed. Done now. I've found r272742 to be the culprit: 2019-06-27 Richard Biener * tree-ssa-sccvn.c (vn_reference_lookup_3): Encode valueized RHS. At r272740, cc1 -fpreprocessed ultrasp12.i -mptr64 -mstack-bias -mno-v8plus -quiet -m64 -mcpu=ultrasparc -mvis -O2 -o ultrasp12.s takes less than a second, at r272740 the compilation never terminates. >From gcc-bugs-return-666064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 17 19:59:44 2020 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67350 invoked by alias); 17 Jan 2020 19:59:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67330 invoked by uid 89); 17 Jan 2020 19:59:44 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-9.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,GIT_PATCH_2,KAM_SHORT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammyrliest, shed X-HELO: mout.gmx.net Received: from mout.gmx.net (HELO mout.gmx.net) (212.227.17.22) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 17 Jan 2020 19:59:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; sdeba3b8450; t79291170; bh=phowtDfQ1LaSZZMmGUc2zBzyRH7W27+E5B1JC00u/6E=; h=X-UI-Sender-Class:To:References:From:Subject:Date:In-Reply-To; b=h53Po8w90KI57NsTVeDA8xCbwrsb/XRXppkEO956fJbBptrmg4wgkn4zDFYXqAx1j HqpD4d1w7MFDhmlO9cO1hgQwGZTSgChRTlNOugavG8Cxs9r71bN53rJelYQRzFu8d7 lluaKWvOqK7Zy3eXPax9y5Lcm/NORUATvJ3HCFYAX-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.0.241] ([89.71.135.231]) by mail.gmx.com (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MWRVb-1j7lH71f7j-00XrH0; Fri, 17 Jan 2020 20:59:30 +0100 To: "redi at gcc dot gnu.org" , gcc-bugs@gcc.gnu.org, NetBSD Toolchain and Build Technical Discussion List References: From: Kamil Rytarowski Subject: Re: [Bug bootstrap/64271] Minimal patches to bootstrap on NetBSD Message-ID: <8d9d8524-4bf3-b7b7-a80f-83bbc3aedecd@gmx.com> Date: Fri, 17 Jan 2020 19:59:00 -0000 User-Agent: Mozilla/5.0 (X11; NetBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg01790.txt.bz2 Content-length: 880 On 17.01.2020 18:15, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64271 > > --- Comment #16 from Jonathan Wakely --- > Those patches actually were sent to the list, and I reviewed them, and got no > reply: > https://gcc.gnu.org/ml/libstdc++/2014-12/msg00069.html > I'm sorry for this, it was probably overlooked. > I've committed them (after suitable updates) so the libstdc++ parts of this > should be finished now. > Thanks! > libcilkrts was dropped from GCC mainline. Is the libgfortran/configure patch > still relevant and needed? > We still keep this GTHREAD_USE_WEAK patch locally, but I have no idea what is/was the original intention with it and who authored it. The earliest note on it I can see in pkgsrc/lang/gcc47 from 2012/04/16. Adding TO: tech-toolchain@ as someone could shed light on it.