https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92140 --- Comment #29 from Segher Boessenkool --- (In reply to Uroš Bizjak from comment #27) > FYI, these constraints were used in the past (when combine was allowed to > propagate hard registers into combined insn) to prevent reload failures, > where reload was not able to e.g. reload wrong hard reg in the place of > count reg in the shift insn pattern to %ecx. Nowadays, constraints in the > patterns of pre-reload insn_and_split are not necessary anymore, and can be > removed together with ix86_legitimate_combined_insn target hook. combine still propagates hard registers. The only thing it does not combine is single-set register-register copies from a non-fixed hard register; everything else with hard registers it still does, like if the *destination* of the move is a hard reg (e.g., in the function return value). Does it help the i386 port if we disallow a hard reg dest as well? RA should be able to handle that just fine as well. This still will not get rid of *all* (non-fixed) hard registers, you still can get them from explicit register variables, and target code (or even generic code) can still put some in non-copies, which combine will happily propagate further. >From gcc-bugs-return-656937-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 19 22:38:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58042 invoked by alias); 19 Oct 2019 22:38: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 57976 invoked by uid 48); 19 Oct 2019 22:38:34 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92113] [8 regression] r276673 causes segfault in gfortran.dg/pr51434.f90 Date: Sat, 19 Oct 2019 22:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01663.txt.bz2 Content-length: 317 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92113 --- Comment #3 from Segher Boessenkool --- I don't understand that Fortran code correctly, but it seems to me that ARTIFICIAL code is the correct one, so you shouldn't have reverted this patch, and that may just be a red herring even? >From gcc-bugs-return-656938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 19 22:54:13 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72900 invoked by alias); 19 Oct 2019 22:54: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 72876 invoked by uid 48); 19 Oct 2019 22:54:09 -0000 From: "rogero at howzatt dot demon.co.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92096] segmentation fault in 'example_labels' building gcc trunk on cygwin Date: Sat, 19 Oct 2019 22: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rogero at howzatt dot demon.co.uk X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01664.txt.bz2 Content-length: 175 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92096 --- Comment #3 from Roger Orr --- A binary chop shows the fault starts with r276878. >From gcc-bugs-return-656939-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 20 04:22:48 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68145 invoked by alias); 20 Oct 2019 04:22: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 68112 invoked by uid 48); 20 Oct 2019 04:22:44 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90159] Poor warning for an ambiguous reference Date: Sun, 20 Oct 2019 04: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: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg01665.txt.bz2 Content-length: 486 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90159 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-20 Ever confirmed|0 |1 --- Comment #1 from Eric Gallager --- Confirmed. >From gcc-bugs-return-656940-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 20 13:03:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91394 invoked by alias); 20 Oct 2019 13: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 58469 invoked by uid 48); 20 Oct 2019 13:03:39 -0000 From: "witold.baryluk+gcc at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83584] "ISO C forbids conversion of object pointer to function pointer type" -- no, not really Date: Sun, 20 Oct 2019 13:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.1.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: witold.baryluk+gcc at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg01666.txt.bz2 Content-length: 1141 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83584 Witold Baryluk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |witold.baryluk+gcc at gmail dot co | |m --- Comment #19 from Witold Baryluk --- This is still happening, even when using -std=c11 with gcc 9.2.1 C11 does state in annex J.5.7: http://port70.net/~nsz/c/c11/n1570.html#J.5.7p1 """ J.5.7 Function pointer casts 1 A pointer to an object or to void may be cast to a pointer to a function, allowing data to be invoked as a function (6.5.4). """ I am not sure how else I am supposed to use `dlsym(3)`. Maybe if there was a version of dlsym that instead of returning (void*), would return (void(*)()) or (void (*)(void)) it would help. Maybe it is a POSIX bug then? This issue however is not a duplicate of bug 11234. And the error message is incorrect anyway. Sorry if this was mentioned before. >From gcc-bugs-return-656941-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 20 13:10:41 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17615 invoked by alias); 20 Oct 2019 13:10:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17531 invoked by uid 48); 20 Oct 2019 13:10:36 -0000 From: "witold.baryluk+gcc at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83584] "ISO C forbids conversion of object pointer to function pointer type" -- no, not really Date: Sun, 20 Oct 2019 13: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: 7.1.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: witold.baryluk+gcc at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01667.txt.bz2 Content-length: 670 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83584 --- Comment #20 from Witold Baryluk --- FYI. http://austingroupbugs.net/view.php?id=74#c205 says Note that conversion from a void * pointer to a function pointer as in: fptr = (int (*)(int))dlsym(handle, "my_function"); is not defined by the ISO C Standard. This standard requires this conversion to work correctly on conforming implementations. This is published now as IEEE Std 1003.1-2017, aka POSIX.1-2017: https://pubs.opengroup.org/onlinepubs/9699919799/functions/dlsym.html POSIX standard is free to do so. >From gcc-bugs-return-656942-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 20 16:44:33 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13117 invoked by alias); 20 Oct 2019 16:44: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 13067 invoked by uid 55); 20 Oct 2019 16:44:29 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87243] FSF GCC needs to do something special (like using xcrun) on darwin18 to find system headers in SDK Date: Sun, 20 Oct 2019 16:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: enhancement X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01668.txt.bz2 Content-length: 2309 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87243 --- Comment #12 from Iain Sandoe --- Author: iains Date: Sun Oct 20 16:43:57 2019 New Revision: 277213 URL: https://gcc.gnu.org/viewcvs?rev=277213&root=gcc&view=rev Log: [Darwin] Pick up SDKROOT as the sysroot fallback. For compatibility with xcrun and the behaviour of the clang driver, make use of the setting of the SDKROOT environment variable when it is available. This applies to both finding headers and libraries (i.e. it is also passed to ld64). Priority: 1. User's command-line specified --sysroot= or -isysroot. 2. The SDKROOT variable when set, and validated. 3. Any sysroot provided by --with-sysroot= configuration parameter. SDKROOT is checked thus: 1. Presence. 2. That it starts with / (i.e. 'absolute'). 3. That it is not / only (since that's the default). 4. That it is readable by the process executing the driver. This is pretty much the same rule set as used by the clang driver. NOTE: (3) might turn out to be overly restrictive in the case that we have configured with --with-sysroot= and then we want to run on a system with an installation of the headers/libraries in /. We can revisit this if that turns out to be an important use-case. So one can do: xcrun --sdk macosx /path/to/gcc .... and that provides the SDK path as the sysroot to GCC as expected. CAVEAT: An unfortunate effect of the fact that gcc (and g++) are executables in the Xcode installation, which are found ahead of any such named in the $PATH PATH=/path/to/gcc/install:$PATH xcrun --sdk macosx gcc .... does *not* work, instead that executes the clang from the xcode/commmand line tools installation. PATH=/path/to/gcc/install:$PATH xcrun --sdk macosx x64_64-apple-darwinXX-gcc ... does work as expected, however. gcc/ 2019-10-20 Iain Sandoe Backport from mainline 2019-10-03 Iain Sandoe PR target/87243 * config/darwin-driver.c (maybe_get_sysroot_from_sdkroot): New. (darwin_driver_init): Use the sysroot provided by SDKROOT when that is available and the user has not set one on the command line. Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/darwin-driver.c >From gcc-bugs-return-656943-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 20 16:57:22 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32305 invoked by alias); 20 Oct 2019 16:57: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 30342 invoked by uid 48); 20 Oct 2019 16:57:17 -0000 From: "gcc-bugzilla at daryl dot haresign.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92143] std::pmr::polymorphic_allocator throws bad_alloc on macOS Date: Sun, 20 Oct 2019 16:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gcc-bugzilla at daryl dot haresign.com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01669.txt.bz2 Content-length: 784 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92143 --- Comment #8 from Daryl Haresign --- (In reply to Jonathan Wakely from comment #5) > C11 6.2.8 says "Valid alignments > include only those values returned by an _Alignof expression for fundamental > types, plus an additional implementation-defined set of values, which may be > empty. Every valid alignment shall be a nonnegative integral power of two." > > _Alignof(char) and _Alignof(short) and _Alignof(int) are valid alignments > supported by the implementation, and so aligned_alloc is wrong to reject > them. Read together I agree it does sound that way. (In reply to Jonathan Wakely from comment #7) > Fixed on trunk so far, but I'll backport it too. Great, thanks! >From gcc-bugs-return-656944-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 02:09:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124529 invoked by alias); 21 Oct 2019 02:09: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 124375 invoked by uid 48); 21 Oct 2019 02:08:59 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92161] New: [10 Regression] ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1687 Date: Mon, 21 Oct 2019 02:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01670.txt.bz2 Content-length: 3372 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92161 Bug ID: 92161 Summary: [10 Regression] ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1687 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: powerpc-*-linux-gnu gfortran-10.0.0-alpha20191013 snapshot (r276943) ICEs when compiling the following testcase w/ -mvsx -O1 -ftree-loop-vectorize -fno-signed-zeros -fno-trapping-math: COMPLEX FUNCTION R1 (ZR, CC, EA, U6) INTEGER ZR, U6, FZ, J2 COMPLEX EA(*), CC DOUBLE PRECISION OS, GA, YU, XT OS = DBLE(REAL(CC)) GA = DBLE(AIMAG(CC)) J2 = 1 DO 5 FZ = 1, ZR YU = DBLE(REAL(EA(J2))) XT = DBLE(AIMAG(EA(J2))) OS = OS + (YU * 2) - (XT * 2) GA = GA + (YU * 3) + (XT * 3) J2 = J2 + U6 5 CONTINUE R1 = CMPLX(REAL(OS), REAL(GA)) RETURN END % powerpc-e300c3-linux-gnu-gfortran-10.0.0-alpha20191013 -mvsx -O1 -ftree-loop-vectorize -fno-signed-zeros -fno-trapping-math -c svv5mckh.f during GIMPLE pass: vect svv5mckh.f:1:0: 1 | COMPLEX FUNCTION R1 (ZR, CC, EA, U6) | internal compiler error: in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1687 0x6dc2ed vect_get_vec_def_for_stmt_copy(vec_info*, tree_node*) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-10.0.0_alpha20191013/work/gcc-10-20191013/gcc/tree-vect-stmts.c:1687 0x6dc2ed vect_get_vec_def_for_stmt_copy(vec_info*, tree_node*) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-10.0.0_alpha20191013/work/gcc-10-20191013/gcc/tree-vect-stmts.c:1679 0x109d672 vect_get_vec_defs_for_stmt_copy(vec_info*, vec*, vec*) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-10.0.0_alpha20191013/work/gcc-10-20191013/gcc/tree-vect-stmts.c:1712 0x10a2e26 vectorizable_operation /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-10.0.0_alpha20191013/work/gcc-10-20191013/gcc/tree-vect-stmts.c:6217 0x10c003a vect_transform_stmt(_stmt_vec_info*, gimple_stmt_iterator*, _slp_tree*, _slp_instance*) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-10.0.0_alpha20191013/work/gcc-10-20191013/gcc/tree-vect-stmts.c:10769 0x10c2164 vect_transform_loop_stmt /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-10.0.0_alpha20191013/work/gcc-10-20191013/gcc/tree-vect-loop.c:8106 0x10c75b3 vect_transform_loop(_loop_vec_info*) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-10.0.0_alpha20191013/work/gcc-10-20191013/gcc/tree-vect-loop.c:8333 0x10f5b76 try_vectorize_loop_1 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-10.0.0_alpha20191013/work/gcc-10-20191013/gcc/tree-vectorizer.c:983 0x10f669e vectorize_loops() /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-10.0.0_alpha20191013/work/gcc-10-20191013/gcc/tree-vectorizer.c:1115 >From gcc-bugs-return-656945-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 04:33:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101015 invoked by alias); 21 Oct 2019 04:33: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 100963 invoked by uid 48); 21 Oct 2019 04:33:49 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/71045] [SH] gcc.dg/torture/pr68264.c -O0 and -Os failures Date: Mon, 21 Oct 2019 04:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg01671.txt.bz2 Content-length: 460 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71045 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aoliva at gcc dot gnu.org --- Comment #7 from Eric Gallager --- hm, MAINTAINERS says Alexandre Oliva is an SH maintainer, too? cc-ing him >From gcc-bugs-return-656946-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 04:39:44 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106176 invoked by alias); 21 Oct 2019 04:39:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106124 invoked by uid 48); 21 Oct 2019 04:39:39 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87038] diagnostics: Have -Wjump-misses-init be enabled by -Wall or -Wextra Date: Mon, 21 Oct 2019 04:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01672.txt.bz2 Content-length: 1007 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87038 --- Comment #24 from Eric Gallager --- (In reply to Harald van Dijk from comment #23) > (In reply to Eric Gallager from comment #22) > > (In reply to Harald van Dijk from comment #21) > > > Since -Wjump-misses-init triggers too often for commonly used C patterns, > > > I do not think it is appropriate to include it in -Wall. > > > > OK, so what about -Wextra then? > > My personal feeling as a user is that clang's warning is useful enough that > if GCC were to implement that, that one could be included in -Wall. It > avoids warning for the common cases where code works as intended, and still > manages to warn for the OP's code. I do not know how much work it would be > to implement that; if it would be too much work, then including > -Wjump-misses-init in -Wextra makes sense to me. Well, since no one's done it yet, I'm guessing it's probably too much work, so... can we just go with the latter? >From gcc-bugs-return-656947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 06:55:19 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32164 invoked by alias); 21 Oct 2019 06:55: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 32079 invoked by uid 55); 21 Oct 2019 06:55:14 -0000 From: "gjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/52641] Test cases fail for 16-bit int targets Date: Mon, 21 Oct 2019 06: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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: gjl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01673.txt.bz2 Content-length: 1247 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641 --- Comment #18 from Georg-Johann Lay --- Author: gjl Date: Mon Oct 21 06:54:42 2019 New Revision: 277236 URL: https://gcc.gnu.org/viewcvs?rev=277236&root=gcc&view=rev Log: Fix some fallout for small targets. PR testsuite/52641 * gcc.dg/torture/pr86034.c: Use 32-bit base type for a bitfield of width > 16 bits. * gcc.dg/torture/pr90972.c [avr]: Add option "-w". * gcc.dg/torture/pr87693.c: Same. * gcc.dg/torture/pr91178.c: Add dg-require-effective-target size32plus. * gcc.dg/torture/pr91178-2.c: Same. * gcc.dg/torture/20181024-1.c * gcc.dg/torture/pr86554-1.c: Use 32-bit integers. * gcc.dg/tree-ssa/pr91091-1.c: Same. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/torture/20181024-1.c trunk/gcc/testsuite/gcc.dg/torture/pr86034.c trunk/gcc/testsuite/gcc.dg/torture/pr86554-1.c trunk/gcc/testsuite/gcc.dg/torture/pr87693.c trunk/gcc/testsuite/gcc.dg/torture/pr90972.c trunk/gcc/testsuite/gcc.dg/torture/pr91178-2.c trunk/gcc/testsuite/gcc.dg/torture/pr91178.c trunk/gcc/testsuite/gcc.dg/tree-ssa/pr91091-1.c >From gcc-bugs-return-656948-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 07:32:22 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123506 invoked by alias); 21 Oct 2019 07:32: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 123401 invoked by uid 55); 21 Oct 2019 07:32:17 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91532] [SVE] Redundant predicated store in gcc.target/aarch64/fmla_2.c Date: Mon, 21 Oct 2019 07: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: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: prathamesh3492 at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: prathamesh3492 at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01674.txt.bz2 Content-length: 553 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91532 --- Comment #4 from prathamesh3492 at gcc dot gnu.org --- Author: prathamesh3492 Date: Mon Oct 21 07:31:45 2019 New Revision: 277237 URL: https://gcc.gnu.org/viewcvs?rev=277237&root=gcc&view=rev Log: 2019-10-21 Prathamesh Kulkarni PR tree-optimization/91532 * gcc.target/aarch64/sve/fmla_2.c: Add dg-scan check for two st1d insns. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/aarch64/sve/fmla_2.c >From gcc-bugs-return-656949-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 07:40:17 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52826 invoked by alias); 21 Oct 2019 07:40: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 52745 invoked by uid 48); 21 Oct 2019 07:40:13 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/92151] Spurious register copying Date: Mon, 21 Oct 2019 07:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cf_gcctarget 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: 2019-10/txt/msg01675.txt.bz2 Content-length: 640 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92151 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization, ra Target| |x86_64-*-*, i?86-*-* Version|unknown |9.1.0 --- Comment #1 from Richard Biener --- I wonder if it's better to put all of the assembler into a single asm() ... (or write actual assembly rather than using inline-asm). >From gcc-bugs-return-656950-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 07:42:37 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58211 invoked by alias); 21 Oct 2019 07:42: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 58114 invoked by uid 48); 21 Oct 2019 07:42:34 -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: Mon, 21 Oct 2019 07: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: 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: 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 component 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: 2019-10/txt/msg01676.txt.bz2 Content-length: 681 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92152 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-21 Component|other |tree-optimization Target Milestone|--- |10.0 Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- Hmm, on avr int == short == int16_t, right? I will try to have a look. >From gcc-bugs-return-656951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 08:00:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79797 invoked by alias); 21 Oct 2019 08:00: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 79373 invoked by uid 48); 21 Oct 2019 08:00:20 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92158] Enum warning when -1 enum converted to unsigned int or int Date: Mon, 21 Oct 2019 08:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords version bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01677.txt.bz2 Content-length: 415 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92158 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Version|unknown |10.0 Severity|normal |enhancement >From gcc-bugs-return-656952-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 08:01:32 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88994 invoked by alias); 21 Oct 2019 08:01: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 87450 invoked by uid 48); 21 Oct 2019 08:01:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92159] -Wenum-conversion for C++ Date: Mon, 21 Oct 2019 08: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: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords version bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01678.txt.bz2 Content-length: 415 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92159 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Version|unknown |10.0 Severity|normal |enhancement >From gcc-bugs-return-656953-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 08:19:44 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77328 invoked by alias); 21 Oct 2019 08:19: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 77257 invoked by uid 48); 21 Oct 2019 08:19:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92161] [10 Regression] ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1687 Date: Mon, 21 Oct 2019 08:19: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: P3 X-Bugzilla-Assigned-To: rguenth 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: 2019-10/txt/msg01679.txt.bz2 Content-length: 623 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92161 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-21 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Target Milestone|--- |10.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Mine. >From gcc-bugs-return-656954-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 08:26:55 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89100 invoked by alias); 21 Oct 2019 08:26: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 88993 invoked by uid 48); 21 Oct 2019 08:26:49 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92128] fold more non-constant strlen relational expressions Date: Mon, 21 Oct 2019 08:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01680.txt.bz2 Content-length: 1644 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92128 Christophe Lyon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clyon at gcc dot gnu.org --- Comment #1 from Christophe Lyon --- (In reply to Martin Sebor from comment #0) > With pr91996 resolved GCC can make use of strlen range information in some > contexts but not in others. The test for pr91996 only enabled on a subset > of those where GCC is known to be able to do this, but even for those it is > specially crafted to exercise only the contexts where the optimization was > implemented. On other targets (e.g., arm-*-*), or even on others such as > aarch64-*-* where the test passes, other similar test cases fail. This is > because the solution for pr91996 was only put in place for multi-byte > assignments via MEM_REF but not also for calls to memcpy. > After r277076 (fix for pr91996), I have noticed that the new test strlenopt-81.c fails in some cases on arm, is that what you mean above? For instance, when compiling with -march=armv5t, the test fails because: FAIL: gcc.dg/strlenopt-81.c (test for excess errors) Excess errors: strlenopt-81.c:(.text+0x1e4): undefined reference to `test_on_line_97_not_eliminated' strlenopt-81.c:(.text+0x3b8): undefined reference to `test_on_line_156_not_eliminated' strlenopt-81.c:(.text+0x40c): undefined reference to `test_on_line_172_not_eliminated' UNRESOLVED: gcc.dg/strlenopt-81.c compilation failed to produce executable >From gcc-bugs-return-656955-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 08:30:48 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96631 invoked by alias); 21 Oct 2019 08:30:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96449 invoked by uid 48); 21 Oct 2019 08:30:39 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/92144] [10 regression] c-c++-common/Warray-bounds-4.c still fails after r277080 Date: Mon, 21 Oct 2019 08: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: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01681.txt.bz2 Content-length: 550 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92144 Christophe Lyon changed: What |Removed |Added ---------------------------------------------------------------------------- Target|powerpc64*-unknown-linux-gn |powerpc64*-unknown-linux-gn |u |u arm aarch64 CC| |clyon at gcc dot gnu.org --- Comment #1 from Christophe Lyon --- Seen on arm and aarch64 too. >From gcc-bugs-return-656956-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 08:32:57 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116234 invoked by alias); 21 Oct 2019 08: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 116157 invoked by uid 48); 21 Oct 2019 08:32:52 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92161] [10 Regression] ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1687 Date: Mon, 21 Oct 2019 08: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: 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: rguenth 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: 2019-10/txt/msg01682.txt.bz2 Content-length: 399 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92161 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- Started with r276700. >From gcc-bugs-return-656957-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 08:38:43 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3867 invoked by alias); 21 Oct 2019 08:38:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3775 invoked by uid 48); 21 Oct 2019 08:38:38 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92162] New: [10 Regression] ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:4252 Date: Mon, 21 Oct 2019 08:38: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01683.txt.bz2 Content-length: 2645 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92162 Bug ID: 92162 Summary: [10 Regression] ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:4252 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: x86_64-pc-linux-gnu gcc-10.0.0-alpha20191020 snapshot (r277217) ICEs when compiling the following testcase w/ -Ofast: short int s8; void __attribute__ ((simd)) gn (void) { s8 = 0; } % x86_64-pc-linux-gnu-gcc-10.0.0-alpha20191020 -Ofast -c ezsapdyo.c during GIMPLE pass: vect ezsapdyo.c: In function 'gn.simdclone.5': ezsapdyo.c:4:1: internal compiler error: in vect_create_epilog_for_reduction, at tree-vect-loop.c:4252 4 | gn (void) | ^~ 0x6b96a3 vect_create_epilog_for_reduction /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vect-loop.c:4252 0x6b96a3 vectorizable_live_operation(_stmt_vec_info*, gimple_stmt_iterator*, _slp_tree*, _slp_instance*, int, bool, vec*) /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vect-loop.c:7477 0xe5cb69 can_vectorize_live_stmts /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vect-stmts.c:10578 0xe5cb69 can_vectorize_live_stmts /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vect-stmts.c:10559 0xe7cbcc vect_transform_stmt(_stmt_vec_info*, gimple_stmt_iterator*, _slp_tree*, _slp_instance*) /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vect-stmts.c:11030 0xe7f3f8 vect_transform_loop_stmt /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vect-loop.c:7918 0xe88b10 vect_transform_loop(_loop_vec_info*) /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vect-loop.c:8132 0xeaac51 try_vectorize_loop_1 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vectorizer.c:982 0xeab82d vectorize_loops() /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vectorizer.c:1114 >From gcc-bugs-return-656958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 08:55:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37644 invoked by alias); 21 Oct 2019 08:55: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 37597 invoked by uid 48); 21 Oct 2019 08:55:25 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91940] __builtin_bswap16 loop optimization Date: Mon, 21 Oct 2019 08:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01684.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91940 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Jakub Jelinek --- Fixed. >From gcc-bugs-return-656959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 09:03:57 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11028 invoked by alias); 21 Oct 2019 09:03: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 10918 invoked by uid 48); 21 Oct 2019 09:03:52 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92163] New: [10 Regression] ICE: Segmentation fault (in bitmap_set_bit) Date: Mon, 21 Oct 2019 09:03: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: ice-on-valid-code, openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter 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: 2019-10/txt/msg01685.txt.bz2 Content-length: 2510 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92163 Bug ID: 92163 Summary: [10 Regression] ICE: Segmentation fault (in bitmap_set_bit) Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, openacc Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com CC: prathamesh3492 at gcc dot gnu.org Target Milestone: --- gcc-10.0.0-alpha20191020 snapshot (r277217) ICEs when compiling the following testcase reduced from libgomp/testsuite/libgomp.oacc-c-c++-common/mode-transitions.c w/ -O2 -fexceptions -fnon-call-exceptions -fopenacc: void xr (int *k7) { int qa; #pragma acc parallel #pragma acc loop vector for (qa = 0; qa < 3; ++qa) if (qa % 2 != 0) k7[qa] = 0; else k7[qa] = 1; } % gcc-10.0.0-alpha20191020 -O2 -fexceptions -fnon-call-exceptions -fopenacc -c ejmslzdp.c during GIMPLE pass: ifcvt ejmslzdp.c: In function 'xr._omp_fn.0': ejmslzdp.c:6:9: internal compiler error: Segmentation fault 6 | #pragma acc parallel | ^~~ 0xc78566 crash_signal /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/toplev.c:326 0x83e35f bitmap_set_bit(bitmap_head*, int) /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/bitmap.c:953 0xd7076a delete_dead_or_redundant_assignment(gimple_stmt_iterator*, char const*) /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-ssa-dse.c:919 0xcde420 ifcvt_local_dce /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-if-conv.c:2978 0xcde420 tree_if_conversion(loop*, vec*) /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-if-conv.c:3094 0xcdf9ab execute /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-if-conv.c:3171 0xcdf9ab execute /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-if-conv.c:3158 >From gcc-bugs-return-656960-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 09:07:32 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15423 invoked by alias); 21 Oct 2019 09:07: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 15205 invoked by uid 48); 21 Oct 2019 09:07:23 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92140] clang vs gcc optimizing with adc/sbb Date: Mon, 21 Oct 2019 09: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: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01686.txt.bz2 Content-length: 1204 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92140 --- Comment #30 from Uroš Bizjak --- (In reply to Segher Boessenkool from comment #29) > > Does it help the i386 port if we disallow a hard reg dest as well? > RA should be able to handle that just fine as well. I don't know from the top of my head, but the current approach where invalid/unwanted propagation is rejected by ix86_legitimate_combined_insn works well. So, to answer your question, the effects of a proposed patch should be analysed on a case-by-case basis. There are several instructions that use fixed output registers (mostly double-word insns that use rax/rdx pair, e.g. mult and div) which are usually tied to the input operand, but nobody ever analysed how additional RA freedom would affect them. > > This still will not get rid of *all* (non-fixed) hard registers, you > still can get them from explicit register variables, and target code > (or even generic code) can still put some in non-copies, which combine > will happily propagate further. Thanks for this info, so it looks that a safety net in the form of ix86_legitimate_combined_insn (and insn constraints) is still needed. >From gcc-bugs-return-656961-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 09:55:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67320 invoked by alias); 21 Oct 2019 09:55:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66748 invoked by uid 48); 21 Oct 2019 09:55:27 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92161] [10 Regression] ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1687 Date: Mon, 21 Oct 2019 09:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: P3 X-Bugzilla-Assigned-To: rguenth 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: 2019-10/txt/msg01687.txt.bz2 Content-length: 245 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92161 --- Comment #3 from Richard Biener --- OK, so the SLP rollback gets in the way of our adjustment of the def-type in vectorizable_reduction. Hmm. Testing patch. >From gcc-bugs-return-656962-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 10:05:10 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89377 invoked by alias); 21 Oct 2019 10:05: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 89267 invoked by uid 48); 21 Oct 2019 10:05:02 -0000 From: "gjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92152] [10 Regression] Wrong code (Resurrection of PR53663) Date: Mon, 21 Oct 2019 10:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: gjl at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01688.txt.bz2 Content-length: 229 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92152 --- Comment #3 from Georg-Johann Lay --- (In reply to Richard Biener from comment #2) > Hmm, on avr int == short == int16_t, right? Correct. >From gcc-bugs-return-656963-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 10:12:11 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63266 invoked by alias); 21 Oct 2019 10:12: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 57179 invoked by uid 55); 21 Oct 2019 10:12:07 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/91929] missing inline subroutine information in build using sin/cos Date: Mon, 21 Oct 2019 10:12: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: 9.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01689.txt.bz2 Content-length: 2272 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91929 --- Comment #13 from rguenther at suse dot de --- On Fri, 18 Oct 2019, dimhen at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91929 > > Dmitry G. Dyachenko changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |dimhen at gmail dot com > > --- Comment #12 from Dmitry G. Dyachenko --- > I see new warnings -Wuninitialized and -Wmaybe-uninitialized after r276993 > > r276992 no warnings > r276993 warnings > > $ cat x_3.i > int *a; > int b, d; > > int g() { > int *c; > int e[6]; > int f = 1; > if (0) > goto cd; > c = 0; > for (; d; d++) > *e = 1 ^ *(c + 1); > if (f) > for (b = 0;;) > a[0] = e[b]; > cd: > return 0; > } > > $ ~/arch-gcc/gcc_276993/bin/gcc -fpreprocessed -O2 -Wall -c x_3.i > > x_3.i: In function ‘g’: > x_3.i:15:15: warning: ‘e[0]’ may be used uninitialized in this function > [-Wmaybe-uninitialized] > 15 | a[0] = e[b]; > | ~^~~ If d is zero then e[0] will be loaded uninitialized. PRE exposes this to the uninit machinery which previously gave up for loops by commoning e[b] with the set in the loop plus inserting a load from e[0] on the path not coming from the loop. I guess previously the uninit pass didn't emit warnings for the load because it had no location. > $ cat x.i > typedef struct { > int a[0]; > } c; > typedef struct { > c d; > } * e; > e a; > void f(void); > void f() { > int c[1]; > for (;;) { > unsigned long d[0]; > int b, g, h = b = h; > unsigned long *e = d; > for (; g; ++g) > e[g] = 0; > *a->d.a = *c; > } > } > > $ ~/arch-gcc/gcc_276993/bin/gcc -fpreprocessed -O2 -Wall -c x.i > x.i: In function ‘f’: > x.i:17:13: warning: ‘c[0]’ is used uninitialized in this function > [-Wuninitialized] > 17 | *a->d.a = *c; > | ~~~~~~~~^~~~ This is the same (and g is not initialized here as well) >From gcc-bugs-return-656964-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 10:15:45 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115976 invoked by alias); 21 Oct 2019 10:15: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 113615 invoked by uid 48); 21 Oct 2019 10:15:41 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/91929] missing inline subroutine information in build using sin/cos Date: Mon, 21 Oct 2019 10:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01690.txt.bz2 Content-length: 378 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91929 --- Comment #14 from Dmitry G. Dyachenko --- (In reply to rguenther@suse.de from comment #13) > On Fri, 18 Oct 2019, dimhen at gmail dot com wrote: > I guess > previously the uninit pass didn't emit warnings for the load > because it had no location. So new warnings are expected. Nice! Thank you >From gcc-bugs-return-656965-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 10:23:50 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69842 invoked by alias); 21 Oct 2019 10:23:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69709 invoked by uid 48); 21 Oct 2019 10:23:46 -0000 From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91532] [SVE] Redundant predicated store in gcc.target/aarch64/fmla_2.c Date: Mon, 21 Oct 2019 10: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: rsandifo at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: prathamesh3492 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: 2019-10/txt/msg01691.txt.bz2 Content-length: 459 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91532 rsandifo at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from rsandifo at gcc dot gnu.org --- Fixed. >From gcc-bugs-return-656966-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 10:29:32 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81151 invoked by alias); 21 Oct 2019 10:29: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 81000 invoked by uid 48); 21 Oct 2019 10:29:28 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92158] Enum warning when -1 enum converted to unsigned int or int Date: Mon, 21 Oct 2019 10: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: 10.0 X-Bugzilla-Keywords: diagnostic 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: 2019-10/txt/msg01692.txt.bz2 Content-length: 197 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92158 --- Comment #1 from Jonathan Wakely --- Converting to integral types is a feature of enums, I see no reason to warn. >From gcc-bugs-return-656967-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 10:32:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86873 invoked by alias); 21 Oct 2019 10:32:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86775 invoked by uid 48); 21 Oct 2019 10:32:34 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92158] Enum warning when -1 enum converted to unsigned int or int Date: Mon, 21 Oct 2019 10:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: diagnostic 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: 2019-10/txt/msg01693.txt.bz2 Content-length: 242 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92158 --- Comment #2 from Jonathan Wakely --- At least when the sign doesn't change, i.e. for conversion to int. Please clarify what exactly you want a warning to do. >From gcc-bugs-return-656968-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 10:33:48 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88857 invoked by alias); 21 Oct 2019 10:33:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88785 invoked by uid 48); 21 Oct 2019 10:33:44 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92159] -Wenum-conversion for C++ Date: Mon, 21 Oct 2019 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: diagnostic 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: 2019-10/txt/msg01694.txt.bz2 Content-length: 154 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92159 --- Comment #1 from Jonathan Wakely --- Your testcase doesn't warn for C. >From gcc-bugs-return-656969-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 10:41:43 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4259 invoked by alias); 21 Oct 2019 10:41:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4170 invoked by uid 48); 21 Oct 2019 10:41:39 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92159] -Wenum-conversion for C++ Date: Mon, 21 Oct 2019 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: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01695.txt.bz2 Content-length: 874 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92159 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2019-10-21 Ever confirmed|0 |1 --- Comment #2 from Jonathan Wakely --- (In reply to Jonny Grant from comment #0) > Bug 60591 added -Wenum-conversion for C I think you mean Bug 78736, and the C option doesn't warn for your testcase. It warns for conversions from one enumeration type to another enumeration type, which is already ill-formed in C++. Adding a warning for something that doesn't compile anyway is useless. Please clarify exactly what you're asking for. >From gcc-bugs-return-656970-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 10:45:49 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27362 invoked by alias); 21 Oct 2019 10:45: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 26685 invoked by uid 48); 21 Oct 2019 10:45:42 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92158] Enum warning when -1 enum converted to unsigned int or int Date: Mon, 21 Oct 2019 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: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01696.txt.bz2 Content-length: 529 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92158 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2019-10-21 Ever confirmed|0 |1 --- Comment #3 from Jonathan Wakely --- Your example doesn't warn with Clang or Clang++ either. >From gcc-bugs-return-656971-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 10:46:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28595 invoked by alias); 21 Oct 2019 10:46: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 28529 invoked by uid 48); 21 Oct 2019 10:46:25 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92159] -Wenum-conversion for C++ Date: Mon, 21 Oct 2019 10:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01697.txt.bz2 Content-length: 176 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92159 --- Comment #3 from Jonathan Wakely --- This doesn't seem to warn with Clang or Clang++ either. >From gcc-bugs-return-656972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 10:58:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15911 invoked by alias); 21 Oct 2019 10:58: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 8564 invoked by uid 48); 21 Oct 2019 10:58:35 -0000 From: "steffen-schmidt at siemens dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92164] New: Wrong result using builtin rint/rintf optimization in x86_64 Date: Mon, 21 Oct 2019 10:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: steffen-schmidt at siemens dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone 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: 2019-10/txt/msg01698.txt.bz2 Content-length: 1635 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92164 Bug ID: 92164 Summary: Wrong result using builtin rint/rintf optimization in x86_64 Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: steffen-schmidt at siemens dot com Target Milestone: --- Created attachment 47071 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47071&action=edit Test source and build script Dear GCC team, we've found that the usage of GCCs builtin rint() or rintf() functions on x86_64 platforms, as are introduced with optimization -O1 and above results in a change of the runtime result of those functions. When compiling the attached testprogram with "-O0" or using "-O1 -fno-builtin-rint" the results are as expected as defined by the API. Using GCCs builtin some of the results differ from the expected values. It seems operations using FE_DOWNWARD and FE_UPWARD are behaving contrarily for negative floating point inputs to rint/rintf using builtin rint functions, resulting in the wrongly rounded value. The behaviour was reproduced on x86_64 platforms Ubuntu Linux 19.10, MSys2 and bare metal x86_64 toolchains with GCC compilers 8.2, 9.1, 9.2.1. Please find attached the bzipped test program (rinttest.tar.bz2), including build.sh script to compile and run. This should provide a similar output as in attached text file (rinttest_output.txt). Please let me know if I can assist any further. Best, Steffen >From gcc-bugs-return-656973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:02:58 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48399 invoked by alias); 21 Oct 2019 11:02: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 48367 invoked by uid 48); 21 Oct 2019 11:02:54 -0000 From: "steffen-schmidt at siemens dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92164] Wrong result using builtin rint/rintf optimization in x86_64 Date: Mon, 21 Oct 2019 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: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: steffen-schmidt at siemens dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg01699.txt.bz2 Content-length: 256 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92164 --- Comment #1 from Steffen Schmidt --- Created attachment 47072 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47072&action=edit Test result output text. >From gcc-bugs-return-656974-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:03:37 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55066 invoked by alias); 21 Oct 2019 11:03: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 54969 invoked by uid 48); 21 Oct 2019 11:03:32 -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: Mon, 21 Oct 2019 11:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: 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: 2019-10/txt/msg01700.txt.bz2 Content-length: 1673 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92152 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #4 from Richard Biener --- OK, so this happens in visit_reference_op_store which hits if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Store matched earlier value, " "value numbering store vdefs to matching vuses.\n"); changed |= set_ssa_val_to (vdef, SSA_VAL (vuse)); where I actually wondered if I could trigger wrong-code with it. The counter-measure is /* If the TBAA state isn't compatible for downstream reads we cannot value-number the VDEFs the same. */ alias_set_type set = get_alias_set (lhs); if (vnresult->set != set && ! alias_set_subset_of (set, vnresult->set)) resultsame = false; but here we have v.i and v.f both of which get the alias-set of the union. We later disambiguate u.i against *f via aliasing_component_refs_p which correctly assesses that if u.i is the active union member then the load via *f cannot alias it. On x86_64 we optimize away the v.f store as redundant but then still don't CSE because somehow aliasing_component_refs_p doesn't get it in the case both fields are not of the same size. So I'm not entirely sure it isn't aliasing_component_refs_p that is to blame. At least it should make the testcase also fail on x86_64... Honza? >From gcc-bugs-return-656976-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:19:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72524 invoked by alias); 21 Oct 2019 11:19: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 72455 invoked by uid 48); 21 Oct 2019 11:19:42 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92163] [10 Regression] ICE: Segmentation fault (in bitmap_set_bit) Date: Mon, 21 Oct 2019 11:19: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, openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01702.txt.bz2 Content-length: 294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92163 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.0 >From gcc-bugs-return-656975-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:19:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71755 invoked by alias); 21 Oct 2019 11:19: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 71708 invoked by uid 48); 21 Oct 2019 11:19:26 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92164] Wrong result using builtin rint/rintf optimization in x86_64 Date: Mon, 21 Oct 2019 11:19:00 -0000 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: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01701.txt.bz2 Content-length: 160 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92164 --- Comment #2 from Richard Biener --- Did you compile with -frounding-math? >From gcc-bugs-return-656977-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:20:03 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73447 invoked by alias); 21 Oct 2019 11:20: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 73353 invoked by uid 48); 21 Oct 2019 11:19:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92162] [10 Regression] ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:4252 Date: Mon, 21 Oct 2019 11: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: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01703.txt.bz2 Content-length: 574 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92162 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-21 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- mine I bet >From gcc-bugs-return-656978-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:23:21 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76309 invoked by alias); 21 Oct 2019 11: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 76280 invoked by uid 48); 21 Oct 2019 11:23:16 -0000 From: "gcc at gmch dot uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/92151] Spurious register copying Date: Mon, 21 Oct 2019 11:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: gcc at gmch dot uk X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01704.txt.bz2 Content-length: 936 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92151 Chris Hall changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gcc at gmch dot uk --- Comment #2 from Chris Hall --- (In reply to Richard Biener from comment #1) > I wonder if it's better to put all of the assembler into a single asm() ... > (or write actual assembly rather than using inline-asm). In this case, yes -- I now declare the function "naked" and avoid the issue. However, I have some functions which are designed to be always be inlined, and which have a "hot" part and one or more "cold" parts. For those (I believe) I still need to use __asm__ goto() etc. Further, I wonder if what I see with inline __asm__ is a symptom of some more general register allocation funkiness. >From gcc-bugs-return-656979-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:33:01 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125497 invoked by alias); 21 Oct 2019 11:33: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 125420 invoked by uid 55); 21 Oct 2019 11:32:56 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92161] [10 Regression] ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1687 Date: Mon, 21 Oct 2019 11:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: P3 X-Bugzilla-Assigned-To: rguenth 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: 2019-10/txt/msg01705.txt.bz2 Content-length: 644 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92161 --- Comment #4 from Richard Biener --- Author: rguenth Date: Mon Oct 21 11:32:25 2019 New Revision: 277240 URL: https://gcc.gnu.org/viewcvs?rev=277240&root=gcc&view=rev Log: 2019-10-21 Richard Biener PR tree-optimization/92161 * tree-vect-loop.c (vect_analyze_loop_2): Reset stmts def-type for reductions. * gfortran.dg/pr92161.f: New testcase. Added: trunk/gcc/testsuite/gfortran.dg/pr92161.f Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c >From gcc-bugs-return-656980-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:34:53 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128863 invoked by alias); 21 Oct 2019 11:34: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 128789 invoked by uid 48); 21 Oct 2019 11:34:49 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92161] [10 Regression] ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1687 Date: Mon, 21 Oct 2019 11: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-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01706.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92161 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Richard Biener --- Fixed. >From gcc-bugs-return-656981-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:35:44 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130489 invoked by alias); 21 Oct 2019 11:35: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 130148 invoked by uid 55); 21 Oct 2019 11:35:40 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/91401] schedule + dist_schedule clauses rejected on distribute parallel for Date: Mon, 21 Oct 2019 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.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01707.txt.bz2 Content-length: 1234 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91401 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:35:09 2019 New Revision: 277243 URL: https://gcc.gnu.org/viewcvs?rev=277243&root=gcc&view=rev Log: Backported from mainline 2019-08-09 Jakub Jelinek PR c/91401 * c-parser.c (c_parser_omp_clause_dist_schedule): Fix up typos in the check_no_duplicate_clause call. Comment it out, instead emit a warning for duplicate dist_schedule clauses. * parser.c (cp_parser_omp_clause_dist_schedule): Comment out the check_no_duplicate_clause call, instead emit a warning for duplicate dist_schedule clauses. * c-c++-common/gomp/pr91401-1.c: New test. * c-c++-common/gomp/pr91401-2.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/c-c++-common/gomp/pr91401-1.c branches/gcc-9-branch/gcc/testsuite/c-c++-common/gomp/pr91401-2.c Modified: branches/gcc-9-branch/gcc/c/ChangeLog branches/gcc-9-branch/gcc/c/c-parser.c branches/gcc-9-branch/gcc/cp/ChangeLog branches/gcc-9-branch/gcc/cp/parser.c branches/gcc-9-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-656982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:37:13 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1547 invoked by alias); 21 Oct 2019 11:37:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1426 invoked by uid 55); 21 Oct 2019 11:37:07 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/91617] [10 regression] Many go test case failures after r275026 Date: Mon, 21 Oct 2019 11:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 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: P3 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: 2019-10/txt/msg01708.txt.bz2 Content-length: 1969 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91617 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:36:36 2019 New Revision: 277244 URL: https://gcc.gnu.org/viewcvs?rev=277244&root=gcc&view=rev Log: Backported from mainline 2019-09-02 Jakub Jelinek PR go/91617 * fold-const.c (range_check_type): For enumeral and boolean type, pass 1 to type_for_size langhook instead of TYPE_UNSIGNED (etype). Return unsigned_type_for result whenever etype isn't TYPE_UNSIGNED INTEGER_TYPE. (build_range_check): Don't call unsigned_type_for for pointer types. * match.pd (X / C1 op C2): Don't call unsigned_type_for on range_check_type result. 2019-08-29 Jakub Jelinek PR tree-optimization/91351 * tree-cfg.c (generate_range_test): Use range_check_type instead of unsigned_type_for. * tree-cfgcleanup.c (convert_single_case_switch): Punt if range_check_type returns NULL. * tree-switch-conversion.c (switch_conversion::build_one_array): Use range_check_type instead of unsigned_type_for, don't perform linear opt if it returns NULL. (bit_test_cluster::find_bit_tests): Formatting fix. (bit_test_cluster::emit): Use range_check_type instead of unsigned_type_for. (switch_decision_tree::try_switch_expansion): Punt if range_check_type returns NULL. * g++.dg/opt/pr91351.C: New test. Added: branches/gcc-9-branch/gcc/testsuite/g++.dg/opt/pr91351.C Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/fold-const.c branches/gcc-9-branch/gcc/match.pd branches/gcc-9-branch/gcc/testsuite/ChangeLog branches/gcc-9-branch/gcc/tree-cfg.c branches/gcc-9-branch/gcc/tree-cfgcleanup.c branches/gcc-9-branch/gcc/tree-switch-conversion.c >From gcc-bugs-return-656983-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:37:13 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1555 invoked by alias); 21 Oct 2019 11:37:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1428 invoked by uid 55); 21 Oct 2019 11:37:07 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91351] [9 Regression] -fstrict-enums generates incorrect code Date: Mon, 21 Oct 2019 11:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01709.txt.bz2 Content-length: 1970 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91351 --- Comment #15 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:36:36 2019 New Revision: 277244 URL: https://gcc.gnu.org/viewcvs?rev=277244&root=gcc&view=rev Log: Backported from mainline 2019-09-02 Jakub Jelinek PR go/91617 * fold-const.c (range_check_type): For enumeral and boolean type, pass 1 to type_for_size langhook instead of TYPE_UNSIGNED (etype). Return unsigned_type_for result whenever etype isn't TYPE_UNSIGNED INTEGER_TYPE. (build_range_check): Don't call unsigned_type_for for pointer types. * match.pd (X / C1 op C2): Don't call unsigned_type_for on range_check_type result. 2019-08-29 Jakub Jelinek PR tree-optimization/91351 * tree-cfg.c (generate_range_test): Use range_check_type instead of unsigned_type_for. * tree-cfgcleanup.c (convert_single_case_switch): Punt if range_check_type returns NULL. * tree-switch-conversion.c (switch_conversion::build_one_array): Use range_check_type instead of unsigned_type_for, don't perform linear opt if it returns NULL. (bit_test_cluster::find_bit_tests): Formatting fix. (bit_test_cluster::emit): Use range_check_type instead of unsigned_type_for. (switch_decision_tree::try_switch_expansion): Punt if range_check_type returns NULL. * g++.dg/opt/pr91351.C: New test. Added: branches/gcc-9-branch/gcc/testsuite/g++.dg/opt/pr91351.C Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/fold-const.c branches/gcc-9-branch/gcc/match.pd branches/gcc-9-branch/gcc/testsuite/ChangeLog branches/gcc-9-branch/gcc/tree-cfg.c branches/gcc-9-branch/gcc/tree-cfgcleanup.c branches/gcc-9-branch/gcc/tree-switch-conversion.c >From gcc-bugs-return-656984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:38:17 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3780 invoked by alias); 21 Oct 2019 11:38:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3711 invoked by uid 55); 21 Oct 2019 11:38:13 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBsdG8vOTE1NzJdIFs5IFJlZ3Jlc3Npb25dIGx0bzE6IGVycm9yOiB0?= =?UTF-8?B?eXBlIHZhcmlhbnQgaGFzIGRpZmZlcmVudCDigJhUUkVFX1RZUEXigJkgc2lu?= =?UTF-8?B?Y2UgcjI2OTg2Mg==?Date: Mon, 21 Oct 2019 11: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: 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: 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: 2019-10/txt/msg01710.txt.bz2 Content-length: 731 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91572 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:37:41 2019 New Revision: 277245 URL: https://gcc.gnu.org/viewcvs?rev=277245&root=gcc&view=rev Log: Backported from mainline 2019-09-01 Jakub Jelinek PR lto/91572 * tree.c (find_decls_types_in_node): Also walk TREE_PURPOSE of GIMPLE_ASM TREE_LIST operands. * g++.dg/lto/pr91572_0.C: New test. Added: branches/gcc-9-branch/gcc/testsuite/g++.dg/lto/pr91572_0.C Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/testsuite/ChangeLog branches/gcc-9-branch/gcc/tree.c >From gcc-bugs-return-656985-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:39:12 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7536 invoked by alias); 21 Oct 2019 11:39:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7495 invoked by uid 55); 21 Oct 2019 11:39:08 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/91623] [7/8/9 Regression] -msse4.1 -O3 segfault in /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/smmintrin.h:270:10 Date: Mon, 21 Oct 2019 11:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01711.txt.bz2 Content-length: 880 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91623 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:38:37 2019 New Revision: 277246 URL: https://gcc.gnu.org/viewcvs?rev=277246&root=gcc&view=rev Log: Backported from mainline 2019-09-01 Jakub Jelinek PR middle-end/91623 * optabs.c (expand_vec_cond_expr): If op0 is a VECTOR_CST and only EQ_EXPR/NE_EXPR is supported, verify that op0 only contains zeros or negative elements and use NE_EXPR instead of LT_EXPR against zero vector. * gcc.target/i386/pr91623.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.target/i386/pr91623.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/optabs.c branches/gcc-9-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-656986-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:39:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8373 invoked by alias); 21 Oct 2019 11:39: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 8321 invoked by uid 55); 21 Oct 2019 11:39:36 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91632] [10 Regression] Probably wrong code since r275026 Date: Mon, 21 Oct 2019 11:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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: 2019-10/txt/msg01712.txt.bz2 Content-length: 575 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91632 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:39:04 2019 New Revision: 277247 URL: https://gcc.gnu.org/viewcvs?rev=277247&root=gcc&view=rev Log: Backported from mainline 2019-09-02 Jakub Jelinek PR tree-optimization/91632 * gcc.c-torture/execute/pr91632.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.c-torture/execute/pr91632.c Modified: branches/gcc-9-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-656987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:40:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9801 invoked by alias); 21 Oct 2019 11:40: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 9716 invoked by uid 55); 21 Oct 2019 11:40:24 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/91001] internal compiler error: in extract_insn, at recog.c:2310 Date: Mon, 21 Oct 2019 11:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 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: 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: 2019-10/txt/msg01713.txt.bz2 Content-length: 1190 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91001 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:39:53 2019 New Revision: 277248 URL: https://gcc.gnu.org/viewcvs?rev=277248&root=gcc&view=rev Log: Backported from mainline 2019-09-06 Jakub Jelinek * function.c (assign_parm_find_data_types): Use RECORD_OR_UNION_TYPE_P before testing TYPE_TRANSPARENT_AGGR. * calls.c (initialize_argument_information, load_register_parameters): Likewise. 2019-09-05 Jakub Jelinek PR middle-end/91001 PR middle-end/91105 PR middle-end/91106 * calls.c (load_register_parameters): For TYPE_TRANSPARENT_AGGR types, use type of their first field instead of type of args[i].tree_value. * gcc.c-torture/compile/pr91001.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.c-torture/compile/pr91001.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/calls.c branches/gcc-9-branch/gcc/function.c branches/gcc-9-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-656988-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:40:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10011 invoked by alias); 21 Oct 2019 11:40: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 9718 invoked by uid 55); 21 Oct 2019 11:40:24 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/91105] internal compiler error: maximum number of generated reload insns per insn achieved (90) Date: Mon, 21 Oct 2019 11:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01714.txt.bz2 Content-length: 1190 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91105 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:39:53 2019 New Revision: 277248 URL: https://gcc.gnu.org/viewcvs?rev=277248&root=gcc&view=rev Log: Backported from mainline 2019-09-06 Jakub Jelinek * function.c (assign_parm_find_data_types): Use RECORD_OR_UNION_TYPE_P before testing TYPE_TRANSPARENT_AGGR. * calls.c (initialize_argument_information, load_register_parameters): Likewise. 2019-09-05 Jakub Jelinek PR middle-end/91001 PR middle-end/91105 PR middle-end/91106 * calls.c (load_register_parameters): For TYPE_TRANSPARENT_AGGR types, use type of their first field instead of type of args[i].tree_value. * gcc.c-torture/compile/pr91001.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.c-torture/compile/pr91001.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/calls.c branches/gcc-9-branch/gcc/function.c branches/gcc-9-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-656989-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:40:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10020 invoked by alias); 21 Oct 2019 11:40: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 9720 invoked by uid 55); 21 Oct 2019 11:40:24 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91106] internal compiler error: output_operand: invalid use of register 'frame' Date: Mon, 21 Oct 2019 11:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01715.txt.bz2 Content-length: 1190 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91106 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:39:53 2019 New Revision: 277248 URL: https://gcc.gnu.org/viewcvs?rev=277248&root=gcc&view=rev Log: Backported from mainline 2019-09-06 Jakub Jelinek * function.c (assign_parm_find_data_types): Use RECORD_OR_UNION_TYPE_P before testing TYPE_TRANSPARENT_AGGR. * calls.c (initialize_argument_information, load_register_parameters): Likewise. 2019-09-05 Jakub Jelinek PR middle-end/91001 PR middle-end/91105 PR middle-end/91106 * calls.c (load_register_parameters): For TYPE_TRANSPARENT_AGGR types, use type of their first field instead of type of args[i].tree_value. * gcc.c-torture/compile/pr91001.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.c-torture/compile/pr91001.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/calls.c branches/gcc-9-branch/gcc/function.c branches/gcc-9-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-656990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:41:24 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13135 invoked by alias); 21 Oct 2019 11:41:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13039 invoked by uid 55); 21 Oct 2019 11:41:19 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91665] [8/9 Regression] ICE in build_vector_from_val, at tree.c:1904 Date: Mon, 21 Oct 2019 11: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-checking, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01716.txt.bz2 Content-length: 768 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91665 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:40:48 2019 New Revision: 277249 URL: https://gcc.gnu.org/viewcvs?rev=277249&root=gcc&view=rev Log: Backported from mainline 2019-09-07 Jakub Jelinek PR tree-optimization/91665 * tree-vect-loop.c (vectorizable_reduction): Punt if base has type incompatible with the type of PHI result. * gcc.dg/vect/pr91665.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.dg/vect/pr91665.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/testsuite/ChangeLog branches/gcc-9-branch/gcc/tree-vect-loop.c >From gcc-bugs-return-656991-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:42:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14521 invoked by alias); 21 Oct 2019 11:42: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 14461 invoked by uid 55); 21 Oct 2019 11:42:12 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91723] [9 Regression] builtin fma is not optimized or vectorized as *+ Date: Mon, 21 Oct 2019 11: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: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.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: 2019-10/txt/msg01717.txt.bz2 Content-length: 823 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91723 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:41:40 2019 New Revision: 277250 URL: https://gcc.gnu.org/viewcvs?rev=277250&root=gcc&view=rev Log: Backported from mainline 2019-09-11 Jakub Jelinek PR tree-optimization/91723 * tree-vect-stmts.c (vectorizable_call): Use types_compatible_p check instead of pointer equality when checking if argument vectypes are the same. * gcc.dg/vect/vect-fma-3.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.dg/vect/vect-fma-3.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/testsuite/ChangeLog branches/gcc-9-branch/gcc/tree-vect-stmts.c >From gcc-bugs-return-656993-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:43:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16103 invoked by alias); 21 Oct 2019 11:43: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 15960 invoked by uid 55); 21 Oct 2019 11:43:11 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/91720] [10 Regression] wrong code with -Og -fno-forward-propagate -frerun-cse-after-loop -fno-tree-fre Date: Mon, 21 Oct 2019 11:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: 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: 2019-10/txt/msg01719.txt.bz2 Content-length: 803 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91720 --- Comment #14 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:42:37 2019 New Revision: 277251 URL: https://gcc.gnu.org/viewcvs?rev=277251&root=gcc&view=rev Log: Backported from mainline 2019-09-11 Jakub Jelinek PR rtl-optimization/89435 PR rtl-optimization/89795 PR rtl-optimization/91720 * gcc.dg/pr89435.c: New test. * gcc.dg/pr89795.c: New test. * gcc.dg/pr91720.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.dg/pr89435.c branches/gcc-9-branch/gcc/testsuite/gcc.dg/pr89795.c branches/gcc-9-branch/gcc/testsuite/gcc.dg/pr91720.c Modified: branches/gcc-9-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-656992-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:43:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16081 invoked by alias); 21 Oct 2019 11:43: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 15905 invoked by uid 55); 21 Oct 2019 11:43:09 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/89795] [7/8/9/10 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure Date: Mon, 21 Oct 2019 11:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01718.txt.bz2 Content-length: 803 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795 --- Comment #17 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:42:37 2019 New Revision: 277251 URL: https://gcc.gnu.org/viewcvs?rev=277251&root=gcc&view=rev Log: Backported from mainline 2019-09-11 Jakub Jelinek PR rtl-optimization/89435 PR rtl-optimization/89795 PR rtl-optimization/91720 * gcc.dg/pr89435.c: New test. * gcc.dg/pr89795.c: New test. * gcc.dg/pr91720.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.dg/pr89435.c branches/gcc-9-branch/gcc/testsuite/gcc.dg/pr89795.c branches/gcc-9-branch/gcc/testsuite/gcc.dg/pr91720.c Modified: branches/gcc-9-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-656994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:43:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16153 invoked by alias); 21 Oct 2019 11:43: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 15959 invoked by uid 55); 21 Oct 2019 11:43:11 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/89435] [7/8/9 Regression] wrong code with -O1 -march=armv4 -fno-forward-propagate with __builtin_sub_overflow() Date: Mon, 21 Oct 2019 11:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-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: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01720.txt.bz2 Content-length: 803 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89435 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:42:37 2019 New Revision: 277251 URL: https://gcc.gnu.org/viewcvs?rev=277251&root=gcc&view=rev Log: Backported from mainline 2019-09-11 Jakub Jelinek PR rtl-optimization/89435 PR rtl-optimization/89795 PR rtl-optimization/91720 * gcc.dg/pr89435.c: New test. * gcc.dg/pr89795.c: New test. * gcc.dg/pr91720.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.dg/pr89435.c branches/gcc-9-branch/gcc/testsuite/gcc.dg/pr89795.c branches/gcc-9-branch/gcc/testsuite/gcc.dg/pr91720.c Modified: branches/gcc-9-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-656995-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:43:52 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18357 invoked by alias); 21 Oct 2019 11:43: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 18301 invoked by uid 55); 21 Oct 2019 11:43:48 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/91920] ggc 9.2.0 failing openmp compile on ppc64le Date: Mon, 21 Oct 2019 11: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: 9.2.0 X-Bugzilla-Keywords: openmp, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01721.txt.bz2 Content-length: 752 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91920 --- Comment #15 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:43:16 2019 New Revision: 277252 URL: https://gcc.gnu.org/viewcvs?rev=277252&root=gcc&view=rev Log: Backported from mainline 2019-09-27 Jakub Jelinek PR middle-end/91920 * gimplify.c (omp_default_clause): Predetermine DECL_IN_CONSTANT_POOL variables as shared. * c-c++-common/gomp/pr91920.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/c-c++-common/gomp/pr91920.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/gimplify.c branches/gcc-9-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-656996-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:45:33 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24717 invoked by alias); 21 Oct 2019 11:45: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 24336 invoked by uid 55); 21 Oct 2019 11:45:26 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88203] assert does not compile with OpenMP's pragma omp parallel for default(none) Date: Mon, 21 Oct 2019 11: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: unknown X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01722.txt.bz2 Content-length: 2207 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88203 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:44:53 2019 New Revision: 277253 URL: https://gcc.gnu.org/viewcvs?rev=277253&root=gcc&view=rev Log: Backported from mainline 2019-09-27 Jakub Jelinek PR c++/88203 * c-common.h (c_omp_predefined_variable): Declare. * c-omp.c (c_omp_predefined_variable): New function. (c_omp_predetermined_sharing): Return OMP_CLAUSE_DEFAULT_SHARED for predefined variables. * c-parser.c (c_parser_predefined_identifier): New function. (c_parser_postfix_expression): Use it. (c_parser_omp_variable_list): Parse predefined identifiers. * c-typeck.c (c_finish_omp_clauses): Allow predefined variables in shared and firstprivate clauses, even when they are predetermined shared. * parser.c (cp_parser_omp_var_list_no_open): Parse predefined variables. * semantics.c (finish_omp_clauses): Allow predefined variables in shared and firstprivate clauses, even when they are predetermined shared. * cp-gimplify.c (cxx_omp_predetermined_sharing_1): Return OMP_CLAUSE_DEFAULT_SHARED for predefined variables. * c-c++-common/gomp/pr88203-1.c: New test. * c-c++-common/gomp/pr88203-2.c: New test. * c-c++-common/gomp/pr88203-3.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/c-c++-common/gomp/pr88203-1.c branches/gcc-9-branch/gcc/testsuite/c-c++-common/gomp/pr88203-2.c branches/gcc-9-branch/gcc/testsuite/c-c++-common/gomp/pr88203-3.c Modified: branches/gcc-9-branch/gcc/c-family/ChangeLog branches/gcc-9-branch/gcc/c-family/c-common.h branches/gcc-9-branch/gcc/c-family/c-omp.c branches/gcc-9-branch/gcc/c/ChangeLog branches/gcc-9-branch/gcc/c/c-parser.c branches/gcc-9-branch/gcc/c/c-typeck.c branches/gcc-9-branch/gcc/cp/ChangeLog branches/gcc-9-branch/gcc/cp/cp-gimplify.c branches/gcc-9-branch/gcc/cp/parser.c branches/gcc-9-branch/gcc/cp/semantics.c branches/gcc-9-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-656997-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:46:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28444 invoked by alias); 21 Oct 2019 11: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 27252 invoked by uid 55); 21 Oct 2019 11:45:59 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/90543] Build failure on MINGW for gcc-9.1.0 Date: Mon, 21 Oct 2019 11:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01723.txt.bz2 Content-length: 546 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90543 --- Comment #14 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:45:27 2019 New Revision: 277254 URL: https://gcc.gnu.org/viewcvs?rev=277254&root=gcc&view=rev Log: Backported from mainline 2019-09-29 Jakub Jelinek PR bootstrap/90543 * optc-save-gen.awk: Fix up printing string option differences. Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/optc-save-gen.awk >From gcc-bugs-return-656998-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:46:58 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30028 invoked by alias); 21 Oct 2019 11:46: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 29966 invoked by uid 55); 21 Oct 2019 11:46:53 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91925] [9/10 Regression] -fpack-struct causes a decltype with template to ICE Date: Mon, 21 Oct 2019 11:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: 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: 2019-10/txt/msg01724.txt.bz2 Content-length: 762 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91925 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:46:21 2019 New Revision: 277255 URL: https://gcc.gnu.org/viewcvs?rev=277255&root=gcc&view=rev Log: Backported from mainline 2019-10-01 Jakub Jelinek PR c++/91925 * c-warn.c (check_alignment_of_packed_member): Ignore FIELD_DECLs with NULL DECL_FIELD_OFFSET. * g++.dg/conversion/packed2.C: New test. Added: branches/gcc-9-branch/gcc/testsuite/g++.dg/conversion/packed2.C Modified: branches/gcc-9-branch/gcc/c-family/ChangeLog branches/gcc-9-branch/gcc/c-family/c-warn.c branches/gcc-9-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-656999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:47:44 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31406 invoked by alias); 21 Oct 2019 11:47: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 31349 invoked by uid 55); 21 Oct 2019 11:47:40 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91974] function not sequenced before function argument Date: Mon, 21 Oct 2019 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: 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01725.txt.bz2 Content-length: 934 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91974 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:47:09 2019 New Revision: 277256 URL: https://gcc.gnu.org/viewcvs?rev=277256&root=gcc&view=rev Log: Backported from mainline 2019-10-04 Jakub Jelinek PR c++/91974 * cp-gimplify.c (cp_gimplify_expr) : For -fstrong-eval-order ensure CALL_EXPR_FN side-effects are evaluated before any arguments. Additionally, ensure CALL_EXPR_FN that isn't invariant nor OBJ_TYPE_REF nor SSA_NAME is forced into a temporary. * g++.dg/cpp1z/eval-order5.C: New test. Added: branches/gcc-9-branch/gcc/testsuite/g++.dg/cpp1z/eval-order5.C Modified: branches/gcc-9-branch/gcc/cp/ChangeLog branches/gcc-9-branch/gcc/cp/cp-gimplify.c branches/gcc-9-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-657000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:48:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34648 invoked by alias); 21 Oct 2019 11:48: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 34277 invoked by uid 55); 21 Oct 2019 11:48:33 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91734] gcc skip an if statement with "-O1 -ffast-math" Date: Mon, 21 Oct 2019 11:48: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01726.txt.bz2 Content-length: 1235 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91734 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:48:00 2019 New Revision: 277257 URL: https://gcc.gnu.org/viewcvs?rev=277257&root=gcc&view=rev Log: Backported from mainline 2019-10-05 Jakub Jelinek PR tree-optimization/91734 * generic-match-head.c: Include fold-const-call.h. * match.pd (sqrt(x) cmp c): Check the boundary value and in case inexact computation of c*c affects comparison of the boundary, turn LT_EXPR into LE_EXPR, GE_EXPR into GT_EXPR, LE_EXPR into LT_EXPR or GT_EXPR into GE_EXPR. Punt for sqrt comparisons against NaN and for -frounding-math. For c2, try the next smaller or larger floating point constant depending on comparison code and if it has the same sqrt as c2, use it instead of c2. * gcc.dg/pr91734.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.dg/pr91734.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/generic-match-head.c branches/gcc-9-branch/gcc/match.pd branches/gcc-9-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-657001-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:49:17 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36726 invoked by alias); 21 Oct 2019 11:49:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36567 invoked by uid 55); 21 Oct 2019 11:49:05 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87752] ICE in omp_add_variable, at gimplify.c:6776 Date: Mon, 21 Oct 2019 11:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01727.txt.bz2 Content-length: 559 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87752 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:48:34 2019 New Revision: 277258 URL: https://gcc.gnu.org/viewcvs?rev=277258&root=gcc&view=rev Log: Backported from mainline 2019-10-17 Jakub Jelinek PR fortran/87752 * gfortran.dg/gomp/pr87752.f90: New test. Added: branches/gcc-9-branch/gcc/testsuite/gfortran.dg/gomp/pr87752.f90 Modified: branches/gcc-9-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-657002-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:49:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37921 invoked by alias); 21 Oct 2019 11:49: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 37864 invoked by uid 55); 21 Oct 2019 11:49:50 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92056] [10 Regression] ice in expr_object_size, at tree-object-si ze.c:675 with -O3 Date: Mon, 21 Oct 2019 11:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: P3 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: 2019-10/txt/msg01728.txt.bz2 Content-length: 786 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92056 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 11:49:18 2019 New Revision: 277259 URL: https://gcc.gnu.org/viewcvs?rev=277259&root=gcc&view=rev Log: Backported from mainline 2019-10-17 Jakub Jelinek PR tree-optimization/92056 * tree-object-size.c (cond_expr_object_size): Return early if then_ processing resulted in unknown size. * gcc.c-torture/compile/pr92056.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.c-torture/compile/pr92056.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/testsuite/ChangeLog branches/gcc-9-branch/gcc/tree-object-size.c >From gcc-bugs-return-657003-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:54:13 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58278 invoked by alias); 21 Oct 2019 11:54: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 58213 invoked by uid 48); 21 Oct 2019 11:54:09 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91351] [9 Regression] -fstrict-enums generates incorrect code Date: Mon, 21 Oct 2019 11:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: 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: 2019-10/txt/msg01729.txt.bz2 Content-length: 437 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91351 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #16 from Jakub Jelinek --- Fixed for 9.3+ too. >From gcc-bugs-return-657005-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:57:57 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61705 invoked by alias); 21 Oct 2019 11:57: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 61660 invoked by uid 48); 21 Oct 2019 11:57:53 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/91623] [7/8 Regression] -msse4.1 -O3 segfault in /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/smmintrin.h:270:10 Date: Mon, 21 Oct 2019 11:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01731.txt.bz2 Content-length: 678 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91623 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[7/8/9 Regression] -msse4.1 |[7/8 Regression] -msse4.1 |-O3 segfault in |-O3 segfault in |/usr/lib/gcc/x86_64-pc-linu |/usr/lib/gcc/x86_64-pc-linu |x-gnu/8.3.0/include/smmintr |x-gnu/8.3.0/include/smmintr |in.h:270:10 |in.h:270:10 --- Comment #9 from Jakub Jelinek --- Fixed for 9.3+ too. >From gcc-bugs-return-657004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:57:41 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60951 invoked by alias); 21 Oct 2019 11:57:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60903 invoked by uid 48); 21 Oct 2019 11:57:38 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBsdG8vOTE1NzJdIFs5IFJlZ3Jlc3Npb25dIGx0bzE6IGVycm9yOiB0?= =?UTF-8?B?eXBlIHZhcmlhbnQgaGFzIGRpZmZlcmVudCDigJhUUkVFX1RZUEXigJkgc2lu?= =?UTF-8?B?Y2UgcjI2OTg2Mg==?Date: Mon, 21 Oct 2019 11:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 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: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01730.txt.bz2 Content-length: 491 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91572 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Known to work| |9.2.1 Resolution|--- |FIXED --- Comment #7 from Jakub Jelinek --- Fixed for 9.3+ too. >From gcc-bugs-return-657007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:58:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63270 invoked by alias); 21 Oct 2019 11:58:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63224 invoked by uid 48); 21 Oct 2019 11:58:34 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91665] [8 Regression] ICE in build_vector_from_val, at tree.c:1904 Date: Mon, 21 Oct 2019 11:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01733.txt.bz2 Content-length: 586 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91665 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |9.2.1 Summary|[8/9 Regression] ICE in |[8 Regression] ICE in |build_vector_from_val, at |build_vector_from_val, at |tree.c:1904 |tree.c:1904 --- Comment #10 from Jakub Jelinek --- Fixed for 9.3+ too. >From gcc-bugs-return-657006-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:58:18 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62514 invoked by alias); 21 Oct 2019 11:58: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 62483 invoked by uid 48); 21 Oct 2019 11:58:14 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/91001] internal compiler error: in extract_insn, at recog.c:2310 Date: Mon, 21 Oct 2019 11: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: 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: 2019-10/txt/msg01732.txt.bz2 Content-length: 139 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91001 --- Comment #9 from Jakub Jelinek --- Fixed for 9.3+ too. >From gcc-bugs-return-657008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 11:59:01 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64865 invoked by alias); 21 Oct 2019 11:59:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64795 invoked by uid 48); 21 Oct 2019 11:58:57 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91723] [9 Regression] builtin fma is not optimized or vectorized as *+ Date: Mon, 21 Oct 2019 11:59: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: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.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: 2019-10/txt/msg01734.txt.bz2 Content-length: 436 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91723 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Jakub Jelinek --- Fixed for 9.3+ too. >From gcc-bugs-return-657009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 12:00:42 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73099 invoked by alias); 21 Oct 2019 12:00: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 72937 invoked by uid 48); 21 Oct 2019 12:00:33 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/91920] ggc 9.2.0 failing openmp compile on ppc64le Date: Mon, 21 Oct 2019 12:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: openmp, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01735.txt.bz2 Content-length: 588 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91920 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |9.3 --- Comment #16 from Jakub Jelinek --- Fixed for 9.3+ too. 8.x and earlier shouldn't have the problem, as readonly variables are predetermined shared there. >From gcc-bugs-return-657010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 12:05:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77013 invoked by alias); 21 Oct 2019 12:05: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 76913 invoked by uid 48); 21 Oct 2019 12:05:34 -0000 From: "steffen-schmidt at siemens dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92164] Wrong result using builtin rint/rintf optimization in x86_64 Date: Mon, 21 Oct 2019 12: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: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: steffen-schmidt at siemens dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01736.txt.bz2 Content-length: 471 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92164 --- Comment #3 from Steffen Schmidt --- Thanks for the quick reply. Just tested using -frounding-math and it seems to fix the issue. Sorry, I was not aware of this option, according to GCCs manual it is experimental. Please correct me if I'm wrong, but my expectation would be, assuming a correct program, switching from -O0 to -O1 should not influence the runtime result. >From gcc-bugs-return-657011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 12:06:12 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77939 invoked by alias); 21 Oct 2019 12:06: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 77882 invoked by uid 48); 21 Oct 2019 12:06:09 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88203] assert does not compile with OpenMP's pragma omp parallel for default(none) Date: Mon, 21 Oct 2019 12:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg01737.txt.bz2 Content-length: 379 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88203 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unknown |8.2.1 --- Comment #10 from Jakub Jelinek --- Fixed for 9.3+ too. >From gcc-bugs-return-657012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 12:06:53 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78931 invoked by alias); 21 Oct 2019 12:06:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78871 invoked by uid 48); 21 Oct 2019 12:06:50 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91925] [9/10 Regression] -fpack-struct causes a decltype with template to ICE Date: Mon, 21 Oct 2019 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: 9.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01738.txt.bz2 Content-length: 515 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91925 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #9 from Jakub Jelinek --- Fixed for 9.3+. >From gcc-bugs-return-657013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 12:07:50 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80069 invoked by alias); 21 Oct 2019 12:07: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 79969 invoked by uid 48); 21 Oct 2019 12:07:45 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91974] function not sequenced before function argument Date: Mon, 21 Oct 2019 12:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01739.txt.bz2 Content-length: 281 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91974 --- Comment #10 from Jakub Jelinek --- The originally reported issue fixed for 9.3+ too. Not really sure if it is a good idea to backport the shift and array ref changes, those are quite invasive. >From gcc-bugs-return-657014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 12:11:28 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84525 invoked by alias); 21 Oct 2019 12:11: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 84472 invoked by uid 48); 21 Oct 2019 12:11:24 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/92151] Spurious register copying Date: Mon, 21 Oct 2019 12:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01740.txt.bz2 Content-length: 2038 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92151 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #3 from Alexander Monakov --- >> (or write actual assembly rather than using inline-asm). > In this case, yes -- I now declare the function "naked" and avoid the issue. I think this solution (hand-writing asm for the entire function) is generally undesirable because you become responsible for ABI/calling convention, the compiler won't help you with things like properly restoring callee-saved registers, and violations may stay unnoticed as long as callers don't try to use a particular callee-saved reg. Here's a manually reduced variant that exhibits a similar issue at -O1: void foo(int num, int c) { asm("# %0" : "+r"(num)); while (--c) asm goto("# %0" :: "r"(num) :: l2); l2: asm("# %0" :: "r"(num)); } The main issue seems to be our 'asmcons' pass transforming RTL in such a way that REG_DEAD notes are "behind" the actual death, so if the RA takes them literally it operates on wrong (too conservative) lifetime information; e.g., for the first asm, just before IRA we have: (insn 29 4 8 2 (set (reg:SI 84 [ num ]) (reg:SI 85)) "./example.c":3:5 -1 (nil)) (insn 8 29 7 2 (parallel [ (set (reg:SI 84 [ num ]) (asm_operands:SI ("# %0") ("=r") 0 [ (reg:SI 84 [ num ]) ] [ (asm_input:SI ("0") ./example.c:3) ] [] ./example.c:3)) (clobber (reg:CC 17 flags)) ]) "./example.c":3:5 -1 (expr_list:REG_DEAD (reg:SI 85) (expr_list:REG_UNUSED (reg:CC 17 flags) (nil)))) but register 85 actually dies in insn 29, not in insn 8. >From gcc-bugs-return-657016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 12:23:50 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120808 invoked by alias); 21 Oct 2019 12:23:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120761 invoked by uid 48); 21 Oct 2019 12:23:46 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92163] [10 Regression] ICE: Segmentation fault (in bitmap_set_bit) Date: Mon, 21 Oct 2019 12:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code, openacc 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: 2019-10/txt/msg01742.txt.bz2 Content-length: 563 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92163 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-21 CC| |jakub at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Started with r276681. >From gcc-bugs-return-657015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 12:23:08 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119932 invoked by alias); 21 Oct 2019 12:23: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 119889 invoked by uid 48); 21 Oct 2019 12:23:04 -0000 From: "unclepom at sina dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92160] The control variable of TLS variable alias be removed when use emutls(--enable-tls=no) Date: Mon, 21 Oct 2019 12:23: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: unclepom at sina 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: 2019-10/txt/msg01741.txt.bz2 Content-length: 230 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92160 --- Comment #1 from Pom --- full source code: #define TLS __thread TLS int oldname = 7; extern TLS int newname __attribute__((alias("oldname"))); >From gcc-bugs-return-657017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 12:32:09 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2326 invoked by alias); 21 Oct 2019 12:32: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 1703 invoked by uid 48); 21 Oct 2019 12:32:03 -0000 From: "unclepom at sina dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92160] The control variable of TLS variable alias be removed when use emutls(--enable-tls=no) Date: Mon, 21 Oct 2019 12:32: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: unclepom at sina 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: 2019-10/txt/msg01743.txt.bz2 Content-length: 232 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92160 --- Comment #2 from Pom --- Created attachment 47073 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47073&action=edit test code and makefile >From gcc-bugs-return-657018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 12:34:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6860 invoked by alias); 21 Oct 2019 12:34: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 6808 invoked by uid 48); 21 Oct 2019 12:34:23 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92163] [10 Regression] ICE: Segmentation fault (in bitmap_set_bit) Date: Mon, 21 Oct 2019 12:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code, openacc 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01744.txt.bz2 Content-length: 404 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92163 --- Comment #2 from Jakub Jelinek --- tree-ssa-dse.c assumes need_eh_cleanup bitmap (which is static) is initialized at the start of the pass and handled at the end. So, do we need to add functions (init and fini) which ifcvt can call, or just not consider in the ifcvt local dce stores that can throw, something else? >From gcc-bugs-return-657019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 12:59:51 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95039 invoked by alias); 21 Oct 2019 12:59: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 94962 invoked by uid 48); 21 Oct 2019 12:59:45 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91665] [8 Regression] ICE in build_vector_from_val, at tree.c:1904 Date: Mon, 21 Oct 2019 12:59: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-checking, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 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: 2019-10/txt/msg01745.txt.bz2 Content-length: 499 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91665 David Binderman changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcb314 at hotmail dot com --- Comment #11 from David Binderman --- I see something similar here. Flag -O3 required. Bug seems to start sometime between revision 277050 and 277100. >From gcc-bugs-return-657020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 13:09:03 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126112 invoked by alias); 21 Oct 2019 13:09:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125974 invoked by uid 48); 21 Oct 2019 13:08:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92162] [10 Regression] ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:4252 Date: Mon, 21 Oct 2019 13: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01746.txt.bz2 Content-length: 294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92162 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.0 >From gcc-bugs-return-657021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 13:11:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130714 invoked by alias); 21 Oct 2019 13:11: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 130673 invoked by uid 48); 21 Oct 2019 13:11:35 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92162] [10 Regression] ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:4252 Date: Mon, 21 Oct 2019 13:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01747.txt.bz2 Content-length: 379 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92162 --- Comment #2 from David Binderman --- Another test case seems to be: double *a; b() { int c, d = 1; for (; c < b; c++) for (; c < b; c++) if (a[c]) d = 0; if (d) e(); } -O3 required for this case. Bug seems to start sometime between revision 277050 and 277010. >From gcc-bugs-return-657022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 13:12:44 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120149 invoked by alias); 21 Oct 2019 13:12: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 110879 invoked by uid 48); 21 Oct 2019 13:12:40 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91665] [8 Regression] ICE in build_vector_from_val, at tree.c:1904 Date: Mon, 21 Oct 2019 13:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01748.txt.bz2 Content-length: 168 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91665 --- Comment #12 from David Binderman --- Scratch my comment. Wrong bug report. Sorry. >From gcc-bugs-return-657023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 13:14:45 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62469 invoked by alias); 21 Oct 2019 13:14: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 61934 invoked by uid 48); 21 Oct 2019 13:14:40 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92162] [10 Regression] ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:4252 Date: Mon, 21 Oct 2019 13:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: P3 X-Bugzilla-Assigned-To: rguenth 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: 2019-10/txt/msg01749.txt.bz2 Content-length: 174 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92162 --- Comment #3 from Richard Biener --- Seems to hit 416.gamess as well. Patch in testing. >From gcc-bugs-return-657024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 13:17:06 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67570 invoked by alias); 21 Oct 2019 13: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 67493 invoked by uid 48); 21 Oct 2019 13:17:02 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92164] Wrong result using builtin rint/rintf optimization in x86_64 Date: Mon, 21 Oct 2019 13: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: 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: 2019-10/txt/msg01750.txt.bz2 Content-length: 782 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92164 --- Comment #4 from Richard Biener --- (In reply to Steffen Schmidt from comment #3) > Thanks for the quick reply. > > Just tested using -frounding-math and it seems to fix the issue. > Sorry, I was not aware of this option, according to GCCs manual it is > experimental. > > Please correct me if I'm wrong, but my expectation would be, assuming a > correct program, switching from -O0 to -O1 should not influence the runtime > result. GCC assumes you do not mess with the floating-point state but round-to-nearest is in effect. You have to use -frounding-math to remove this assumption but then still correct operation isn't guaranteed (thus the "experimental" tag for this option). >From gcc-bugs-return-657025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 13:21:14 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74457 invoked by alias); 21 Oct 2019 13:21:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74295 invoked by uid 48); 21 Oct 2019 13:21:10 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92164] Wrong result using builtin rint/rintf optimization in x86_64 Date: Mon, 21 Oct 2019 13: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: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01751.txt.bz2 Content-length: 338 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92164 --- Comment #5 from Richard Biener --- Note that if GCC would be standards-conforming here your program would still need #pragma STDC FENV_ACCESS ON since you are accessing and modifying the floating-point state (where the pragma has no effect for GCC) >From gcc-bugs-return-657026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 13:22:19 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77393 invoked by alias); 21 Oct 2019 13:22:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77352 invoked by uid 48); 21 Oct 2019 13:22:16 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92164] Wrong result using builtin rint/rintf optimization in x86_64 Date: Mon, 21 Oct 2019 13: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: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01752.txt.bz2 Content-length: 165 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92164 --- Comment #6 from Richard Biener --- See PR34678 for issues of -frounding-math. >From gcc-bugs-return-657027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 13:43:55 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71031 invoked by alias); 21 Oct 2019 13:43: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 63281 invoked by uid 55); 21 Oct 2019 13:43:51 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92162] [10 Regression] ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:4252 Date: Mon, 21 Oct 2019 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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01753.txt.bz2 Content-length: 749 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92162 --- Comment #4 from Richard Biener --- Author: rguenth Date: Mon Oct 21 13:43:19 2019 New Revision: 277261 URL: https://gcc.gnu.org/viewcvs?rev=277261&root=gcc&view=rev Log: 2019-10-21 Richard Biener PR tree-optimization/92162 * tree-vect-loop.c (vect_create_epilog_for_reduction): Lookup STMT_VINFO_REDUC_IDX in reduc_info. * tree-vect-stmts.c (vectorizable_condition): Likewise. * gcc.dg/pr92162.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/pr92162.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c trunk/gcc/tree-vect-stmts.c >From gcc-bugs-return-657028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 13:46:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63619 invoked by alias); 21 Oct 2019 13:46: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 58827 invoked by uid 48); 21 Oct 2019 13:46:23 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92162] [10 Regression] ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:4252 Date: Mon, 21 Oct 2019 13:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth 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: 2019-10/txt/msg01754.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92162 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Richard Biener --- Fixed. >From gcc-bugs-return-657029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 14:27:28 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32345 invoked by alias); 21 Oct 2019 14:27: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 32210 invoked by uid 48); 21 Oct 2019 14:27:24 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/90835] Incompatibilities with macOS 10.15 headers Date: Mon, 21 Oct 2019 14:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords blocked 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: 2019-10/txt/msg01755.txt.bz2 Content-length: 1507 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835 Iain Sandoe changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |meta-bug Blocks| |90709 Depends on| |66970 --- Comment #16 from Iain Sandoe --- I think to make this into a meta-bug, with dependencies on: __has_builtin () - PR 66970 __has_feature () __has_extension () __attribute__((__availability__(....))) which depends on __attribute__((__unavailable__(...))) Martin Sebor has posted a patch for PR 66970 and i have patches in progress for __has_fature/extension and __attribute__((__unavailable__())) (I will create PRs for the other deps. in due course) At the moment, I'm a bit reluctant to jam __has_xxxx => 0 in Darwin startup code, since that might well produce wrong effects on headers that are already adjusted (i.e. the compiler would report that __has_xxx was defined, but that all the facilities were non-existent - which is a different state from reporting hat __has_xxx is not present). Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66970 [Bug 66970] Add __has_builtin() macro https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90709 [Bug 90709] [meta-bug] GNU Objective C (C++) cannot consume current headers on Darwin platforms. >From gcc-bugs-return-657030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 14:40:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83030 invoked by alias); 21 Oct 2019 14:40: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 82986 invoked by uid 48); 21 Oct 2019 14:40:26 -0000 From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/92165] New: [10 regression] g++.dg/cpp2a/nodiscard-once.C fails starting with r277205 Date: Mon, 21 Oct 2019 14:40: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: seurer at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01756.txt.bz2 Content-length: 3256 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92165 Bug ID: 92165 Summary: [10 regression] g++.dg/cpp2a/nodiscard-once.C fails starting with r277205 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- Executing on host: /home/seurer/gcc/build/gcc-test/gcc/testsuite/g++/../../xg++ -B/home/seurer/gcc/build/gcc-test/gcc/testsuite/g++/../../ /home/seurer/gcc/gcc-test/gcc/testsuite/g++.dg/cpp2a/nodiscard-once.C -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never -nostdinc++ -I/home/seurer/gcc/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu -I/home/seurer/gcc/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include -I/home/seurer/gcc/gcc-test/libstdc++-v3/libsupc++ -I/home/seurer/gcc/gcc-test/libstdc++-v3/include/backward -I/home/seurer/gcc/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0 -std=gnu++2a -O -ftrack-macro-expansion=0 -S -o nodiscard-once.s (timeout = 300) spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test/gcc/testsuite/g++/../../xg++ -B/home/seurer/gcc/build/gcc-test/gcc/testsuite/g++/../../ /home/seurer/gcc/gcc-test/gcc/testsuite/g++.dg/cpp2a/nodiscard-once.C -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never -nostdinc++ -I/home/seurer/gcc/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu -I/home/seurer/gcc/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include -I/home/seurer/gcc/gcc-test/libstdc++-v3/libsupc++ -I/home/seurer/gcc/gcc-test/libstdc++-v3/include/backward -I/home/seurer/gcc/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0 -std=gnu++2a -O -ftrack-macro-expansion=0 -S -o nodiscard-once.s /home/seurer/gcc/gcc-test/gcc/testsuite/g++.dg/cpp2a/nodiscard-once.C:5:14: error: attribute 'nodiscard' can appear at most once in an attribute-list /home/seurer/gcc/gcc-test/gcc/testsuite/g++.dg/cpp2a/nodiscard-once.C: In function 'void test()': /home/seurer/gcc/gcc-test/gcc/testsuite/g++.dg/cpp2a/nodiscard-once.C:10:10: warning: ignoring return value of 'int check1()', declared with attribute 'nodiscard' [-Wunused-result] /home/seurer/gcc/gcc-test/gcc/testsuite/g++.dg/cpp2a/nodiscard-once.C:5:30: note: declared here compiler exited with status 1 PASS: g++.dg/cpp2a/nodiscard-once.C -std=gnu++2a (test for errors, line 5) FAIL: g++.dg/cpp2a/nodiscard-once.C -std=gnu++2a (test for excess errors) Excess errors: /home/seurer/gcc/gcc-test/gcc/testsuite/g++.dg/cpp2a/nodiscard-once.C:10:10: warning: ignoring return value of 'int check1()', declared with attribute 'nodiscard' [-Wunused-result] testcase /home/seurer/gcc/gcc-test/gcc/testsuite/g++.dg/dg.exp completed in 0 seconds === g++ Summary === # of expected passes 1 # of unexpected failures 1 # of unsupported tests 3 >From gcc-bugs-return-657031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 14:44:40 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123231 invoked by alias); 21 Oct 2019 14:44:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123188 invoked by uid 48); 21 Oct 2019 14:44:35 -0000 From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92166] New: [10 regression] ICE compiling gcc.dg/vshift-5.c starting with r277241 Date: Mon, 21 Oct 2019 14:44: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: seurer at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01757.txt.bz2 Content-length: 2412 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92166 Bug ID: 92166 Summary: [10 regression] ICE compiling gcc.dg/vshift-5.c starting with r277241 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- Executing on host: /home/seurer/gcc/build/gcc-test2/gcc/xgcc -B/home/seurer/gcc/build/gcc-test2/gcc/ /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/vshift-5.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never -O3 -lm -o ./vshift-5.exe (timeout = 300) spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc -B/home/seurer/gcc/build/gcc-test2/gcc/ /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/vshift-5.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never -O3 -lm -o ./vshift-5.exe during GIMPLE pass: slp /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/vshift-5.c: In function 'f2': /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/vshift-5.c:26:1: internal compiler error: in operator[], at vec.h:859 0x10df142f vec::operator[](unsigned int) /home/seurer/gcc/gcc-test2/gcc/vec.h:859 0x10df142f vec::operator[](unsigned int) /home/seurer/gcc/gcc-test2/gcc/vec.h:1425 0x10df142f vectorizable_shift /home/seurer/gcc/gcc-test2/gcc/tree-vect-stmts.c:5842 0x10e0ac4b vect_transform_stmt(_stmt_vec_info*, gimple_stmt_iterator*, _slp_tree*, _slp_instance*) /home/seurer/gcc/gcc-test2/gcc/tree-vect-stmts.c:10812 0x10e3b69f vect_schedule_slp_instance /home/seurer/gcc/gcc-test2/gcc/tree-vect-slp.c:3950 0x10e3b3ab vect_schedule_slp_instance /home/seurer/gcc/gcc-test2/gcc/tree-vect-slp.c:3844 0x10e3dd2b vect_schedule_slp(vec_info*) /home/seurer/gcc/gcc-test2/gcc/tree-vect-slp.c:4024 0x10e421d7 vect_slp_bb_region /home/seurer/gcc/gcc-test2/gcc/tree-vect-slp.c:3076 0x10e421d7 vect_slp_bb(basic_block_def*) /home/seurer/gcc/gcc-test2/gcc/tree-vect-slp.c:3170 0x10e4595b execute /home/seurer/gcc/gcc-test2/gcc/tree-vectorizer.c:1309 >From gcc-bugs-return-657032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 14:52:19 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9662 invoked by alias); 21 Oct 2019 14:52: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 9418 invoked by uid 48); 21 Oct 2019 14:52:15 -0000 From: "seurer 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: Mon, 21 Oct 2019 14: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: seurer at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01758.txt.bz2 Content-length: 892 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92165 --- Comment #1 from seurer at gcc dot gnu.org --- Also these: FAIL: g++.dg/cpp2a/nodiscard-reason.C -std=gnu++2a (test for warnings, line 16) FAIL: g++.dg/cpp2a/nodiscard-reason.C -std=gnu++2a (test for warnings, line 17) FAIL: g++.dg/cpp2a/nodiscard-reason.C -std=gnu++2a (test for warnings, line 176) FAIL: g++.dg/cpp2a/nodiscard-reason.C -std=gnu++2a (test for warnings, line 178) FAIL: g++.dg/cpp2a/nodiscard-reason.C -std=gnu++2a (test for warnings, line 183) FAIL: g++.dg/cpp2a/nodiscard-reason.C -std=gnu++2a (test for warnings, line 185) FAIL: g++.dg/cpp2a/nodiscard-reason.C -std=gnu++2a (test for warnings, line 190) FAIL: g++.dg/cpp2a/nodiscard-reason.C -std=gnu++2a (test for warnings, line 192) FAIL: g++.dg/cpp2a/nodiscard-reason.C -std=gnu++2a (test for excess errors) >From gcc-bugs-return-657033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 14:55:58 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17752 invoked by alias); 21 Oct 2019 14: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 17669 invoked by uid 48); 21 Oct 2019 14:55:54 -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 r277205 Date: Mon, 21 Oct 2019 14: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: 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: 2019-10/txt/msg01759.txt.bz2 Content-length: 536 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92165 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |phdofthehouse at gmail dot com --- Comment #2 from Jakub Jelinek --- As I said on gcc-patches, my changes only unbroke testing altogether, before there were tcl syntax errors, the actual tests were inroduced in r277200. >From gcc-bugs-return-657034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 15:05:06 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87659 invoked by alias); 21 Oct 2019 15: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 85247 invoked by uid 48); 21 Oct 2019 15:05:02 -0000 From: "phdofthehouse at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/92165] [10 regression] g++.dg/cpp2a/nodiscard-once.C fails starting with r277205 Date: Mon, 21 Oct 2019 15: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: phdofthehouse 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: 2019-10/txt/msg01760.txt.bz2 Content-length: 277 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92165 --- Comment #3 from JeanHeyd Meneide --- Thanks for pinging me about this. I'm at a WG14 Meeting so I won't be able to get to it immediately, but when I get back I'll get right on fixing! >From gcc-bugs-return-657035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 15:34:11 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36644 invoked by alias); 21 Oct 2019 15:34: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 36612 invoked by uid 48); 21 Oct 2019 15:34:07 -0000 From: "achurch+gcc at achurch dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92167] New: Poor source location choice for diagnostic in macro expansion Date: Mon, 21 Oct 2019 15:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: achurch+gcc at achurch 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: 2019-10/txt/msg01761.txt.bz2 Content-length: 3106 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92167 Bug ID: 92167 Summary: Poor source location choice for diagnostic in macro expansion Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: achurch+gcc at achurch dot org Target Milestone: --- Given a macro which expands to a function call and passes a macro argument as an argument in that call, if the macro argument is parenthesized, a diagnostic triggered by an improper argument in an invocation will be associated with the macro definition rather than the invocation. For example: ----------------------------- $ cat test.c extern int a(void *); #define b(x) a((x)) int c(int x) {return b(x);} $ gcc-9.2.0 -c test.c test.c: In function 'c': test.c:2:16: warning: passing argument 1 of 'a' makes pointer from integer without a cast [-Wint-conversion] 2 | #define b(x) a((x)) | ^~~ | | | int test.c:3:22: note: in expansion of macro 'b' 3 | int c(int x) {return b(x);} | ^ test.c:1:14: note: expected 'void *' but argument is of type 'int' 1 | extern int a(void *); | ^~~~~~ ----------------------------- The invocation is also shown as a note, but one must read through the list of notes in order to find it rather than simply checking the line given with the diagnostic itself. It would arguably be more useful to associate the diagnostic with the macro invocation on line 3 and include the macro expansion as a note, as Clang does: ----------------------------- $ clang-9 -c test.c test.c:3:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion] int c(int x) {return b(x);} ^~~~ test.c:2:16: note: expanded from macro 'b' #define b(x) a((x)) ^~~ test.c:1:20: note: passing argument to parameter here extern int a(void *); ^ 1 warning generated. ----------------------------- If the macro parameter is used as is (not parenthesized), GCC does identify the macro invocation as the diagnostic location: ----------------------------- $ cat test2.c extern int a(void *); #define b(x) a(x) int c(int x) {return b(x);} $ gcc-9.2.0 -c test2.c test.c: In function 'c': test.c:3:24: warning: passing argument 1 of 'a' makes pointer from integer without a cast [-Wint-conversion] 3 | int c(int x) {return b(x);} | ^ | | | int test.c:2:16: note: in definition of macro 'b' 2 | #define b(x) a(x) | ^ test.c:1:14: note: expected 'void *' but argument is of type 'int' 1 | extern int a(void *); | ^~~~~~ ----------------------------- But this is not particularly helpful because most macro arguments must be parenthesized to be used safely. >From gcc-bugs-return-657036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 16:01:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59844 invoked by alias); 21 Oct 2019 16:01: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 57413 invoked by uid 48); 21 Oct 2019 16:01:23 -0000 From: "h2+bugs at fsfe dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array Date: Mon, 21 Oct 2019 16: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: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: h2+bugs at fsfe dot 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: 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: 2019-10/txt/msg01762.txt.bz2 Content-length: 637 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 Hannes Hauswedell changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |h2+bugs at fsfe dot org --- Comment #2 from Hannes Hauswedell --- Any news on this issue? We are using this pattern in some rather central files in our library and the bug literally breaks 90% of our unit tests so we can't keep track of other gcc10 issues or try the new concepts support... Thank you for your help! >From gcc-bugs-return-657037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 16:19:36 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45546 invoked by alias); 21 Oct 2019 16:19: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 45496 invoked by uid 48); 21 Oct 2019 16:19:31 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array Date: Mon, 21 Oct 2019 16:19:00 -0000 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: mpolacek 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01763.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 --- Comment #3 from Marek Polacek --- Sorry about that. I've been working on new C++20 features in the dwindling stage 1 time, and kept kicking this can down the stage3 road. But hopefully I'll get to this after posting my aggregate paren init patch, which should be Real Soon. Unfortunately, there's no way to turn off the const checking. >From gcc-bugs-return-657038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 17:29:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107622 invoked by alias); 21 Oct 2019 17:29: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 102758 invoked by uid 48); 21 Oct 2019 17:29:24 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBsaWJmb3J0cmFuLzkyMDI3XSBbMTAgcmVncmVzc2lvbl0gZ2ZvcnRy?= =?UTF-8?B?YW4uZGcvSVNPX0ZvcnRyYW5fYmluZGluZ18xMC5mOTAgRkFJTHMg4oCTIGNv?= =?UTF-8?B?bmRpdGlvbmFsIGp1bXAgYmFzZWQgb24gdW5pbml0aWFsaXplZCBtZW1vcnkg?= =?UTF-8?B?aW4gcnVudGltZS9JU09fRm9ydHJhbl9iaW5kaW5nLmM=?Date: Mon, 21 Oct 2019 17:29: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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pault 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: 2019-10/txt/msg01764.txt.bz2 Content-length: 462 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92027 Paul Thomas changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Paul Thomas --- Fixed under PR91926. Thanks for the report Paul >From gcc-bugs-return-657039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 18:23:03 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32025 invoked by alias); 21 Oct 2019 18:23: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 31929 invoked by uid 48); 21 Oct 2019 18:22:58 -0000 From: "kevin.shekleton at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91481] POWER9 "DARN" RNG intrinsic produces repeated output (CVE-2019-15847) Date: Mon, 21 Oct 2019 18: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.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kevin.shekleton at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01765.txt.bz2 Content-length: 932 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91481 Kevin Shekleton changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kevin.shekleton at gmail dot com --- Comment #20 from Kevin Shekleton --- Hi all. The NVD entry (https://nvd.nist.gov/vuln/detail/CVE-2019-15847) specifies that gcc 10.0 will fix this issue. Of course, 10.0 is not yet released and the 'Known to work' field on this Bugzilla entry states "10.0, 6.5.0, 7.4.1, 8.3.1, 9.2.1". Some questions: 1. Any ETA on when a fix versions will be released? 2. From the commits here it looks like this fix is being backported to match the 'Known to work' field here (thanks!). Is the NVD entry going to be updated to reflect accurate affected versions of gcc? >From gcc-bugs-return-657040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 18:23:18 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32793 invoked by alias); 21 Oct 2019 18:23: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 32743 invoked by uid 55); 21 Oct 2019 18:23:13 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92106] [8/9/10 Regression] ICE with structured bindings and -Wreturn-local-addr Date: Mon, 21 Oct 2019 18:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 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: 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: 2019-10/txt/msg01766.txt.bz2 Content-length: 678 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92106 --- Comment #6 from Marek Polacek --- Author: mpolacek Date: Mon Oct 21 18:22:41 2019 New Revision: 277264 URL: https://gcc.gnu.org/viewcvs?rev=277264&root=gcc&view=rev Log: PR c++/92106 - ICE with structured bindings and -Wreturn-local-addr. * typeck.c (maybe_warn_about_returning_address_of_local): Avoid recursing on null initializer and return false instead. * g++.dg/cpp1z/decomp50.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp1z/decomp50.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/typeck.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-657041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 18:25:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37018 invoked by alias); 21 Oct 2019 18:25: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 36981 invoked by uid 48); 21 Oct 2019 18:25:27 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92106] [8/9 Regression] ICE with structured bindings and -Wreturn-local-addr Date: Mon, 21 Oct 2019 18: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: 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: 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: 2019-10/txt/msg01767.txt.bz2 Content-length: 549 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92106 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[8/9/10 Regression] ICE |[8/9 Regression] ICE with |with structured bindings |structured bindings and |and -Wreturn-local-addr |-Wreturn-local-addr --- Comment #7 from Marek Polacek --- Fixed on trunk so far. >From gcc-bugs-return-657042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 18:39:10 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103113 invoked by alias); 21 Oct 2019 18: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 103055 invoked by uid 48); 21 Oct 2019 18:39:06 -0000 From: "longb at cray dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/86248] [7/8/9/10 Regression] LEN_TRIM in specification expression causes link failure Date: Mon, 21 Oct 2019 18:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: longb at cray dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01768.txt.bz2 Content-length: 134 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86248 --- Comment #5 from Bill Long --- Any progress on this? >From gcc-bugs-return-657043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 18:46:25 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125719 invoked by alias); 21 Oct 2019 18:46:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125679 invoked by uid 55); 21 Oct 2019 18:46:21 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92062] [9/10 Regression] ODR-use by static_assert ignored for static member of class template Date: Mon, 21 Oct 2019 18:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: wrong-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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01769.txt.bz2 Content-length: 1104 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92062 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Mon Oct 21 18:45:45 2019 New Revision: 277266 URL: https://gcc.gnu.org/viewcvs?rev=277266&root=gcc&view=rev Log: PR c++/92062 - ODR-use ignored for static member of class template. has_value_dependent_address wasn't stripping location wrappers so it gave the wrong answer for "&x" in the static_assert. That led us to thinking that the expression isn't instantiation-dependent, and we skipped static initialization of A<0>::x. This patch adds stripping so that has_value_dependent_address gives the same answer as it used to before the location wrappers addition. * pt.c (has_value_dependent_address): Strip location wrappers. * g++.dg/cpp0x/constexpr-odr1.C: New test. * g++.dg/cpp0x/constexpr-odr2.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-odr1.C trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-odr2.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-657044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 18:47:07 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126831 invoked by alias); 21 Oct 2019 18:47: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 126759 invoked by uid 48); 21 Oct 2019 18:47:03 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92062] [9 Regression] ODR-use by static_assert ignored for static member of class template Date: Mon, 21 Oct 2019 18:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: wrong-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: 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: 2019-10/txt/msg01770.txt.bz2 Content-length: 612 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92062 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[9/10 Regression] ODR-use |[9 Regression] ODR-use by |by static_assert ignored |static_assert ignored for |for static member of class |static member of class |template |template --- Comment #6 from Marek Polacek --- Fixed on trunk so far. >From gcc-bugs-return-657045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 18:52:19 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4148 invoked by alias); 21 Oct 2019 18:52: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 4062 invoked by uid 55); 21 Oct 2019 18:52:15 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92015] [9/10 Regression] internal compiler error: in cxx_eval_array_reference, at cp/constexpr.c:2568 Date: Mon, 21 Oct 2019 18:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01771.txt.bz2 Content-length: 636 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92015 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Mon Oct 21 18:51:43 2019 New Revision: 277267 URL: https://gcc.gnu.org/viewcvs?rev=277267&root=gcc&view=rev Log: PR c++/92015 * constexpr.c (cxx_eval_component_reference, cxx_eval_bit_field_ref): Use STRIP_ANY_LOCATION_WRAPPER on CONSTRUCTOR elts. * g++.dg/cpp0x/constexpr-92015.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-92015.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/constexpr.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-657046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 18:59:53 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4387 invoked by alias); 21 Oct 2019 18:59: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 4344 invoked by uid 48); 21 Oct 2019 18:59:48 -0000 From: "dje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92168] New: Poor code generation for addcarry / subborrow Date: Mon, 21 Oct 2019 18:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-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: 2019-10/txt/msg01772.txt.bz2 Content-length: 727 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92168 Bug ID: 92168 Summary: Poor code generation for addcarry / subborrow Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dje at gcc dot gnu.org Target Milestone: --- Target: x86_64-*-* Real World Technology reader reports poor GCC code generation relative to Clang and MSVC for source code involving carry / borrow. https://www.realworldtech.com/forum/?threadid=188061&curpostid=188061 with example at Compiler Explorer https://godbolt.org/z/YYq6ou >From gcc-bugs-return-657047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 19:00:32 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5782 invoked by alias); 21 Oct 2019 19:00: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 5748 invoked by uid 48); 21 Oct 2019 19:00:28 -0000 From: "dje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92168] Poor code generation for addcarry / subborrow Date: Mon, 21 Oct 2019 19:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-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: 2019-10/txt/msg01773.txt.bz2 Content-length: 261 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92168 --- Comment #1 from David Edelsohn --- Created attachment 47074 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47074&action=edit Source code example from Compiler Explorer >From gcc-bugs-return-657048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 19:02:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8670 invoked by alias); 21 Oct 2019 19:02: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 8611 invoked by uid 48); 21 Oct 2019 19:02:34 -0000 From: "dje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92168] Poor code generation for addcarry / subborrow Date: Mon, 21 Oct 2019 19:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-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: 2019-10/txt/msg01774.txt.bz2 Content-length: 770 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92168 David Edelsohn changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-21 CC| |hjl.tools at gmail dot com, | |jakub at gcc dot gnu.org, | |uros at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from David Edelsohn --- Confirmed. >From gcc-bugs-return-657049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 19:08:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13046 invoked by alias); 21 Oct 2019 19:08: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 12969 invoked by uid 48); 21 Oct 2019 19:07:56 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92015] [9/10 Regression] internal compiler error: in cxx_eval_array_reference, at cp/constexpr.c:2568 Date: Mon, 21 Oct 2019 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: 9.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01775.txt.bz2 Content-length: 471 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92015 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #5 from Jakub Jelinek --- Fixed on the trunk so far. >From gcc-bugs-return-657050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 20:05:57 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84257 invoked by alias); 21 Oct 2019 20:05: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 84194 invoked by uid 48); 21 Oct 2019 20:05:53 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91481] POWER9 "DARN" RNG intrinsic produces repeated output (CVE-2019-15847) Date: Mon, 21 Oct 2019 20:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01776.txt.bz2 Content-length: 802 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91481 --- Comment #21 from Segher Boessenkool --- It will be fixed in the next releases of all still supported branches (that's GCC 7, 8, and 9), and also in the upcoming GCC 10 release of course. If you are in a hurry, you can build your own compilers right now, the problem has been fixed in all open release branches. If, alternatively, you get your GCC from some distribution, ask them about *their* release plans. We don't know. No future releases for GCC have been announced. Judging from historical trends the next (and last) GCC 7 release (7.5) will be in November, GCC 8 (8.4) in December, GCC 9 (9.3) in Februari, and GCC 10 (10.1) will be there in May. This is just *my* estimate, your mileage may vary, etc. >From gcc-bugs-return-657051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 20:09:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87355 invoked by alias); 21 Oct 2019 20:09: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 87279 invoked by uid 48); 21 Oct 2019 20:09:01 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91481] POWER9 "DARN" RNG intrinsic produces repeated output (CVE-2019-15847) Date: Mon, 21 Oct 2019 20: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: 9.2.0 X-Bugzilla-Keywords: wrong-code 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: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01777.txt.bz2 Content-length: 634 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91481 --- Comment #22 from Jonathan Wakely --- (In reply to Segher Boessenkool from comment #21) > No future releases for GCC have been announced. Judging from historical > trends the next (and last) GCC 7 release (7.5) will be in November, GCC 8 > (8.4) in December, GCC 9 (9.3) in Februari, and GCC 10 (10.1) will be > there in May. This is just *my* estimate, your mileage may vary, etc. See https://gcc.gnu.org/develop.html/timeline for dates of point releases from the release branches, which can be used to judge the historical trends for yourself. >From gcc-bugs-return-657052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 20:09:48 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88250 invoked by alias); 21 Oct 2019 20:09:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88173 invoked by uid 48); 21 Oct 2019 20:09:44 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91481] POWER9 "DARN" RNG intrinsic produces repeated output (CVE-2019-15847) Date: Mon, 21 Oct 2019 20: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: 9.2.0 X-Bugzilla-Keywords: wrong-code 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: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01778.txt.bz2 Content-length: 281 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91481 --- Comment #23 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #22) > See https://gcc.gnu.org/develop.html/timeline Sorry, that should be https://gcc.gnu.org/develop.html#timeline >From gcc-bugs-return-657053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 20:18:48 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102056 invoked by alias); 21 Oct 2019 20:18: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 101970 invoked by uid 48); 21 Oct 2019 20:18:44 -0000 From: "richard-gccbugzilla at metafoo dot co.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92169] New: crash on referring to a local class member by unqualified name from outside the enclosing function Date: Mon, 21 Oct 2019 20:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: richard-gccbugzilla at metafoo dot co.uk X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg01779.txt.bz2 Content-length: 957 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92169 Bug ID: 92169 Summary: crash on referring to a local class member by unqualified name from outside the enclosing function Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: richard-gccbugzilla at metafoo dot co.uk Target Milestone: --- [Probably no-one will ever write code like this outside a compiler test case, but filing just in case this affects non-contrived situations.] This code crashes every version of g++ that supports deduced return types: auto f() { static int n; struct Y { static int &g() { return n; } struct X { int &get(); }; }; return Y::X(); }; using X = decltype(f()); int &X::get() { return g(); } >From gcc-bugs-return-657054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 20:20:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103911 invoked by alias); 21 Oct 2019 20:20: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 103814 invoked by uid 55); 21 Oct 2019 20:20:01 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/83434] [GCOV] A label after a non-executed if statement is wrongly marked as not executed in gcov Date: Mon, 21 Oct 2019 20:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01780.txt.bz2 Content-length: 720 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83434 --- Comment #3 from Jason Merrill --- Author: jason Date: Mon Oct 21 20:19:28 2019 New Revision: 277270 URL: https://gcc.gnu.org/viewcvs?rev=277270&root=gcc&view=rev Log: PR c++/83434 - typeinfo for noexcept function lacks noexcept information 2019-10-21 Kamlesh Kumar * rtti.c (get_tinfo_decl_dynamic): Do not call TYPE_MAIN_VARIANT for function. (get_typeid): Likewise. * g++.dg/rtti/pr83534.C: New Test. Reviewed-by: Jason Merrill Added: trunk/gcc/testsuite/g++.dg/rtti/pr83534.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/rtti.c >From gcc-bugs-return-657055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 20:55:36 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35530 invoked by alias); 21 Oct 2019 20:55: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 35458 invoked by uid 48); 21 Oct 2019 20:55:31 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92168] Poor code generation for addcarry / subborrow Date: Mon, 21 Oct 2019 20:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01781.txt.bz2 Content-length: 1633 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92168 --- Comment #3 from H.J. Lu --- [hjl@gnu-cfl-1 gcc]$ cat c.c #include unsigned char foo (unsigned long long HxL0, unsigned long long LxH0, unsigned long long HxL1, unsigned long long LxH1) { unsigned char carry; carry = _addcarry_u64(0, HxL0, LxH0, &HxL0); carry = _addcarry_u64(carry, HxL1, LxH1, &HxL1); return carry; } [hjl@gnu-cfl-1 gcc]$ gcc -S -O2 c.c [hjl@gnu-cfl-1 gcc]$ cat c.s .file "c.c" .text .p2align 4 .globl foo .type foo, @function foo: .LFB5519: .cfi_startproc addq %rsi, %rdi setc %al addb $-1, %al adcq %rdx, %rcx setc %al ret .cfi_endproc .LFE5519: .size foo, .-foo .ident "GCC: (GNU) 9.2.1 20190827 (Red Hat 9.2.1-1)" .section .note.GNU-stack,"",@progbits [hjl@gnu-cfl-1 gcc]$ clang -S -O2 c.c [hjl@gnu-cfl-1 gcc]$ cat c.s .text .file "c.c" .globl foo # -- Begin function foo .p2align 4, 0x90 .type foo,@function foo: # @foo .cfi_startproc # %bb.0: addq %rsi, %rdi adcq %rcx, %rdx setb %al retq .Lfunc_end0: .size foo, .Lfunc_end0-foo .cfi_endproc # -- End function .ident "clang version 8.0.0 (Fedora 8.0.0-1.fc30)" .section ".note.GNU-stack","",@progbits .addrsig [hjl@gnu-cfl-1 gcc]$ >From gcc-bugs-return-657056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 20:58:23 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72442 invoked by alias); 21 Oct 2019 20:58: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 72343 invoked by uid 48); 21 Oct 2019 20:58:19 -0000 From: "shek.spam+gcc at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91481] POWER9 "DARN" RNG intrinsic produces repeated output (CVE-2019-15847) Date: Mon, 21 Oct 2019 20:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: shek.spam+gcc at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01782.txt.bz2 Content-length: 387 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91481 --- Comment #24 from Kevin Shekleton --- Thanks, Segher. You mentioned 9.3 -- does that mean there won't be a 9.2.1 release? If so, will the 'Known to work' field here be updated? Also, will someone from the GCC team request an update to the NVD database to correct the affected release versions? >From gcc-bugs-return-657057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 21:22:32 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65839 invoked by alias); 21 Oct 2019 21:22: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 65796 invoked by uid 48); 21 Oct 2019 21:22:28 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91481] POWER9 "DARN" RNG intrinsic produces repeated output (CVE-2019-15847) Date: Mon, 21 Oct 2019 21:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01783.txt.bz2 Content-length: 592 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91481 --- Comment #25 from Segher Boessenkool --- There is no 9.2.1 release, and there will not be one either. See https://gcc.gnu.org/develop.html for how our numbering scheme works. Very briefly, if the second number is 0, or the third number is *not* zero, it isn't a release but some development version. I have nothing to do with the NVD, and not with https://cve.mitre.org/ either. I didn't request a CVE for this. I am merely the maintainer of this code, I am not involved with the vulnerability circus. >From gcc-bugs-return-657058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 21:26:47 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70031 invoked by alias); 21 Oct 2019 21:26: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 69962 invoked by uid 48); 21 Oct 2019 21:26:42 -0000 From: "austinpmorton at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/92170] New: Incorrect function names output when using -fstack-usage on C++ Date: Mon, 21 Oct 2019 21:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: austinpmorton 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: 2019-10/txt/msg01784.txt.bz2 Content-length: 2664 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92170 Bug ID: 92170 Summary: Incorrect function names output when using -fstack-usage on C++ Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: austinpmorton at gmail dot com Target Milestone: --- Created attachment 47075 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47075&action=edit example source When test.cc is compiled as follows: g++ -c -fstack-usage test.cc test.su contents appears as follows: test.cc:12:34: 16 static test.cc:12:34:static void::_FUN(void*) 24 static test.cc:12:34:::operator void (*)(void*)() const 16 static test.cc:8:11:)>::fptr_t) [with RetT = void; ArgTs = {}] 16 static test.cc:20:12:void __static_initialization_and_destruction_0(int, int) 48 static test.cc:20:12:cc) 16 static expected test.su contents as follows: test.cc:12:26: 16 static test.cc:12:26:static void::_FUN(void*) 24 static test.cc:12:26:::operator void (*)(void*)() const 16 static test.cc:8:11:function_ref::function_ref(function_ref::fptr_t) [with RetT = void; ArgTs = {}] 16 static test.cc:20:12:void __static_initialization_and_destruction_0(int, int) 48 static test.cc:20:12:(static initializers for test.cc) 16 static This appears to be caused by code in output_stack_usage in toplev.c searching for "." in the function name and only outputting after that point. It is unclear to me what the intent was originally, but it dates back to the original stack usage support commit (990495a75cd7). I achieved the expected output shown above by applying the below patch to disable the checks: diff --git a/gcc/toplev.c b/gcc/toplev.c index 1c7002f5c37..a0b6cefd2d1 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -981,6 +981,7 @@ output_stack_usage (void) = strchr (IDENTIFIER_POINTER (DECL_NAME (current_function_decl)), '.'); const char *name = lang_hooks.decl_printable_name (current_function_decl, 2); +#if 0 if (suffix) { const char *dot = strchr (name, '.'); @@ -996,6 +997,7 @@ output_stack_usage (void) if (dot) name = dot + 1; } +#endif fprintf (stack_usage_file, "%s:%d:%d:%s\t" HOST_WIDE_INT_PRINT_DEC"\t%s\n", >From gcc-bugs-return-657059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 21:27:34 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70946 invoked by alias); 21 Oct 2019 21:27: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 70915 invoked by uid 48); 21 Oct 2019 21:27:30 -0000 From: "austinpmorton at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/92170] Incorrect function names output when using -fstack-usage on C++ Date: Mon, 21 Oct 2019 21:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: austinpmorton 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: 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: 2019-10/txt/msg01785.txt.bz2 Content-length: 243 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92170 --- Comment #1 from Austin Morton --- Created attachment 47076 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47076&action=edit current su output >From gcc-bugs-return-657060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 21:27:53 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71790 invoked by alias); 21 Oct 2019 21:27: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 71773 invoked by uid 48); 21 Oct 2019 21:27:49 -0000 From: "austinpmorton at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/92170] Incorrect function names output when using -fstack-usage on C++ Date: Mon, 21 Oct 2019 21:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: austinpmorton 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: 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: 2019-10/txt/msg01786.txt.bz2 Content-length: 244 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92170 --- Comment #2 from Austin Morton --- Created attachment 47077 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47077&action=edit expected su output >From gcc-bugs-return-657061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 21:28:13 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72760 invoked by alias); 21 Oct 2019 21:28: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 72708 invoked by uid 48); 21 Oct 2019 21:28:08 -0000 From: "austinpmorton at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/92170] Incorrect function names output when using -fstack-usage on C++ Date: Mon, 21 Oct 2019 21:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: austinpmorton 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: 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: 2019-10/txt/msg01787.txt.bz2 Content-length: 242 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92170 --- Comment #3 from Austin Morton --- Created attachment 47078 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47078&action=edit workaround patch >From gcc-bugs-return-657062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 21:32:12 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103082 invoked by alias); 21 Oct 2019 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 103028 invoked by uid 48); 21 Oct 2019 21:32:08 -0000 From: "shek.spam+gcc at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91481] POWER9 "DARN" RNG intrinsic produces repeated output (CVE-2019-15847) Date: Mon, 21 Oct 2019 21:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: shek.spam+gcc at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01788.txt.bz2 Content-length: 352 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91481 --- Comment #26 from Kevin Shekleton --- Thanks for educating me on the numbering scheme, Segher. That's helpful info! Florian - I see you requested the CVE. Will you be working to get the NVD entry updated with the appropriate affected releases/fix versions? >From gcc-bugs-return-657063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 21:34:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105121 invoked by alias); 21 Oct 2019 21:34: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 105087 invoked by uid 48); 21 Oct 2019 21:34:48 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92163] [10 Regression] ICE: Segmentation fault (in bitmap_set_bit) Date: Mon, 21 Oct 2019 21: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-valid-code, openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: prathamesh3492 at gcc dot gnu.org X-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: 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: 2019-10/txt/msg01789.txt.bz2 Content-length: 272 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92163 --- Comment #3 from prathamesh3492 at gcc dot gnu.org --- Created attachment 47079 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47079&action=edit Untested fix Does this patch look OK ? Thanks, Prathamesh >From gcc-bugs-return-657064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 22:27:55 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26871 invoked by alias); 21 Oct 2019 22:27:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26837 invoked by uid 48); 21 Oct 2019 22:27:50 -0000 From: "jonathan.poelen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92171] New: accept incorrect access of static constexpr member when read from a reference Date: Mon, 21 Oct 2019 22: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: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jonathan.poelen 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: 2019-10/txt/msg01790.txt.bz2 Content-length: 754 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92171 Bug ID: 92171 Summary: accept incorrect access of static constexpr member when read from a reference Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jonathan.poelen at gmail dot com Target Milestone: --- #include struct A { static constexpr std::true_type value {}; }; int main() { A a; A& ref = a; constexpr bool r1 = a.value; //ok constexpr bool r2 = ref.value; // this should not work } See https://bugs.llvm.org/show_bug.cgi?id=43732#c1 >From gcc-bugs-return-657065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 23:02:47 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19170 invoked by alias); 21 Oct 2019 23: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 19141 invoked by uid 48); 21 Oct 2019 23:02:42 -0000 From: "sethml at ofb dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92172] New: ARM Thumb2 frame pointers inconsistent with clang and ARM-THUMB Procedure Call Standard Date: Mon, 21 Oct 2019 23: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: 8.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sethml at ofb dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01791.txt.bz2 Content-length: 6741 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92172 Bug ID: 92172 Summary: ARM Thumb2 frame pointers inconsistent with clang and ARM-THUMB Procedure Call Standard Product: gcc Version: 8.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: sethml at ofb dot net Target Milestone: --- This is a bit of a feature request, which has been rejected before, but I think there are compelling reasons to reconsider. The issue is described pretty well in this gcc-patches thread: https://www.mail-archive.com/gcc-patches@gcc.gnu.org/msg195725.html And in this clang bug: https://bugs.llvm.org/show_bug.cgi?id=18505 The request is to provide an option to make gcc's frame pointer behavior consistent with clang, either with a special flag, or by default. The behavior of frame pointers on ARM is a mess, with AAPCS not defining it, the obsolete ARM-Thumb Procedure Call Standard (ATPCS) recommdending a frame layout different than GCC and clang, and ARM's obsolete armcc compiler implementing different semantics. However, as of 2014, ARM's standard toolchain is "ARM Compiler 6", which packages clang: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.subset.swdev.comp6/index.html The Keil embedded toolchain, which is pretty industry-standard for ARM embedded development, uses armclang: http://www.keil.com/support/man/docs/armclang_ref/armclang_ref_vvi1466179578564.htm Addressing some of the objections to modifying the frame layout from the gcc-patches thread: Wilco Dijkstra : > However changing the frame pointer like in the proposed patch > will have a much larger cost - both in performance and codesize. You'd be > lucky if it is less than 10%. This is due to placing the frame pointer at the > top rather than the bottom of the frame, and that is very inefficient in Thumb-2. I don't understand this objection. For a simple function the additional overhead is literally nothing - for example , GCC generates: push {r3, r4, r7, lr} add r7, sp, #0 while clang adds a small constant to make r7 point to the previous r7 on the stack, with lr immediately above - zero overhead: push {r4, r6, r7, lr} add r7, sp, #8 For a more complex function where the compiler has to spill r8-r11 one extra instruction is required to generate the right frame layout - gcc generates: push {r3, r4, r5, r6, r7, r8, r9, lr} add r7, sp, #0 While clang generates: push {r4, r5, r6, r7, lr} add r7, sp, #12 push.w {r8, r9, r11} Push (stmia) instructions take, at least on Cortex-M3, 1+N cycles, where N is the number of registers saved. So clang's frame pointer approach takes one extra cycle and 4 extra bytes. http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0337e/BABBCJII.html > Doing real unwinding is also far more accurate than frame pointer based > unwinding (the latter doesn't handle leaf functions correctly, entry/exit in > non-leaf functions and shrinkwrapped functions - and this breaks callgraph > profiling). This is true, but doing real unwinding is prohibitively expensive in an embedded systems context, in which one has only hundreds of KiB of code storage and RAM. Richard Earnshaw : > I object to another hack going in for another ill-specified frame > pointer variant until such time as the ABI is updated to sort this out > properly. > > So until the ABI sanctions a proper inter-function frame chain record, > GCC will only support local use of the frame pointer and no chaining. Since this is not defined by the ABI, the ABI is unlikely to specify it any time soon. However, ARM seems to have blessed clang as the official ARM compiler, so it's a defacto standard at this point. Richard Earnshaw : > On entry to a function the code has to save the existing frame register. > It doesn't know (can't trivially know) whether the caller is code > compiled in Arm state or Thumb state. So how can it save the caller's > frame register if they are not the same? > > Furthermore, the 'other' frame register (ie r7 in Arm state, r11 in > Thumb) is available as a call-saved register, so can contain any random > value. If you try to use that random value during a frame chain walk > your program will most like take an access violation. It will certainly > give you a garbage frame chain. This is true - you cannot safely walk the stack frames if thumb and arm functions are intermixed. However, for the situations in which this feature is most useful this is not a problem. For deeply embedded codebases, the entire codebase is compiled with a single compiler and instruction set. Most microcontrollers use a Cortex-M instruction set, which doesn't even implement ARM instructions, so by definition they will not be present! Someone wrote something like: > The extra overhead of frame pointers will remove the benefit of thumb instructions - > why not just use ARM instructions? As noted above, there exist many MCUs for which ARM mode is not implemented. I have two applications motivating me to wanting this fixed. I'm working on safety-critical firmware running on small microcontrollers. 1) In case of a crash, it would be extremely helpful to be able to have the embedded firmware relay back a simple stack trace. Integrating libunwind and including the unwind tables in our firmware is too heavyweight. We know the boundaries of the stack, so it's easy to validate address when traversing frames. If the stack trace sometimes ends early due to issues such as ARM/Thumb interworking, we don't mind - it's much better than no trace at all. 2) It would be really helpful to have random sampling profiling, by capturing stack traces from a randomly triggered timer interrupt handler. Full profiling would add excessive overhead. I'm totally willing to take a slight performance hit to get the two features above. Judging from stackoverflow questions and such, there are others who would like predictable frame pointers: https://stackoverflow.com/questions/19643047/arm-call-stack-generation-with-no-frame-pointer http://cplusadd.blogspot.com/2008/11/frame-pointers-and-function-call.html https://gcc-help.gcc.gnu.narkive.com/D8BDrQzp/stack-backtrace-for-arm-thumb https://github.com/google/sanitizers/issues/640 >From gcc-bugs-return-657066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 00:22:24 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37259 invoked by alias); 22 Oct 2019 00:22:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37216 invoked by uid 48); 22 Oct 2019 00:22:20 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92128] fold more non-constant strlen relational expressions Date: Tue, 22 Oct 2019 00:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01792.txt.bz2 Content-length: 365 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92128 --- Comment #2 from Martin Sebor --- Yes. I constrained strlenopt-80.c to only a subset of the targets where the optimization has been implemented but forgot to do the same for strlenopt-81.c. I'm traveling this week but I'll try to remember to adjust the text after I get back. >From gcc-bugs-return-657067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 00:47:18 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57211 invoked by alias); 22 Oct 2019 00:47: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 57152 invoked by uid 48); 22 Oct 2019 00:47:13 -0000 From: "wilco at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92172] ARM Thumb2 frame pointers inconsistent with clang Date: Tue, 22 Oct 2019 00:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wilco at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-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: 2019-10/txt/msg01793.txt.bz2 Content-length: 1698 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92172 Wilco changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wilco at gcc dot gnu.org --- Comment #1 from Wilco --- Firstly it's important to be clear this is about adding support for a frame chain for unwinding. A frame pointer is something different since it is used for addressing local variables. Historically Arm compilers only supported a frame pointer, not a frame chain for unwinding. So different Arm backends use different frame pointer registers and there is no defined layout since it is not designed for unwinding. Why does this matter? Well as your examples show, if you want to emit a frame chain using standard push/pop, it typically ends up pointing to the top of the frame. That is the worst possible position for a frame pointer on Thumb - while Arm supports negative immediate offsets up to 4KB, Thumb-1 doesn't support negative offsets at all, and Thumb-2 supports offsets up to -255 but only with 32-bit instructions. So the result of conflating the frame chain and frame pointer implies a terrible codesize hit for Thumb. There is also an issue with using r7 as the frame chain in that you're now reserving a precious low register callee-save and just use it once in a typical function. So using r7 is a very bad idea for Thumb. Your examples suggest LLVM suffers from both of these issues, and IIRC it still uses r11 on Arm but r7 on Thumb. That is way too inefficient/incorrect to consider a defacto standard. >From gcc-bugs-return-657068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 01:01:06 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63958 invoked by alias); 22 Oct 2019 01:01: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 63814 invoked by uid 48); 22 Oct 2019 01:00:44 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87711] ICE in gfc_trans_transfer, at fortran/trans-io.c:2676 Date: Tue, 22 Oct 2019 01:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg01794.txt.bz2 Content-length: 1468 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87711 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #2 from kargl at gcc dot gnu.org --- corallary: program p character(3) :: c(2) = ['abc', 'xyz'] integer n(2) n = len_trim(c,4) print *, n end % gfcx -o z a.f90 a.f90:4:0: 4 | n = len_trim(c,4) | internal compiler error: in gfc_trans_assignment_1, at fortran/trans-expr.c:11065 0x5c80b6 gfc_trans_assignment_1 ../../gccx/gcc/fortran/trans-expr.c:11065 0x83b122 trans_code ../../gccx/gcc/fortran/trans.c:1852 0x86a8d9 gfc_generate_function_code(gfc_namespace*) ../../gccx/gcc/fortran/trans-decl.c:6798 0x7e53e6 translate_all_program_units ../../gccx/gcc/fortran/parse.c:6276 0x7e53e6 gfc_parse_file() ../../gccx/gcc/fortran/parse.c:6515 0x838008 gfc_be_parse_file ../../gccx/gcc/fortran/f95-lang.c:208 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Without kind type parameter program p character(3) :: c(2) = ['abc', 'xyz'] integer n(2) n = len_trim(c) print *, n end % gfcx -o z a.f90 && ./z 3 3 >From gcc-bugs-return-657069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 02:23:18 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126751 invoked by alias); 22 Oct 2019 02:23: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 126703 invoked by uid 48); 22 Oct 2019 02:23:13 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92173] New: [10 Regression] ICE in optab_for_tree_code, at optabs-tree.c:81 Date: Tue, 22 Oct 2019 02:23: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: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01795.txt.bz2 Content-length: 2324 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92173 Bug ID: 92173 Summary: [10 Regression] ICE in optab_for_tree_code, at optabs-tree.c:81 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: x86_64-pc-linux-gnu gcc-10.0.0-alpha20191020 snapshot (r277217) ICEs when compiling the following testcase w/ -O1 -ftree-loop-vectorize: unsigned int yo (unsigned int o0, signed char s1) { for (s1 = 0; s1 < 1; s1 -= 2) o0 += o0; return o0 + s1; } % x86_64-pc-linux-gnu-gcc-10.0.0-alpha20191020 -O1 -ftree-loop-vectorize -c bcnm9vyh.c during GIMPLE pass: vect bcnm9vyh.c: In function 'yo': bcnm9vyh.c:2:1: internal compiler error: in optab_for_tree_code, at optabs-tree.c:81 2 | yo (unsigned int o0, signed char s1) | ^~ 0x653a1a optab_for_tree_code(tree_code, tree_node const*, optab_subtype) /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/optabs-tree.c:81 0xe8b9ba vectorizable_reduction(_stmt_vec_info*, _slp_tree*, _slp_instance*, vec*) /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vect-loop.c:6247 0xe91fc1 vect_analyze_loop_operations /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vect-loop.c:1560 0xe91fc1 vect_analyze_loop_2 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vect-loop.c:2079 0xe91fc1 vect_analyze_loop(loop*, _loop_vec_info*, vec_info_shared*) /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vect-loop.c:2356 0xeaaa04 try_vectorize_loop_1 /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vectorizer.c:886 0xeab82d vectorize_loops() /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-vectorizer.c:1114 >From gcc-bugs-return-657070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 04:01:22 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68490 invoked by alias); 22 Oct 2019 04:01: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 68421 invoked by uid 48); 22 Oct 2019 04:01:17 -0000 From: "kamleshbhalui at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83534] C++17: typeinfo for noexcept function lacks noexcept information Date: Tue, 22 Oct 2019 04:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: patch, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kamleshbhalui 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: 2019-10/txt/msg01796.txt.bz2 Content-length: 140 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83534 --- Comment #5 from Kamlesh Kumar --- Fixed on trunk >From gcc-bugs-return-657071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 05:30:43 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7573 invoked by alias); 22 Oct 2019 05:30: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 7510 invoked by uid 48); 22 Oct 2019 05:30:20 -0000 From: "crazylht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92074] [10 regression] 26% performance regression on Spec2017 548.exchange2_r Date: Tue, 22 Oct 2019 05:30: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: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: crazylht 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: 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: 2019-10/txt/msg01797.txt.bz2 Content-length: 146 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92074 --- Comment #4 from Hongtao.liu --- Same regression on skylake. >From gcc-bugs-return-657072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 05:57:52 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33010 invoked by alias); 22 Oct 2019 05:57:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32939 invoked by uid 48); 22 Oct 2019 05:57:46 -0000 From: "linkw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92132] new test case gcc.dg/vect/vect-cond-reduc-4.c fails with its introduction in r277067 Date: Tue, 22 Oct 2019 05:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: linkw at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: linkw at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01798.txt.bz2 Content-length: 422 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92132 --- Comment #3 from Kewen Lin --- Powerpc already support vcond where A and B are in the same mode or the same size mode. As Richard pointed out, this case requires some packs, it requires powerpc supports vec_cmpv2dfv2di and vcond_mask_v4siv4si, the comparison generates the mask then convert to V4SI to use in condition selection. >From gcc-bugs-return-657073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 06:35:53 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128861 invoked by alias); 22 Oct 2019 06:35:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 128783 invoked by uid 48); 22 Oct 2019 06:35:48 -0000 From: "kamleshbhalui at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91979] Incorrect mangling for non-template-argument nullptr expression Date: Tue, 22 Oct 2019 06: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: 7.2.0 X-Bugzilla-Keywords: ABI, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kamleshbhalui at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01799.txt.bz2 Content-length: 1407 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91979 Kamlesh Kumar changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kamleshbhalui at gmail dot com --- Comment #2 from Kamlesh Kumar --- This fixes it. diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c index a9333b8..780da9f 100644 --- a/gcc/cp/mangle.c +++ b/gcc/cp/mangle.c @@ -3400,7 +3400,8 @@ write_template_arg_literal (const tree value) case INTEGER_CST: gcc_assert (!same_type_p (TREE_TYPE (value), boolean_type_node) || integer_zerop (value) || integer_onep (value)); - write_integer_cst (value); + if (TREE_CODE(TREE_TYPE(value)) != NULLPTR_TYPE) + write_integer_cst (value); break; case REAL_CST: diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c index aa78c86..199be43 100644 --- a/libiberty/cp-demangle.c +++ b/libiberty/cp-demangle.c @@ -861,7 +861,7 @@ CP_STATIC_IF_GLIBCPP_V3 int cplus_demangle_fill_name (struct demangle_component *p, const char *s, int len) { - if (p == NULL || s == NULL || len <= 0) + if (p == NULL || s == NULL || len < 0) return 0; p->d_printing = 0; p->type = DEMANGLE_COMPONENT_NAME; >From gcc-bugs-return-657074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 06:44:24 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38296 invoked by alias); 22 Oct 2019 06:44: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 38218 invoked by uid 48); 22 Oct 2019 06:44:21 -0000 From: "kugan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/47785] GCC with -flto does not pass -Wa options to the assembler Date: Tue, 22 Oct 2019 06:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 8.0.1 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: kugan at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-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: 2019-10/txt/msg01800.txt.bz2 Content-length: 433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47785 kugan at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kugan at gcc dot gnu.org --- Comment #14 from kugan at gcc dot gnu.org --- A patch for this is posted at https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01471.html >From gcc-bugs-return-657075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 06:52:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66002 invoked by alias); 22 Oct 2019 06:52: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 65770 invoked by uid 48); 22 Oct 2019 06:52:42 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92173] [10 Regression] ICE in optab_for_tree_code, at optabs-tree.c:81 Date: Tue, 22 Oct 2019 06: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: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01801.txt.bz2 Content-length: 623 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92173 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-22 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Target Milestone|--- |10.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Mine. >From gcc-bugs-return-657076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 06:53:59 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68068 invoked by alias); 22 Oct 2019 06:53:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67975 invoked by uid 48); 22 Oct 2019 06:53:55 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92172] ARM Thumb2 frame pointers inconsistent with clang Date: Tue, 22 Oct 2019 06: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.3.1 X-Bugzilla-Keywords: ABI X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cf_gcctarget bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01802.txt.bz2 Content-length: 407 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92172 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ABI Target| |arm Severity|normal |enhancement >From gcc-bugs-return-657077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 06:56:59 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73038 invoked by alias); 22 Oct 2019 06:56: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 72953 invoked by uid 48); 22 Oct 2019 06:56:55 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92167] Poor source location choice for diagnostic in macro expansion Date: Tue, 22 Oct 2019 06:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01803.txt.bz2 Content-length: 361 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92167 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Severity|normal |enhancement >From gcc-bugs-return-657078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 06:57:14 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73911 invoked by alias); 22 Oct 2019 06:57: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 73833 invoked by uid 48); 22 Oct 2019 06:57:10 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92166] [10 regression] ICE compiling gcc.dg/vshift-5.c starting with r277241 Date: Tue, 22 Oct 2019 06:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: rguenth 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: 2019-10/txt/msg01804.txt.bz2 Content-length: 623 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92166 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-22 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Target Milestone|--- |10.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Mine. >From gcc-bugs-return-657080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 06:57:50 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75723 invoked by alias); 22 Oct 2019 06:57: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 75617 invoked by uid 48); 22 Oct 2019 06:57:46 -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: Tue, 22 Oct 2019 06:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 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: 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: 2019-10/txt/msg01806.txt.bz2 Content-length: 488 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92165 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-22 Ever confirmed|0 |1 --- Comment #4 from Richard Biener --- Confirmed btw. >From gcc-bugs-return-657079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 06:57:41 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74987 invoked by alias); 22 Oct 2019 06:57:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74931 invoked by uid 48); 22 Oct 2019 06:57:37 -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: Tue, 22 Oct 2019 06:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 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: 2019-10/txt/msg01805.txt.bz2 Content-length: 294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92165 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.0 >From gcc-bugs-return-657081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 07:04:06 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96475 invoked by alias); 22 Oct 2019 07:04: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 96376 invoked by uid 48); 22 Oct 2019 07:04:02 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92170] Incorrect function names output when using -fstack-usage on C++ Date: Tue, 22 Oct 2019 07: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: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on 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: 2019-10/txt/msg01807.txt.bz2 Content-length: 987 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92170 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-22 Ever confirmed|0 |1 --- Comment #4 from Eric Botcazou --- > This appears to be caused by code in output_stack_usage in toplev.c > searching for "." in the function name and only outputting after that point. > It is unclear to me what the intent was originally, but it dates back to the > original stack usage support commit (990495a75cd7). It's intended to keep only the unqualified name, in particular for Ada. > I achieved the expected output shown above by applying the below patch to > disable the checks: OK, but this workaround is not acceptable of course. >From gcc-bugs-return-657082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 07:46:42 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23855 invoked by alias); 22 Oct 2019 07:46: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 23744 invoked by uid 48); 22 Oct 2019 07:46:37 -0000 From: "dimitar.yordanov at sap dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90947] [9 Regression] Simple lookup table of array of strings is miscompiled Date: Tue, 22 Oct 2019 07:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: patch, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dimitar.yordanov at sap dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01808.txt.bz2 Content-length: 664 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90947 Dimitar Yordanov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimitar.yordanov at sap dot com --- Comment #12 from Dimitar Yordanov --- Hi, after the fix we hit a regression with: $ cat > main.cpp << EOF #include static std::atomic a[1] { {1} }; int main(void) { if (!a[0].load()) __builtin_abort (); return 0; } EOF $ g++ main.cpp && ./a.out Best wishes Dimitar >From gcc-bugs-return-657083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:04:20 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62910 invoked by alias); 22 Oct 2019 08: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 62826 invoked by uid 48); 22 Oct 2019 08:04:16 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83534] C++17: typeinfo for noexcept function lacks noexcept information Date: Tue, 22 Oct 2019 08:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: patch, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01809.txt.bz2 Content-length: 614 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83534 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |10.0 --- Comment #6 from Jonathan Wakely --- Fixed in r277270, thanks! (Please include bug numbers in the changelog entry, see the changelog files for examples of the preferred form.) >From gcc-bugs-return-657084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:06:47 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66819 invoked by alias); 22 Oct 2019 08:06:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66682 invoked by uid 48); 22 Oct 2019 08:06:43 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91979] Incorrect mangling for non-template-argument nullptr expression Date: Tue, 22 Oct 2019 08:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: ABI, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01810.txt.bz2 Content-length: 346 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91979 --- Comment #3 from Jonathan Wakely --- Thanks, once you have a copyright assignment on file please post to the gcc-patches list with a testcase. This might need a new -fabi-version to preserve the old mangling for compatibility, but I'll let Jason determine that. >From gcc-bugs-return-657085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:07:36 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69699 invoked by alias); 22 Oct 2019 08:07: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 69585 invoked by uid 48); 22 Oct 2019 08:07:32 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/91915] New warning for duplicate if condition in if-elseif-elseif chain Date: Tue, 22 Oct 2019 08:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01811.txt.bz2 Content-length: 148 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91915 --- Comment #4 from Martin Liška --- Great, thank you Marek! >From gcc-bugs-return-657086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:08:12 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72269 invoked by alias); 22 Oct 2019 08:08: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 71824 invoked by uid 48); 22 Oct 2019 08:08:07 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/91915] New warning for duplicate if condition in if-elseif-elseif chain Date: Tue, 22 Oct 2019 08: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: 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: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01812.txt.bz2 Content-length: 439 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91915 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Martin Liška --- Implemented. >From gcc-bugs-return-657087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:08:17 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72864 invoked by alias); 22 Oct 2019 08:08:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71968 invoked by uid 48); 22 Oct 2019 08:08:08 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87403] [Meta-bug] Issues that suggest a new warning Date: Tue, 22 Oct 2019 08:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: diagnostic, meta-bug X-Bugzilla-Severity: enhancement X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01813.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403 Bug 87403 depends on bug 91915, which changed state. Bug 91915 Summary: New warning for duplicate if condition in if-elseif-elseif chain https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91915 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-657088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:10:01 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75552 invoked by alias); 22 Oct 2019 08:10: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 75423 invoked by uid 48); 22 Oct 2019 08:09:56 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/81669] trunk/gcc/fibonacci_heap.h:58: possible missing initialisation ? Date: Tue, 22 Oct 2019 08:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01814.txt.bz2 Content-length: 475 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81669 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org --- Comment #4 from Martin Liška --- Then let me fix it. >From gcc-bugs-return-657089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:23:57 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124573 invoked by alias); 22 Oct 2019 08:23: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 124436 invoked by uid 48); 22 Oct 2019 08:23:53 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/91956] [10 Regression] ICE: verify_cgraph_node failed (error: comdat-local function called by __ct .isra outside its comdat) since r275982 Date: Tue, 22 Oct 2019 08:23: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: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cf_known_to_work assigned_to short_desc everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01815.txt.bz2 Content-length: 1314 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91956 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-22 Known to work| |9.2.0 Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org Summary|[10 Regression] ICE: |[10 Regression] ICE: |verify_cgraph_node failed |verify_cgraph_node failed |(error: comdat-local |(error: comdat-local |function called by __ct |function called by __ct |.isra outside its comdat) |.isra outside its comdat) | |since r275982 Ever confirmed|0 |1 Known to fail| |10.0 --- Comment #1 from Martin Liška --- Martin, you will need probably to do something similar to what IPA ICF does: https://github.com/gcc-mirror/gcc/blob/master/gcc/ipa-icf.c#L1060 in order to prevent the verifier error. Can you please take a look? >From gcc-bugs-return-657090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:26:19 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129582 invoked by alias); 22 Oct 2019 08:26:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 129511 invoked by uid 48); 22 Oct 2019 08:26:15 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92174] New: runtime error: index 15 out of bounds for type 'gfc_expr *[15] Date: Tue, 22 Oct 2019 08:26: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter blocked 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: 2019-10/txt/msg01816.txt.bz2 Content-length: 3344 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 Bug ID: 92174 Summary: runtime error: index 15 out of bounds for type 'gfc_expr *[15] Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Blocks: 63426 Target Milestone: --- Happens with UBSAN build in: $ ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/pr91802.f90 -fcoarray=single ../../gcc/fortran/array.c:867:36: runtime error: index 15 out of bounds for type 'gfc_expr *[15]' #0 0x8b40d6 in gfc_set_array_spec(gfc_symbol*, gfc_array_spec*, locus*) ../../gcc/fortran/array.c:867 #1 0x953b29 in attr_decl1 ../../gcc/fortran/decl.c:8521 #2 0x95406c in attr_decl ../../gcc/fortran/decl.c:8582 #3 0x9549f2 in gfc_match_codimension() ../../gcc/fortran/decl.c:8855 #4 0xaf2ff4 in match_word ../../gcc/fortran/parse.c:65 #5 0xaf4825 in decode_statement ../../gcc/fortran/parse.c:464 #6 0xafaa00 in next_free ../../gcc/fortran/parse.c:1272 #7 0xafb459 in next_statement ../../gcc/fortran/parse.c:1504 #8 0xb03ad7 in parse_spec ../../gcc/fortran/parse.c:3902 #9 0xb0d9d4 in parse_module ../../gcc/fortran/parse.c:6085 #10 0xb0f9f4 in gfc_parse_file() ../../gcc/fortran/parse.c:6390 #11 0xc7db45 in gfc_be_parse_file ../../gcc/fortran/f95-lang.c:208 #12 0x23dbbc5 in compile_file ../../gcc/toplev.c:456 #13 0x23e39ec in do_compile ../../gcc/toplev.c:2167 #14 0x23e401b in toplev::main(int, char**) ../../gcc/toplev.c:2302 #15 0x491ff6a in main ../../gcc/main.c:39 #16 0x7fd8f53b3e0a in __libc_start_main ../csu/libc-start.c:308 #17 0x89d1e9 in _start (/home/marxin/Programming/gcc2/objdir/gcc/f951+0x89d1e9) ../../gcc/fortran/array.c:868:36: runtime error: index 15 out of bounds for type 'gfc_expr *[15]' #0 0x8b42cf in gfc_set_array_spec(gfc_symbol*, gfc_array_spec*, locus*) ../../gcc/fortran/array.c:868 #1 0x953b29 in attr_decl1 ../../gcc/fortran/decl.c:8521 #2 0x95406c in attr_decl ../../gcc/fortran/decl.c:8582 #3 0x9549f2 in gfc_match_codimension() ../../gcc/fortran/decl.c:8855 #4 0xaf2ff4 in match_word ../../gcc/fortran/parse.c:65 #5 0xaf4825 in decode_statement ../../gcc/fortran/parse.c:464 #6 0xafaa00 in next_free ../../gcc/fortran/parse.c:1272 #7 0xafb459 in next_statement ../../gcc/fortran/parse.c:1504 #8 0xb03ad7 in parse_spec ../../gcc/fortran/parse.c:3902 #9 0xb0d9d4 in parse_module ../../gcc/fortran/parse.c:6085 #10 0xb0f9f4 in gfc_parse_file() ../../gcc/fortran/parse.c:6390 #11 0xc7db45 in gfc_be_parse_file ../../gcc/fortran/f95-lang.c:208 #12 0x23dbbc5 in compile_file ../../gcc/toplev.c:456 #13 0x23e39ec in do_compile ../../gcc/toplev.c:2167 #14 0x23e401b in toplev::main(int, char**) ../../gcc/toplev.c:2302 #15 0x491ff6a in main ../../gcc/main.c:39 #16 0x7fd8f53b3e0a in __libc_start_main ../csu/libc-start.c:308 #17 0x89d1e9 in _start (/home/marxin/Programming/gcc2/objdir/gcc/f951+0x89d1e9) ... Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 [Bug 63426] [meta-bug] Issues found with -fsanitize=undefined >From gcc-bugs-return-657091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:26:57 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1341 invoked by alias); 22 Oct 2019 08:26: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 130981 invoked by uid 55); 22 Oct 2019 08:26:53 -0000 From: "postmaster@trippelsdorf-de.bounceio.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined Date: Tue, 22 Oct 2019 08:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: postmaster@trippelsdorf-de.bounceio.net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01817.txt.bz2 Content-length: 2838 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 --- Comment #9 from postmaster@trippelsdorf-de.bounceio.net --- Your email was bounced... ------------------------- ... because something went wrong between you and your recipient. Ugh! What to do next? ---------------- Well, your specific problem was a *5.1.2 * error. Which means you should: Check the "trippelsdorf.de" part of "markus@trippelsdorf.de" for misspellings or missing letters. If you find an error, correct it in your contacts list or address book for next time. Or further: It is possible that the domain is temporarily inactive. If the spelling looks correct, contact your mail provider and if necessary, contact your recipient another way (e.g., phone or text message). Get more Bounce Intelligence ™ on 5.1.2 errors here![1] Thanks, have a lovely day. Yours truly, betterbounces.net[2] Rate this email: Helpful[3] :) or... Not Helpful[4] :( Advertisement | Prefer no ads?[5] YOU MIGHT LIKE [6] [7] [8] Learn more about RevenueStripe...[9] --------------------------------------------------------------------- © 2017 betterbounces.net, All rights reserved. Privacy[10] [IMAGE] [IMAGE] [IMAGE] [IMAGE] [IMAGE] 1. https://www.betterbounces.net/email-error/5.1.2?utm_source=7o9&utm_medium=direct&utm_campaign=trippelsdorf.de&utm_content=SeretV2 2. http://bit.ly/1AqkgOr 3. https://www.surveygizmo.com/s3/1609211/rtm01?tv=SeretV2&esc=5.1.2&t=27818211-B9DB-4990-BF56-279DB7A31B61.1&s=7o9&r=Helpful 4. https://www.surveygizmo.com/s3/1609211/rtm01?tv=SeretV2&esc=5.1.2&t=27818211-B9DB-4990-BF56-279DB7A31B61.1&s=7o9&r=Not%20helpful 5. https://betterbounces.net/b/Y1lM9w9S1KeLJcXVUarv1OJFNUggPr2joqvuXnfzPULQaWlkIsfqBNRgrwhzFkMcrwIXvcetvsYz6BSAduUDUOX259ENsI7e3HBFe_L9qqkswLxxp.9W4Mz9nic1fEk3b_JEBlfwrWyjYIBRM6OLFt_OXq_MrKuT9FbPDZoBNzGNE4gztylPle8NHh464vf7titT91WI150sPs4r2y2APILF5Fb_KY7JnWSvrTPQ_RLqzm5WLiQf9amSPLQH7QgRd8lCWQ4bR3m1tmgDiOA8gRm3nrwbzcD8VlcvTaFC97beBR7DkxYkepMKkVIkSZK8 6. http://stripe.rs-1117-a.com/stripe/redirect?cs_email=f34cde757c9729b925454a1cf67de4ac&cs_sendid=1571732777069&cs_esp=threatwave&cs_offset=0&cs_stripeid=2454 7. http://stripe.rs-1117-a.com/stripe/redirect?cs_email=f34cde757c9729b925454a1cf67de4ac&cs_sendid=1571732777069&cs_esp=threatwave&cs_offset=1&cs_stripeid=2454 8. http://stripe.rs-1117-a.com/stripe/redirect?cs_email=f34cde757c9729b925454a1cf67de4ac&cs_sendid=1571732777069&cs_esp=threatwave&cs_offset=2&cs_stripeid=2454 9. http://branding.rs-1117-a.com/?utm_source=contentstripe&utm_medium=email&utm_campaign=rs_2454&utm_content=animatedlogo 10. https://www.betterbounces.net/privacy-policy >From gcc-bugs-return-657092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:30:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8988 invoked by alias); 22 Oct 2019 08:30: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 8660 invoked by uid 48); 22 Oct 2019 08:30:17 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/91969] Compiling testsuite/g++.dg/ipa/pr85421.C with -fdump-ipa-inline ICEs Date: Tue, 22 Oct 2019 08:30: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: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on component cf_known_to_work assigned_to 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: 2019-10/txt/msg01818.txt.bz2 Content-length: 769 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91969 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-22 Component|gcov-profile |ipa Known to work| |9.2.0 Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org Ever confirmed|0 |1 Known to fail| |10.0 --- Comment #1 from Martin Liška --- Started with r273603. I can take a look. >From gcc-bugs-return-657093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:31:59 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20153 invoked by alias); 22 Oct 2019 08:31: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 18469 invoked by uid 48); 22 Oct 2019 08:31:55 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92005] [10 Regression] switch code generation regression Date: Tue, 22 Oct 2019 08:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01819.txt.bz2 Content-length: 576 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92005 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org --- Comment #4 from Martin Liška --- (In reply to Richard Biener from comment #3) > Switch conversion should probably run late (again?). I can work on that. >From gcc-bugs-return-657094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:32:18 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25659 invoked by alias); 22 Oct 2019 08:32:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25571 invoked by uid 48); 22 Oct 2019 08:32:14 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90947] [9 Regression] Simple lookup table of array of strings is miscompiled Date: Tue, 22 Oct 2019 08:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: patch, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 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: 2019-10/txt/msg01820.txt.bz2 Content-length: 660 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90947 --- Comment #13 from Jakub Jelinek --- Created attachment 47082 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47082&action=edit gcc10-pr90947.patch Here is an untested patch that fixes it for -std=c++17/-std=c++2a, though not for C++11/14, next_initialized_field (TYPE_FIELDS (type)) for std::atomic is NULL in those cases, as that class contains no non-static data members directly, just has __atomic_base as a base class. The initializer has init list type in both cases, dunno if we don't need to treat those specially or how else to fix C++11/14. >From gcc-bugs-return-657095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:34:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29875 invoked by alias); 22 Oct 2019 08:33: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 29792 invoked by uid 48); 22 Oct 2019 08:33:55 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/91971] Profile directory concatenated with object file path Date: Tue, 22 Oct 2019 08:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: qinzhao 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: 2019-10/txt/msg01821.txt.bz2 Content-length: 535 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91971 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-22 Ever confirmed|0 |1 --- Comment #2 from Martin Liška --- Confirmed. Can you please send the patch to mailing list? >From gcc-bugs-return-657096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:41:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86803 invoked by alias); 22 Oct 2019 08:41:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86730 invoked by uid 48); 22 Oct 2019 08:41:25 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/91576] [10 Regression] error: invalid conversion in gimple call since r272749 Date: Tue, 22 Oct 2019 08:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 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: 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: 2019-10/txt/msg01822.txt.bz2 Content-length: 131 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91576 --- Comment #8 from Martin Liška --- Honza? >From gcc-bugs-return-657097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:44:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101149 invoked by alias); 22 Oct 2019 08:44: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 101053 invoked by uid 48); 22 Oct 2019 08:44:49 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92175] New: x86 backend claims V4SI multiplication support, preventing more optimal pattern Date: Tue, 22 Oct 2019 08:44: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01823.txt.bz2 Content-length: 1377 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92175 Bug ID: 92175 Summary: x86 backend claims V4SI multiplication support, preventing more optimal pattern Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- Costing has 19010 /* Without sse4.1, we don't have PMULLD; it's emulated with 7 19011 insns, including two PMULUDQ. */ 19012 else if (mode == V4SImode && !(TARGET_SSE4_1 || TARGET_AVX)) 19013 return ix86_vec_cost (mode, cost->mulss * 2 + cost->sse_op * 5); but for a testcase doing just x * 2 that is excessive. The vectorizer would change that to x << 1 via vect_recog_mult_pattern (yeah, oddly not to x + x ...). This causes SSE vectorization to be disregarded easily, falling back to MMX "emulation" mode which doesn't claim V4SImode multiplication support producing essentially SSE code but with only half of the lanes doing useful work. I'm not sure if pattern recog should try costing here. Certainly the vectorizer won't try the PMULUDQ variant if the backend would claim to not support V4SImode mult. Noticed for the testcase in PR92173. >From gcc-bugs-return-657098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:49:02 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107070 invoked by alias); 22 Oct 2019 08:49:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 106895 invoked by uid 48); 22 Oct 2019 08:48:57 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90938] [9/10 Regression] Initializing array with {1} works, but not {0} Date: Tue, 22 Oct 2019 08:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: rejects-valid, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01824.txt.bz2 Content-length: 404 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90938 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #8 from Jakub Jelinek --- Martin, any progress here? >From gcc-bugs-return-657099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:52:13 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49971 invoked by alias); 22 Oct 2019 08:52: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 47530 invoked by uid 48); 22 Oct 2019 08:52:09 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92175] x86 backend claims V4SI multiplication support, preventing more optimal pattern Date: Tue, 22 Oct 2019 08:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2019-10/txt/msg01825.txt.bz2 Content-length: 552 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92175 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization CC| |jakub at gcc dot gnu.org --- Comment #1 from Richard Biener --- Jakub, you did the mult pattern recog - any opinions? (also why do I see a << 1 instead of a + a?) >From gcc-bugs-return-657105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:54:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67063 invoked by alias); 22 Oct 2019 08:54:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66618 invoked by uid 48); 22 Oct 2019 08:54:33 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/90133] [7/8/9/10 Regression] Linker error from accessing event_type via use association outside associate/block scope Date: Tue, 22 Oct 2019 08:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2019-10/txt/msg01834.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90133 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.5 >From gcc-bugs-return-657104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:54:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67002 invoked by alias); 22 Oct 2019 08:54:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66551 invoked by uid 48); 22 Oct 2019 08:54:33 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/91021] [7/8 Regression] ICE in tm_memopt_compute_antic at gcc/trans-mem.c:3867 Date: Tue, 22 Oct 2019 08:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.3.0 X-Bugzilla-Keywords: ice-on-valid-code, trans-mem X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg01833.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91021 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.5 >From gcc-bugs-return-657107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:54:40 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67354 invoked by alias); 22 Oct 2019 08:54:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66692 invoked by uid 48); 22 Oct 2019 08:54:34 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90320] [7/8/9/10 Regression] Explicit constructor called implicitly Date: Tue, 22 Oct 2019 08:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.3.0 X-Bugzilla-Keywords: rejects-valid, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg01828.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90320 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.5 >From gcc-bugs-return-657101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:54:37 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66787 invoked by alias); 22 Oct 2019 08:54: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 66490 invoked by uid 48); 22 Oct 2019 08:54:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/91111] [7/8 Regression] arm64 Linux kernel panics at boot due to unexpected register assignment in inline asm Date: Tue, 22 Oct 2019 08:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.3.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: 7.5 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: 2019-10/txt/msg01830.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91111 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.5 >From gcc-bugs-return-657108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:54:41 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67474 invoked by alias); 22 Oct 2019 08:54: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 66730 invoked by uid 48); 22 Oct 2019 08:54:35 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91891] [7 Regression] std::function with lambda default initializer in aggregate construction causes ICE Date: Tue, 22 Oct 2019 08: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: 7.4.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2019-10/txt/msg01829.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91891 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.5 >From gcc-bugs-return-657100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:54:25 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65813 invoked by alias); 22 Oct 2019 08:54: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 65697 invoked by uid 48); 22 Oct 2019 08:54:21 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92109] [10 Regression] ICE in modify_call_stmt, at ipa-param-manipulation.c:1586 Date: Tue, 22 Oct 2019 08:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01826.txt.bz2 Content-length: 667 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92109 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-reduction Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-22 Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Liška --- Let me work on test-case isolation. >From gcc-bugs-return-657103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:54:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66960 invoked by alias); 22 Oct 2019 08:54:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66580 invoked by uid 48); 22 Oct 2019 08:54:33 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvODY0NjVdIFs3LzgvOS8xMCBSZWdyZXNzaW9uXSBDKysxNyA8?= =?UTF-8?B?b3B0aW9uYWw+IHRyaWdnZXJzOiDigJg8YW5vbnltb3VzPuKAmSBtYXkgYmUg?= =?UTF-8?B?dXNlZCB1bmluaXRpYWxpemVkIGluIHRoaXMgZnVuY3Rpb24=?Date: Tue, 22 Oct 2019 08: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: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2019-10/txt/msg01831.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86465 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.5 >From gcc-bugs-return-657102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:54:37 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66823 invoked by alias); 22 Oct 2019 08:54: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 66524 invoked by uid 48); 22 Oct 2019 08:54:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91816] [7/8/9/10 Regression] Arm generates out of range conditional branches in Thumb2 Date: Tue, 22 Oct 2019 08:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: assemble-failure, 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: P3 X-Bugzilla-Assigned-To: sudi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2019-10/txt/msg01827.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91816 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.5 >From gcc-bugs-return-657106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:54:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67227 invoked by alias); 22 Oct 2019 08:54: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 66675 invoked by uid 48); 22 Oct 2019 08:54:34 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/89357] [7/8/9/10 regression][C++11] alignas for automatic variables with alignment greater than 16 fails Date: Tue, 22 Oct 2019 08:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2019-10/txt/msg01832.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89357 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.5 >From gcc-bugs-return-657109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:57:18 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84734 invoked by alias); 22 Oct 2019 08:57: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 84243 invoked by uid 48); 22 Oct 2019 08:57:13 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/90354] [7 regression] Skip the not first insn when traversing the insn node Date: Tue, 22 Oct 2019 08:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: 2019-10/txt/msg01835.txt.bz2 Content-length: 878 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90354 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org Summary|[7.3 regression] Skip the |[7 regression] Skip the not |not first insn when |first insn when traversing |traversing the insn node |the insn node Known to fail| |7.3.0 --- Comment #5 from Richard Biener --- (In reply to Richard Biener from comment #2) > Which target? Which GCC version did work for you? Which target are you working on? Since you mark this as regression what version of GCC is working OK previous to GCC 7.3? >From gcc-bugs-return-657110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:57:40 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85795 invoked by alias); 22 Oct 2019 08:57: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 85741 invoked by uid 48); 22 Oct 2019 08:57:36 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/90928] [9/10 Regression] [nvptx] internal compiler error: in instantiate_virtual_regs_in_insn, at function.c:1737 Date: Tue, 22 Oct 2019 08:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: 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 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: 2019-10/txt/msg01836.txt.bz2 Content-length: 345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90928 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Target Milestone|--- |9.3 >From gcc-bugs-return-657111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:58:26 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86864 invoked by alias); 22 Oct 2019 08: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 86807 invoked by uid 48); 22 Oct 2019 08:58:23 -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: Tue, 22 Oct 2019 08:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: build, diagnostic, needs-reduction 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: 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: 2019-10/txt/msg01837.txt.bz2 Content-length: 294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91825 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.0 >From gcc-bugs-return-657113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:59:36 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107303 invoked by alias); 22 Oct 2019 08: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 102566 invoked by uid 48); 22 Oct 2019 08:59:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91885] [9 Regression] ICE when compiling SPEC 2017 blender benchmark with -O3 -fprofile-generate Date: Tue, 22 Oct 2019 08:59: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-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority 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: 2019-10/txt/msg01839.txt.bz2 Content-length: 412 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91885 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Priority|P3 |P2 Target Milestone|--- |9.3 >From gcc-bugs-return-657112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 08:59:03 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89364 invoked by alias); 22 Oct 2019 08: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 89267 invoked by uid 48); 22 Oct 2019 08:58:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/91860] [10 Regression] ICE: in decompose, at rtl.h:2279 with -Og -fipa-cp -g --param=max-combine-insns=3 Date: Tue, 22 Oct 2019 08:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 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: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: wilson at gcc dot gnu.org 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: 2019-10/txt/msg01838.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91860 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |10.0 --- Comment #12 from Richard Biener --- Fixed. >From gcc-bugs-return-657114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 09:00:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50627 invoked by alias); 22 Oct 2019 09:00: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 43456 invoked by uid 48); 22 Oct 2019 09:00:35 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/81866] [7/8 Regression] ICE with a default template parameter which is a template class nested in a template class Date: Tue, 22 Oct 2019 09:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.1.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2019-10/txt/msg01840.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81866 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 09:02:08 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18412 invoked by alias); 22 Oct 2019 09:02:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13471 invoked by uid 48); 22 Oct 2019 09:02:04 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/82364] [7 Regression] Enormous memory usage when building for 32bit i386 with >= -O1 Date: Tue, 22 Oct 2019 09:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: memory-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01841.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82364 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 09:03:40 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44429 invoked by alias); 22 Oct 2019 09:03: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 44325 invoked by uid 48); 22 Oct 2019 09:03:36 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/83356] [7 Regression] excessive stack usage compiling with -O2 -fsanitize=bounds -fsanitize=object-size Date: Tue, 22 Oct 2019 09:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority 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: 2019-10/txt/msg01842.txt.bz2 Content-length: 416 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83356 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Priority|P3 |P2 Known to fail| |7.4.0 >From gcc-bugs-return-657117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 09:04:35 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45755 invoked by alias); 22 Oct 2019 09:04: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 45638 invoked by uid 48); 22 Oct 2019 09:04:31 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/83712] [7 Regression] "Unable to find a register to spill" when compiling for thumb1 Date: Tue, 22 Oct 2019 09:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: 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: sudi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2019-10/txt/msg01843.txt.bz2 Content-length: 395 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83712 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Known to work| |8.0 Known to fail|8.0 | >From gcc-bugs-return-657118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 09:04:59 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57315 invoked by alias); 22 Oct 2019 09:04: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 53320 invoked by uid 48); 22 Oct 2019 09:04:52 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/83972] [7 Regression] ICE in code_motion_process_successors, at sel-sched.c:6398 Date: Tue, 22 Oct 2019 09:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 7.3.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: abel at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2019-10/txt/msg01844.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83972 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 09:05:14 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63721 invoked by alias); 22 Oct 2019 09: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 61689 invoked by uid 48); 22 Oct 2019 09:05:10 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84536] [7/8 Regression] ICE with non-type template parameter Date: Tue, 22 Oct 2019 09:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 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: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com X-Bugzilla-Target-Milestone: 7.5 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: 2019-10/txt/msg01845.txt.bz2 Content-length: 345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84536 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Known to work| |9.0 >From gcc-bugs-return-657120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 09:18:58 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103722 invoked by alias); 22 Oct 2019 09:18: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 103679 invoked by uid 48); 22 Oct 2019 09:18:54 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92133] Support multi versioning on self recursive function Date: Tue, 22 Oct 2019 09:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01846.txt.bz2 Content-length: 586 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92133 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-22 Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Liška --- Let me take a look. >From gcc-bugs-return-657121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 09:26:49 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125442 invoked by alias); 22 Oct 2019 09:26: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 125393 invoked by uid 48); 22 Oct 2019 09:26:45 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92175] x86 backend claims V4SI multiplication support, preventing more optimal pattern Date: Tue, 22 Oct 2019 09: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: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01847.txt.bz2 Content-length: 976 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92175 --- Comment #2 from Jakub Jelinek --- Something should compare the costs. Either vect_recog_mult_pattern should move the mul_optab != unknown_optab etc. check after vect_synth_mult_by_constant, compare the costs of the pattern recognized sequence vs. of the multiplication and if vector multiplication is beneficial, undo whatever vect_synth_mult_by_constant added. Or the cost function for vector multiplication should special case multiplication by constant and also expansion of vector multiplication should do the same plus compare costs. I bet the first option would be easier. As for v << 1 vs. v + v, there is already synth_lshift_by_additions, so we could force using it for LSHIFT_EXPR by 1 even for !synth_shift_p (would that be unconditionally a win?). OT, the indentation introduced in r238340 has quite a lot of issues, many functions calls have misindented arguments. >From gcc-bugs-return-657122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 09:28:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127628 invoked by alias); 22 Oct 2019 09:28: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 127558 invoked by uid 48); 22 Oct 2019 09:28:43 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/83534] C++17: typeinfo for noexcept function lacks noexcept information Date: Tue, 22 Oct 2019 09:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: patch, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: 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: 2019-10/txt/msg01848.txt.bz2 Content-length: 1081 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83534 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org --- Comment #7 from Martin Liška --- There's a wrong a ChangeLog reference which belongs here: Author: jason Date: Mon Oct 21 20:19:28 2019 New Revision: 277270 URL: https://gcc.gnu.org/viewcvs?rev=277270&root=gcc&view=rev Log: PR c++/83434 - typeinfo for noexcept function lacks noexcept information 2019-10-21 Kamlesh Kumar * rtti.c (get_tinfo_decl_dynamic): Do not call TYPE_MAIN_VARIANT for function. (get_typeid): Likewise. * g++.dg/rtti/pr83534.C: New Test. Reviewed-by: Jason Merrill Added: trunk/gcc/testsuite/g++.dg/rtti/pr83534.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/rtti.c I'll update the ChangeLog file. >From gcc-bugs-return-657123-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 09:33:08 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2158 invoked by alias); 22 Oct 2019 09: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 2083 invoked by uid 48); 22 Oct 2019 09:33:04 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92074] [10 regression] 26% performance regression on Spec2017 548.exchange2_r Date: Tue, 22 Oct 2019 09:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization 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: 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: 2019-10/txt/msg01849.txt.bz2 Content-length: 372 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92074 --- Comment #5 from Martin Liška --- (In reply to Hongtao.liu from comment #4) > Same regression on skylake. Confirmed and same happens for znver1: https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=32.407.0 https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=33.407.0 >From gcc-bugs-return-657125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 09:37:41 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10758 invoked by alias); 22 Oct 2019 09:37:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10701 invoked by uid 48); 22 Oct 2019 09:37:37 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85887] [7/8/9/10 Regression] Missing DW_TAG_lexical_block PC range Date: Tue, 22 Oct 2019 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: 7.3.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: 7.5 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: 2019-10/txt/msg01851.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85887 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657124-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 09:37:24 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9957 invoked by alias); 22 Oct 2019 09:37: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 9856 invoked by uid 48); 22 Oct 2019 09:37:20 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85887] [7/8/9/10 Regression] Missing DW_TAG_lexical_block PC range Date: Tue, 22 Oct 2019 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: 7.3.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: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on component cf_known_to_work 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: 2019-10/txt/msg01850.txt.bz2 Content-length: 2365 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85887 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-22 Component|debug |tree-optimization Known to work|8.1.1 |4.8.5 Summary|[7 Regression] Missing |[7/8/9/10 Regression] |DW_TAG_lexical_block PC |Missing |range |DW_TAG_lexical_block PC | |range Ever confirmed|0 |1 --- Comment #4 from Richard Biener --- The difference in debug info between GCC 7 (failing) and GCC 8 (passing) is that GCC 8 has the test UNSUPPORTED because: pr55665.gdb:3: Error in sourced command file:^M No symbol "p" in current context.^M UNSUPPORTED: g++.dg/guality/pr55665.C -O2 line 23 p == 40 while with GCC 7 setting the break-point works. The above error happens with trunk as well. The lexical block range is present but what seems to be missing is the fact that 'p' is not yet updated in memory at the point of the breakpoint but the store was delayed and the updated value is only available in a register. Now - that's wrong-code since concurrent execution from a different thread doesn't see the initialization then. The issue is that 'p' doesn't have its address taken and thus we do not consider it aliased by the __cxa_guard_acquire/__cxa_guard_release functions - which is correct - but we rely on aliasing to implement storage barriers... :/ The fact that gdb looks at memory instead of a register is probably both an artifact of <3>: Abbrev Number: 11 (DW_TAG_variable) DW_AT_name : p DW_AT_decl_file : 1 DW_AT_decl_line : 22 DW_AT_decl_column : 14 DW_AT_type : <0x68> DW_AT_location : 9 byte block: 3 8 0 0 0 0 0 0 0 (DW_OP_addr: 8) as well as us not tracking memory in var-tracking. That it worked with GCC 4.8 is because didn't optimize this to a register. >From gcc-bugs-return-657128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 09:46:52 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32937 invoked by alias); 22 Oct 2019 09:46:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31563 invoked by uid 48); 22 Oct 2019 09:46:48 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88305] Implement P0019R8, C++20 std::atomic_ref Date: Tue, 22 Oct 2019 09:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org 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: 2019-10/txt/msg01854.txt.bz2 Content-length: 509 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88305 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |10.0 --- Comment #3 from Jonathan Wakely --- This was added to trunk a while ago. >From gcc-bugs-return-657127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 09:46:52 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32845 invoked by alias); 22 Oct 2019 09:46:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 31633 invoked by uid 48); 22 Oct 2019 09:46:49 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88322] Implement C++20 library features. Date: Tue, 22 Oct 2019 09:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2019-10/txt/msg01853.txt.bz2 Content-length: 466 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88322 Bug 88322 depends on bug 88305, which changed state. Bug 88305 Summary: Implement P0019R8, C++20 std::atomic_ref https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88305 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-657126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 09:46:22 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27257 invoked by alias); 22 Oct 2019 09:46:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26544 invoked by uid 48); 22 Oct 2019 09:46:17 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/89022] Implement P0202R3 - C++20 Constexpr Modifiers to Functions in and Headers. Date: Tue, 22 Oct 2019 09:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown 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: emsr at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01852.txt.bz2 Content-length: 868 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89022 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-22 Assignee|unassigned at gcc dot gnu.org |emsr at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely --- How much of this is left to do? Are you waiting for me to review any patches? I noticed we have this in the header, but it's not defined by any other headers: #define __cpp_lib_constexpr 201711L Should that also be defined in ? The current C++20 draft says it has value 201811L. >From gcc-bugs-return-657129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 09:47:52 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39843 invoked by alias); 22 Oct 2019 09:47:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39745 invoked by uid 48); 22 Oct 2019 09:47:48 -0000 From: "guojiufu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/88760] GCC unrolling is suboptimal Date: Tue, 22 Oct 2019 09: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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: guojiufu at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01855.txt.bz2 Content-length: 735 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88760 --- Comment #41 from Jiu Fu Guo --- for code: subroutine foo (i, i1, block) integer :: i, i1 integer :: block(9, 9, 9) block(i:9,1,i1) = block(i:9,1,i1) - 10 end subroutine foo "-funroll-loops --param max-unroll-times=2 --param max-unrolled-insns=20" could help to improve some run time.(~10% on ppcle) main: do n = 0, N do i = 1, 9 do j = 1, 9 call foo (i, j, block) end do end do end do >From gcc-bugs-return-657130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 09:50:35 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43852 invoked by alias); 22 Oct 2019 09:50: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 43777 invoked by uid 48); 22 Oct 2019 09:50:31 -0000 From: "austinpmorton at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92170] Incorrect function names output when using -fstack-usage on C++ Date: Tue, 22 Oct 2019 09:50: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: austinpmorton 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: 2019-10/txt/msg01856.txt.bz2 Content-length: 607 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92170 --- Comment #5 from Austin Morton --- Of course, I only provided it to show how I was generating the "expected" results. I wasn't sure what the purpose of splitting at "." was (in particular since I think of GCC as a C/C++ compiler and the "." would not normally appear in qualified names as a separator). With the context that this is something specific for Ada, I think maybe the correct thing to do would be to make this filtering a language hook that can be customized to do the right thing for each language. >From gcc-bugs-return-657131-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 10:01:58 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60696 invoked by alias); 22 Oct 2019 10:01:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60577 invoked by uid 48); 22 Oct 2019 10:01:49 -0000 From: "fxue at os dot amperecomputing.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92133] Support multi versioning on self recursive function Date: Tue, 22 Oct 2019 10:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: fxue at os dot amperecomputing.com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01857.txt.bz2 Content-length: 312 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92133 --- Comment #2 from Feng Xue --- (In reply to Martin Liška from comment #1) > Let me take a look. I've created a patch (https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01260.html), could you take a time to review it? >From gcc-bugs-return-657132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 10:12:40 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88738 invoked by alias); 22 Oct 2019 10:12:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88704 invoked by uid 48); 22 Oct 2019 10:12:36 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92170] Incorrect function names output when using -fstack-usage on C++ Date: Tue, 22 Oct 2019 10:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01858.txt.bz2 Content-length: 659 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92170 --- Comment #6 from Eric Botcazou --- > I wasn't sure what the purpose of splitting at "." was (in particular since > I think of GCC as a C/C++ compiler and the "." would not normally appear in > qualified names as a separator). Yet there is a comment just above the code. > With the context that this is something specific for Ada, I think maybe the > correct thing to do would be to make this filtering a language hook that can > be customized to do the right thing for each language. This sounds a bit overkill, we can probably print the fully qualified name. >From gcc-bugs-return-657133-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 10:34:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70059 invoked by alias); 22 Oct 2019 10:34: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 70019 invoked by uid 48); 22 Oct 2019 10:34:25 -0000 From: "austinpmorton at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92170] Incorrect function names output when using -fstack-usage on C++ Date: Tue, 22 Oct 2019 10:34: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: austinpmorton 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: 2019-10/txt/msg01859.txt.bz2 Content-length: 881 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92170 --- Comment #7 from Austin Morton --- As I said, the code made no sense to me in the context of C/C++ qualified names - the comment didn't clarify that this bit of code was concerned with Ada qualified names. Printing the fully qualified name is exactly what my patch does (although obviously it doesn't remove the disabled code). For C/C++ this change would be non-breaking since in all cases the output was either correct and fully qualified already, or just outright broken. For Ada this would presumably be a breaking change? Hence why I suggested making a language hook to specify the behavior per-language. Maybe a breaking change here is not something you are concerned with, in which case it would definitely be simpler to just unconditionally print the fully qualified name. >From gcc-bugs-return-657134-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 10:37:21 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73447 invoked by alias); 22 Oct 2019 10:37: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 73407 invoked by uid 48); 22 Oct 2019 10:37:17 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92133] Support multi versioning on self recursive function Date: Tue, 22 Oct 2019 10:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization 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 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: 2019-10/txt/msg01860.txt.bz2 Content-length: 932 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92133 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW CC| |hubicka at gcc dot gnu.org, | |jamborm at gcc dot gnu.org Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org --- Comment #3 from Martin Liška --- (In reply to Feng Xue from comment #2) > (In reply to Martin Liška from comment #1) > > Let me take a look. > > I've created a patch > (https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01260.html), could you take a > time to review it? It's domain of Martin Jambor and Honza. They will provide a review, don't worry. >From gcc-bugs-return-657135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 10:46:48 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123760 invoked by alias); 22 Oct 2019 10:46: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 121630 invoked by uid 48); 22 Oct 2019 10:46:43 -0000 From: "krebbel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92176] New: LRA problem with reloads for subreg operands Date: Tue, 22 Oct 2019 10:46: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: krebbel at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01861.txt.bz2 Content-length: 1531 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92176 Bug ID: 92176 Summary: LRA problem with reloads for subreg operands Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- Created attachment 47083 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47083&action=edit reduced testcase The attached testcase core dumps when compiled with -O3 -march=z13 but executes fine with -O3 -march=zEC12. A QImode subreg on a pseudo gets assigned a floating point register and is simplified to (reg:QI (...)). However, changing the mode of an FPR is disallowed by the S/390 backend in s390_can_change_mode class. The problem appears to be that simplify_operand_subreg in lra-constraints.c does not check can_change_mode_class before assigning a register class. It always picks the preferred register class for an expression as returned by the backend. reload used to invoke can_change_mode_class when reloading a subreg - see push_reload. I tried to return just GENERAL_REGS in the preferred_reload_class whenever being invoked with a subreg for which can_change_mode class would return false. This helps in some cases. However, that function does not always get called with the subreg expression, if there are other uses of that register not having a subreg. >From gcc-bugs-return-657136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 10:48:40 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4404 invoked by alias); 22 Oct 2019 10:48: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 128481 invoked by uid 48); 22 Oct 2019 10:48:17 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvODY0NjVdIFs3LzgvOS8xMCBSZWdyZXNzaW9uXSBDKysxNyA8?= =?UTF-8?B?b3B0aW9uYWw+IHRyaWdnZXJzOiDigJg8YW5vbnltb3VzPuKAmSBtYXkgYmUg?= =?UTF-8?B?dXNlZCB1bmluaXRpYWxpemVkIGluIHRoaXMgZnVuY3Rpb24=?Date: Tue, 22 Oct 2019 10:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2019-10/txt/msg01862.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86465 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657137-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 10:59:19 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73191 invoked by alias); 22 Oct 2019 10:59:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73135 invoked by uid 48); 22 Oct 2019 10:59:15 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/91969] Compiling testsuite/g++.dg/ipa/pr85421.C with -fdump-ipa-inline ICEs Date: Tue, 22 Oct 2019 10:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01863.txt.bz2 Content-length: 367 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91969 --- Comment #2 from Martin Liška --- A reduced test-case: $ cat ice.C enum by {}; class A { public: class B { public: virtual void m_fn2(by) = 0; }; virtual int m_fn1(); B *cf; }; by a; class C : A, A::B { void m_fn2(by); }; void C::m_fn2(by) { cf->m_fn2(a); } >From gcc-bugs-return-657139-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 11:10:47 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91051 invoked by alias); 22 Oct 2019 11: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 90791 invoked by uid 48); 22 Oct 2019 11:10:42 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92131] [8/9/10 Regression] incorrect assumption that (ao >= 0) is always false Date: Tue, 22 Oct 2019 11:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 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: 2019-10/txt/msg01865.txt.bz2 Content-length: 238 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92131 --- Comment #19 from Eric Botcazou --- Created attachment 47084 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47084&action=edit Tentative fix >From gcc-bugs-return-657138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 11:10:40 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90394 invoked by alias); 22 Oct 2019 11:10: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 90357 invoked by uid 48); 22 Oct 2019 11:10:35 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/91393] [10 Regression] lto1: internal compiler error: decompressed stream: Destination buffer is too small Date: Tue, 22 Oct 2019 11:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01864.txt.bz2 Content-length: 406 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91393 --- Comment #11 from Martin Liška --- (In reply to David Binderman from comment #10) > (In reply to Martin Liška from comment #9) > > I've got a patch candidate for it. > > Ping Martin. Anything happened with that patch ? There's a discussion going on: https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01559.html >From gcc-bugs-return-657141-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 11:52:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36629 invoked by alias); 22 Oct 2019 11:52: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 36317 invoked by uid 48); 22 Oct 2019 11:52:26 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/89280] [7/8 Regression] ICE: Segmentation fault (in is_gimple_reg_type) Date: Tue, 22 Oct 2019 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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg01867.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89280 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657142-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 11:52:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37906 invoked by alias); 22 Oct 2019 11:52: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 37844 invoked by uid 48); 22 Oct 2019 11:52:50 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92173] [10 Regression] ICE in optab_for_tree_code, at optabs-tree.c:81 Date: Tue, 22 Oct 2019 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: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01868.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92173 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Richard Biener --- Fixed. >From gcc-bugs-return-657140-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 11:52:28 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36361 invoked by alias); 22 Oct 2019 11:52:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36269 invoked by uid 55); 22 Oct 2019 11:52:23 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92173] [10 Regression] ICE in optab_for_tree_code, at optabs-tree.c:81 Date: Tue, 22 Oct 2019 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: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01866.txt.bz2 Content-length: 842 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92173 --- Comment #2 from Richard Biener --- Author: rguenth Date: Tue Oct 22 11:51:52 2019 New Revision: 277286 URL: https://gcc.gnu.org/viewcvs?rev=277286&root=gcc&view=rev Log: 2019-10-22 Richard Biener PR tree-optimization/92173 * tree-vect-loop.c (vectorizable_reduction): If vect_transform_reduction cannot handle code-generation try without the single-def-use-cycle optimization. Pass optab_vector to optab_for_tree_code to get vector shifts as that's what we'd generate. * gcc.dg/torture/pr92173.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr92173.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c >From gcc-bugs-return-657143-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:08:01 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3410 invoked by alias); 22 Oct 2019 12:08: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 3327 invoked by uid 48); 22 Oct 2019 12:07:57 -0000 From: "zhongyunde at huawei dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/90354] [7 regression] Skip the not first insn when traversing the insn node Date: Tue, 22 Oct 2019 12:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zhongyunde at huawei dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01869.txt.bz2 Content-length: 639 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90354 --- Comment #6 from vfdff --- (In reply to Richard Biener from comment #5) > (In reply to Richard Biener from comment #2) > > Which target? Which GCC version did work for you? > > Which target are you working on? Since you mark this as regression what > version of GCC is working OK previous to GCC 7.3? 1、I test the case passed on gcc 4.7, and later I take a look at the dump, find the JUMP insn is issued alone, i.e. it doesn't appear such bug. 2、I work on self-develop DSP chip, and it can issue 8 insns at most in one time. >From gcc-bugs-return-657144-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:15:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15303 invoked by alias); 22 Oct 2019 12:15: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 15230 invoked by uid 48); 22 Oct 2019 12:15:40 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/90354] Skip the not first insn when traversing the insn node Date: Tue, 22 Oct 2019 12:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status 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: 2019-10/txt/msg01870.txt.bz2 Content-length: 723 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90354 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |out of tree port Status|WAITING |UNCONFIRMED Summary|[7 regression] Skip the not |Skip the not first insn |first insn when traversing |when traversing the insn |the insn node |node Ever confirmed|1 |0 --- Comment #7 from Richard Biener --- I see. Thanks for the extra info. >From gcc-bugs-return-657145-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:17:19 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16992 invoked by alias); 22 Oct 2019 12:17:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 16913 invoked by uid 48); 22 Oct 2019 12:17:15 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/89357] [7/8/9/10 regression][C++11] alignas for automatic variables with alignment greater than 16 fails Date: Tue, 22 Oct 2019 12: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: 8.2.0 X-Bugzilla-Keywords: accepts-invalid, 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: 7.5 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: 2019-10/txt/msg01871.txt.bz2 Content-length: 357 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89357 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid Priority|P3 |P2 >From gcc-bugs-return-657146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:17:59 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18642 invoked by alias); 22 Oct 2019 12:17: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 18554 invoked by uid 48); 22 Oct 2019 12:17:55 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/89410] [7/8 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line Date: Tue, 22 Oct 2019 12:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: diagnostic, 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: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2019-10/txt/msg01872.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:18:18 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19582 invoked by alias); 22 Oct 2019 12:18: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 19517 invoked by uid 48); 22 Oct 2019 12:18:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/89434] [7/8 Regression] wrong code with -Og and __builtin_mul_overflow() Date: Tue, 22 Oct 2019 12:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2019-10/txt/msg01873.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:18:47 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22150 invoked by alias); 22 Oct 2019 12:18: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 22098 invoked by uid 48); 22 Oct 2019 12:18:43 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90320] [7/8/9/10 Regression] Explicit constructor called implicitly Date: Tue, 22 Oct 2019 12:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.3.0 X-Bugzilla-Keywords: rejects-valid, 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: 7.5 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: 2019-10/txt/msg01874.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90320 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:19:45 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23787 invoked by alias); 22 Oct 2019 12:19: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 23730 invoked by uid 48); 22 Oct 2019 12:19:41 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/90758] [7 Regression] spurious -Warray-bounds with -O3 Date: Tue, 22 Oct 2019 12:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.4.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: 7.5 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: 2019-10/txt/msg01876.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90758 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657149-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:19:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22960 invoked by alias); 22 Oct 2019 12:19:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22935 invoked by uid 48); 22 Oct 2019 12:19:12 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/90663] [7/8/9 Regression] strcmp (&a[i], a + i) not folded for arrays and constant index Date: Tue, 22 Oct 2019 12:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01875.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90663 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657152-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:20:34 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25723 invoked by alias); 22 Oct 2019 12:20: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 25642 invoked by uid 48); 22 Oct 2019 12:20:27 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/91021] [7/8 Regression] ICE in tm_memopt_compute_antic at gcc/trans-mem.c:3867 Date: Tue, 22 Oct 2019 12:20: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: ice-on-valid-code, trans-mem X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01878.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91021 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:20:09 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24863 invoked by alias); 22 Oct 2019 12:20: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 24765 invoked by uid 48); 22 Oct 2019 12:20:06 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/90794] [7/8/9/10 Regression] -O3 with "VLA type" in C++ leads to an ICE Date: Tue, 22 Oct 2019 12:20: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: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01877.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90794 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:21:18 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40805 invoked by alias); 22 Oct 2019 12:21: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 40746 invoked by uid 48); 22 Oct 2019 12:21:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91133] [7/8/9/10 Regression] Wrong "partial specialization is not more specialized than" error Date: Tue, 22 Oct 2019 12: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: 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: 7.5 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: 2019-10/txt/msg01879.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91133 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657154-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:25:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62952 invoked by alias); 22 Oct 2019 12:25: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 62838 invoked by uid 55); 22 Oct 2019 12:25:44 -0000 From: "matz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/90796] [8/9/10 Regression] GCC: O2 vs O3 output differs on simple test Date: Tue, 22 Oct 2019 12:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: matz at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: matz 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: 2019-10/txt/msg01880.txt.bz2 Content-length: 774 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90796 --- Comment #12 from Michael Matz --- Author: matz Date: Tue Oct 22 12:25:03 2019 New Revision: 277287 URL: https://gcc.gnu.org/viewcvs?rev=277287&root=gcc&view=rev Log: Fix PR middle-end/90796 PR middle-end/90796 * gimple-loop-jam.c (any_access_function_variant_p): New function. (adjust_unroll_factor): Use it to constrain safety, new parameter. (tree_loop_unroll_and_jam): Adjust call and profitable unroll factor. testsuite/ * gcc.dg/unroll-and-jam.c: Add three invalid and one valid case. Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-loop-jam.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/unroll-and-jam.c >From gcc-bugs-return-657155-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:27:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65346 invoked by alias); 22 Oct 2019 12:26:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65240 invoked by uid 48); 22 Oct 2019 12:26:53 -0000 From: "matz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/90796] [8/9 Regression] GCC: O2 vs O3 output differs on simple test Date: Tue, 22 Oct 2019 12:26: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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: matz at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: matz at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg01881.txt.bz2 Content-length: 617 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90796 Michael Matz changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[8/9/10 Regression] GCC: O2 |[8/9 Regression] GCC: O2 vs |vs O3 output differs on |O3 output differs on simple |simple test |test Known to fail|10.0 | --- Comment #13 from Michael Matz --- Fixed in trunk so far. Will be backporting in a few days. >From gcc-bugs-return-657156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:29:11 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67734 invoked by alias); 22 Oct 2019 12:29:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67677 invoked by uid 48); 22 Oct 2019 12:29:04 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91201] [7/8/9/10 Regression] SIMD not generated for horizontal sum of bytes in array Date: Tue, 22 Oct 2019 12:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: 7.5 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: 2019-10/txt/msg01882.txt.bz2 Content-length: 995 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91201 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 --- Comment #25 from Richard Biener --- We unroll the loop completely but our basic-block vectorization capabilities do not include reductions. We see the following there: [local count: 357878154]: temp_33 = bytes[0]; _34 = temp_33 >> 32; temp_35 = temp_33 + _34; _36 = temp_35 >> 16; temp_37 = temp_35 + _36; _38 = temp_37 >> 8; temp_44 = bytes[1]; _45 = temp_44 >> 32; temp_46 = temp_44 + _45; _47 = temp_46 >> 16; temp_48 = temp_46 + _47; _40 = temp_37 + temp_48; _49 = temp_48 >> 8; _51 = _38 + _40; result_29 = _49 + _51; _20 = (unsigned char) result_29; b ={v} {CLOBBER}; return _20; >From gcc-bugs-return-657157-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:31:20 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69783 invoked by alias); 22 Oct 2019 12:31: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 69321 invoked by uid 48); 22 Oct 2019 12:30:29 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91241] [7/8/9/10 Regression] internal compiler error: symtab_node::verify failed Date: Tue, 22 Oct 2019 12:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.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: 7.5 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: 2019-10/txt/msg01883.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91241 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-checking Priority|P3 |P2 --- Comment #5 from Richard Biener --- Honza? >From gcc-bugs-return-657158-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:32:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71296 invoked by alias); 22 Oct 2019 12:32:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71241 invoked by uid 48); 22 Oct 2019 12:32:25 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/91273] [7/8/9/10 Regression] ICE in warn_types_mismatch at ipa-devirt.c:995 Date: Tue, 22 Oct 2019 12:32: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-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: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2019-10/txt/msg01884.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91273 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657159-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:32:51 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72113 invoked by alias); 22 Oct 2019 12:32: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 72036 invoked by uid 48); 22 Oct 2019 12:32:47 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91384] [7/8/9/10 Regression] Compare with negation is not eliminated Date: Tue, 22 Oct 2019 12:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01885.txt.bz2 Content-length: 525 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91384 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Priority|P3 |P2 Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-22 Ever confirmed|0 |1 >From gcc-bugs-return-657160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:34:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73588 invoked by alias); 22 Oct 2019 12:34: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 73465 invoked by uid 48); 22 Oct 2019 12:34:00 -0000 From: "jg at jguk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/90476] prepossessor should error if #line 0 Date: Tue, 22 Oct 2019 12:34: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: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jg at jguk dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01886.txt.bz2 Content-length: 146 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90476 --- Comment #7 from Jonny Grant --- Could someone confirm this please. >From gcc-bugs-return-657163-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:35:48 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83211 invoked by alias); 22 Oct 2019 12:35: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 83112 invoked by uid 48); 22 Oct 2019 12:35:43 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91816] [7/8/9/10 Regression] Arm generates out of range conditional branches in Thumb2 Date: Tue, 22 Oct 2019 12:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: assemble-failure, 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: sudi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2019-10/txt/msg01889.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91816 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:35:14 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77181 invoked by alias); 22 Oct 2019 12:35: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 75455 invoked by uid 48); 22 Oct 2019 12:35:10 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91812] [7/8 Regression] GCC ignores volatile modifier Date: Tue, 22 Oct 2019 12: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: 8.3.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: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2019-10/txt/msg01888.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91812 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:35:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74694 invoked by alias); 22 Oct 2019 12:35: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 74653 invoked by uid 48); 22 Oct 2019 12:34:57 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/91623] [7/8 Regression] -msse4.1 -O3 segfault in /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/smmintrin.h:270:10 Date: Tue, 22 Oct 2019 12:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.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: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget 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: 2019-10/txt/msg01887.txt.bz2 Content-length: 472 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91623 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-*-*, i?86-*-* Priority|P3 |P2 Known to work| |9.2.1 Known to fail| |9.2.0 >From gcc-bugs-return-657164-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:35:48 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83215 invoked by alias); 22 Oct 2019 12:35: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 83132 invoked by uid 48); 22 Oct 2019 12:35:44 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92177] New: [10 regression] gcc.dg/vect/bb-slp-22.c FAILs Date: Tue, 22 Oct 2019 12:36: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: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget 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: 2019-10/txt/msg01891.txt.bz2 Content-length: 1047 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92177 Bug ID: 92177 Summary: [10 regression] gcc.dg/vect/bb-slp-22.c FAILs Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Target Milestone: --- Target: sparc-sun-solaris2.11 Created attachment 47085 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47085&action=edit 32-bit sparc-sun-solaris2.11 bb-slp-22.c.168t.slp2 Between 20191016 (r277071) and 20191021 (r277261), gcc.dg/vect/bb-slp-22.c began to FAIL on 32 and 64-bit SPARC: +FAIL: gcc.dg/vect/bb-slp-22.c -flto -ffat-lto-objects scan-tree-dump-times slp2 "basic block vectorized" 1 +FAIL: gcc.dg/vect/bb-slp-22.c scan-tree-dump-times slp2 "basic block vectorized" 1 The message now appears twice, so this is clearly progress, but the guards need to be adapted. Dump attached. >From gcc-bugs-return-657167-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:36:45 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86176 invoked by alias); 22 Oct 2019 12:36: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 86126 invoked by uid 48); 22 Oct 2019 12:36:41 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91891] [7 Regression] std::function with lambda default initializer in aggregate construction causes ICE Date: Tue, 22 Oct 2019 12: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01893.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91891 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657165-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:36:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84557 invoked by alias); 22 Oct 2019 12: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 84085 invoked by uid 48); 22 Oct 2019 12:35:54 -0000 From: "ro 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: Tue, 22 Oct 2019 12: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01890.txt.bz2 Content-length: 286 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92177 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.0 >From gcc-bugs-return-657166-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:36:06 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84999 invoked by alias); 22 Oct 2019 12:36: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 84501 invoked by uid 48); 22 Oct 2019 12:35:59 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/91887] [7/8/9 Regression] -fdebug-types-section ICE building chromium Date: Tue, 22 Oct 2019 12:36: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: major 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: 7.5 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: 2019-10/txt/msg01892.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91887 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:36:59 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86933 invoked by alias); 22 Oct 2019 12: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 86837 invoked by uid 48); 22 Oct 2019 12:36:55 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92105] [7/8/9/10 Regression] decltype(decltype(decltype)) prints exponential number of repeated errors Date: Tue, 22 Oct 2019 12: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: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 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: 2019-10/txt/msg01894.txt.bz2 Content-length: 292 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92105 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 >From gcc-bugs-return-657169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:45:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116279 invoked by alias); 22 Oct 2019 12:45: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 116033 invoked by uid 48); 22 Oct 2019 12:45:00 -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: Tue, 22 Oct 2019 12:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.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: 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: 2019-10/txt/msg01895.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88660 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.4 >From gcc-bugs-return-657172-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:45:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116508 invoked by alias); 22 Oct 2019 12:45: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 116120 invoked by uid 48); 22 Oct 2019 12:45:00 -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: Tue, 22 Oct 2019 12:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 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: 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: 2019-10/txt/msg01897.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91826 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.4 >From gcc-bugs-return-657173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:45:06 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116643 invoked by alias); 22 Oct 2019 12:45: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 116154 invoked by uid 48); 22 Oct 2019 12:45:01 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/87338] [8/9 Regression] gcc 8.2 fails to bootstrap on ia64 Date: Tue, 22 Oct 2019 12:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: 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: 2019-10/txt/msg01898.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87338 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.4 >From gcc-bugs-return-657170-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:45:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116303 invoked by alias); 22 Oct 2019 12:45: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 116049 invoked by uid 48); 22 Oct 2019 12:45:00 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67960] [8/9/10 Regression] Prefixing a function with [[deprecated]] produces multiple warnings Date: Tue, 22 Oct 2019 12:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01896.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67960 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.4 >From gcc-bugs-return-657179-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:46:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122664 invoked by alias); 22 Oct 2019 12: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 121949 invoked by uid 48); 22 Oct 2019 12:46:21 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91607] [9 regression] internal compiler error: in equal, at cp/constexpr.c:1088 Date: Tue, 22 Oct 2019 12:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01905.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91607 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.3 >From gcc-bugs-return-657176-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:46:21 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121946 invoked by alias); 22 Oct 2019 12:46:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121193 invoked by uid 48); 22 Oct 2019 12:46:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/90706] [9 Regression] Useless code generated for stack / register operations on AVR Date: Tue, 22 Oct 2019 12:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 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: 2019-10/txt/msg01904.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90706 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.3 >From gcc-bugs-return-657175-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:46:20 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121785 invoked by alias); 22 Oct 2019 12:46:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121115 invoked by uid 48); 22 Oct 2019 12:46:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/91100] [9,10 Regression] FAIL: gnat.dg/socket1.adb execution test Date: Tue, 22 Oct 2019 12:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 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: 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: 2019-10/txt/msg01900.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91100 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.3 >From gcc-bugs-return-657180-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:46:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123110 invoked by alias); 22 Oct 2019 12:46:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122066 invoked by uid 48); 22 Oct 2019 12:46:22 -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: Tue, 22 Oct 2019 12:46: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: P3 X-Bugzilla-Assigned-To: hubicka 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: 2019-10/txt/msg01906.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89075 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.3 >From gcc-bugs-return-657178-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:46:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122357 invoked by alias); 22 Oct 2019 12:46:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121588 invoked by uid 48); 22 Oct 2019 12:46:18 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87833] [9/10 Regression] -fPIC isn't used to create offload shared library Date: Tue, 22 Oct 2019 12:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01903.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87833 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.3 >From gcc-bugs-return-657174-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:46:19 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121678 invoked by alias); 22 Oct 2019 12:46: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 121001 invoked by uid 48); 22 Oct 2019 12:46:13 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/90264] [9/10 Regression] -Wnull-dereference QoI issue Date: Tue, 22 Oct 2019 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: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01899.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90264 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.3 >From gcc-bugs-return-657171-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:45:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116347 invoked by alias); 22 Oct 2019 12:45: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 116097 invoked by uid 48); 22 Oct 2019 12:45:00 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90291] [8/9/10 Regression] Inline namespace erroneously extends another namespace Date: Tue, 22 Oct 2019 12:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.3.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: SUSPENDED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan 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: 2019-10/txt/msg01901.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90291 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.4 >From gcc-bugs-return-657177-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:46:24 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122130 invoked by alias); 22 Oct 2019 12:46:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121384 invoked by uid 48); 22 Oct 2019 12:46:16 -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: Tue, 22 Oct 2019 12:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.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: 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: 2019-10/txt/msg01902.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90415 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.3 >From gcc-bugs-return-657181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 12:48:48 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 690 invoked by alias); 22 Oct 2019 12:48: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 130201 invoked by uid 48); 22 Oct 2019 12:48:35 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/91969] Compiling testsuite/g++.dg/ipa/pr85421.C with -fdump-ipa-inline ICEs Date: Tue, 22 Oct 2019 12:48: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: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg01907.txt.bz2 Content-length: 442 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91969 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #3 from Martin Liška --- Patch candidate: https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01563.html >From gcc-bugs-return-657182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 13:09:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65634 invoked by alias); 22 Oct 2019 13:09: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 63507 invoked by uid 55); 22 Oct 2019 13:09:25 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92173] [10 Regression] ICE in optab_for_tree_code, at optabs-tree.c:81 Date: Tue, 22 Oct 2019 13: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: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01908.txt.bz2 Content-length: 859 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92173 --- Comment #4 from Richard Biener --- Author: rguenth Date: Tue Oct 22 13:08:53 2019 New Revision: 277288 URL: https://gcc.gnu.org/viewcvs?rev=277288&root=gcc&view=rev Log: 2019-10-22 Richard Biener PR tree-optimization/92173 * tree-vect-loop.c (vectorizable_reduction): If vect_transform_reduction cannot handle code-generation try without the single-def-use-cycle optimization. Pass optab_vector to optab_for_tree_code to get vector shifts as that's what we'd generate. * gcc.dg/torture/pr92173.c: New testcase. Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vshift-5.c trunk/gcc/tree-vect-slp.c trunk/gcc/tree-vect-stmts.c >From gcc-bugs-return-657183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 13:12:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77688 invoked by alias); 22 Oct 2019 13:12:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77635 invoked by uid 48); 22 Oct 2019 13:12:12 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92166] [10 regression] ICE compiling gcc.dg/vshift-5.c starting with r277241 Date: Tue, 22 Oct 2019 13:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: rguenth 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: 2019-10/txt/msg01909.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92166 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Richard Biener --- Fixed. >From gcc-bugs-return-657184-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 13:26:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 518 invoked by alias); 22 Oct 2019 13:26: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 128740 invoked by uid 48); 22 Oct 2019 13:25:56 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92109] [10 Regression] ICE in modify_call_stmt, at ipa-param-manipulation.c:1586 Date: Tue, 22 Oct 2019 13:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: 2019-10/txt/msg01910.txt.bz2 Content-length: 582 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92109 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jamborm at gcc dot gnu.org Known to work| |9.2.0 Known to fail| |10.0 --- Comment #2 from Martin Liška --- Ok, now I have just isolated 4 pre-processed source files and I'm reducing these .. >From gcc-bugs-return-657185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 13:27:59 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36379 invoked by alias); 22 Oct 2019 13:27: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 36314 invoked by uid 48); 22 Oct 2019 13:27:55 -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: Tue, 22 Oct 2019 13: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01911.txt.bz2 Content-length: 1624 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92177 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-22 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Ah, thanks - that might be an undesided side-effect of r277241 We now vectorize out[0] = a0 * x; out[1] = a1 * y; out[2] = a2 * x; out[3] = a3 * y; as _5 = a0_40 * x_44(D); _6 = a1_41 * y_45(D); _7 = a2_42 * x_44(D); _8 = a3_43 * y_45(D); _66 = {_7, _8}; vect_cst__67 = _66; _68 = {_5, _6}; vect_cst__69 = _68; MEM [(unsigned int *)&out] = vect_cst__69; _71 = &out[0] + 8; MEM [(unsigned int *)_71] = vect_cst__67; since we're no longer fencing the build-from-scalar code via && !SLP_TREE_CHILDREN (child).is_empty () (previously we had no SLP children nodes for the SLP node representing the multiplication). So the test is no longer testing vectorization of multiplications. It also shows that BB vectorizing this function at strict basic-block boundaries is suboptimal. I'll see what to best do here, clearly a sort-term fix would be to change the code to make vectorization of the multiplication more obviously profitable. >From gcc-bugs-return-657186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 14:11:41 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17867 invoked by alias); 22 Oct 2019 14:11: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 17725 invoked by uid 48); 22 Oct 2019 14:11:37 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92174] runtime error: index 15 out of bounds for type 'gfc_expr *[15] Date: Tue, 22 Oct 2019 14:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: 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: 2019-10/txt/msg01912.txt.bz2 Content-length: 733 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 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 Martin Liška from comment #0) > Happens with UBSAN build in: > > $ ./xgcc -B. > /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/pr91802.f90 > -fcoarray=single > ../../gcc/fortran/array.c:867:36: runtime error: index 15 out of bounds for > type 'gfc_expr *[15]' What are you doing? pr91802.f90 is a compile time test. It cannot generate a runtime error. >From gcc-bugs-return-657187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 14:14:59 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21628 invoked by alias); 22 Oct 2019 14: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 21556 invoked by uid 48); 22 Oct 2019 14:14:56 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92174] runtime error: index 15 out of bounds for type 'gfc_expr *[15] Date: Tue, 22 Oct 2019 14: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01913.txt.bz2 Content-length: 688 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 --- Comment #2 from Martin Liška --- (In reply to kargl from comment #1) > (In reply to Martin Liška from comment #0) > > Happens with UBSAN build in: > > > > $ ./xgcc -B. > > /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/pr91802.f90 > > -fcoarray=single > > ../../gcc/fortran/array.c:867:36: runtime error: index 15 out of bounds for > > type 'gfc_expr *[15]' > > > What are you doing? pr91802.f90 is a compile time test. > It cannot generate a runtime error. It's a runtime error of the GCC compiler that compiles the test-case ;) The error message is a bit misleading. >From gcc-bugs-return-657188-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 14:22:09 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28249 invoked by alias); 22 Oct 2019 14:22: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 28158 invoked by uid 55); 22 Oct 2019 14:22:04 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92174] runtime error: index 15 out of bounds for type 'gfc_expr *[15] Date: Tue, 22 Oct 2019 14:22: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: 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: 2019-10/txt/msg01914.txt.bz2 Content-length: 1076 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 --- Comment #3 from Steve Kargl --- On Tue, Oct 22, 2019 at 02:14:55PM +0000, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 > > --- Comment #2 from Martin Liška --- > (In reply to kargl from comment #1) > > (In reply to Martin Liška from comment #0) > > > Happens with UBSAN build in: > > > > > > $ ./xgcc -B. > > > /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/pr91802.f90 > > > -fcoarray=single > > > ../../gcc/fortran/array.c:867:36: runtime error: index 15 out of bounds for > > > type 'gfc_expr *[15]' > > > > > > What are you doing? pr91802.f90 is a compile time test. > > It cannot generate a runtime error. > > It's a runtime error of the GCC compiler that compiles the test-case ;) > The error message is a bit misleading. > So, what does your tool do? gfortran correctly diagnosis that rank+corank > 15, issues an error, and exits. What is the problem? >From gcc-bugs-return-657189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 14:22:55 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33463 invoked by alias); 22 Oct 2019 14:22: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 33384 invoked by uid 48); 22 Oct 2019 14:22:51 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90938] [9/10 Regression] Initializing array with {1} works, but not {0} Date: Tue, 22 Oct 2019 14: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: 9.1.0 X-Bugzilla-Keywords: rejects-valid, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: msebor 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: 2019-10/txt/msg01915.txt.bz2 Content-length: 213 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90938 --- Comment #9 from Martin Sebor --- I plan to submit a patch for GCC 10 and (hopefully) also GCC 9.x. What's the cutoff for 9? >From gcc-bugs-return-657190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 14:26:13 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42044 invoked by alias); 22 Oct 2019 14:26: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 41952 invoked by uid 55); 22 Oct 2019 14:26:10 -0000 From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/92154] new glibc breaks arm bootstrap due to libsanitizer Date: Tue, 22 Oct 2019 14:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01916.txt.bz2 Content-length: 1238 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92154 --- Comment #2 from Tamar Christina --- Author: tnfchris Date: Tue Oct 22 14:25:38 2019 New Revision: 277291 URL: https://gcc.gnu.org/viewcvs?rev=277291&root=gcc&view=rev Log: Arm: Fix arm libsanitizer bootstrap failure Glibc has recently introduced changed to the mode field in ipc_perm in commit 2f959dfe849e0646e27403f2e4091536496ac0f0. For Arm this means that the mode field no longer has the same size. This causes an assert failure against libsanitizer's internal copy of ipc_perm. Since this change can't be easily detected I am adding arm to the list of targets that are excluded from this check. libsanitizer doesn't use this field (and others, it in fact uses only 1 field) so this check can be ignored. Padding bits were used by glibc when the field was changed so sizeof and offsets of the remaining fields should be the same. libsanitizer/ChangeLog: PR sanitizer/92154 * sanitizer_common/sanitizer_platform_limits_posix.cpp (defined): Cherry-pick compiler-rt revision r375220. Modified: trunk/libsanitizer/ChangeLog trunk/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp >From gcc-bugs-return-657191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 14:42:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46122 invoked by alias); 22 Oct 2019 14: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 45345 invoked by uid 48); 22 Oct 2019 14:42:20 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/90476] prepossessor should error if #line 0 Date: Tue, 22 Oct 2019 14:42: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: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2019-10/txt/msg01917.txt.bz2 Content-length: 1199 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90476 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |msebor at gcc dot gnu.org Resolution|--- |WORKSFORME --- Comment #8 from Martin Sebor --- C makes it a constraint that in the #line directive: The digit sequence shall not specify zero, nor a number greater than 2147483647. Both GCC and G++ issue a pedantic warning for the directive so I think they both do the right thing and already implement the requested behavior. There could be a warning option to control this warning separately from others but that seems like a separate issue that applies to a number of other warnings as well. gcc -O2 -S -Wall -Wextra -Wpedantic -xc++ /build/tmp/a.c pr90476.c:1:7: warning: line number out of range 1 | #line 0 | ^ pr90476.c: error: ‘mytypo’ does not name a type With that I think this can be resolved. >From gcc-bugs-return-657192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 14:43:14 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52394 invoked by alias); 22 Oct 2019 14:43: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 52320 invoked by uid 55); 22 Oct 2019 14:43:10 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85746] Premature evaluation of __builtin_constant_p? Date: Tue, 22 Oct 2019 14:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01918.txt.bz2 Content-length: 710 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85746 --- Comment #9 from Marc Glisse --- Author: glisse Date: Tue Oct 22 14:42:38 2019 New Revision: 277292 URL: https://gcc.gnu.org/viewcvs?rev=277292&root=gcc&view=rev Log: PR c++/85746: Don't fold __builtin_constant_p prematurely 2019-10-22 Marc Glisse gcc/cp/ * constexpr.c (cxx_eval_builtin_function_call): Only set force_folding_builtin_constant_p if manifestly_const_eval. gcc/testsuite/ * g++.dg/pr85746.C: New file. Added: trunk/gcc/testsuite/g++.dg/pr85746.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/constexpr.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-657193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 14:44:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57405 invoked by alias); 22 Oct 2019 14:44: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 57334 invoked by uid 48); 22 Oct 2019 14:44:50 -0000 From: "jg at jguk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/90476] prepossessor should error if #line 0 Date: Tue, 22 Oct 2019 14:44: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: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jg at jguk dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01919.txt.bz2 Content-length: 180 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90476 --- Comment #9 from Jonny Grant --- Maybe it could say warning: line number out of range 1 - 2147483647 >From gcc-bugs-return-657194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 14:46:59 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65967 invoked by alias); 22 Oct 2019 14:46:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63788 invoked by uid 48); 22 Oct 2019 14:46:55 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85746] Premature evaluation of __builtin_constant_p? Date: Tue, 22 Oct 2019 14:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01920.txt.bz2 Content-length: 432 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85746 Marc Glisse changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #10 from Marc Glisse --- Fixed in gcc-10. >From gcc-bugs-return-657195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 14:50:42 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82485 invoked by alias); 22 Oct 2019 14: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 82240 invoked by uid 48); 22 Oct 2019 14:50:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90938] [9/10 Regression] Initializing array with {1} works, but not {0} Date: Tue, 22 Oct 2019 14:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: rejects-valid, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: msebor 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: 2019-10/txt/msg01921.txt.bz2 Content-length: 381 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90938 --- Comment #10 from Jakub Jelinek --- There is no cutoff for 9.x (well, in about 2 years from now the branch will be closed), but the branch is used by people in the wild, so especially for regressions from recent releases the sooner it is fixed the better. Of course assuming the fix is safe. >From gcc-bugs-return-657196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 14:53:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27461 invoked by alias); 22 Oct 2019 14:53: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 26857 invoked by uid 55); 22 Oct 2019 14:53:31 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/85887] [7/8/9/10 Regression] Missing DW_TAG_lexical_block PC range Date: Tue, 22 Oct 2019 14:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01922.txt.bz2 Content-length: 469 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85887 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue Oct 22 14:52:52 2019 New Revision: 277293 URL: https://gcc.gnu.org/viewcvs?rev=277293&root=gcc&view=rev Log: PR tree-optimization/85887 * decl.c (expand_static_init): Drop ECF_LEAF from __cxa_guard_acquire and __cxa_guard_release. Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c >From gcc-bugs-return-657197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 14:54:25 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47047 invoked by alias); 22 Oct 2019 14:54: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 45229 invoked by uid 48); 22 Oct 2019 14:54:22 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91363] Implement P0960R3: Parenthesized initialization of aggregates Date: Tue, 22 Oct 2019 14: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: 10.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg01923.txt.bz2 Content-length: 421 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91363 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #2 from Marek Polacek --- https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01578.html >From gcc-bugs-return-657198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 14:55:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71931 invoked by alias); 22 Oct 2019 14:55:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71800 invoked by uid 48); 22 Oct 2019 14:55:26 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92174] runtime error: index 15 out of bounds for type 'gfc_expr *[15] Date: Tue, 22 Oct 2019 14:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01924.txt.bz2 Content-length: 3386 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 --- Comment #4 from Martin Liška --- (In reply to Steve Kargl from comment #3) > On Tue, Oct 22, 2019 at 02:14:55PM +0000, marxin at gcc dot gnu.org wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 > > > > --- Comment #2 from Martin Liška --- > > (In reply to kargl from comment #1) > > > (In reply to Martin Liška from comment #0) > > > > Happens with UBSAN build in: > > > > > > > > $ ./xgcc -B. > > > > /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/pr91802.f90 > > > > -fcoarray=single > > > > ../../gcc/fortran/array.c:867:36: runtime error: index 15 out of bounds for > > > > type 'gfc_expr *[15]' > > > > > > > > > What are you doing? pr91802.f90 is a compile time test. > > > It cannot generate a runtime error. > > > > It's a runtime error of the GCC compiler that compiles the test-case ;) > > The error message is a bit misleading. > > > > So, what does your tool do? gfortran correctly diagnosis > that rank+corank > 15, issues an error, and exits. What is > the problem? Problem is that the compiler invokes an undefined behaviour for the source file. You can see the same with the following patch: diff --git a/gcc/fortran/array.c b/gcc/fortran/array.c index 427110bee74..166caca8347 100644 --- a/gcc/fortran/array.c +++ b/gcc/fortran/array.c @@ -864,6 +864,7 @@ gfc_set_array_spec (gfc_symbol *sym, gfc_array_spec *as, locus *error_loc) sym->as->corank = as->corank; for (i = 0; i < as->corank; i++) { + gcc_assert (sym->as->rank + i < GFC_MAX_DIMENSIONS); sym->as->lower[sym->as->rank + i] = as->lower[i]; sym->as->upper[sym->as->rank + i] = as->upper[i]; } $ ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/pr91802.f90 -fcoarray=single f951: internal compiler error: in gfc_set_array_spec, at fortran/array.c:867 0x880e62 gfc_set_array_spec(gfc_symbol*, gfc_array_spec*, locus*) /home/marxin/Programming/gcc/gcc/fortran/array.c:867 0x8b3f6d attr_decl1 /home/marxin/Programming/gcc/gcc/fortran/decl.c:8521 0x8b4114 attr_decl /home/marxin/Programming/gcc/gcc/fortran/decl.c:8582 0x8b46f0 gfc_match_codimension() /home/marxin/Programming/gcc/gcc/fortran/decl.c:8855 0x93dd54 match_word /home/marxin/Programming/gcc/gcc/fortran/parse.c:65 0x93efcb decode_statement /home/marxin/Programming/gcc/gcc/fortran/parse.c:464 0x944185 next_free /home/marxin/Programming/gcc/gcc/fortran/parse.c:1272 0x944727 next_statement /home/marxin/Programming/gcc/gcc/fortran/parse.c:1504 0x947bf0 parse_spec /home/marxin/Programming/gcc/gcc/fortran/parse.c:3902 0x94b747 parse_module /home/marxin/Programming/gcc/gcc/fortran/parse.c:6085 0x94c15b gfc_parse_file() /home/marxin/Programming/gcc/gcc/fortran/parse.c:6390 0x9ad167 gfc_be_parse_file /home/marxin/Programming/gcc/gcc/fortran/f95-lang.c:208 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Note that sym->as->lower is defined as: struct gfc_expr *lower[GFC_MAX_DIMENSIONS], *upper[GFC_MAX_DIMENSIONS]; Hope it's clear now? Thanks. >From gcc-bugs-return-657199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 14:56:06 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73270 invoked by alias); 22 Oct 2019 14:56:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 73121 invoked by uid 48); 22 Oct 2019 14:56:01 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92174] runtime error: index 15 out of bounds for type 'gfc_expr *[15] Date: Tue, 22 Oct 2019 14:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01925.txt.bz2 Content-length: 265 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 --- Comment #5 from Martin Liška --- > Problem is that the compiler invokes an undefined behaviour for the source file. More precisely, it's an out of bounds array access. >From gcc-bugs-return-657200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 14:59:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101209 invoked by alias); 22 Oct 2019 14:59: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 98183 invoked by uid 48); 22 Oct 2019 14:58:56 -0000 From: "qinzhao at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/91971] Profile directory concatenated with object file path Date: Tue, 22 Oct 2019 14:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: qinzhao at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: qinzhao at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01926.txt.bz2 Content-length: 387 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91971 --- Comment #3 from qinzhao at gcc dot gnu.org --- (In reply to Martin Liška from comment #2) > Confirmed. Can you please send the patch to mailing list? I have sent the patch to gcc-patches several weeks ago, and pinged twice already: https://gcc.gnu.org/ml/gcc-patches//2019-10/msg01506.html are you the reviewer for this? >From gcc-bugs-return-657201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 15:03:34 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12444 invoked by alias); 22 Oct 2019 15:03: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 12356 invoked by uid 48); 22 Oct 2019 15:03:29 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/91971] Profile directory concatenated with object file path Date: Tue, 22 Oct 2019 15:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: qinzhao at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01927.txt.bz2 Content-length: 658 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91971 --- Comment #4 from Martin Liška --- (In reply to qinzhao from comment #3) > (In reply to Martin Liška from comment #2) > > Confirmed. Can you please send the patch to mailing list? > > I have sent the patch to gcc-patches several weeks ago, and pinged twice > already: > > https://gcc.gnu.org/ml/gcc-patches//2019-10/msg01506.html Good, I'll make a review tomorrow. For the next time, please add me to CC of the email. > > are you the reviewer for this? I am, I was on vacation for almost 4 weeks, so that's why you haven't received a patch review ;) >From gcc-bugs-return-657203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 15:04:40 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14639 invoked by alias); 22 Oct 2019 15: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 13802 invoked by uid 48); 22 Oct 2019 15:04:30 -0000 From: "vladimir.fuka at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92178] New: Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine Date: Tue, 22 Oct 2019 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: vladimir.fuka 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: 2019-10/txt/msg01929.txt.bz2 Content-length: 2095 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 Bug ID: 92178 Summary: Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vladimir.fuka at gmail dot com Target Milestone: --- This code crashes at the allocated() call with GCC 7,8,9. I am not completely sure all aliasing rules, but I think it should be fine. implicit none integer, allocatable :: a(:) allocate(a, source=[1]) call assign(a, (a(1))) print *, allocated(a) contains subroutine assign(a, b) integer, allocatable, intent(out) :: a(:) integer, value :: b end subroutine end program based on https://stackoverflow.com/questions/58504284/assignment-of-allocatable-array-with-itself-values/58506248#58506248 > gfortran -fsanitize=address -g -fbacktrace assign.f90 > ./a.out ASAN:DEADLYSIGNAL ================================================================= ==19756==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000000401354 bp 0x7ffd1a55b460 sp 0x7ffd1a55b0e0 T0) ==19756==The signal is caused by a READ memory access. ==19756==Hint: address points to the zero page. #0 0x401353 in MAIN__ /home/lada/f/testy/stackoverflow/assign.f90:9 #1 0x401631 in main /home/lada/f/testy/stackoverflow/assign.f90:9 #2 0x7fb2b52cef89 in __libc_start_main (/lib64/libc.so.6+0x20f89) #3 0x400c89 in _start (/home/lada/f/testy/stackoverflow/a.out+0x400c89) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV /home/lada/f/testy/stackoverflow/assign.f90:9 in MAIN__ ==19756==ABORTING >From gcc-bugs-return-657202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 15:04:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13833 invoked by alias); 22 Oct 2019 15:04: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 13707 invoked by uid 48); 22 Oct 2019 15:04:26 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91930] [10 Regression] internal compiler error: in lazily_declare_fn, at cp/method.c:2423 with -fconcepts Date: Tue, 22 Oct 2019 15: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: 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: 2019-10/txt/msg01928.txt.bz2 Content-length: 423 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91930 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Jason Merrill --- Fixed. >From gcc-bugs-return-657204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 15:07:07 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19025 invoked by alias); 22 Oct 2019 15:07:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18923 invoked by uid 48); 22 Oct 2019 15:06:59 -0000 From: "vladimir.fuka at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92178] Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine Date: Tue, 22 Oct 2019 15:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vladimir.fuka 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: 2019-10/txt/msg01930.txt.bz2 Content-length: 223 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 --- Comment #1 from Vladimir Fuka --- It also crashes with passing just a(1) instead of (a(1)) and when removing the value attribute. >From gcc-bugs-return-657205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 15:22:10 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58384 invoked by alias); 22 Oct 2019 15:22: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 58330 invoked by uid 55); 22 Oct 2019 15:22:06 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92106] [8/9 Regression] ICE with structured bindings and -Wreturn-local-addr Date: Tue, 22 Oct 2019 15: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: 10.0 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: 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: 2019-10/txt/msg01931.txt.bz2 Content-length: 646 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92106 --- Comment #8 from Marek Polacek --- Author: mpolacek Date: Tue Oct 22 15:21:34 2019 New Revision: 277294 URL: https://gcc.gnu.org/viewcvs?rev=277294&root=gcc&view=rev Log: PR c++/92106 - ICE with structured bindings and -Wreturn-local-addr. * typeck.c (maybe_warn_about_returning_address_of_local): Avoid recursing on null initializer and return false instead. Added: branches/gcc-9-branch/gcc/testsuite/g++.dg/cpp1z/decomp50.C Modified: branches/gcc-9-branch/gcc/cp/ChangeLog branches/gcc-9-branch/gcc/cp/typeck.c >From gcc-bugs-return-657206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 15:25:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65594 invoked by alias); 22 Oct 2019 15:25: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 65553 invoked by uid 48); 22 Oct 2019 15:25:49 -0000 From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92179] New: [10 regression] r277288 causes ICEs compiling several test cases Date: Tue, 22 Oct 2019 15: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: seurer at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01932.txt.bz2 Content-length: 3622 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92179 Bug ID: 92179 Summary: [10 regression] r277288 causes ICEs compiling several test cases Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- > FAIL: gcc.dg/vect/pr33953.c (internal compiler error) > FAIL: gcc.dg/vect/pr33953.c (test for excess errors) > FAIL: gcc.dg/vect/pr33953.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorized 1 loops" 1 > FAIL: gcc.dg/vect/pr33953.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorizing stmts using SLP" 1 > FAIL: gcc.dg/vect/pr33953.c -flto -ffat-lto-objects (internal compiler error) > FAIL: gcc.dg/vect/pr33953.c -flto -ffat-lto-objects (test for excess errors) > FAIL: gcc.dg/vect/pr33953.c scan-tree-dump-times vect "vectorized 1 loops" 1 > FAIL: gcc.dg/vect/pr33953.c scan-tree-dump-times vect "vectorizing stmts using SLP" 1 > FAIL: gcc.dg/vect/slp-36.c (internal compiler error) > FAIL: gcc.dg/vect/slp-36.c (test for excess errors) > FAIL: gcc.dg/vect/slp-36.c -flto -ffat-lto-objects (internal compiler error) > FAIL: gcc.dg/vect/slp-36.c -flto -ffat-lto-objects (test for excess errors) > FAIL: gcc.target/powerpc/sse2-psrlq-2.c (internal compiler error) > FAIL: gcc.target/powerpc/sse2-psrlq-2.c (test for excess errors) They are all in this same spot: Executing on host: /home/seurer/gcc/build/gcc-test2/gcc/xgcc -B/home/seurer/gcc/build/gcc-test2/gcc/ /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/sse2-psrlq-2.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never -O3 -mpower8-vector -Wno-psabi -lm -o ./sse2-psrlq-2.exe (timeout = 300) spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc -B/home/seurer/gcc/build/gcc-test2/gcc/ /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/sse2-psrlq-2.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never -O3 -mpower8-vector -Wno-psabi -lm -o ./sse2-psrlq-2.exe during GIMPLE pass: slp In file included from /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/sse2-psrlq-2.c:9: /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/sse2-check.h: In function 'do_test': /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/sse2-check.h:18:1: internal compiler error: in vectorizable_shift, at tree-vect-stmts.c:5836 0x10df15a3 vectorizable_shift /home/seurer/gcc/gcc-test2/gcc/tree-vect-stmts.c:5836 0x10e0aceb vect_transform_stmt(_stmt_vec_info*, gimple_stmt_iterator*, _slp_tree*, _slp_instance*) /home/seurer/gcc/gcc-test2/gcc/tree-vect-stmts.c:10835 0x10e3ba0f vect_schedule_slp_instance /home/seurer/gcc/gcc-test2/gcc/tree-vect-slp.c:3966 0x10e3b71b vect_schedule_slp_instance /home/seurer/gcc/gcc-test2/gcc/tree-vect-slp.c:3860 0x10e3b71b vect_schedule_slp_instance /home/seurer/gcc/gcc-test2/gcc/tree-vect-slp.c:3860 0x10e3e08b vect_schedule_slp(vec_info*) /home/seurer/gcc/gcc-test2/gcc/tree-vect-slp.c:4040 0x10e42607 vect_slp_bb_region /home/seurer/gcc/gcc-test2/gcc/tree-vect-slp.c:3092 0x10e42607 vect_slp_bb(basic_block_def*) /home/seurer/gcc/gcc-test2/gcc/tree-vect-slp.c:3186 0x10e45d7b execute /home/seurer/gcc/gcc-test2/gcc/tree-vectorizer.c:1309 >From gcc-bugs-return-657207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 15:39:51 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28898 invoked by alias); 22 Oct 2019 15:39:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28811 invoked by uid 48); 22 Oct 2019 15:39:46 -0000 From: "dascandy at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91891] [7 Regression] std::function with lambda default initializer in aggregate construction causes ICE Date: Tue, 22 Oct 2019 15:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.4.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dascandy at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01933.txt.bz2 Content-length: 520 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91891 --- Comment #4 from Peter Bindels --- For posterity, #include #include #include #include #include template std::future make_ready_future(T t); struct y { int v; std::function v2 = [this]() { v; }; }; template auto xx(Ts... ts) { return make_ready_future(y{ ts... }); } int main() { auto f = xx(); } >From gcc-bugs-return-657208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 15:40:55 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62725 invoked by alias); 22 Oct 2019 15:40:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62640 invoked by uid 48); 22 Oct 2019 15:40:50 -0000 From: "jg at jguk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92158] Enum warning when -1 enum converted to unsigned int or int Date: Tue, 22 Oct 2019 15: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: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jg at jguk dot 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: 2019-10/txt/msg01934.txt.bz2 Content-length: 1938 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92158 --- Comment #4 from Jonny Grant --- Hello Implicit conversion can introduce bugs. I would like to detect implicit enum conversions to other types in C and C++. How about just adding the C++ warnings first to match clang in example below? The following example does produce warnings in C++ with Clang trunk, but not C. Likewise with MSVC, C++ warning, but no C warning. G++ only warns on line (19), clang has the additional line (15) and line (17) warnings. Could G++ also add the additions warnings? -O2 -Wall -Wextra -Wconversion -Werror #include typedef enum { a = -1 } a_t; a_t f() { return a; } int main() { unsigned int b = f(); a_t test = b; printf("%u %u", test, b); return b; } #1 with x86-64 clang (trunk) :15:22: error: implicit conversion changes signedness: 'a_t' to 'unsigned int' [-Werror,-Wsign-conversion] unsigned int b = f(); ~ ^~~ :17:9: error: cannot initialize a variable of type 'a_t' with an lvalue of type 'unsigned int' a_t test = b; ^ ~ :19:12: error: implicit conversion changes signedness: 'unsigned int' to 'int' [-Werror,-Wsign-conversion] return b; ~~~~~~ ^ 3 errors generated. Compiler returned: 1 #1 with x64 msvc v19.22 example.cpp (18): error C2440: 'initializing': cannot convert from 'unsigned int' to 'a_t' (18): note: Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) Compiler returned: 2 x86-64 gcc (trunk) - 484ms #1 with x86-64 gcc (trunk) : In function 'int main()': :17:16: error: invalid conversion from 'unsigned int' to 'a_t' [-fpermissive] 17 | a_t test = b; | ^ | | | unsigned int Compiler returned: 1 >From gcc-bugs-return-657209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 15:47:22 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74398 invoked by alias); 22 Oct 2019 15:47: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 74320 invoked by uid 55); 22 Oct 2019 15:47:18 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92062] [9 Regression] ODR-use by static_assert ignored for static member of class template Date: Tue, 22 Oct 2019 15: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.1.0 X-Bugzilla-Keywords: wrong-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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01935.txt.bz2 Content-length: 755 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92062 --- Comment #7 from Marek Polacek --- Author: mpolacek Date: Tue Oct 22 15:46:47 2019 New Revision: 277295 URL: https://gcc.gnu.org/viewcvs?rev=277295&root=gcc&view=rev Log: PR c++/92062 - ODR-use ignored for static member of class template. * pt.c (has_value_dependent_address): Strip location wrappers. * g++.dg/cpp0x/constexpr-odr1.C: New test. * g++.dg/cpp0x/constexpr-odr2.C: New test. Added: branches/gcc-9-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-odr1.C branches/gcc-9-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-odr2.C Modified: branches/gcc-9-branch/gcc/cp/ChangeLog branches/gcc-9-branch/gcc/cp/pt.c >From gcc-bugs-return-657210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 15:48:42 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122221 invoked by alias); 22 Oct 2019 15:48: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 117183 invoked by uid 48); 22 Oct 2019 15:48:38 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92062] [9 Regression] ODR-use by static_assert ignored for static member of class template Date: Tue, 22 Oct 2019 15:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.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: 2019-10/txt/msg01936.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92062 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Marek Polacek --- Fixed. >From gcc-bugs-return-657211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 15:53:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60980 invoked by alias); 22 Oct 2019 15:53:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60888 invoked by uid 48); 22 Oct 2019 15:53:26 -0000 From: "jg at jguk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92159] -Wenum-conversion for C++ Date: Tue, 22 Oct 2019 15: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: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jg at jguk dot 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: 2019-10/txt/msg01937.txt.bz2 Content-length: 548 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92159 --- Comment #4 from Jonny Grant --- My apologies, I tested with the correct test case and it already does not compile in C++ as desired, so no -Wenum-conversion required. #include typedef enum {brandon, jon, mitch} name_t; typedef enum {fred, dog, cat} name2_t; name2_t name = brandon; name_t hik = 3; int hal_entry(void) { if (hik < name) return(0); return 1; } int main () { printf ("%d\n", hal_entry()); return 0; } >From gcc-bugs-return-657212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 15:55:55 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69229 invoked by alias); 22 Oct 2019 15:55:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69176 invoked by uid 48); 22 Oct 2019 15:55:51 -0000 From: "mserdarsanli at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92180] New: Missed optimization on casting __builtin_ia32_rdtsc result to int32 Date: Tue, 22 Oct 2019 15:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mserdarsanli 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: 2019-10/txt/msg01938.txt.bz2 Content-length: 957 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92180 Bug ID: 92180 Summary: Missed optimization on casting __builtin_ia32_rdtsc result to int32 Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: mserdarsanli at gmail dot com Target Milestone: --- Link: https://godbolt.org/z/wcIN0a #include uint32_t foo1() { return __builtin_ia32_rdtsc(); } uint64_t foo2() { return __builtin_ia32_rdtsc(); } Generates assembly: foo1(): rdtsc sal rdx, 32 or rax, rdx ret foo2(): rdtsc sal rdx, 32 or rax, rdx ret While clang generates better code for foo1 foo1(): # @foo1() rdtsc ret >From gcc-bugs-return-657213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 16:11:08 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7214 invoked by alias); 22 Oct 2019 16:11: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 7149 invoked by uid 55); 22 Oct 2019 16:11:03 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92174] runtime error: index 15 out of bounds for type 'gfc_expr *[15] Date: Tue, 22 Oct 2019 16:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: 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: 2019-10/txt/msg01939.txt.bz2 Content-length: 591 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 --- Comment #6 from Steve Kargl --- On Tue, Oct 22, 2019 at 02:56:01PM +0000, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 > > --- Comment #5 from Martin Liška --- > > Problem is that the compiler invokes an undefined behaviour for the source > file. > > More precisely, it's an out of bounds array access. > Which is irrelevant as the gfortran diagnosis the issue, issues an error meesage, and exits. >From gcc-bugs-return-657214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 16:15:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71092 invoked by alias); 22 Oct 2019 16: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 71041 invoked by uid 48); 22 Oct 2019 16:14:56 -0000 From: "robrecht.dewaele at pegus dot digital" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92181] New: initializer_list & string_view result in "modification of '' is not a constant expression Date: Tue, 22 Oct 2019 16: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: robrecht.dewaele at pegus dot digital X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-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: 2019-10/txt/msg01940.txt.bz2 Content-length: 507 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92181 Bug ID: 92181 Summary: initializer_list & string_view result in "modification of '' is not a constant expression Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: robrecht.dewaele at pegus dot digital Target Milestone: --- >From gcc-bugs-return-657215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 16:23:18 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82741 invoked by alias); 22 Oct 2019 16:23: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 82651 invoked by uid 48); 22 Oct 2019 16:23:14 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92159] -Wenum-conversion for C++ Date: Tue, 22 Oct 2019 16: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: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01941.txt.bz2 Content-length: 454 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92159 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |WORKSFORME --- Comment #5 from Jonathan Wakely --- Thanks, let's close this then. >From gcc-bugs-return-657216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 16:27:57 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89397 invoked by alias); 22 Oct 2019 16:27: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 89327 invoked by uid 48); 22 Oct 2019 16:27:52 -0000 From: "robrecht.dewaele at pegus dot digital" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92181] initializer_list & string_view result in "modification of '' is not a constant expression Date: Tue, 22 Oct 2019 16: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: robrecht.dewaele at pegus dot digital X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_file_loc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01942.txt.bz2 Content-length: 1367 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92181 Robrecht Dewaele changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://godbolt.org/z/baRg- | |1 --- Comment #1 from Robrecht Dewaele --- The following code was tested on most clang and GCC compilers available on Godbolt, and my local machine running Arch Linux, gcc (GCC) 9.2.0. Starting from GCC version 9, the following code results in a compile-time error: "modification of '' is not a constant expression" on the line with the closing brace of the initializer_list initialization. Code on Godbolt (has some extras compared to the minimal version below): https://godbolt.org/z/baRg-1 // start of source code #include #include struct S { const int i; }; constexpr std::initializer_list foo{ { []() { return std::string_view("").compare(""); }() } }; // end of source code Another version I tested with used a constexpr function rather than a lambda, with the same failing result. I have also tried replacing the lambda body with a simple "return true;" which fixes the error. >From gcc-bugs-return-657218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 16:41:56 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120481 invoked by alias); 22 Oct 2019 16:41:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120417 invoked by uid 48); 22 Oct 2019 16:41:52 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92181] initializer_list & string_view result in "modification of '' is not a constant expression Date: Tue, 22 Oct 2019 16:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01944.txt.bz2 Content-length: 406 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92181 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #2 from Marek Polacek --- Changed in r261086. >From gcc-bugs-return-657217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 16:41:14 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119256 invoked by alias); 22 Oct 2019 16:41: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 119119 invoked by uid 48); 22 Oct 2019 16:41:09 -0000 From: "kamleshbhalui at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91979] Incorrect mangling for non-template-argument nullptr expression Date: Tue, 22 Oct 2019 16:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: ABI, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kamleshbhalui 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: 2019-10/txt/msg01943.txt.bz2 Content-length: 198 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91979 --- Comment #4 from Kamlesh Kumar --- patch posted at https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01585.html >From gcc-bugs-return-657219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 16:48:44 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11682 invoked by alias); 22 Oct 2019 16:48: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 11548 invoked by uid 48); 22 Oct 2019 16:48:40 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92180] Missed optimization on casting __builtin_ia32_rdtsc result to int32 Date: Tue, 22 Oct 2019 16:48: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc component Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01945.txt.bz2 Content-length: 1933 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92180 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |segher at gcc dot gnu.org, | |uros at gcc dot gnu.org Component|tree-optimization |rtl-optimization --- Comment #1 from Jakub Jelinek --- I think that is because the combiner doesn't even try to combine into instruction setting a hard register. Consider: unsigned int foo (void) { return __builtin_ia32_rdtsc (); } void bar (unsigned int *p) { *p = __builtin_ia32_rdtsc (); } Both have pretty much the same code before the combine, except (insn 14 7 15 2 (set (reg/i:SI 0 ax) (subreg:SI (reg:DI 84) 0)) "pr92180.c":5:1 67 {*movsi_internal} (expr_list:REG_DEAD (reg:DI 84) (nil))) (insn 15 14 0 2 (use (reg/i:SI 0 ax)) "pr92180.c":5:1 -1 (nil)) in foo and (insn 10 8 0 2 (set (mem:SI (reg/v/f:DI 84 [ p ]) [1 *p_5(D)+0 S4 A32]) (subreg:SI (reg:DI 85) 0)) "pr92180.c":10:6 67 {*movsi_internal} (expr_list:REG_DEAD (reg:DI 85) (expr_list:REG_DEAD (reg/v/f:DI 84 [ p ]) (nil)))) in bar. For bar, combine uses the nonzero_bits to optimize the (unsigned int) ((x << 32) | y) into (unsigned int) y, but in foo, probably because of the hard register in there, it doesn't try anything. Of course propagating anything into an insn setting a hard register is risky, but in this case we'd just replace one pseudo in the SUBREG_REG of the SET_SRC with another one. GIMPLE optimizations can't do anything here, because the (x << 32) | y isn't exposed there, we'd need a builtin with two return values for that kind of thing. >From gcc-bugs-return-657220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 17:00:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40539 invoked by alias); 22 Oct 2019 17:00: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 40425 invoked by uid 48); 22 Oct 2019 17:00:35 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92180] Missed optimization on casting __builtin_ia32_rdtsc result to int32 Date: Tue, 22 Oct 2019 17:00: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01946.txt.bz2 Content-length: 251 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92180 --- Comment #2 from Segher Boessenkool --- Combine *does* combine setters of hard registers. nonzero_bits is not reliable, it depends on the order things are tried in. >From gcc-bugs-return-657221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 17:09:34 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12829 invoked by alias); 22 Oct 2019 17:09: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 12745 invoked by uid 48); 22 Oct 2019 17:09:30 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92180] Missed optimization on casting __builtin_ia32_rdtsc result to int32 Date: Tue, 22 Oct 2019 17:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01947.txt.bz2 Content-length: 1360 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92180 --- Comment #3 from Jakub Jelinek --- It is cant_combine_insn_p that returns true on insn 14 (insn 5 2 6 2 (parallel [ (set (reg:DI 84) (unspec_volatile:DI [ (const_int 0 [0]) ] UNSPECV_RDTSC)) (set (reg:DI 85) (unspec_volatile:DI [ (const_int 0 [0]) ] UNSPECV_RDTSC)) ]) "pr92180.c":4:10 1049 {rdtsc_rex64} (nil)) (insn 6 5 7 2 (parallel [ (set (reg:DI 85) (ashift:DI (reg:DI 85) (const_int 32 [0x20]))) (clobber (reg:CC 17 flags)) ]) "pr92180.c":4:10 564 {*ashldi3_1} (expr_list:REG_UNUSED (reg:CC 17 flags) (nil))) (insn 7 6 14 2 (parallel [ (set (reg:DI 84) (ior:DI (reg:DI 84) (reg:DI 85))) (clobber (reg:CC 17 flags)) ]) "pr92180.c":4:10 454 {*iordi_1} (expr_list:REG_DEAD (reg:DI 85) (expr_list:REG_UNUSED (reg:CC 17 flags) (nil)))) (insn 14 7 15 2 (set (reg/i:SI 0 ax) (subreg:SI (reg:DI 84) 0)) "pr92180.c":5:1 67 {*movsi_internal} (expr_list:REG_DEAD (reg:DI 84) (nil))) because ax is targetm.class_likely_spilled_p. >From gcc-bugs-return-657222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 17:12:41 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37756 invoked by alias); 22 Oct 2019 17:12:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37689 invoked by uid 48); 22 Oct 2019 17:12:36 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92180] Missed optimization on casting __builtin_ia32_rdtsc result to int32 Date: Tue, 22 Oct 2019 17:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01948.txt.bz2 Content-length: 358 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92180 --- Comment #4 from Segher Boessenkool --- For x86 it may be because targetm.class_likely_spilled_p is true for ax, and then indeed cant_combine_insn_p is true. See r53531, the mail thread for that patch starts at https://gcc.gnu.org/ml/gcc-patches/2002-05/msg01216.html . >From gcc-bugs-return-657223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 17:30:03 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66415 invoked by alias); 22 Oct 2019 17:30: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 66112 invoked by uid 48); 22 Oct 2019 17:29:58 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array Date: Tue, 22 Oct 2019 17:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: mpolacek 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: 2019-10/txt/msg01949.txt.bz2 Content-length: 571 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 --- Comment #4 from Marek Polacek --- (In reply to Hannes Hauswedell from comment #2) > Any news on this issue? We are using this pattern in some rather central > files in our library and the bug literally breaks 90% of our unit tests so > we can't keep track of other gcc10 issues or try the new concepts support... > > Thank you for your help! BTW, is the library publicly accessible? If it is, I could try to compile it when I have a fix for this to make sure it's resolved. >From gcc-bugs-return-657224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 17:46:55 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30554 invoked by alias); 22 Oct 2019 17:46:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 29815 invoked by uid 55); 22 Oct 2019 17:46:48 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92106] [8 Regression] ICE with structured bindings and -Wreturn-local-addr Date: Tue, 22 Oct 2019 17:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 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: 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: 2019-10/txt/msg01950.txt.bz2 Content-length: 646 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92106 --- Comment #9 from Marek Polacek --- Author: mpolacek Date: Tue Oct 22 17:46:12 2019 New Revision: 277296 URL: https://gcc.gnu.org/viewcvs?rev=277296&root=gcc&view=rev Log: PR c++/92106 - ICE with structured bindings and -Wreturn-local-addr. * typeck.c (maybe_warn_about_returning_address_of_local): Avoid recursing on null initializer and return false instead. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp1z/decomp50.C Modified: branches/gcc-8-branch/gcc/cp/ChangeLog branches/gcc-8-branch/gcc/cp/typeck.c >From gcc-bugs-return-657225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 17:47:16 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31992 invoked by alias); 22 Oct 2019 17:47: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 31926 invoked by uid 48); 22 Oct 2019 17:47:11 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92106] [8 Regression] ICE with structured bindings and -Wreturn-local-addr Date: Tue, 22 Oct 2019 17:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 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: 2019-10/txt/msg01951.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92106 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #10 from Marek Polacek --- Fixed. >From gcc-bugs-return-657226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 17:50:25 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36228 invoked by alias); 22 Oct 2019 17:50: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 36138 invoked by uid 55); 22 Oct 2019 17:50:19 -0000 From: "paul.richard.thomas at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/86248] [7/8/9/10 Regression] LEN_TRIM in specification expression causes link failure Date: Tue, 22 Oct 2019 17:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: link-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: paul.richard.thomas at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01952.txt.bz2 Content-length: 1121 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86248 --- Comment #6 from paul.richard.thomas at gmail dot com --- Hi Bill, If you look at pr44265, I took over the patch from Ian Sandoe and fixed one or two of the wrinkles associated with it. I do not seem to have given it as much thought as I should. Had I done so, I would have gone down the route suggested by Tobias Burnus and apparently used by g95 and NAG, namely to mark the length of the return value as unknown and initialize it on scope entry. I don't have time tonight but I'll put it on my list of TODOs. It looks like fairly low hanging fruit to me so I'll take a look see in the next few days. Messing with name mangling cannot be the right way to go that is for sure. Thanks for prodding me Paul On Mon, 21 Oct 2019 at 19:39, longb at cray dot com wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86248 > > --- Comment #5 from Bill Long --- > Any progress on this? > > -- > You are receiving this mail because: > You are on the CC list for the bug. >From gcc-bugs-return-657227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 18:16:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28081 invoked by alias); 22 Oct 2019 18:16: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 27975 invoked by uid 48); 22 Oct 2019 18:16:34 -0000 From: "h2+bugs at fsfe dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array Date: Tue, 22 Oct 2019 18: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.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: h2+bugs at fsfe dot 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01953.txt.bz2 Content-length: 1429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 --- Comment #5 from Hannes Hauswedell --- (In reply to Marek Polacek from comment #4) > (In reply to Hannes Hauswedell from comment #2) > > Any news on this issue? We are using this pattern in some rather central > > files in our library and the bug literally breaks 90% of our unit tests so > > we can't keep track of other gcc10 issues or try the new concepts support... > > > > Thank you for your help! > > BTW, is the library publicly accessible? If it is, I could try to compile > it when I have a fix for this to make sure it's resolved. Sure, thanks for looking into this! The library is available here: https://github.com/seqan/seqan3/ Instructions for setting up unit tests are available here: https://docs.seqan.de/seqan/3-master-user/setup_tests.html The currently failing tests are visible here: http://cdash.seqan.de/index.php?project=SeqAn3 Under "Nightly: unit", "FreeBSD unit Debug g++10 -std=c++2a" Note that due to the recent arrival of C++20 concepts in gcc-trunk, other things are currently broken with so you need to explicitly provide "-std=c++17 -fconcepts" (and not trust the auto detection of our cmake config). Making e.g. "view_to_lower_test" should trigger the problem from this PR (although I just saw that it also has a seemingly unrelated problem with not finding std::span, just ignore that). >From gcc-bugs-return-657228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 18:19:36 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39540 invoked by alias); 22 Oct 2019 18:19: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 38851 invoked by uid 55); 22 Oct 2019 18:19:31 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92174] runtime error: index 15 out of bounds for type 'gfc_expr *[15] Date: Tue, 22 Oct 2019 18: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01954.txt.bz2 Content-length: 547 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 --- Comment #7 from kargl at gcc dot gnu.org --- Author: kargl Date: Tue Oct 22 18:18:59 2019 New Revision: 277297 URL: https://gcc.gnu.org/viewcvs?rev=277297&root=gcc&view=rev Log: 2019-10-22 Steven G. Kargl PR fortran/92174 * decl.c (attr_decl1): Move check for F2018:C822 from here ... * array.c (gfc_set_array_spec): ... to here. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/array.c trunk/gcc/fortran/decl.c >From gcc-bugs-return-657229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 18:21:13 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49942 invoked by alias); 22 Oct 2019 18:21:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49847 invoked by uid 48); 22 Oct 2019 18:21:09 -0000 From: "h2+bugs at fsfe dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array Date: Tue, 22 Oct 2019 18: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: 9.2.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: h2+bugs at fsfe dot 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01955.txt.bz2 Content-length: 255 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 --- Comment #6 from Hannes Hauswedell --- To make the test only complain about the current issue, change line 20 in include/seqan3/std/span to ``` #if 0 ``` Regards, Hannes >From gcc-bugs-return-657230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 18:39:06 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94922 invoked by alias); 22 Oct 2019 18:39: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 94835 invoked by uid 55); 22 Oct 2019 18:39:02 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92174] runtime error: index 15 out of bounds for type 'gfc_expr *[15] Date: Tue, 22 Oct 2019 18:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01956.txt.bz2 Content-length: 595 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 --- Comment #8 from kargl at gcc dot gnu.org --- Author: kargl Date: Tue Oct 22 18:38:30 2019 New Revision: 277298 URL: https://gcc.gnu.org/viewcvs?rev=277298&root=gcc&view=rev Log: 2019-10-22 Steven G. Kargl PR fortran/92174 * decl.c (attr_decl1): Move check for F2018:C822 from here ... * array.c (gfc_set_array_spec): ... to here. Modified: branches/gcc-9-branch/gcc/fortran/ChangeLog branches/gcc-9-branch/gcc/fortran/array.c branches/gcc-9-branch/gcc/fortran/decl.c >From gcc-bugs-return-657232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 18:42:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58786 invoked by alias); 22 Oct 2019 18:42:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58668 invoked by uid 48); 22 Oct 2019 18:42:23 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined Date: Tue, 22 Oct 2019 18:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2019-10/txt/msg01958.txt.bz2 Content-length: 490 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 92174, which changed state. Bug 92174 Summary: runtime error: index 15 out of bounds for type 'gfc_expr *[15] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-657231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 18:42:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58742 invoked by alias); 22 Oct 2019 18:42:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 58643 invoked by uid 48); 22 Oct 2019 18:42:23 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92174] runtime error: index 15 out of bounds for type 'gfc_expr *[15] Date: Tue, 22 Oct 2019 18:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status resolution assigned_to target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01957.txt.bz2 Content-length: 601 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gnu.org Target Milestone|--- |9.3 --- Comment #9 from kargl at gcc dot gnu.org --- fixed on 9-branch and trunk. >From gcc-bugs-return-657234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 18:43:09 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60663 invoked by alias); 22 Oct 2019 18:43:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60464 invoked by uid 55); 22 Oct 2019 18:43:04 -0000 From: "postmaster@trippelsdorf-de.bounceio.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined Date: Tue, 22 Oct 2019 18:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: postmaster@trippelsdorf-de.bounceio.net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg01960.txt.bz2 Content-length: 242 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 --- Comment #12 from postmaster@trippelsdorf-de.bounceio.net --- Created attachment 47087 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47087&action=edit attachment-60399-1.eml >From gcc-bugs-return-657233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 18:43:08 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60542 invoked by alias); 22 Oct 2019 18:43:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 60413 invoked by uid 55); 22 Oct 2019 18:43:03 -0000 From: "postmaster@trippelsdorf-de.bounceio.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined Date: Tue, 22 Oct 2019 18:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: postmaster@trippelsdorf-de.bounceio.net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01959.txt.bz2 Content-length: 2839 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 --- Comment #11 from postmaster@trippelsdorf-de.bounceio.net --- Your email was bounced... ------------------------- ... because something went wrong between you and your recipient. Ugh! What to do next? ---------------- Well, your specific problem was a *5.1.2 * error. Which means you should: Check the "trippelsdorf.de" part of "markus@trippelsdorf.de" for misspellings or missing letters. If you find an error, correct it in your contacts list or address book for next time. Or further: It is possible that the domain is temporarily inactive. If the spelling looks correct, contact your mail provider and if necessary, contact your recipient another way (e.g., phone or text message). Get more Bounce Intelligence ™ on 5.1.2 errors here![1] Thanks, have a lovely day. Yours truly, betterbounces.net[2] Rate this email: Helpful[3] :) or... Not Helpful[4] :( Advertisement | Prefer no ads?[5] YOU MIGHT LIKE [6] [7] [8] Learn more about RevenueStripe...[9] --------------------------------------------------------------------- © 2017 betterbounces.net, All rights reserved. Privacy[10] [IMAGE] [IMAGE] [IMAGE] [IMAGE] [IMAGE] 1. https://www.betterbounces.net/email-error/5.1.2?utm_source=7o9&utm_medium=direct&utm_campaign=trippelsdorf.de&utm_content=SeretV2 2. http://bit.ly/1AqkgOr 3. https://www.surveygizmo.com/s3/1609211/rtm01?tv=SeretV2&esc=5.1.2&t=D8A64110-2417-4BAA-91BC-27BF610D41B5.1&s=7o9&r=Helpful 4. https://www.surveygizmo.com/s3/1609211/rtm01?tv=SeretV2&esc=5.1.2&t=D8A64110-2417-4BAA-91BC-27BF610D41B5.1&s=7o9&r=Not%20helpful 5. https://betterbounces.net/b/Y1lM9w9S1KeLJcXVUarv1OJFNUggPr2joqvuXnfzPULQaWlkIsfqBNRgrwhzFkMcrwIXvcetvsYz6BSAduUDUOX259ENsI7e3HBFe_L9qqkswLxxp.9W4Mz9nic1fEk3b_JEBlfwrWyjYIBRM6OLFt_OXq_MrKuT9FbPDZoBNzGNE4gztylPle8NHh464vf7titT91WI150sPs4r2y2APILF5Fb_KY7JnWSvrTPQ_RLqzm5WLiQf9amSPLQH7QgRJJZl0nTmCep0hcafWo1b1QZ.Tnel7dwKISR9T71aeKme2RnSzesMpbRiE42ke2Gr 6. http://stripe.rs-1117-a.com/stripe/redirect?cs_email=f34cde757c9729b925454a1cf67de4ac&cs_sendid=1571769746877&cs_esp=threatwave&cs_offset=0&cs_stripeid=2454 7. http://stripe.rs-1117-a.com/stripe/redirect?cs_email=f34cde757c9729b925454a1cf67de4ac&cs_sendid=1571769746877&cs_esp=threatwave&cs_offset=1&cs_stripeid=2454 8. http://stripe.rs-1117-a.com/stripe/redirect?cs_email=f34cde757c9729b925454a1cf67de4ac&cs_sendid=1571769746877&cs_esp=threatwave&cs_offset=2&cs_stripeid=2454 9. http://branding.rs-1117-a.com/?utm_source=contentstripe&utm_medium=email&utm_campaign=rs_2454&utm_content=animatedlogo 10. https://www.betterbounces.net/privacy-policy >From gcc-bugs-return-657235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 19:30:48 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45818 invoked by alias); 22 Oct 2019 19:30: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 45774 invoked by uid 48); 22 Oct 2019 19:30:43 -0000 From: "david.bolvansky at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92182] New: No way to silence ''A::TKind' is too small to hold all values of 'enum Kind'' Date: Tue, 22 Oct 2019 19:30: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.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: david.bolvansky 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: 2019-10/txt/msg01961.txt.bz2 Content-length: 773 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92182 Bug ID: 92182 Summary: No way to silence ''A::TKind' is too small to hold all values of 'enum Kind'' Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: david.bolvansky at gmail dot com Target Milestone: --- enum Kind : unsigned { Y = 0x0, N = 0x1, Z = 0x2, }; struct A { Kind TKind : 2; }; gcc file.c warning: 'A::TKind' is too small to hold all values of 'enum Kind' This warning has no flag so we cannot use -Wno-XXX. Only option to silence this warning is '-w'. >From gcc-bugs-return-657236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 19:33:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49656 invoked by alias); 22 Oct 2019 19: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 49499 invoked by uid 48); 22 Oct 2019 19:33:00 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92178] Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine Date: Tue, 22 Oct 2019 19:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority 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: 2019-10/txt/msg01962.txt.bz2 Content-length: 2235 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-22 CC| |kargl at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from kargl at gcc dot gnu.org --- Compiling the code with -fdump-tree-original and stripping out the unessential intermediate code gives assign (struct array01_integer(kind=4) & restrict a, integer(kind=4) b) { } foo () { if ((integer(kind=4)[0:] * restrict) a.data != 0B) { __builtin_free ((void *) a.data); (integer(kind=4)[0:] * restrict) a.data = 0B; } assign (&a, (*(integer(kind=4)[0:] * restrict) a.data)[a.offset + 1]); } The effect of the intent(out) in assign is to deallocate the code on entry to assign. This is done with the if-block. The side-effect of evaluating the first dummy argument is that 'a' in the expression of the 2nd dummy argument is undefined. F2018 (well 18-007r1) page 308: If a dummy argument has INTENT (OUT) or INTENT (INOUT), the actual argument shall be definable. If a dummy argument has INTENT (OUT) and its associated actual argument is allocated, the actual argument is deallocated on procedure invocation (9.7.3.2). then later 15.5.2.13 Restrictions on entities associated with dummy arguments While an entity is associated with a dummy argument, the following restrictions hold. (1) Action that affects the allocation status of the entity or a subobject thereof shall be taken through the dummy argument. (2) If the allocation status of the entity or a subobject thereof is affected through the dummy argument, then at any time during the invocation and execution of the procedure, either before or after the allocation or deallocation, it shall be referenced only through the dummy argument. It seems that code is non-conforming. >From gcc-bugs-return-657237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 19:36:48 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52777 invoked by alias); 22 Oct 2019 19:36: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 52729 invoked by uid 48); 22 Oct 2019 19:36:44 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92182] No way to silence ''A::TKind' is too small to hold all values of 'enum Kind'' Date: Tue, 22 Oct 2019 19: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.1.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01963.txt.bz2 Content-length: 733 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92182 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-22 CC| |mpolacek at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed. I'll add something. >From gcc-bugs-return-657238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 20:16:49 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124215 invoked by alias); 22 Oct 2019 20:16: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 124153 invoked by uid 48); 22 Oct 2019 20:16:44 -0000 From: "nathan 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: Tue, 22 Oct 2019 20:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan 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: 2019-10/txt/msg01964.txt.bz2 Content-length: 381 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91826 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org >From gcc-bugs-return-657239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 20:16:58 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124932 invoked by alias); 22 Oct 2019 20:16:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124854 invoked by uid 48); 22 Oct 2019 20:16:54 -0000 From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87851] [8/9/10 Regression] Wrong return type for len_trim Date: Tue, 22 Oct 2019 20:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf 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: 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: 2019-10/txt/msg01965.txt.bz2 Content-length: 1678 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87851 anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gcc dot gnu.org --- Comment #8 from anlauf at gcc dot gnu.org --- The following obvious patch seems to fix the issue and regtests cleanly after adjustment of one testcase: Index: gcc/fortran/iresolve.c =================================================================== --- gcc/fortran/iresolve.c (Revision 277298) +++ gcc/fortran/iresolve.c (Arbeitskopie) @@ -1536,7 +1536,7 @@ if (kind) f->ts.kind = mpz_get_si (kind->value.integer); else - f->ts.kind = gfc_default_integer_kind; + f->ts.kind = gfc_charlen_int_kind; f->value.function.name = gfc_get_string ("__len_trim%d", string->ts.kind); } Index: gcc/testsuite/gfortran.dg/initialization_18.f90 =================================================================== --- gcc/testsuite/gfortran.dg/initialization_18.f90 (Revision 277298) +++ gcc/testsuite/gfortran.dg/initialization_18.f90 (Arbeitskopie) @@ -1,5 +1,5 @@ ! { dg-do compile } -! { dg-options "-std=f95 -Wall" } +! { dg-options "-std=f95 -Wall -Wno-conversion" } ! ! PR fortran/34915 ! Testcase contributed by Al Greynolds via comp.lang.fortran. >From gcc-bugs-return-657240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 20:18:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126556 invoked by alias); 22 Oct 2019 20:18:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 126511 invoked by uid 55); 22 Oct 2019 20:18:24 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92178] Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine Date: Tue, 22 Oct 2019 20:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01966.txt.bz2 Content-length: 2123 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 --- Comment #3 from Steve Kargl --- On Tue, Oct 22, 2019 at 07:32:59PM +0000, kargl at gcc dot gnu.org wrote: > > The effect of the intent(out) in assign is to deallocate the code on entry to > assign. This is done with the if-block. The side-effect of evaluating the > first dummy argument is that 'a' in the expression of the 2nd dummy argument is > undefined. > > F2018 (well 18-007r1) page 308: > > If a dummy argument has INTENT (OUT) or INTENT (INOUT), the actual > argument shall be definable. If a dummy argument has INTENT (OUT) > and its associated actual argument is allocated, the actual argument > is deallocated on procedure invocation (9.7.3.2). > > then later > > 15.5.2.13 Restrictions on entities associated with dummy arguments > > While an entity is associated with a dummy argument, the following > restrictions hold. > > (1) Action that affects the allocation status of the entity or a > subobject thereof shall be taken through the dummy argument. > > (2) If the allocation status of the entity or a subobject thereof > is affected through the dummy argument, then at any time during > the invocation and execution of the procedure, either before or > after the allocation or deallocation, it shall be referenced only > through the dummy argument. > > It seems that code is non-conforming. > Seems to be some wiggle room. 15.5.4 Subroutine reference A subroutine is invoked by execution of a CALL statement, ... When a subroutine is invoked, all actual argument expressions are evaluated, then the arguments are associated, and then the subroutine is executed. So, it comes down to when the deallocation occur? P. 308 says the deallocation occurs when the procedure is invoked. But, 15.5.4 defines the sequence of events that occur when it procedure is invoked. Is the reference to the subroutine name the initiation of invocation? No where does it say when the deallocation occurs. >From gcc-bugs-return-657241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 21:03:18 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92353 invoked by alias); 22 Oct 2019 21:03: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 92304 invoked by uid 48); 22 Oct 2019 21:03:14 -0000 From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87851] [8/9/10 Regression] Wrong return type for len_trim Date: Tue, 22 Oct 2019 21:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01967.txt.bz2 Content-length: 911 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87851 --- Comment #9 from anlauf at gcc dot gnu.org --- The following may be necessary in addition to the patch in comment#8: Index: gcc/fortran/simplify.c =================================================================== --- gcc/fortran/simplify.c (Revision 277298) +++ gcc/fortran/simplify.c (Arbeitskopie) @@ -4479,7 +4479,7 @@ gfc_simplify_len_trim (gfc_expr *e, gfc_expr *kind { gfc_expr *result; size_t count, len, i; - int k = get_kind (BT_INTEGER, kind, "LEN_TRIM", gfc_default_integer_kind); + int k = get_kind (BT_INTEGER, kind, "LEN_TRIM", gfc_charlen_int_kind); if (k == -1) return &gfc_bad_expr; I think the scalarizer issue mentioned in comment#1 is a separate issue. >From gcc-bugs-return-657242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 21:03:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93275 invoked by alias); 22 Oct 2019 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 93219 invoked by uid 48); 22 Oct 2019 21:03:42 -0000 From: "vladimir.fuka at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92178] Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine Date: Tue, 22 Oct 2019 21:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vladimir.fuka at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01968.txt.bz2 Content-length: 514 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 --- Comment #4 from Vladimir Fuka --- It would be really strange if even expressions like below were not possible. implicit none integer, allocatable :: a(:) allocate(a, source=[1]) call assign(a, (min(a(1)**2,0))) print *, allocated(a) contains subroutine assign(a, i) integer, allocatable, intent(out) :: a(:) integer, value :: i print *, i end subroutine end program >From gcc-bugs-return-657243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 21:30:35 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53274 invoked by alias); 22 Oct 2019 21:30: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 53062 invoked by uid 55); 22 Oct 2019 21:30:21 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92178] Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine Date: Tue, 22 Oct 2019 21:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01969.txt.bz2 Content-length: 1909 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 --- Comment #5 from Steve Kargl --- On Tue, Oct 22, 2019 at 09:03:42PM +0000, vladimir.fuka at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 > > --- Comment #4 from Vladimir Fuka --- > It would be really strange if even expressions like below were not possible. > > implicit none > integer, allocatable :: a(:) > allocate(a, source=[1]) > call assign(a, (min(a(1)**2,0))) > print *, allocated(a) > contains > subroutine assign(a, i) > integer, allocatable, intent(out) :: a(:) > integer, value :: i > print *, i > end subroutine > end program Yep. I agree. In fact, if you reverse the arguments, like, implicit none integer, allocatable :: a(:) allocate(a, source=[1]) call assign((min(a(1)**2,0)), a) print *, allocated(a) contains subroutine assign(i, a) integer, allocatable, intent(out) :: a(:) integer, value :: i print *, i end subroutine end gfortran gives % gfcx -o z a.f90 && ./z 0 F Cutting the -ftree-dump-original down to the 'call' statement gives MAIN__ () { { integer(kind=4) D.3955; integer(kind=4) D.3956; integer(kind=4) M.7; D.3955 = (*(integer(kind=4)[0:] * restrict) a.data)[a.offset + 1]; D.3956 = D.3955 * D.3955; M.7 = D.3956; M.7 = MIN_EXPR ; if ((integer(kind=4)[0:] * restrict) a.data != 0B) { __builtin_free ((void *) a.data); (integer(kind=4)[0:] * restrict) a.data = 0B; } assign (M.7, &a); } } which shows the argument evaluation is done correctly. In short, gfortran needs to scan the effective and dummy arguments for a deallocation and just do the right thing. >From gcc-bugs-return-657244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 21:31:56 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76366 invoked by alias); 22 Oct 2019 21:31:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70545 invoked by uid 48); 22 Oct 2019 21:31:52 -0000 From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87851] [8/9/10 Regression] Wrong return type for len_trim Date: Tue, 22 Oct 2019 21:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01970.txt.bz2 Content-length: 220 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87851 --- Comment #10 from anlauf at gcc dot gnu.org --- Forget comment#8 and comment#9. The standard declares the default kind of LEN_TRIM to be that of default integer. >From gcc-bugs-return-657245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 21:53:40 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38264 invoked by alias); 22 Oct 2019 21:53: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 34434 invoked by uid 48); 22 Oct 2019 21:53:36 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array Date: Tue, 22 Oct 2019 21: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.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: mpolacek 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: 2019-10/txt/msg01971.txt.bz2 Content-length: 463 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 --- Comment #7 from Marek Polacek --- Thanks. Reduced (no templates, no lambda): constexpr int& impl(const int (&array)[10], int index) { return const_cast(array[index]); } struct A { constexpr int& operator[](int i) { return impl(elems, i); } int elems[10]; }; constexpr bool f() { A arr = {}; arr[2] = true; return false; } constexpr bool b = f(); >From gcc-bugs-return-657246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 22:22:48 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93695 invoked by alias); 22 Oct 2019 22: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 93648 invoked by uid 55); 22 Oct 2019 22:22:43 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92178] Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine Date: Tue, 22 Oct 2019 22:22: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: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01972.txt.bz2 Content-length: 1212 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 --- Comment #6 from Steve Kargl --- On Tue, Oct 22, 2019 at 09:30:14PM +0000, sgk at troutmask dot apl.washington.edu wrote: > > Cutting the -ftree-dump-original down to the 'call' statement > gives > > MAIN__ () > { > { > integer(kind=4) D.3955; > integer(kind=4) D.3956; > integer(kind=4) M.7; > > D.3955 = (*(integer(kind=4)[0:] * restrict) a.data)[a.offset + 1]; > D.3956 = D.3955 * D.3955; > M.7 = D.3956; > M.7 = MIN_EXPR ; > if ((integer(kind=4)[0:] * restrict) a.data != 0B) > { > __builtin_free ((void *) a.data); > (integer(kind=4)[0:] * restrict) a.data = 0B; > } > assign (M.7, &a); > } > } > > which shows the argument evaluation is done correctly. In short, > gfortran needs to scan the effective and dummy arguments for a > deallocation and just do the right thing. > The evaluation of arguments seems to be done in trans-expr.c gfc_conv_procedure_call(), where the argument list is simply walked and evaluated. That's not good as this pr shows. :( >From gcc-bugs-return-657247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 22 23:18:13 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32344 invoked by alias); 22 Oct 2019 23:18: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 32286 invoked by uid 55); 22 Oct 2019 23:18:08 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92178] Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine Date: Tue, 22 Oct 2019 23:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01973.txt.bz2 Content-length: 1821 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 --- Comment #7 from Steve Kargl --- On Tue, Oct 22, 2019 at 10:22:42PM +0000, sgk at troutmask dot apl.washington.edu wrote: > --- Comment #6 from Steve Kargl --- > On Tue, Oct 22, 2019 at 09:30:14PM +0000, sgk at troutmask dot > apl.washington.edu wrote: > > > > Cutting the -ftree-dump-original down to the 'call' statement > > gives > > > > MAIN__ () > > { > > { > > integer(kind=4) D.3955; > > integer(kind=4) D.3956; > > integer(kind=4) M.7; > > > > D.3955 = (*(integer(kind=4)[0:] * restrict) a.data)[a.offset + 1]; > > D.3956 = D.3955 * D.3955; > > M.7 = D.3956; > > M.7 = MIN_EXPR ; > > if ((integer(kind=4)[0:] * restrict) a.data != 0B) > > { > > __builtin_free ((void *) a.data); > > (integer(kind=4)[0:] * restrict) a.data = 0B; > > } > > assign (M.7, &a); > > } > > } > > > > which shows the argument evaluation is done correctly. In short, > > gfortran needs to scan the effective and dummy arguments for a > > deallocation and just do the right thing. > > > > The evaluation of arguments seems to be done in trans-expr.c > gfc_conv_procedure_call(), where the argument list is simply > walked and evaluated. That's not good as this pr shows. :( > There is a massive for-loop (lines: 5478-6638) that is used for the evaluation of arguments. Within those lines, the blocks 5924-5981, 6071-6111, and 6242-6273 are used to delete allocated actual args for intent(out) dummy args. I suspect that those blocks need to be removed, and second following for-loop should scan the arg list to do the deallocations. >From gcc-bugs-return-657248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 00:22:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122985 invoked by alias); 23 Oct 2019 00: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 122801 invoked by uid 48); 23 Oct 2019 00:22:09 -0000 From: "sethml at ofb dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92172] ARM Thumb2 frame pointers inconsistent with clang Date: Wed, 23 Oct 2019 00:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.3.1 X-Bugzilla-Keywords: ABI X-Bugzilla-Severity: enhancement X-Bugzilla-Who: sethml at ofb dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01974.txt.bz2 Content-length: 4293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92172 --- Comment #2 from Seth LaForge --- Good point on frame pointers vs a frame chain for unwinding. I'm looking for the unwindable frame chain. Wilco: > Why does this matter? Well as your examples show, if you want to emit a frame > chain using standard push/pop, it typically ends up pointing to the top of the > frame. That is the worst possible position for a frame pointer on Thumb - while > Arm supports negative immediate offsets up to 4KB, Thumb-1 doesn't support > negative offsets at all, and Thumb-2 supports offsets up to -255 but only with > 32-bit instructions. So the result of conflating the frame chain and frame > pointer implies a terrible codesize hit for Thumb. Well, there's really no need for a frame pointer for efficiency, since the stack frame can be efficiently accessed with positive immediate accesses relative to the stack pointer. There are even special encodings for Thumb-2 16-bit LDR/STR which allow an immediate offset of 0 to 1020 when relative to SP - much larger than other registers. You're saying using a frame pointer implies a terrible codesize hit for Thumb, but I don't see how that can be - stack access will continue to go through SP, and the only code size hit should be pushing/popping R7 (~2 cycles), computing R7 as a frame pointer (~1 cycle), and potential register spills due to one less register available. That's a pretty small amount of overhead for a non-leaf function. > Your examples suggest LLVM suffers from both of these issues, and IIRC it still > uses r11 on Arm but r7 on Thumb. That is way too inefficient/incorrect to consider > a defacto standard. Using R11 in ARM and R7 on Thumb is mandated by the AAPCS I believe. I don't think the overhead is likely to be particularly different in Thumb vs ARM. Numbers talk, so I collected some benchmarks on some production firmware used in self-driving cars. This code is executing on a Cortex-R5F MCU, processing a large amount of data, with a wide variety of function sizes. Unfortunately precise benchmarking on this MCU is difficult - there seem to be swings of a few percent in performance due to changes in code alignment, but the rough results have been reliable. I'm collecting .text size and time spent in computation. Unfortunately we're using a pretty old version of gcc, but the frame pointer generation doesn't seem to have changed in newer releases. Baseline: With gcc 4.7, -fomit-frame-pointer, -mthumb: 384016 bytes, 110.943 s. With gcc 4.7, -fno-omit-frame-pointer, -mthumb: 396688 bytes, 113.539 s. This shows a +3.2% size overhead and +2.3% time overhead for enabling frame pointers in Thumb-2 code. With gcc 4.7, -fomit-frame-pointer, ARM mode: 487152 bytes, 113.874 s. That's +26.9% size and +2.6% time over -mthumb. With gcc 4.7, -fno-omit-frame-pointer, ARM mode: 498064 bytes, 116.936 s. This shows a +2.7% size overhead and +2.7% time overhead for enabling frame pointers in Thumb-2 code. Within margin of error, it appears the frame pointer overhead is comparable in Thumb-2 and ARM code. With clang 7, -fomit-frame-pointer, -mthumb: 371008 bytes, 107.072 s. That's -3.4% size and -3.5% time over gcc 4.7. With clang 7, -fomit-frame-pointer, -mthumb: 377296 bytes, 110.868 s. This shows a +1.7% size overhead and +3.5% time overhead for enabling frame pointers in Thumb-2 code for clang 7. Within margin of error, it appears clang's frame pointer overhead is slightly higher than gcc's for Thumb-2, but not much. With clang 7, -fomit-frame-pointer, ARM mode: 458592 bytes, 112.829 s. That's +21.5% size +1.8% time over clang -mthumb. With clang 7, -fno-omit-frame-pointer, ARM mode: 463440 bytes, 111.796 s. That's +1.1% size -0.9% time over clang ARM without frame pointers. I'm a bit mystified by this result - I looked at the generated code and it does what I'd expect, so I think this is just benchmarking variation due to caches/alignment. For my application, a ~2.5% performance hit is very worthwhile to gain the extra debugability of easy stack traces. I'll probably end up switching over to clang and frame pointers. It'd be nice if people using gcc for embedded ARM development had an easy option for generating stack traces. >From gcc-bugs-return-657249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 02:27:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50548 invoked by alias); 23 Oct 2019 02:27: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 50473 invoked by uid 48); 23 Oct 2019 02:27:25 -0000 From: "rafael at espindo dot la" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92183] New: gcc tries to create a relocation in a mergeable section Date: Wed, 23 Oct 2019 02:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rafael at espindo dot la X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01975.txt.bz2 Content-length: 991 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92183 Bug ID: 92183 Summary: gcc tries to create a relocation in a mergeable section Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: rafael at espindo dot la Target Milestone: --- Given struct foo { const char *bar; const char *zed; }; void g(struct foo *r); void f() { struct foo t = {"bar", "zed"}; g(&t); } gcc -O3 produces .section .rodata.str1.1,"aMS",@progbits,1 .LC0: .string "bar" .LC1: .string "zed" .... .section .rodata.cst8,"aM",@progbits,8 .align 8 .LC2: .quad .LC1 While it is not illegal to have a relocation in a mergeable section, I don't know of any linker that supports that, so gcc is being over aggressive. >From gcc-bugs-return-657251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 04:14:36 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123217 invoked by alias); 23 Oct 2019 04:14: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 123143 invoked by uid 48); 23 Oct 2019 04:14:32 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87403] [Meta-bug] Issues that suggest a new warning Date: Wed, 23 Oct 2019 04:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: diagnostic, meta-bug X-Bugzilla-Severity: enhancement X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg01977.txt.bz2 Content-length: 465 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403 Bug 87403 depends on bug 49574, which changed state. Bug 49574 Summary: Give a warning for insane overloading https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49574 What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID >From gcc-bugs-return-657250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 04:14:36 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123214 invoked by alias); 23 Oct 2019 04:14: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 123120 invoked by uid 48); 23 Oct 2019 04:14:32 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/49574] Give a warning for insane overloading Date: Wed, 23 Oct 2019 04: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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2019-10/txt/msg01976.txt.bz2 Content-length: 1278 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49574 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #8 from Eric Gallager --- (In reply to Jonathan Wakely from comment #7) > OK here's the documentation patch: > > --- a/gcc/doc/invoke.texi > +++ b/gcc/doc/invoke.texi > @@ -3383,6 +3383,11 @@ object to the same type, to a base class of that > type, or to void; such > a conversion function will never be called. > @end table > > +@item -Winsane-overloading @r{(C++ and Objective-C++ only)} > +@opindex Winsane-overloading > +@opindex Wno-insane-overloading > +Warn about whatever was agreed to in Bugzilla. > + > @node Objective-C and Objective-C++ Dialect Options > @section Options Controlling Objective-C and Objective-C++ Dialects > > > The rest should be a simple matter of programming. > > More seriously, I'm not the one asking for the warning, so it's not up to me > to describe what's wanted. All right fine; I guess I'll close this then... >From gcc-bugs-return-657252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 05:26:25 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117584 invoked by alias); 23 Oct 2019 05: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 117542 invoked by uid 48); 23 Oct 2019 05:26:21 -0000 From: "kamleshbhalui at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92053] Compilation fails or succeeds depending on the optimization flags Date: Wed, 23 Oct 2019 05: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: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: kamleshbhalui at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01978.txt.bz2 Content-length: 679 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92053 Kamlesh Kumar changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kamleshbhalui at gmail dot com --- Comment #4 from Kamlesh Kumar --- (In reply to Antony Polukhin from comment #2) > Reduced version. Note that Clang reduces to compile it with any -O, while > GCC is fine with it on -O0 https://godbolt.org/z/yTM0a4 : > Clang fails to compile it regardless of any optimization. see at https://godbolt.org/z/jP0Ct2 >From gcc-bugs-return-657253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 06:21:01 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114885 invoked by alias); 23 Oct 2019 06:21: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 114838 invoked by uid 48); 23 Oct 2019 06:20:57 -0000 From: "kariya_mitsuru at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/68781] [concepts] requires in member function is not unevaluated Date: Wed, 23 Oct 2019 06: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: 6.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: kariya_mitsuru at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg01979.txt.bz2 Content-length: 442 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68781 Mitsuru Kariya changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kariya_mitsuru at hotmail dot com --- Comment #1 from Mitsuru Kariya --- This compiles with current trunk. >From gcc-bugs-return-657254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 06:43:21 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28379 invoked by alias); 23 Oct 2019 06:43:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27854 invoked by uid 48); 23 Oct 2019 06:43:16 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92184] New: [ASAN] errors in bootstrap Date: Wed, 23 Oct 2019 06:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01980.txt.bz2 Content-length: 1308 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92184 Bug ID: 92184 Summary: [ASAN] errors in bootstrap Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- I tried an asan bootstrap on fortran with recent bootstrap and got this: ================================================================ ==230053==ERROR: AddressSanitizer: heap-use-after-free on address 0x6140000692a0 at pc 0x00000306907a bp 0x7fffad4ef940 sp 0x7fffad4ef938 READ of size 8 at 0x6140000692a0 thread T0 #0 0x3069079 in vect_analyze_loop(loop*, _loop_vec_info*, vec_info_shared*) ../../trunk/gcc/tree-vect-loop.c:2394 Problem seems to first appear sometime between revision 277000 and 277250. Configure line is ../trunk/configure --prefix=/home/dcb/gcc/results.277250.asan \ --with-build-config=bootstrap-asan \ --disable-multilib \ --disable-werror \ --enable-checking=yes \ --enable-languages=c,c++,fortran >From gcc-bugs-return-657255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 07:13:12 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46800 invoked by alias); 23 Oct 2019 07:13:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46764 invoked by uid 48); 23 Oct 2019 07:13:07 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92183] gcc tries to create a relocation in a mergeable section Date: Wed, 23 Oct 2019 07:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on version 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: 2019-10/txt/msg01981.txt.bz2 Content-length: 855 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92183 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-23 Version|unknown |9.2.1 Ever confirmed|0 |1 Known to fail| |7.4.0 --- Comment #1 from Richard Biener --- Hmm, so we'd need to move those constants to the regular .rodata then. I'll file it as missed-optimization as linkers might to decide to drop the mergeable flag once it sees relocations in the section. >From gcc-bugs-return-657256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 07:14:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47910 invoked by alias); 23 Oct 2019 07:14:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47849 invoked by uid 48); 23 Oct 2019 07:14:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92184] [ASAN] errors in bootstrap Date: Wed, 23 Oct 2019 07: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: 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: 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: 2019-10/txt/msg01982.txt.bz2 Content-length: 827 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92184 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rsandifo at gcc dot gnu.org --- Comment #1 from Richard Biener --- I think Richard fixed sth like this with 2019-10-22 Richard Sandiford * tree-vect-slp.c (vect_slp_bb_region): Check whether autodetected_vector_size rather than vector_size is zero. * tree-vect-loop.c (vect_analyze_loop): Likewise. Set autodetected_vector_size immediately after calling vect_analyze_loop_2. Check for a fatal error before advancing next_size. >From gcc-bugs-return-657257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 07:16:57 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50201 invoked by alias); 23 Oct 2019 07:16: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 50168 invoked by uid 48); 23 Oct 2019 07:16:53 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92179] [10 regression] r277288 causes ICEs compiling several test cases Date: Wed, 23 Oct 2019 07:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: rguenth 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: 2019-10/txt/msg01983.txt.bz2 Content-length: 642 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92179 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-23 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Target Milestone|--- |10.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Sigh. Mine. Obviously. >From gcc-bugs-return-657258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 07:21:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69168 invoked by alias); 23 Oct 2019 07:21:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69122 invoked by uid 48); 23 Oct 2019 07:21:23 -0000 From: "linkw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92185] New: ICE when perform condition reduction vectorization on uchar ind var Date: Wed, 23 Oct 2019 07:21: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: linkw at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-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: 2019-10/txt/msg01984.txt.bz2 Content-length: 2433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92185 Bug ID: 92185 Summary: ICE when perform condition reduction vectorization on uchar ind var Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: linkw at gcc dot gnu.org Target Milestone: --- TESTCASE: #include "tree-vect.h" extern void abort (void) __attribute__ ((noreturn)); #define N 27 unsigned char condition_reduction (short *a, short min_v) { unsigned char last = 0; for (unsigned char i = 0; i < 27; i++) if (a[i] < min_v) last = i; return last; } int main (void) { short a[27] = { 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 21, 22, 23, 24, 25, 26, 27 }; check_vect (); int ret = condition_reduction (a, 10); if (ret != 18) abort (); return 0; } BTW, tree-vect.h is from gcc/testsuite/gcc.dg/vect/tree-vect.h Options: -Ofast -fno-inline -fdump-tree-vect-details -fvect-cost-model=unlimited ICE backtrace: 13 | condition_reduction (short *a, short min_v) | ^~~~~~~~~~~~~~~~~~~ 0x115016ff vect_create_epilog_for_reduction /home/linkw/gcc/gcc-git-fix/gcc/tree-vect-loop.c:4252 0x1150ccb3 vectorizable_live_operation(_stmt_vec_info*, gimple_stmt_iterator*, _slp_tree*, _slp_instance*, int, bool, vec*) /home/linkw/gcc/gcc-git-fix/gcc/tree-vect-loop.c:7478 0x114df9bf can_vectorize_live_stmts /home/linkw/gcc/gcc-git-fix/gcc/tree-vect-stmts.c:10578 0x114e1933 vect_transform_stmt(_stmt_vec_info*, gimple_stmt_iterator*, _slp_tree*, _slp_instance*) /home/linkw/gcc/gcc-git-fix/gcc/tree-vect-stmts.c:11031 0x1150e9d7 vect_transform_loop_stmt /home/linkw/gcc/gcc-git-fix/gcc/tree-vect-loop.c:7918 0x1150f73f vect_transform_loop(_loop_vec_info*) /home/linkw/gcc/gcc-git-fix/gcc/tree-vect-loop.c:8133 0x1154acc7 try_vectorize_loop_1 /home/linkw/gcc/gcc-git-fix/gcc/tree-vectorizer.c:982 0x1154aff3 try_vectorize_loop /home/linkw/gcc/gcc-git-fix/gcc/tree-vectorizer.c:1035 0x1154b243 vectorize_loops() /home/linkw/gcc/gcc-git-fix/gcc/tree-vectorizer.c:1115 0x1132976f execute /home/linkw/gcc/gcc-git-fix/gcc/tree-ssa-loop.c:414 >From gcc-bugs-return-657259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 07:39:02 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24365 invoked by alias); 23 Oct 2019 07:39: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 22073 invoked by uid 48); 23 Oct 2019 07:38:58 -0000 From: "kariya_mitsuru at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92186] New: [concepts] requires expression outside of concept definition cannot return false Date: Wed, 23 Oct 2019 07:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kariya_mitsuru at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01985.txt.bz2 Content-length: 1883 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92186 Bug ID: 92186 Summary: [concepts] requires expression outside of concept definition cannot return false Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: kariya_mitsuru at hotmail dot com Target Milestone: --- The sample code below cannot be compiled by current trunk. ========================== template int foo() { if (requires(T i) { i++; }) { return 42; } else { return 99; } } int main() { return foo(); } ========================== cf. https://wandbox.org/permlink/6S5cGSAJHBL86cfi According to C++ standard draft N4835 [expr.prim.req] p.6, > The substitution of template arguments into a requires-expression > may result in the formation of invalid types or expressions in its > requirements or the violation of the semantic constraints of those > requirements. > In such cases, the requires-expression evaluates to false; it does > not cause the program to be ill-formed. So I think that the code should be compiled successfully. Note that the code below can be compiled. ========================== template concept can_increment = requires(T i) { i++; }; template int foo() { if (can_increment) { return 42; } else { return 99; } } int main() { return foo(); } ========================== cf. https://wandbox.org/permlink/VCqlkJwZHKNxZIaE >From gcc-bugs-return-657260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 08:14:12 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103501 invoked by alias); 23 Oct 2019 08:14: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 103444 invoked by uid 48); 23 Oct 2019 08:14:08 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92109] [10 Regression] ICE in modify_call_stmt, at ipa-param-manipulation.c:1586 Date: Wed, 23 Oct 2019 08:14: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: needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg01986.txt.bz2 Content-length: 242 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92109 --- Comment #3 from Martin Liška --- Created attachment 47088 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47088&action=edit Reduced test-case >From gcc-bugs-return-657261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 08:14:32 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104344 invoked by alias); 23 Oct 2019 08:14: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 104286 invoked by uid 48); 23 Oct 2019 08:14:28 -0000 From: "kariya_mitsuru at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92187] New: [concepts] An abbreviated function template ignores type constraint in some circumstances Date: Wed, 23 Oct 2019 08: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: kariya_mitsuru at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01987.txt.bz2 Content-length: 2321 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92187 Bug ID: 92187 Summary: [concepts] An abbreviated function template ignores type constraint in some circumstances Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: kariya_mitsuru at hotmail dot com Target Milestone: --- The sample code below is compiled successfully by current trunk. ========================== template concept C = false; C auto f(auto) { return 42; } int main() { return f(0); } ========================== cf. https://wandbox.org/permlink/BXPESMeiWSoUSmTn According to C++ standard draft N4835 [dcl.type.auto.deduct] p.6, > For a placeholder-type-specifier with a type-constraint, the immediately-declared > constraint of the type-constraint for the type deduced for the placeholder shall > be satisfied. So I think that the code should be failed to compile. Note that the codes below are failed to compile. ========================== template concept C = false; // normal(non abbreviated) function template template C auto f(T) { return 42; } int main() { return f(0); } ========================== cf. https://wandbox.org/permlink/j3HfbOv7PbOqSnhj ========================== template concept C = false; // normal function C auto f(int) { return 42; } int main() { return f(0); } ========================== cf. https://wandbox.org/permlink/blq6P4QgQdgEuPF9 ========================== template concept C = false; // trailing return type auto f(auto) -> C auto { return 42; } int main() { return f(0); } ========================== cf. https://wandbox.org/permlink/JfV8QmbNnjZ4ranP >From gcc-bugs-return-657263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 08:15:51 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106769 invoked by alias); 23 Oct 2019 08:15: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 106090 invoked by uid 48); 23 Oct 2019 08:15:45 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92109] [10 Regression] ICE in modify_call_stmt, at ipa-param-manipulation.c:1586 Date: Wed, 23 Oct 2019 08:15: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: marxin 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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: 2019-10/txt/msg01989.txt.bz2 Content-length: 1613 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92109 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-reduction | Assignee|marxin at gcc dot gnu.org |jamborm at gcc dot gnu.org --- Comment #4 from Martin Liška --- I can't reduce it more, so it's hopefully a reasonable small test-case: $ g++ 1.ii 2.ii 3.ii 4.ii -O3 -flto=auto -shared -fPIC ... 1.ii:42:572: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used during IPA pass: materialize-all-clones In function ‘throwError.constprop.isra’: lto1: internal compiler error: in modify_call_stmt, at ipa-param-manipulation.c:1586 0x59f0b1 ipa_param_body_adjustments::modify_call_stmt(gcall**) ../../gcc/ipa-param-manipulation.c:1586 0xa646b5 remap_gimple_stmt ../../gcc/tree-inline.c:1921 0xa6588f copy_bb ../../gcc/tree-inline.c:1996 0xa66de2 copy_cfg_body ../../gcc/tree-inline.c:2983 0xa66de2 copy_body ../../gcc/tree-inline.c:3231 0xa6ba0c tree_function_versioning(tree_node*, tree_node*, vec*, ipa_param_adjustments*, bool, bitmap_head*, basic_block_def*) ../../gcc/tree-inline.c:6274 0x67a20a cgraph_materialize_clone ../../gcc/cgraphclones.c:1020 0x67a20a symbol_table::materialize_all_clones() ../../gcc/cgraphclones.c:1107 0x85af5f execute ../../gcc/ipa.c:1396 >From gcc-bugs-return-657262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 08:15:45 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105999 invoked by alias); 23 Oct 2019 08:15:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105632 invoked by uid 48); 23 Oct 2019 08:15:12 -0000 From: "fredrik987 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92188] New: Cannot merge memory write for _mm_cvtps_ph/_mm256_cvtps_ph and x86-64 Date: Wed, 23 Oct 2019 08:15: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fredrik987 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: 2019-10/txt/msg01988.txt.bz2 Content-length: 1861 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92188 Bug ID: 92188 Summary: Cannot merge memory write for _mm_cvtps_ph/_mm256_cvtps_ph and x86-64 Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: fredrik987 at gmail dot com Target Milestone: --- Created attachment 47089 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47089&action=edit Test code For this code, the memory write cannot be merged with vcvtps2ph. void test1(__m128i *x, const __m256 *y) { // Cannot merge memory write *x = _mm256_cvtps_ph(*y, _MM_FROUND_CUR_DIRECTION); } ... vcvtps2ph $4, %ymm0, %xmm0 vmovaps %xmm0, (%rdi) ... A workaround is to change the output type to __v8hi as. void test2(__v8hi *x, const __m256 *y) { // Memory write merged *x = (__v8hi)_mm256_cvtps_ph(*y, _MM_FROUND_CUR_DIRECTION); } ... vcvtps2ph $4, %ymm0, (%rdi) ... However it does not work for the 128 bit variant of vcvtps2ph. void test4(__v4hi *x, const __m128 *y) { // Cannot merge memory write *x = (__v4hi)(((__v2di)_mm_cvtps_ph(*y, _MM_FROUND_CUR_DIRECTION))[0]); } ... vcvtps2ph $4, %xmm0, %xmm0 vmovq %xmm0, (%rdi) ... The opposite problem exists for e.g. _mm256_extracti128_si256, which normally merges the memory write but not for output type __v8hi. void test6(__v8hi *x, const __m256i *y) { // Cannot merge memory write *x = (__v8hi)_mm256_extracti128_si256(*y, 1); } ... vextracti128 $0x1, %ymm0, %xmm0 vmovaps %xmm0, (%rdi) ... It would be good if all variants behave the same, with memory write merged. I use "-O3 -march=core-avx2" when compiling (using compiler explorer). >From gcc-bugs-return-657264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 08:28:41 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126919 invoked by alias); 23 Oct 2019 08:28: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 126854 invoked by uid 48); 23 Oct 2019 08:28:37 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92185] ICE when perform condition reduction vectorization on uchar ind var Date: Wed, 23 Oct 2019 08:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01990.txt.bz2 Content-length: 569 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92185 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-23 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Mine. >From gcc-bugs-return-657265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 08:32:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2346 invoked by alias); 23 Oct 2019 08:32: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 2261 invoked by uid 48); 23 Oct 2019 08:32:26 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92185] ICE when perform condition reduction vectorization on uchar ind var Date: Wed, 23 Oct 2019 08: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01991.txt.bz2 Content-length: 179 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92185 --- Comment #2 from Richard Biener --- Hmm, I can't reproduce this, I tried ppc64le and x86_64. >From gcc-bugs-return-657266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 08:49:32 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81627 invoked by alias); 23 Oct 2019 08:49: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 81569 invoked by uid 48); 23 Oct 2019 08:49:28 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92174] runtime error: index 15 out of bounds for type 'gfc_expr *[15] Date: Wed, 23 Oct 2019 08: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: 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: P4 X-Bugzilla-Assigned-To: kargl 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: 2019-10/txt/msg01992.txt.bz2 Content-length: 216 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 --- Comment #10 from Martin Liška --- (In reply to kargl from comment #9) > fixed on 9-branch and trunk. Thank you for the fix. >From gcc-bugs-return-657267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 08:52:07 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127092 invoked by alias); 23 Oct 2019 08:52: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 123685 invoked by uid 48); 23 Oct 2019 08:52:02 -0000 From: "linkw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92185] ICE when perform condition reduction vectorization on uchar ind var Date: Wed, 23 Oct 2019 08: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: linkw 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: 2019-10/txt/msg01993.txt.bz2 Content-length: 281 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92185 --- Comment #3 from Kewen Lin --- (In reply to Richard Biener from comment #2) > Hmm, I can't reproduce this, I tried ppc64le and x86_64. Sorry, my local codebase is on r277221, trying latest trunk. >From gcc-bugs-return-657268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 08:55:40 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84320 invoked by alias); 23 Oct 2019 08:55: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 84257 invoked by uid 55); 23 Oct 2019 08:55:36 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/91969] Compiling testsuite/g++.dg/ipa/pr85421.C with -fdump-ipa-inline ICEs Date: Wed, 23 Oct 2019 08:55: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: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01994.txt.bz2 Content-length: 716 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91969 --- Comment #4 from Martin Liška --- Author: marxin Date: Wed Oct 23 08:55:05 2019 New Revision: 277309 URL: https://gcc.gnu.org/viewcvs?rev=277309&root=gcc&view=rev Log: Do not ICE in IPA inliner. 2019-10-23 Martin Liska PR ipa/91969 * ipa-inline.c (recursive_inlining): Do not print when curr->count is not initialized. 2019-10-23 Martin Liska PR ipa/91969 * g++.dg/ipa/pr91969.C: New test. Added: trunk/gcc/testsuite/g++.dg/ipa/pr91969.C Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-inline.c trunk/gcc/testsuite/ChangeLog >From gcc-bugs-return-657269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 09:16:50 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21627 invoked by alias); 23 Oct 2019 09:16: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 21556 invoked by uid 48); 23 Oct 2019 09:16:46 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/91969] Compiling testsuite/g++.dg/ipa/pr85421.C with -fdump-ipa-inline ICEs Date: Wed, 23 Oct 2019 09:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01995.txt.bz2 Content-length: 433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91969 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Martin Liška --- Fixed. >From gcc-bugs-return-657270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 09:18:32 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29964 invoked by alias); 23 Oct 2019 09:18: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 29908 invoked by uid 48); 23 Oct 2019 09:18:28 -0000 From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92184] [ASAN] errors in bootstrap Date: Wed, 23 Oct 2019 09:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: 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: 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: 2019-10/txt/msg01996.txt.bz2 Content-length: 518 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92184 rsandifo at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from rsandifo at gcc dot gnu.org --- Yeah, should have been fixed by that patch, please reopen if not. >From gcc-bugs-return-657271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 09:27:11 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93736 invoked by alias); 23 Oct 2019 09:27: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 93633 invoked by uid 48); 23 Oct 2019 09:27:06 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92189] New: Fortran-written bind(C) function with allocatable argument does not update C descriptor on exit Date: Wed, 23 Oct 2019 09:27: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: 10.0 X-Bugzilla-Keywords: wrong-code 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 cc target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01997.txt.bz2 Content-length: 1162 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92189 Bug ID: 92189 Summary: Fortran-written bind(C) function with allocatable argument does not update C descriptor on exit Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: pault at gcc dot gnu.org Target Milestone: --- Created attachment 47090 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47090&action=edit Test case Follow-up to PR 91863 For allocatable arguments, the allocation data can be updated at the end of the program. It probably also works with pointers. The ".data" component might be undefined, but the shape has at least some value - it might not make sense, but one does not dereference something which will cause invalid memory access. The attached program shows that '.data' is okay after the call ("print *, a(0:2)" shows the data), but the shape and the bounds are 0. >From gcc-bugs-return-657272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 09:36:33 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11286 invoked by alias); 23 Oct 2019 09:36: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 11215 invoked by uid 48); 23 Oct 2019 09:36:29 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92172] ARM Thumb2 frame pointers inconsistent with clang Date: Wed, 23 Oct 2019 09:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.3.1 X-Bugzilla-Keywords: ABI X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg01998.txt.bz2 Content-length: 793 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92172 --- Comment #3 from Richard Earnshaw --- (In reply to Seth LaForge from comment #2) > Using R11 in ARM and R7 on Thumb is mandated by the AAPCS I believe. I don't > think the overhead is likely to be particularly different in Thumb vs ARM. No it doesn't. The AAPCS for AArch32 makes no reference to a frame pointer, so there is no portable way defined for walking a frame other than by using dwarf records or C++ unwinding descriptions. The latter are preferred, but only support unwinding from 'synchronous' unwind points (after the prologue and before the epilogue). Compilers are, of course, free to use frame pointers internally, within a frame, but there is no frame chain that can be walked. >From gcc-bugs-return-657273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 10:06:51 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113054 invoked by alias); 23 Oct 2019 10:06: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 112993 invoked by uid 48); 23 Oct 2019 10:06:46 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92190] New: [10 Regression] ICE in sp_valid_at, at config/i386/i386.c:6162 since r276648 Date: Wed, 23 Oct 2019 10: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-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: 2019-10/txt/msg01999.txt.bz2 Content-length: 2418 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92190 Bug ID: 92190 Summary: [10 Regression] ICE in sp_valid_at, at config/i386/i386.c:6162 since r276648 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 CC: rsandifo at gcc dot gnu.org Target Milestone: --- Following is causing an ICE: $ cat ice.i typedef char VC __attribute__((vector_size(16))); typedef int VI2 __attribute__((vector_size(16 * sizeof 0))); VC a; VI2 b; void fn1() { VC k = a; VI2 n = b; fn1(n); fn1(k); } $ gcc ice.i -mabi=ms -O2 -mavx512f -c during RTL pass: pro_and_epilogue ice.i: In function ‘fn1’: ice.i:10:1: internal compiler error: in sp_valid_at, at config/i386/i386.c:6162 10 | } | ^ 0x75bd66 sp_valid_at /home/marxin/Programming/gcc/gcc/config/i386/i386.c:6162 0x75bd66 sp_valid_at /home/marxin/Programming/gcc/gcc/config/i386/i386.c:6156 0x10f8bf5 choose_basereg /home/marxin/Programming/gcc/gcc/config/i386/i386.c:6198 0x10f8fc5 choose_baseaddr /home/marxin/Programming/gcc/gcc/config/i386/i386.c:6311 0x10f9076 ix86_emit_save_reg_using_mov /home/marxin/Programming/gcc/gcc/config/i386/i386.c:6360 0x110dc65 ix86_emit_save_sse_regs_using_mov /home/marxin/Programming/gcc/gcc/config/i386/i386.c:6449 0x110ee70 ix86_expand_prologue() /home/marxin/Programming/gcc/gcc/config/i386/i386.c:8250 0x14415fb gen_prologue() /home/marxin/Programming/gcc/gcc/config/i386/i386.md:13118 0x10ff9c8 target_gen_prologue /home/marxin/Programming/gcc/gcc/config/i386/i386.md:19650 0xad99be make_prologue_seq /home/marxin/Programming/gcc/gcc/function.c:5757 0xad9b83 thread_prologue_and_epilogue_insns() /home/marxin/Programming/gcc/gcc/function.c:5874 0xada282 rest_of_handle_thread_prologue_and_epilogue /home/marxin/Programming/gcc/gcc/function.c:6365 0xada282 execute /home/marxin/Programming/gcc/gcc/function.c:6407 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-657274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 10:07:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113795 invoked by alias); 23 Oct 2019 10: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 113742 invoked by uid 48); 23 Oct 2019 10:07:01 -0000 From: "marxin 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: Wed, 23 Oct 2019 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 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on cf_known_to_work cf_gcchost target_milestone cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02000.txt.bz2 Content-length: 531 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92190 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2019-10-23 Known to work| |9.2.0 Host| |x86_64-linux-gnu Target Milestone|--- |10.0 Known to fail| |10.0 >From gcc-bugs-return-657275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 10:29:58 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110894 invoked by alias); 23 Oct 2019 10:29:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110837 invoked by uid 48); 23 Oct 2019 10:29:54 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92179] [10 regression] r277288 causes ICEs compiling several test cases Date: Wed, 23 Oct 2019 10:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: rguenth 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: 2019-10/txt/msg02001.txt.bz2 Content-length: 465 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92179 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Richard Biener --- Fixed. Hopefully without more fallout ... >From gcc-bugs-return-657276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 10:30:35 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112422 invoked by alias); 23 Oct 2019 10:30: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 112154 invoked by uid 55); 23 Oct 2019 10:30:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92179] [10 regression] r277288 causes ICEs compiling several test cases Date: Wed, 23 Oct 2019 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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg02002.txt.bz2 Content-length: 668 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92179 --- Comment #3 from Richard Biener --- Author: rguenth Date: Wed Oct 23 10:29:36 2019 New Revision: 277310 URL: https://gcc.gnu.org/viewcvs?rev=277310&root=gcc&view=rev Log: 2019-10-23 Richard Biener PR tree-optimization/92179 * tree-vect-stmts.c (vectorizable_shift): For shift args that are all the same remove type restriction in the SLP case. Adjust SLP code to handle converting of the shift arg to only apply in case the modes are different. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-vect-stmts.c >From gcc-bugs-return-657277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 10:32:47 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128955 invoked by alias); 23 Oct 2019 10:32: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 128088 invoked by uid 55); 23 Oct 2019 10:32:41 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/91887] [7/8/9 Regression] -fdebug-types-section ICE building chromium Date: Wed, 23 Oct 2019 10:32: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: major 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: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02003.txt.bz2 Content-length: 839 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91887 --- Comment #8 from Richard Biener --- Author: rguenth Date: Wed Oct 23 10:32:06 2019 New Revision: 277312 URL: https://gcc.gnu.org/viewcvs?rev=277312&root=gcc&view=rev Log: 2019-10-23 Richard Biener Backport from mainline 2019-10-17 Richard Biener PR debug/91887 * dwarf2out.c (gen_formal_parameter_die): Also try to match context_die against a DW_TAG_GNU_formal_parameter_pack parent. * g++.dg/debug/dwarf2/pr91887.C: New testcase. Added: branches/gcc-9-branch/gcc/testsuite/g++.dg/debug/dwarf2/pr91887.C Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/dwarf2out.c branches/gcc-9-branch/gcc/testsuite/ChangeLog >From gcc-bugs-return-657278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 10:49:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43869 invoked by alias); 23 Oct 2019 10:49: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 43827 invoked by uid 48); 23 Oct 2019 10:49:42 -0000 From: "john_watts at isoparix dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92191] New: internal compiler error: Segmentation fault Date: Wed, 23 Oct 2019 10:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: john_watts at isoparix 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: 2019-10/txt/msg02004.txt.bz2 Content-length: 1039 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92191 Bug ID: 92191 Summary: internal compiler error: Segmentation fault Product: gcc Version: 7.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: john_watts at isoparix dot com Target Milestone: --- Created attachment 47091 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47091&action=edit source file E:\ISOPERF\SRC>cat fosyan.s .file "fosyan.f" E:\ISOPERF\SRC>gfortran -g -ffpe-trap=zero,overflow,underflow -fdollar-ok -save-temps -c fosyan.f fosyan.f:1:0: PROGRAM FOSYAN internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. E:\ISOPERF\SRC>gfortran -dumpversion 7.4.0 E:\ISOPERF\SRC>uname CYGWIN_NT-6.1 Microsoft Windows [Version 6.1.7601] Service Pack 1 >From gcc-bugs-return-657279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 10:52:58 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46978 invoked by alias); 23 Oct 2019 10:52: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 46943 invoked by uid 48); 23 Oct 2019 10:52:54 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92191] internal compiler error: Segmentation fault Date: Wed, 23 Oct 2019 10:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02005.txt.bz2 Content-length: 680 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92191 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2019-10-23 CC| |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Liška --- I can't reproduce that on a Linux system. Can you please run it in debugger with -wrapper gdb,--args and print a backtrace? >From gcc-bugs-return-657280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:03:19 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128998 invoked by alias); 23 Oct 2019 11:03: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 106753 invoked by uid 55); 23 Oct 2019 11:03:11 -0000 From: "john_watts at isoparix dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92191] internal compiler error: Segmentation fault Date: Wed, 23 Oct 2019 11:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: john_watts at isoparix dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02006.txt.bz2 Content-length: 1600 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92191 --- Comment #2 from John Watts --- Thanks for rapid response, but sorry, need to see full command line you want.   Tried: gfortran -g  -ffpe-trap=zero,overflow,underflow -fdollar-ok -save-temps -wrapper gdb --args -c fosyan.f gfortran: error: unrecognized command line option '--args' gfortran -g  -ffpe-trap=zero,overflow,underflow -fdollar-ok -save-temps -wrapper gdb  -c fosyan.f gdb: unrecognized option `-ffixed-form' Use `gdb --help' for a complete list of options. Regards, John Watts john_watts@isoparix.com Skype: JS.Watts Tel: +44 (0)20 8549 6501 Mob: +44 (0)774 694 9715 Everything that is Proveable is True. But not everything that is True is Proveable - and we can prove that. On 23/10/2019 11:52, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92191 > > Martin Liška changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|UNCONFIRMED |WAITING > Last reconfirmed| |2019-10-23 > CC| |marxin at gcc dot gnu.org > Ever confirmed|0 |1 > > --- Comment #1 from Martin Liška --- > I can't reproduce that on a Linux system. Can you please run it in debugger > with -wrapper gdb,--args and print a backtrace? > >From gcc-bugs-return-657281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:06:43 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96903 invoked by alias); 23 Oct 2019 11:06:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 96486 invoked by uid 48); 23 Oct 2019 11:06:37 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92191] internal compiler error: Segmentation fault Date: Wed, 23 Oct 2019 11:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02007.txt.bz2 Content-length: 400 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92191 --- Comment #3 from Martin Liška --- > > > gfortran -g  -ffpe-trap=zero,overflow,underflow -fdollar-ok -save-temps > -wrapper gdb --args -c fosyan.f > gfortran: error: unrecognized command line option '--args' > There must be a comma in between gdb and --args: gfortran ... -wrapper gdb,--args >From gcc-bugs-return-657282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:13:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63556 invoked by alias); 23 Oct 2019 11:13: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 63503 invoked by uid 48); 23 Oct 2019 11:13:11 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92185] ICE when perform condition reduction vectorization on uchar ind var Date: Wed, 23 Oct 2019 11:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02008.txt.bz2 Content-length: 528 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92185 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |marxin at gcc dot gnu.org Resolution|--- |FIXED --- Comment #4 from Martin Liška --- Fixed on trunk in r277261. >From gcc-bugs-return-657283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:21:52 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130773 invoked by alias); 23 Oct 2019 11:21: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 126146 invoked by uid 48); 23 Oct 2019 11:21:47 -0000 From: "as at emlix dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92192] New: Undefined symbols in libstdc++ when compiled with lto Date: Wed, 23 Oct 2019 11:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: as at emlix 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: 2019-10/txt/msg02009.txt.bz2 Content-length: 1030 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92192 Bug ID: 92192 Summary: Undefined symbols in libstdc++ when compiled with lto Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: as at emlix dot com Target Milestone: --- I built GCC 9.2.0 with link time optimization (lto) support: CFLAGS="-flto" \ CXXFLAGS="-flto" \ ../configure \ --enable-languages=c,c++ \ --enable-lto \ AR=gcc-ar \ NM=gcc-nm \ RANLIB=gcc-ranlib make When checking symbols of libstdc++, I see a huge list of undefined C and one C++ symbol: nm -DC ./prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6.0.27 | grep ' U ' | grep std:: > U std::istream::ignore(long) > U std::basic_istream >::ignore(long) I could also reproduce this issue with GCC 7.1, 7.4 and 8.3. >From gcc-bugs-return-657284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:24:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40708 invoked by alias); 23 Oct 2019 11:24: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 21758 invoked by uid 48); 23 Oct 2019 11:24:20 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92039] [10 Regression] Spurious -Warray-bounds warnings building 32-bit glibc Date: Wed, 23 Oct 2019 11:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: diagnostic 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: rguenth 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: 2019-10/txt/msg02010.txt.bz2 Content-length: 1023 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92039 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-reduction | CC| |marxin at gcc dot gnu.org --- Comment #4 from Martin Liška --- Just for the record a reduced test-case: int a[3]; void fn1(long b) { int i; for (i = 3; i >= b; --i) a[i] = a[i - b]; } where does not need -m32: $ gcc -Werror=array-bounds -O2 -c ice.i ice.i: In function ‘fn1’: ice.i:6:6: error: array subscript 3 is above array bounds of ‘int[3]’ [-Werror=array-bounds] 6 | a[i] = a[i - b]; | ~^~~ ice.i:1:5: note: while referencing ‘a’ 1 | int a[3]; | ^ cc1: some warnings being treated as errors $ gcc-9 -Werror=array-bounds -O2 -c ice.i >From gcc-bugs-return-657285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:29:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26926 invoked by alias); 23 Oct 2019 11:29: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 26845 invoked by uid 55); 23 Oct 2019 11:29:41 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/81669] trunk/gcc/fibonacci_heap.h:58: possible missing initialisation ? Date: Wed, 23 Oct 2019 11:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02011.txt.bz2 Content-length: 530 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81669 --- Comment #5 from Martin Liška --- Author: marxin Date: Wed Oct 23 11:29:10 2019 New Revision: 277313 URL: https://gcc.gnu.org/viewcvs?rev=277313&root=gcc&view=rev Log: Initialize a field in fibonacci_node. 2019-10-23 Martin Liska PR middle-end/81669 * fibonacci_heap.h (fibonacci_node::fibonacci_node): Initialize m_data. Modified: trunk/gcc/ChangeLog trunk/gcc/fibonacci_heap.h >From gcc-bugs-return-657286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:30:37 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29350 invoked by alias); 23 Oct 2019 11:30: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 29160 invoked by uid 48); 23 Oct 2019 11:30:27 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/81669] trunk/gcc/fibonacci_heap.h:58: possible missing initialisation ? Date: Wed, 23 Oct 2019 11:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02012.txt.bz2 Content-length: 473 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81669 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Martin Liška --- Fixed on trunk, not planning to backport that. >From gcc-bugs-return-657287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:30:37 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29401 invoked by alias); 23 Oct 2019 11:30: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 29225 invoked by uid 48); 23 Oct 2019 11:30:28 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/89863] [meta-bug] Issues that static analyzers (cppcheck, clang-static-analyzer) find that gcc misses Date: Wed, 23 Oct 2019 11:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: diagnostic, meta-bug 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_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: 2019-10/txt/msg02013.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89863 Bug 89863 depends on bug 81669, which changed state. Bug 81669 Summary: trunk/gcc/fibonacci_heap.h:58: possible missing initialisation ? https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81669 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-657288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:34:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48388 invoked by alias); 23 Oct 2019 11:34: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 47761 invoked by uid 48); 23 Oct 2019 11:34:48 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92163] [10 Regression] ICE: Segmentation fault (in bitmap_set_bit) Date: Wed, 23 Oct 2019 11: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-valid-code, openacc 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: 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: 2019-10/txt/msg02014.txt.bz2 Content-length: 609 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92163 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org --- Comment #4 from Martin Liška --- (In reply to prathamesh3492 from comment #3) > Created attachment 47079 [details] > Untested fix > > Does this patch look OK ? > > Thanks, > Prathamesh Yes, I can confirm the patch works for the reduced test-case. >From gcc-bugs-return-657289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:35:25 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49420 invoked by alias); 23 Oct 2019 11:35:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49328 invoked by uid 55); 23 Oct 2019 11:35:20 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92131] [8/9/10 Regression] incorrect assumption that (ao >= 0) is always false Date: Wed, 23 Oct 2019 11:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg02015.txt.bz2 Content-length: 679 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92131 --- Comment #20 from Eric Botcazou --- Author: ebotcazou Date: Wed Oct 23 11:34:48 2019 New Revision: 277314 URL: https://gcc.gnu.org/viewcvs?rev=277314&root=gcc&view=rev Log: PR tree-optimization/92131 * tree-vrp.c (extract_range_from_plus_minus_expr): If the resulting range would be symbolic, drop to varying for any explicit overflow in the constant part or if neither range is a singleton. Added: trunk/gcc/testsuite/gcc.c-torture/execute/20191023-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vrp.c >From gcc-bugs-return-657290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:38:11 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99037 invoked by alias); 23 Oct 2019 11:38: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 98492 invoked by uid 55); 23 Oct 2019 11:38:04 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92131] [8/9/10 Regression] incorrect assumption that (ao >= 0) is always false Date: Wed, 23 Oct 2019 11: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.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg02016.txt.bz2 Content-length: 837 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92131 --- Comment #21 from Eric Botcazou --- Author: ebotcazou Date: Wed Oct 23 11:37:28 2019 New Revision: 277315 URL: https://gcc.gnu.org/viewcvs?rev=277315&root=gcc&view=rev Log: PR tree-optimization/92131 * tree-vrp.c (extract_range_from_plus_minus_expr): If the resulting range would be symbolic, drop to varying for any explicit overflow in the constant part or if neither range is a singleton. Added: branches/gcc-9-branch/gcc/testsuite/gcc.c-torture/execute/20191023-1.c - copied unchanged from r277314, trunk/gcc/testsuite/gcc.c-torture/execute/20191023-1.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/testsuite/ChangeLog branches/gcc-9-branch/gcc/tree-vrp.c >From gcc-bugs-return-657291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:39:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103238 invoked by alias); 23 Oct 2019 11:39:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103128 invoked by uid 55); 23 Oct 2019 11:39:11 -0000 From: "john_watts at isoparix dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92191] internal compiler error: Segmentation fault Date: Wed, 23 Oct 2019 11:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: john_watts at isoparix dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02017.txt.bz2 Content-length: 992 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92191 --- Comment #4 from John Watts --- As directed: gfortran -g  -ffpe-trap=zero,overflow,underflow -fdollar-ok -wrapper gdb, --args -c fosyan.f gfortran: error: unrecognized command line option '--args' Regards, John Watts john_watts@isoparix.com Skype: JS.Watts Tel: +44 (0)20 8549 6501 Mob: +44 (0)774 694 9715 Everything that is Proveable is True. But not everything that is True is Proveable - and we can prove that. On 23/10/2019 12:06, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92191 > > --- Comment #3 from Martin Liška --- >> >> gfortran -g  -ffpe-trap=zero,overflow,underflow -fdollar-ok -save-temps >> -wrapper gdb --args -c fosyan.f >> gfortran: error: unrecognized command line option '--args' >> > There must be a comma in between gdb and --args: > gfortran ... -wrapper gdb,--args > >From gcc-bugs-return-657293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:39:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104664 invoked by alias); 23 Oct 2019 11:39: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 104588 invoked by uid 48); 23 Oct 2019 11:39:34 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92163] [10 Regression] ICE: Segmentation fault (in bitmap_set_bit) Date: Wed, 23 Oct 2019 11:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code, openacc 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02019.txt.bz2 Content-length: 325 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92163 --- Comment #5 from Jakub Jelinek --- I'm not sure it is what we want though, because it will mean more unnecessary compile time work, -fnon-call-exceptions is not on by default for most languages and even if it is, not all stores can throw. >From gcc-bugs-return-657292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:39:17 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103451 invoked by alias); 23 Oct 2019 11:39:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 103184 invoked by uid 55); 23 Oct 2019 11:39:13 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92131] [8/9/10 Regression] incorrect assumption that (ao >= 0) is always false Date: Wed, 23 Oct 2019 11:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg02018.txt.bz2 Content-length: 837 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92131 --- Comment #22 from Eric Botcazou --- Author: ebotcazou Date: Wed Oct 23 11:38:41 2019 New Revision: 277316 URL: https://gcc.gnu.org/viewcvs?rev=277316&root=gcc&view=rev Log: PR tree-optimization/92131 * tree-vrp.c (extract_range_from_plus_minus_expr): If the resulting range would be symbolic, drop to varying for any explicit overflow in the constant part or if neither range is a singleton. Added: branches/gcc-8-branch/gcc/testsuite/gcc.c-torture/execute/20191023-1.c - copied unchanged from r277314, trunk/gcc/testsuite/gcc.c-torture/execute/20191023-1.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/gcc/tree-vrp.c >From gcc-bugs-return-657294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:40:16 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105791 invoked by alias); 23 Oct 2019 11:40:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105733 invoked by uid 48); 23 Oct 2019 11:40:12 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92111] [10 Regression] ICE during GIMPLE pass: dom Date: Wed, 23 Oct 2019 11:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: lto 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: 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: 2019-10/txt/msg02020.txt.bz2 Content-length: 898 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92111 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2019-10-23 CC| |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #7 from Martin Liška --- (In reply to Jan from comment #6) > -fno-semantic-interposition with -flto seems to be the culprit if I drop > either compile works fine. > > > minimum cflags for error: -march=native -O2 -flto -fno-semantic-interposition For the -match=native, we'll output of gcc (all your arguments) --verbose. And also please gcc --version. >From gcc-bugs-return-657295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:41:42 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107360 invoked by alias); 23 Oct 2019 11: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 107310 invoked by uid 48); 23 Oct 2019 11:41:38 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92191] internal compiler error: Segmentation fault Date: Wed, 23 Oct 2019 11:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02021.txt.bz2 Content-length: 162 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92191 --- Comment #5 from Martin Liška --- Replace: gdb, --args with: gdb,--args >From gcc-bugs-return-657296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:43:44 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111632 invoked by alias); 23 Oct 2019 11:43:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111555 invoked by uid 55); 23 Oct 2019 11:43:41 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92039] [10 Regression] Spurious -Warray-bounds warnings building 32-bit glibc Date: Wed, 23 Oct 2019 11: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: diagnostic 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: 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: 2019-10/txt/msg02022.txt.bz2 Content-length: 1458 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92039 --- Comment #5 from rguenther at suse dot de --- On Wed, 23 Oct 2019, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92039 > > Martin Liška changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Keywords|needs-reduction | > CC| |marxin at gcc dot gnu.org > > --- Comment #4 from Martin Liška --- > Just for the record a reduced test-case: > > int a[3]; > > void fn1(long b) { > int i; > for (i = 3; i >= b; --i) > a[i] = a[i - b]; > } > > where does not need -m32: > > $ gcc -Werror=array-bounds -O2 -c ice.i > ice.i: In function ‘fn1’: > ice.i:6:6: error: array subscript 3 is above array bounds of ‘int[3]’ > [-Werror=array-bounds] > 6 | a[i] = a[i - b]; > | ~^~~ > ice.i:1:5: note: while referencing ‘a’ > 1 | int a[3]; > | ^ > cc1: some warnings being treated as errors > > $ gcc-9 -Werror=array-bounds -O2 -c ice.i The testcase is probably misreduced since the very first iteration will write to a[3] out of bounds so it only is valid if the loop is not entered, thus if b < 3. >From gcc-bugs-return-657297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:45:50 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113823 invoked by alias); 23 Oct 2019 11:45: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 113754 invoked by uid 48); 23 Oct 2019 11:45:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92192] Undefined symbols in libstdc++ when compiled with lto Date: Wed, 23 Oct 2019 11:45: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.2.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: 2019-10/txt/msg02023.txt.bz2 Content-length: 298 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92192 --- Comment #1 from Richard Biener --- Building libstdc++ with -flto is not really supported - we apply a fixed symbol export set which isn't tuned for its effects. I remember recent fixes in this area though. >From gcc-bugs-return-657298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:47:10 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115259 invoked by alias); 23 Oct 2019 11:47: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 115216 invoked by uid 48); 23 Oct 2019 11:47:06 -0000 From: "john_watts at isoparix dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92191] internal compiler error: Segmentation fault Date: Wed, 23 Oct 2019 11: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: 7.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: john_watts at isoparix dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02024.txt.bz2 Content-length: 1617 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92191 --- Comment #6 from John Watts --- e:\ISOPERF\SRC>gfortran -g -ffpe-trap=zero,overflow,underflow -fdollar-ok -wrapper gdb,--args -c fosyan.f GNU gdb (GDB) (Cygwin 8.1.1-1) 8.1.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-cygwin". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/lib/gcc/x86_64-pc-cygwin/7.4.0/f951.exe...(no debugging symbols found)...done. (gdb) run Starting program: /usr/lib/gcc/x86_64-pc-cygwin/7.4.0/f951.exe fosyan.f -ffixed-form -quiet -dumpbase fosyan.f -mtune=generic -march =x86-64 -auxbase fosyan -g -ffpe-trap=zero,overflow,underflow -fdollar-ok -fintrinsic-modules-path /usr/lib/gcc/x86_64-pc-cygwin/7.4 .0/finclude -o /cygdrive/c/Users/John/AppData/Local/Temp/ccARjpXR.s [New Thread 11648.0x1fbc] [New Thread 11648.0x2e2c] [New Thread 11648.0x2e8c] [New Thread 11648.0x1884] Thread 1 "f951" received signal SIGSEGV, Segmentation fault. 0x00000001004fcf20 in ?? () (gdb) >From gcc-bugs-return-657300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:58:37 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2141 invoked by alias); 23 Oct 2019 11:58:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130614 invoked by uid 48); 23 Oct 2019 11:58:33 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/80485] rejects-valid: constexpr static_cast of pointer-to-member-function to bool Date: Wed, 23 Oct 2019 11:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.2 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: 2019-10/txt/msg02026.txt.bz2 Content-length: 445 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80485 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eugene at hutorny dot in.ua --- Comment #10 from Jonathan Wakely --- *** Bug 67245 has been marked as a duplicate of this bug. *** >From gcc-bugs-return-657299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 11:58:37 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2031 invoked by alias); 23 Oct 2019 11:58:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130208 invoked by uid 48); 23 Oct 2019 11:58:32 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67245] static_assert on inline function gives an error Date: Wed, 23 Oct 2019 11: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: 4.9.2 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg02025.txt.bz2 Content-length: 551 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67245 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Jonathan Wakely --- Looks like a dup of Bug 80485 which is fixed in GCC 8.2 and later. *** This bug has been marked as a duplicate of bug 80485 *** >From gcc-bugs-return-657301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:03:43 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64794 invoked by alias); 23 Oct 2019 12:03: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 64757 invoked by uid 48); 23 Oct 2019 12:03:39 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/55722] failed static_assert won't trigger a second time Date: Wed, 23 Oct 2019 12: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: 4.8.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02027.txt.bz2 Content-length: 2523 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55722 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-23 Ever confirmed|0 |1 --- Comment #3 from Jonathan Wakely --- The diagnostics have changed since GCC 8, so that the ONLY_ONE case no longer stops after the failed static_assert (which seems like a regression to me): 55722.cc: In instantiation of ‘struct __assert_callable >’: 55722.cc:54:41: required from ‘void call(_Callable&&, _Args&& ...) [with _Callable = void (&)(int&); _Args = {}]’ 55722.cc:62:9: required from here 55722.cc:28:19: error: static assertion failed: Invalid arguments for callable type static_assert(_Callable::value, "Invalid arguments for callable type"); ^~~~~~~~~ 55722.cc: In instantiation of ‘decltype (__check_callable<_Callable, _Args ...>(0)) __bind_simple(_Callable&&, _Args&& ...) [with _Callable = void (&)(int&); _Args = {}; decltype (__check_callable<_Callable, _Args ...>(0)) = __assert_callable >]’: 55722.cc:54:41: required from ‘void call(_Callable&&, _Args&& ...) [with _Callable = void (&)(int&); _Args = {}]’ 55722.cc:62:9: required from here 55722.cc:47:96: error: could not convert ‘_Bind_simple((* & std::forward((* & __callable))))’ from ‘__bindexpr_type’ {aka ‘_Bind_simple’} to ‘__assert_callable >’ return __bindexpr_type( std::forward<_Callable>(__callable), std::forward<_Args>(__args)...); ^ When there's a second call the static_assert is only given once, but the "could not convert" is given twice. So the bug is still present (either the static_assert should stop compilation, or should produce a diagnostic message every time it fails). >From gcc-bugs-return-657302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:13:33 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86895 invoked by alias); 23 Oct 2019 12:13:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86801 invoked by uid 55); 23 Oct 2019 12:13:29 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91885] [9 Regression] ICE when compiling SPEC 2017 blender benchmark with -O3 -fprofile-generate Date: Wed, 23 Oct 2019 12:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin 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: 2019-10/txt/msg02028.txt.bz2 Content-length: 993 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91885 --- Comment #8 from Martin Liška --- Author: marxin Date: Wed Oct 23 12:12:57 2019 New Revision: 277317 URL: https://gcc.gnu.org/viewcvs?rev=277317&root=gcc&view=rev Log: Backport r276141 2019-10-23 Martin Liska Backport from mainline 2019-09-26 Martin Liska PR tree-optimization/91885 * tree-vectorizer.c (try_vectorize_loop_1): Add TODO_update_ssa_only_virtuals similarly to what slp pass does. 2019-10-23 Martin Liska Backport from mainline 2019-09-26 Martin Liska PR tree-optimization/91885 * gcc.dg/pr91885.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.dg/pr91885.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/testsuite/ChangeLog branches/gcc-9-branch/gcc/tree-vectorizer.c >From gcc-bugs-return-657303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:14:33 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88060 invoked by alias); 23 Oct 2019 12:14:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88011 invoked by uid 48); 23 Oct 2019 12:14:29 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92193] New: Poor diagnostics when a constexpr function call follows a failed static_assert Date: Wed, 23 Oct 2019 12: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: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter 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: 2019-10/txt/msg02029.txt.bz2 Content-length: 2794 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92193 Bug ID: 92193 Summary: Poor diagnostics when a constexpr function call follows a failed static_assert Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org CC: jason at gcc dot gnu.org Target Milestone: --- If we compile this with NO_CONSTEXPR the diagnostic is fine: template struct has_foo { static constexpr bool value = false; }; template #ifndef NO_CONSTEXPR constexpr #endif bool foo(T t) noexcept(noexcept(t.foo())) { return t.foo(); } template void maybe_foo(T t) { static_assert( has_foo::value, "has foo" ); foo(t); } struct X { }; int main() { X x; maybe_foo(x); } ce.cc: In instantiation of ‘void maybe_foo(T) [with T = X]’: ce.cc:26:14: required from here ce.cc:17:20: error: static assertion failed: has foo static_assert( has_foo::value, "has foo" ); ^~~~~~~~~~ However, when the function is constexpr the output is much worse: ce.cc: In instantiation of ‘void maybe_foo(T) [with T = X]’: ce.cc:23:14: required from here ce.cc:14:20: error: static assertion failed: has foo static_assert( has_foo::value, "has foo" ); ^~~~~~~~~~ ce.cc: In instantiation of ‘constexpr bool foo(T) [with T = X]’: ce.cc:15:8: required from ‘void maybe_foo(T) [with T = X]’ ce.cc:23:14: required from here ce.cc:7:32: error: ‘struct X’ has no member named ‘foo’ foo(T t) noexcept(noexcept(t.foo())) ~~^~~ ce.cc: In instantiation of ‘constexpr bool foo(T) [with T = X]’: ce.cc:15:8: required from ‘void maybe_foo(T) [with T = X]’ ce.cc:23:14: required from here ce.cc:7:32: error: ‘struct X’ has no member named ‘foo’ ce.cc:8:14: error: ‘struct X’ has no member named ‘foo’ { return t.foo(); } ~~^~~ The errors following the static assertion are not useful. The static_assert is there precisely to make compilation fail, but it doesn't stop errors being produced from the constexpr function that follows it (even though we're in a non-constexpr function). This affects libstdc++ because adding 'constexpr' throughout the library means that suddenly we get loads more errors in the testsuite and need to tell dejagnu to ignore them. >From gcc-bugs-return-657304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:17:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129402 invoked by alias); 23 Oct 2019 12:17: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 129307 invoked by uid 55); 23 Oct 2019 12:17:00 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91885] [9 Regression] ICE when compiling SPEC 2017 blender benchmark with -O3 -fprofile-generate Date: Wed, 23 Oct 2019 12:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin 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: 2019-10/txt/msg02030.txt.bz2 Content-length: 708 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91885 --- Comment #9 from Martin Liška --- Author: marxin Date: Wed Oct 23 12:16:28 2019 New Revision: 277318 URL: https://gcc.gnu.org/viewcvs?rev=277318&root=gcc&view=rev Log: Backport r276178 2019-10-23 Martin Liska Backport from mainline 2019-09-27 Jakub Jelinek PR tree-optimization/91885 * gcc.dg/pr91885.c (__int64_t): Change from long to long long. (__uint64_t): Change from unsigned long to unsigned long long. Modified: branches/gcc-9-branch/gcc/testsuite/ChangeLog branches/gcc-9-branch/gcc/testsuite/gcc.dg/pr91885.c >From gcc-bugs-return-657305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:17:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130366 invoked by alias); 23 Oct 2019 12:17: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 130273 invoked by uid 48); 23 Oct 2019 12:17:31 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91885] [9 Regression] ICE when compiling SPEC 2017 blender benchmark with -O3 -fprofile-generate Date: Wed, 23 Oct 2019 12:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02031.txt.bz2 Content-length: 514 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91885 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Known to work| |9.2.1 Resolution|--- |FIXED --- Comment #10 from Martin Liška --- Fixed on all affected branches. >From gcc-bugs-return-657306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:26:24 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30427 invoked by alias); 23 Oct 2019 12: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 30384 invoked by uid 48); 23 Oct 2019 12:26:20 -0000 From: "malcolm.parsons at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92194] New: maybe-uninitialized false positive with c++2a Date: Wed, 23 Oct 2019 12:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: malcolm.parsons 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: 2019-10/txt/msg02032.txt.bz2 Content-length: 1941 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92194 Bug ID: 92194 Summary: maybe-uninitialized false positive with c++2a Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: malcolm.parsons at gmail dot com Target Milestone: --- For this code: #include #include #include void f(const std::string& t) { if (std::any_of(t.begin(), t.end(), [](const auto& c) { return c == 0b01000000; })) { std::string s; std::optional f; for (auto i = t.begin(); i != t.end(); ++i) { const auto n = *i; if (n == 0b01000000) { f = i; } else if (f) { std::string_view key(&(**f), 2); s += key; f.reset(); } } } } With gcc 9.2.0, g++ -std=c++17 -O3 -Wmaybe-uninitialized reports no warnings. g++ -std=c++2a -O3 -Wmaybe-uninitialized reports: : In function 'void f(const string&)': :12:52: warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized] 12 | std::optional f; | ^ See https://gcc.godbolt.org/z/ph3l0u With gcc trunk, the warning changes to: : In function 'void f(const string&)': :15:52: warning: 'f.__gnu_cxx::__normal_iterator >::_M_current' may be used uninitialized in this function [-Wmaybe-uninitialized] 15 | std::optional f; | ^ See https://gcc.godbolt.org/z/8rGDGi >From gcc-bugs-return-657307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:28:41 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32418 invoked by alias); 23 Oct 2019 12: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 32361 invoked by uid 48); 23 Oct 2019 12:28:37 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/91944] [10 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6156 since r274997 Date: Wed, 23 Oct 2019 12:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 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: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc cf_known_to_work assigned_to target_milestone short_desc everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02033.txt.bz2 Content-length: 1177 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91944 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-23 CC| |marxin at gcc dot gnu.org Known to work| |9.2.0 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Target Milestone|--- |10.0 Summary|ICE in |[10 Regression] ICE in |gfc_conv_array_initializer, |gfc_conv_array_initializer, |at |at |fortran/trans-array.c:6156 |fortran/trans-array.c:6156 | |since r274997 Ever confirmed|0 |1 Known to fail| |10.0 --- Comment #1 from Martin Liška --- Can be seen on x86_64-linux-gnu. >From gcc-bugs-return-657310-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:29:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39368 invoked by alias); 23 Oct 2019 12:29: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 35162 invoked by uid 48); 23 Oct 2019 12:29:24 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/91944] [10 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6156 since r274997 Date: Wed, 23 Oct 2019 12:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 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: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 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: 2019-10/txt/msg02036.txt.bz2 Content-length: 248 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91944 --- Comment #3 from Martin Liška --- (In reply to Martin Liška from comment #2) > Created attachment 47092 [details] > Reduced test-case Sorry, wrong bug. >From gcc-bugs-return-657308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:29:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33306 invoked by alias); 23 Oct 2019 12: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 33241 invoked by uid 48); 23 Oct 2019 12:29:01 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/91944] [10 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6156 since r274997 Date: Wed, 23 Oct 2019 12:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 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: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor 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: 2019-10/txt/msg02034.txt.bz2 Content-length: 242 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91944 --- Comment #2 from Martin Liška --- Created attachment 47092 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47092&action=edit Reduced test-case >From gcc-bugs-return-657309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:29:17 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33990 invoked by alias); 23 Oct 2019 12:29: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 33957 invoked by uid 48); 23 Oct 2019 12:29:13 -0000 From: "john_watts at isoparix dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92191] internal compiler error: Segmentation fault Date: Wed, 23 Oct 2019 12:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: john_watts at isoparix dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02035.txt.bz2 Content-length: 838 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92191 --- Comment #7 from John Watts --- (gdb) backtrace #0 0x00000001004fcf20 in ?? () #1 0x00000001004fd4c9 in ?? () #2 0x00000001004fd6d0 in ?? () #3 0x000000010050aac4 in ?? () #4 0x00000001004983af in ?? () #5 0x00000001004df32b in ?? () #6 0x00000001008fd8ac in ?? () #7 0x00000001010e7b8d in ?? () #8 0x0000000101107545 in ?? () #9 0x000000018004a816 in _cygwin_exit_return () from /usr/bin/cygwin1.dll #10 0x0000000180048353 in _cygtls::call2(unsigned int (*)(void*, void*), void*, void*) () from /usr/bin/cygwin1.dll #11 0x0000000180048404 in _cygtls::call(unsigned int (*)(void*, void*), void*) () from /usr/bin/cygwin1.dll #12 0x0000000000000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) >From gcc-bugs-return-657311-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:30:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51963 invoked by alias); 23 Oct 2019 12:30: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 48350 invoked by uid 48); 23 Oct 2019 12:30:05 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/91944] [10 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6156 Date: Wed, 23 Oct 2019 12:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2019-10/txt/msg02037.txt.bz2 Content-length: 354 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91944 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |UNCONFIRMED Ever confirmed|1 |0 >From gcc-bugs-return-657312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:30:49 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52833 invoked by alias); 23 Oct 2019 12:30: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 52772 invoked by uid 48); 23 Oct 2019 12:30:36 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91945] [10 Regression] ICE: tree check: expected integer_cst, have var_decl in get_len, at tree.h:5837 since r274997 Date: Wed, 23 Oct 2019 12: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-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc cf_known_to_work assigned_to short_desc everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02038.txt.bz2 Content-length: 1034 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91945 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-23 CC| |marxin at gcc dot gnu.org Known to work| |9.2.0 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Summary|[10 Regression] ICE: tree |[10 Regression] ICE: tree |check: expected |check: expected |integer_cst, have var_decl |integer_cst, have var_decl |in get_len, at tree.h:5837 |in get_len, at tree.h:5837 | |since r274997 Ever confirmed|0 |1 Known to fail| |10.0 >From gcc-bugs-return-657313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:31:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53633 invoked by alias); 23 Oct 2019 12:31: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 53574 invoked by uid 48); 23 Oct 2019 12:30:56 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91945] [10 Regression] ICE: tree check: expected integer_cst, have var_decl in get_len, at tree.h:5837 since r274997 Date: Wed, 23 Oct 2019 12:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor 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: 2019-10/txt/msg02039.txt.bz2 Content-length: 242 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91945 --- Comment #1 from Martin Liška --- Created attachment 47093 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47093&action=edit Reduced test-case >From gcc-bugs-return-657315-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:32:03 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56216 invoked by alias); 23 Oct 2019 12:32: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 56064 invoked by uid 55); 23 Oct 2019 12:31:56 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/91887] [7/8 Regression] -fdebug-types-section ICE building chromium Date: Wed, 23 Oct 2019 12:32: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: major 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: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02043.txt.bz2 Content-length: 1385 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91887 --- Comment #9 from Richard Biener --- Author: rguenth Date: Wed Oct 23 12:31:24 2019 New Revision: 277319 URL: https://gcc.gnu.org/viewcvs?rev=277319&root=gcc&view=rev Log: 2019-10-23 Richard Biener Backport from mainline 2019-10-17 Richard Biener PR debug/91887 * dwarf2out.c (gen_formal_parameter_die): Also try to match context_die against a DW_TAG_GNU_formal_parameter_pack parent. * g++.dg/debug/dwarf2/pr91887.C: New testcase. 2019-09-19 Richard Biener PR tree-optimization/91812 * tree-ssa-phiprop.c (propagate_with_phi): Do not replace volatile loads. * gcc.dg/torture/pr91812.c: New testcase. 2019-09-17 Richard Biener PR debug/91772 * dwarf2out.c (dwarf2out_late_global_decl): If early dwarf was missing generate locations only once. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/debug/dwarf2/pr91887.C branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr91812.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/dwarf2out.c branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/gcc/tree-ssa-phiprop.c >From gcc-bugs-return-657317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:32:17 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57916 invoked by alias); 23 Oct 2019 12:32: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 57251 invoked by uid 48); 23 Oct 2019 12:32:11 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/91772] [8 Regression] ICE in add_dwarf_attr, at dwarf2out.c:4412 since r259749 Date: Wed, 23 Oct 2019 12:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.3.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02042.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91772 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Known to work| |8.3.1 Resolution|--- |FIXED --- Comment #9 from Richard Biener --- Fixed. >From gcc-bugs-return-657316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:32:07 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56831 invoked by alias); 23 Oct 2019 12:32: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 56087 invoked by uid 55); 23 Oct 2019 12:31:58 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91812] [7 Regression] GCC ignores volatile modifier Date: Wed, 23 Oct 2019 12:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.3.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: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02041.txt.bz2 Content-length: 1386 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91812 --- Comment #10 from Richard Biener --- Author: rguenth Date: Wed Oct 23 12:31:24 2019 New Revision: 277319 URL: https://gcc.gnu.org/viewcvs?rev=277319&root=gcc&view=rev Log: 2019-10-23 Richard Biener Backport from mainline 2019-10-17 Richard Biener PR debug/91887 * dwarf2out.c (gen_formal_parameter_die): Also try to match context_die against a DW_TAG_GNU_formal_parameter_pack parent. * g++.dg/debug/dwarf2/pr91887.C: New testcase. 2019-09-19 Richard Biener PR tree-optimization/91812 * tree-ssa-phiprop.c (propagate_with_phi): Do not replace volatile loads. * gcc.dg/torture/pr91812.c: New testcase. 2019-09-17 Richard Biener PR debug/91772 * dwarf2out.c (dwarf2out_late_global_decl): If early dwarf was missing generate locations only once. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/debug/dwarf2/pr91887.C branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr91812.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/dwarf2out.c branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/gcc/tree-ssa-phiprop.c >From gcc-bugs-return-657314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:32:03 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56211 invoked by alias); 23 Oct 2019 12:32: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 56062 invoked by uid 55); 23 Oct 2019 12:31:56 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/91772] [8 Regression] ICE in add_dwarf_attr, at dwarf2out.c:4412 since r259749 Date: Wed, 23 Oct 2019 12:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 8.3.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg02040.txt.bz2 Content-length: 1385 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91772 --- Comment #8 from Richard Biener --- Author: rguenth Date: Wed Oct 23 12:31:24 2019 New Revision: 277319 URL: https://gcc.gnu.org/viewcvs?rev=277319&root=gcc&view=rev Log: 2019-10-23 Richard Biener Backport from mainline 2019-10-17 Richard Biener PR debug/91887 * dwarf2out.c (gen_formal_parameter_die): Also try to match context_die against a DW_TAG_GNU_formal_parameter_pack parent. * g++.dg/debug/dwarf2/pr91887.C: New testcase. 2019-09-19 Richard Biener PR tree-optimization/91812 * tree-ssa-phiprop.c (propagate_with_phi): Do not replace volatile loads. * gcc.dg/torture/pr91812.c: New testcase. 2019-09-17 Richard Biener PR debug/91772 * dwarf2out.c (dwarf2out_late_global_decl): If early dwarf was missing generate locations only once. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/debug/dwarf2/pr91887.C branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr91812.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/dwarf2out.c branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/gcc/tree-ssa-phiprop.c >From gcc-bugs-return-657318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:32:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59088 invoked by alias); 23 Oct 2019 12:32:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 59048 invoked by uid 48); 23 Oct 2019 12:32:35 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/91916] Maybe a dead code in socket.d Date: Wed, 23 Oct 2019 12:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02044.txt.bz2 Content-length: 136 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91916 --- Comment #1 from Martin Liška --- @Iain: ping >From gcc-bugs-return-657319-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:33:43 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83619 invoked by alias); 23 Oct 2019 12:33: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 83580 invoked by uid 48); 23 Oct 2019 12:33:39 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92184] [ASAN] errors in bootstrap Date: Wed, 23 Oct 2019 12:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02045.txt.bz2 Content-length: 174 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92184 --- Comment #3 from David Binderman --- Problem seems to have gone away at revision 277300. >From gcc-bugs-return-657321-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:35:36 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89543 invoked by alias); 23 Oct 2019 12:35: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 89410 invoked by uid 48); 23 Oct 2019 12:35:31 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/40135] using alias-set zero for union accesses necessary because of RTL alias oracle Date: Wed, 23 Oct 2019 12:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.5.0 X-Bugzilla-Keywords: alias, missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status blocked 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: 2019-10/txt/msg02047.txt.bz2 Content-length: 1034 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40135 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Blocks| |71002 Resolution|--- |FIXED --- Comment #7 from Richard Biener --- Fixed by 2016-06-29 Richard Biener PR middle-end/71002 * c-common.c (c_common_get_alias_set): Remove union type punning case. * alias.c (component_uses_parent_alias_set_from): Handle type punning through union accesses by using the union alias set. * gimple.c (gimple_get_alias_set): Remove union type punning case. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71002 [Bug 71002] [6 Regression] -fstrict-aliasing breaks Boost's short string optimization implementation >From gcc-bugs-return-657320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:35:36 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89507 invoked by alias); 23 Oct 2019 12:35: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 89431 invoked by uid 48); 23 Oct 2019 12:35:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/71002] [6 Regression] -fstrict-aliasing breaks Boost's short string optimization implementation Date: Wed, 23 Oct 2019 12:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.2 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: 2019-10/txt/msg02046.txt.bz2 Content-length: 505 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71002 Bug 71002 depends on bug 40135, which changed state. Bug 40135 Summary: using alias-set zero for union accesses necessary because of RTL alias oracle https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40135 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-657322-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:38:40 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32397 invoked by alias); 23 Oct 2019 12:38: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 29052 invoked by uid 55); 23 Oct 2019 12:38:36 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/90231] ivopts causes iterator in the loop Date: Wed, 23 Oct 2019 12:38: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: 9.0 X-Bugzilla-Keywords: wrong-debug 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: amker at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02048.txt.bz2 Content-length: 627 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90231 --- Comment #20 from Jakub Jelinek --- Author: jakub Date: Wed Oct 23 12:38:03 2019 New Revision: 277321 URL: https://gcc.gnu.org/viewcvs?rev=277321&root=gcc&view=rev Log: PR debug/90231 * tree-ssa-loop-ivopts.c (get_debug_computation_at): New function. (remove_unused_ivs): Use it instead of get_computation_at. When choosing best candidate, only consider candidates where get_debug_computation_at actually returns non-NULL. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-ssa-loop-ivopts.c >From gcc-bugs-return-657323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:42:26 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120414 invoked by alias); 23 Oct 2019 12:42: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 120324 invoked by uid 55); 23 Oct 2019 12:42:22 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65930] Reduction with sign-change not handled Date: Wed, 23 Oct 2019 12:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02049.txt.bz2 Content-length: 1198 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #19 from Richard Biener --- Author: rguenth Date: Wed Oct 23 12:41:49 2019 New Revision: 277322 URL: https://gcc.gnu.org/viewcvs?rev=277322&root=gcc&view=rev Log: 2019-10-23 Richard Biener PR tree-optimization/65930 * tree-vect-loop.c (check_reduction_path): Allow conversions that only change the sign. (vectorizable_reduction): Relax latch def stmts we handle further. * gcc.dg/vect/vect-reduc-2char-big-array.c: Adjust. * gcc.dg/vect/vect-reduc-2char.c: Likewise. * gcc.dg/vect/vect-reduc-2short.c: Likewise. * gcc.dg/vect/vect-reduc-dot-s8b.c: Likewise. * gcc.dg/vect/vect-reduc-pattern-2c.c: Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/vect-reduc-2char-big-array.c trunk/gcc/testsuite/gcc.dg/vect/vect-reduc-2char.c trunk/gcc/testsuite/gcc.dg/vect/vect-reduc-2short.c trunk/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8b.c trunk/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-2c.c trunk/gcc/tree-vect-loop.c >From gcc-bugs-return-657325-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:48:43 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 470 invoked by alias); 23 Oct 2019 12:48: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 129960 invoked by uid 48); 23 Oct 2019 12:48:38 -0000 From: "linkw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92162] [10 Regression] ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:4252 Date: Wed, 23 Oct 2019 12:48: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: linkw at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg02051.txt.bz2 Content-length: 431 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92162 Kewen Lin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |linkw at gcc dot gnu.org --- Comment #6 from Kewen Lin --- *** Bug 92185 has been marked as a duplicate of this bug. *** >From gcc-bugs-return-657324-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:48:43 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 364 invoked by alias); 23 Oct 2019 12:48: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 129832 invoked by uid 48); 23 Oct 2019 12:48:38 -0000 From: "linkw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92185] ICE when perform condition reduction vectorization on uchar ind var Date: Wed, 23 Oct 2019 12:48: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: linkw at gcc dot gnu.org X-Bugzilla-Status: CLOSED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02050.txt.bz2 Content-length: 596 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92185 Kewen Lin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Resolution|FIXED |DUPLICATE --- Comment #5 from Kewen Lin --- Confirmed that latest trunk already fixed it and bisect shows the same result as what Martin pointed out (Thanks Martin). *** This bug has been marked as a duplicate of bug 92162 *** >From gcc-bugs-return-657326-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:55:20 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74265 invoked by alias); 23 Oct 2019 12: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 71594 invoked by uid 48); 23 Oct 2019 12:55:15 -0000 From: "gcc-bugs at marehr dot dialup.fu-berlin.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87768] [8 Regression] ICE in tsubst_copy_and_build, at cp/pt.c:19002 when using concepts Date: Wed, 23 Oct 2019 12:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: gcc-bugs at marehr dot dialup.fu-berlin.de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg02052.txt.bz2 Content-length: 319 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87768 --- Comment #6 from gcc-bugs at marehr dot dialup.fu-berlin.de --- I can confirm that this works from 9 and up. Is there any chance to backport it to 8? In the ticket it says `Target Milestone: 8.4`, does that mean there will be a 8.4 release that fixes this? >From gcc-bugs-return-657327-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 12:56:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87200 invoked by alias); 23 Oct 2019 12:56: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 87144 invoked by uid 48); 23 Oct 2019 12:56:25 -0000 From: "wilco at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92172] ARM Thumb2 frame pointers inconsistent with clang Date: Wed, 23 Oct 2019 12:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.3.1 X-Bugzilla-Keywords: ABI X-Bugzilla-Severity: enhancement X-Bugzilla-Who: wilco at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02053.txt.bz2 Content-length: 2663 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92172 --- Comment #4 from Wilco --- (In reply to Seth LaForge from comment #2) > Good point on frame pointers vs a frame chain for unwinding. I'm looking for > the unwindable frame chain. > > Wilco: > > Why does this matter? Well as your examples show, if you want to emit a frame > > chain using standard push/pop, it typically ends up pointing to the top of the > > frame. That is the worst possible position for a frame pointer on Thumb - while > > Arm supports negative immediate offsets up to 4KB, Thumb-1 doesn't support > > negative offsets at all, and Thumb-2 supports offsets up to -255 but only with > > 32-bit instructions. So the result of conflating the frame chain and frame > > pointer implies a terrible codesize hit for Thumb. > > Well, there's really no need for a frame pointer for efficiency, since the > stack frame can be efficiently accessed with positive immediate accesses > relative to the stack pointer. There are even special encodings for Thumb-2 > 16-bit LDR/STR which allow an immediate offset of 0 to 1020 when relative to > SP - much larger than other registers. You're saying using a frame pointer > implies a terrible codesize hit for Thumb, but I don't see how that can be - > stack access will continue to go through SP, and the only code size hit > should be pushing/popping R7 (~2 cycles), computing R7 as a frame pointer > (~1 cycle), and potential register spills due to one less register > available. That's a pretty small amount of overhead for a non-leaf function. On GCC10 the codesize overhead of -fno-omit-frame-pointer is 4.1% for Arm and 4.8% for Thumb-2 (measured on SPEC2006). That's already a large overhead, especially since this feature doesn't do anything useful besides adding overhead... The key is that GCC uses the frame pointer for every stack access, and thus the placement of the frame pointer within a frame matters. Thumb compilers place the frame pointer at the bottom of the frame so they can efficiently access locals using positive offsets. Despite that the overhead is significant already. If GCC would emit a frame chain like the LLVM sequence this means placing the frame pointer at the top of the stack. This forces negative frame offsets for all frame accesses. Getting a 10% overhead is being lucky, I've seen worse... So this is something that needs to be properly designed and carefully implemented. > Baseline: With gcc 4.7, -fomit-frame-pointer, -mthumb: 384016 bytes, 110.943 > s. Thanks for posting actual numbers, but GCC 4.7?!? It might be time to try GCC9... >From gcc-bugs-return-657328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 13:05:21 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86907 invoked by alias); 23 Oct 2019 13:05: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 86766 invoked by uid 48); 23 Oct 2019 13:05:16 -0000 From: "jan at jki dot io" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92111] [10 Regression] ICE during GIMPLE pass: dom Date: Wed, 23 Oct 2019 13:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: jan at jki dot io 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: 2019-10/txt/msg02054.txt.bz2 Content-length: 7092 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92111 --- Comment #8 from Jan --- gcc is version 10.0.0 git revision e04a052b62e09874b0d61a217a5eb5b6eae5cdc5 CFLAGS=-pipe -march=native -O2 -fno-semantic-interposition -flto -v -save-temps /usr/libexec/gcc/x86_64-pc-linux-gnu/10.0.0-pre9999/lto1 -march=skylake -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -msgx -mbmi2 -mno-pconfig -mno-wbnoinvd - mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrtm -mhle -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mclflushopt -mxsavec -mxsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mw aitx -mno-clzero -mno-pku -mno-rdpid -mno-gfni -mno-shstk -mno-avx512vbmi2 -mno-avx512vnni -mno-vaes -mno-vpclmulqdq -mno-avx512bitalg -mno-movdiri -mno-movdir64b -mno-waitpkg -mno-cldemote -mno-ptwrite -mno-avx512bf16 -mno-enqcmd -mno-avx512vp2intersect -quiet -dumpdir ./ -dumpbase libQt5Gui.so.5.12.5.ltrans12 -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-ss e4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -msgx -mbmi2 -mno-pconfig -mno-wbnoinvd -mno-tbm -mavx -mavx2 -msse4.2 -mlzcnt -mrtm -mhle -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mclflushopt -mxsavec -mxsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid -mno-gfni -mno-shstk -mno-avx512vbmi2 -mno-avx512vnni -mno-vaes -mno-vpclmulqdq -mno-avx512bitalg -mno-movdiri -mno-movdir64b -mno-waitpkg -mno-cldemote -mno-ptwrite -mno-avx512bf16 -mno-enqc md -mno-avx512vp2intersect -mtune=skylake -msse4.1 -auxbase-strip libQt5Gui.so.5.12.5.ltrans12.ltrans.o -O2 -O2 -version -fno-openmp -fno-openacc -fPIC -fno-semantic-interposition -fuse-ld=gold -fltrans @/var/tmp/portage/dev-qt/qtgui-5.12.5/temp/ccDJPKT5 -o libQt5Gui.so.5.12.5.ltrans12.s GNU GIMPLE (Gentoo 10.0.0_pre9999) version 10.0.0-pre9999 20191023 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 10.0.0-pre9999 20191023 (experimental), GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU GIMPLE (Gentoo 10.0.0_pre9999) version 10.0.0-pre9999 20191023 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 10.0.0-pre9999 20191023 (experimental), GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 during GIMPLE pass: dom vulkan/qvulkanwindow.cpp: In member function ‘createTransientImage’: vulkan/qvulkanwindow.cpp:1289:6: internal compiler error: Segmentation fault 1289 | bool QVulkanWindowPrivate::createTransientImage(VkFormat format, | ^ 0x7c0679 crash_signal /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/toplev.c:326 0x7f7fdda1770f ??? /var/tmp/portage/sys-libs/glibc-2.30/work/glibc-2.30/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 0x11175e1 top_bit_of /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/wide-int.cc:423 0x11175e1 wi::sub_large(long*, long const*, unsigned int, long const*, unsigned int, unsigned int, signop, wi::overflow_type*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/wide-int.cc:1553 0x122e8f9 wi::binary_traits, generic_wide_int, wi::int_traits >::precision_type, wi::int_traits >::precision_type>::result_type wi::sub, generic_wide_int >(generic_wide_int const&, generic_wide_int const&) /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/wide-int.h:2537 0x122e8f9 operator_cast::fold_range(tree_node*, value_range_base const&, value_range_base const&) const /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/range-op.cc:1578 0x10d81f8 range_fold_unary_expr(value_range_base*, tree_code, tree_node*, value_range_base const*, tree_node*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/tree-vrp.c:1956 0x110c1fd vr_values::extract_range_from_unary_expr(value_range*, tree_code, tree_node*, tree_node*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/vr-values.c:934 0x1109287 vr_values::extract_range_from_assignment(value_range*, gassign*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/vr-values.c:1471 0x1109287 vr_values::vrp_visit_assignment_or_call(gimple*, tree_node**, value_range*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/vr-values.c:2090 0x1109287 vr_values::extract_range_from_stmt(gimple*, edge_def**, tree_node**, value_range*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/vr-values.c:2822 0x11f2ef3 evrp_range_analyzer::record_ranges_from_stmt(gimple*, bool) /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/gimple-ssa-evrp-analyze.c:307 0x10ba6fa record_temporary_equivalences_from_stmts_at_dest /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/tree-ssa-threadedge.c:293 0x10b9960 thread_through_normal_block /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/tree-ssa-threadedge.c:1062 0x10b8d0d thread_across_edge /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/tree-ssa-threadedge.c:1260 0x1026da5 dom_opt_dom_walker::after_dom_children(basic_block_def*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/tree-ssa-dom.c:1549 0x11e6a81 dom_walker::walk(basic_block_def*) /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/domwalk.c:352 0x1021683 execute /var/tmp/portage/sys-devel/gcc-10.0.0_pre9999/work/gcc-10.0.0_pre9999/gcc/tree-ssa-dom.c:724 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-657329-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 13:18:10 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44178 invoked by alias); 23 Oct 2019 13:18: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 44020 invoked by uid 55); 23 Oct 2019 13:18:06 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92131] [8/9/10 Regression] incorrect assumption that (ao >= 0) is always false Date: Wed, 23 Oct 2019 13:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg02055.txt.bz2 Content-length: 837 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92131 --- Comment #23 from Eric Botcazou --- Author: ebotcazou Date: Wed Oct 23 13:17:34 2019 New Revision: 277331 URL: https://gcc.gnu.org/viewcvs?rev=277331&root=gcc&view=rev Log: PR tree-optimization/92131 * tree-vrp.c (extract_range_from_plus_minus_expr): If the resulting range would be symbolic, drop to varying for any explicit overflow in the constant part or if neither range is a singleton. Added: branches/gcc-7-branch/gcc/testsuite/gcc.c-torture/execute/20191023-1.c - copied unchanged from r277330, trunk/gcc/testsuite/gcc.c-torture/execute/20191023-1.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/tree-vrp.c >From gcc-bugs-return-657330-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 13:19:44 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59890 invoked by alias); 23 Oct 2019 13:19: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 59825 invoked by uid 48); 23 Oct 2019 13:19:40 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92131] [8/9/10 Regression] incorrect assumption that (ao >= 0) is always false Date: Wed, 23 Oct 2019 13:19: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.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status version 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: 2019-10/txt/msg02056.txt.bz2 Content-length: 514 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92131 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Version|9.1.0 |8.3.0 Resolution|--- |FIXED --- Comment #24 from Eric Botcazou --- Thanks for reporting the problem. >From gcc-bugs-return-657331-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 13:22:57 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 91883 invoked by alias); 23 Oct 2019 13:22: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 89529 invoked by uid 48); 23 Oct 2019 13:22:53 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92195] New: [7/8 Regression/Latent] 'libgomp.c/pr90811.c:29:1: error: address taken, but ADDRESSABLE bit not set' ('internal compiler error: verify_gimple failed') Date: Wed, 23 Oct 2019 13:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-checking, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone 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: 2019-10/txt/msg02057.txt.bz2 Content-length: 3871 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92195 Bug ID: 92195 Summary: [7/8 Regression/Latent] 'libgomp.c/pr90811.c:29:1: error: address taken, but ADDRESSABLE bit not set' ('internal compiler error: verify_gimple failed') Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-checking, openmp Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: tschwinge at gcc dot gnu.org CC: amonakov at gcc dot gnu.org, jakub at gcc dot gnu.org Target Milestone: --- With '--enable-checking=yes,extra,rtl', I see the test case from PR90811 in gcc-8-branch (cherry-picked in r272163), and gcc-7-branch (cherry-picked in r275155) run into an ICE in the host (not offload!) compiler (so this must be a latent issue, not related to the 'gcc/config/nvptx/nvptx.c' code changes): source-gcc/libgomp/testsuite/libgomp.c/pr90811.c: In function 'main._omp_fn.1': source-gcc/libgomp/testsuite/libgomp.c/pr90811.c:29:1: error: address taken, but ADDRESSABLE bit not set } ^ D.2317 cc1: note: in statement # .MEM_65 = VDEF <.MEM_20(D)> simduid.7_66 = GOMP_SIMT_ENTER (simduid.7_64(D), &D.2317); Breakpoint 2, internal_error (gmsgid=0x19f03d5 "verify_gimple failed") at [...]/source-gcc/gcc/diagnostic.c:1438 1438 { (gdb) bt #0 internal_error (gmsgid=0x19f03d5 "verify_gimple failed") at [...]/source-gcc/gcc/diagnostic.c:1438 #1 0x0000000000d9b389 in verify_gimple_in_cfg (fn=0x7ffff690e160, verify_nothrow=true) at [...]/source-gcc/gcc/tree-cfg.c:5585 #2 0x0000000000c1b8b8 in execute_function_todo (fn=0x7ffff690e160, data=) at [...]/source-gcc/gcc/passes.c:1994 #3 0x0000000000c1c22a in execute_todo (flags=2099296) at [...]/source-gcc/gcc/passes.c:2048 #4 0x0000000000c1ef5e in execute_one_pass (pass=pass@entry=) at [...]/source-gcc/gcc/passes.c:2537 #5 0x0000000000c1f558 in execute_pass_list_1 (pass=) at [...]/source-gcc/gcc/passes.c:2586 #6 0x0000000000c1f56a in execute_pass_list_1 (pass=) at [...]/source-gcc/gcc/passes.c:2587 #7 0x0000000000c1f5b5 in execute_pass_list (fn=, pass=) at [...]/source-gcc/gcc/passes.c:2597 #8 0x0000000000c1d8c9 in do_per_function_toporder (callback=callback@entry=0xc1f5a0 , data=0x25f21e0) at [...]/source-gcc/gcc/passes.c:1739 #9 0x0000000000c1fc17 in execute_ipa_pass_list (pass=) at [...]/source-gcc/gcc/passes.c:2939 #10 0x0000000000885d5f in ipa_passes () at [...]/source-gcc/gcc/cgraphunit.c:2423 #11 symbol_table::compile (this=this@entry=0x7ffff67ac100) at [...]/source-gcc/gcc/cgraphunit.c:2558 #12 0x000000000088839e in symbol_table::compile (this=0x7ffff67ac100) at [...]/source-gcc/gcc/cgraphunit.c:2537 #13 symbol_table::finalize_compilation_unit (this=0x7ffff67ac100) at [...]/source-gcc/gcc/cgraphunit.c:2717 #14 0x0000000000d477a2 in compile_file () at [...]/source-gcc/gcc/toplev.c:480 #15 0x00000000006c96ca in do_compile () at [...]/source-gcc/gcc/toplev.c:2160 #16 toplev::main (this=this@entry=0x7fffffffc450, argc=argc@entry=33, argv=argv@entry=0x7fffffffc558) at [...]/source-gcc/gcc/toplev.c:2295 #17 0x00000000006cbf47 in main (argc=33, argv=0x7fffffffc558) at [...]/source-gcc/gcc/main.c:39 There is no ICE when compiling with '-foffload=disable'. This ICE is not seen on trunk, and gcc-9-branch (cherry-picked in r272162). >From gcc-bugs-return-657332-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 13:27:43 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67308 invoked by alias); 23 Oct 2019 13:27:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65123 invoked by uid 48); 23 Oct 2019 13:27:39 -0000 From: "mark.eggleston at codethink dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92196] New: Regression: -fno-automatic affects local variables in subroutines/function declared with recursive keyword Date: Wed, 23 Oct 2019 13:27: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark.eggleston at codethink 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: 2019-10/txt/msg02058.txt.bz2 Content-length: 2052 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92196 Bug ID: 92196 Summary: Regression: -fno-automatic affects local variables in subroutines/function declared with recursive keyword Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: mark.eggleston at codethink dot com Target Milestone: --- I've noticed a change in behaviour regarding the use of -fno-automatic and recursive subroutines and functions. This was the result of a contrived recursive test routine formerly made recursive via -frecursive being converted to use the recursive keyword instead of relying on -frecursive. Local variables in a recursive subroutine or function (declared as such in code) with default attributes are treated as though they have the automatic attribute and are allocated on the stack. For the 7 and 8 branch compilers using -fno-automatic has no affect on these local variables, for the 9 branch and trunk compilers these local variables are treated as having the save attribute and are not allocated on the stack. The following test subroutine, declared recursive, even though it is not, demonstrates the issue: recursive subroutine foo integer :: a a = 5 if (a.ne.5) stop 1 end subroutine Compiled using -fdump-tree-original with and without -fno-automatic the output is identical for 7 and 8 branch compilers. foo () { integer(kind=4) a; a = 5; if (a != 5) { _gfortran_stop_numeric (1, 0); } L.1:; } For the 9 branch and trunk compilers the output is the same without -fno-automatic but with the output is: foo () { static integer(kind=4) a; a = 5; if (a != 5) { _gfortran_stop_numeric (1, 0); } L.1:; } Showing that a is treated as having the save attribute. I've tracked this down to https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=268098. >From gcc-bugs-return-657333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 13:29:26 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93547 invoked by alias); 23 Oct 2019 13:29: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 93469 invoked by uid 48); 23 Oct 2019 13:29:23 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92195] [7/8 Regression/Latent] 'libgomp.c/pr90811.c:29:1: error: address taken, but ADDRESSABLE bit not set' ('internal compiler error: verify_gimple failed') Date: Wed, 23 Oct 2019 13:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-checking, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02059.txt.bz2 Content-length: 189 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92195 --- Comment #1 from Thomas Schwinge --- Cherry-picking the PR90811 follow-up r272181 does not fix this. >From gcc-bugs-return-657334-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 13:44:23 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61157 invoked by alias); 23 Oct 2019 13:44:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61069 invoked by uid 48); 23 Oct 2019 13:44:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/92195] [7/8 Regression/Latent] 'libgomp.c/pr90811.c:29:1: error: address taken, but ADDRESSABLE bit not set' ('internal compiler error: verify_gimple failed') Date: Wed, 23 Oct 2019 13:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.3.1 X-Bugzilla-Keywords: ice-checking, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: version target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02060.txt.bz2 Content-length: 461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92195 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unknown |8.3.1 Target Milestone|--- |7.5 --- Comment #2 from Richard Biener --- You could try to bisect what fixed the ICE. >From gcc-bugs-return-657335-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 13:47:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68845 invoked by alias); 23 Oct 2019 13:47: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 68778 invoked by uid 48); 23 Oct 2019 13:47:01 -0000 From: "LouisJenkinsCS at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92197] New: String Concatenation, Commutativity, and Side-Effect Inducing Functions Date: Wed, 23 Oct 2019 13:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: LouisJenkinsCS at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02061.txt.bz2 Content-length: 1706 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92197 Bug ID: 92197 Summary: String Concatenation, Commutativity, and Side-Effect Inducing Functions Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: LouisJenkinsCS at hotmail dot com Target Milestone: --- In GCC version 9.2.1 (and some previous versions as far back as 7.4.0), this program results in different behavior than what is expected... ```cpp #include #include char n = '0'; std::string g(void) { n++; return std::string("g") + n; } std::string f(void) { n++; return std::string("f") + n; } int main(void) { std::string temp = ""; temp += "(" + g() + "," + f() + ")"; std::cout << temp << std::endl; } ``` In GCC, it produces `(g2,f1)`, which implies that `g()` was called before `f()`; in Clang version 8.0.0 _and_ 10.0.1, it produces the desired output of `(g1,f2)`. This subtle bug can result in some _very_ bad behavior; for context, I am a TA in a class and a student's submission just looped infinitely without any reasonable cause. The assignment was on implementing a recursive descent parser, and the student used a global variable similar to what can be seen here, and it resulted in it resolving this rule out of order... SL -> S, SL Where it originally was to call 'S' and then 'SL', it instead calls 'SL' (which infinitely recurses) and then 'S'. I'm assuming this is not an intended effect. >From gcc-bugs-return-657336-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 13:53:56 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33895 invoked by alias); 23 Oct 2019 13:53: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 33824 invoked by uid 48); 23 Oct 2019 13:53:52 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/88335] Implement P1073R3, C++20 immediate functions (consteval). Date: Wed, 23 Oct 2019 13:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.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: 2019-10/txt/msg02062.txt.bz2 Content-length: 880 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88335 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #47032|0 |1 is obsolete| | Attachment #47042|0 |1 is obsolete| | --- Comment #12 from Jakub Jelinek --- Created attachment 47094 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47094&action=edit gcc10-pr88335.patch Just for the record, this is a variant of the patch that has testsuite coverage for immediate function calls in discarded statements (at least how I believe it should work), still using the cxx_eval_consteval rather than using again build_cxx_call. >From gcc-bugs-return-657337-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 14:05:06 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93474 invoked by alias); 23 Oct 2019 14:05: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 93412 invoked by uid 48); 23 Oct 2019 14:05:01 -0000 From: "gccbugbjorn at fahller dot se" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92198] New: error "different exception specifier" with forward referring noexcept condition Date: Wed, 23 Oct 2019 14: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: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gccbugbjorn at fahller dot se X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone 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: 2019-10/txt/msg02063.txt.bz2 Content-length: 1742 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92198 Bug ID: 92198 Summary: error "different exception specifier" with forward referring noexcept condition Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gccbugbjorn at fahller dot se Target Milestone: --- Created attachment 47095 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47095&action=edit Failing test program The below code fails to compile: bjorn@TS-PC11H6ST:/tmp$ cat t.cpp template class C { public: C(const C& e) noexcept( noexcept(T(e.value())) ); T& value() & noexcept; // move above copy-ctor to make code compile }; template C::C(const C& e) noexcept( noexcept(T(e.value())) ) { } bjorn@TS-PC11H6ST:/tmp$ g++-9 t.cpp t.cpp:11:1: error: declaration of ‘C::C(const C&) noexcept (noexcept ((T)(e.C::value())))’ has a different exception specifier 11 | C::C(const C& e) noexcept( noexcept(T(e.value())) ) | ^~~~ t.cpp:6:5: note: from previous declaration ‘C::C(const C&) noexcept (noexcept ((T)(e.value())))’ 6 | C(const C& e) noexcept( noexcept(T(e.value())) ); | ^ bjorn@TS-PC11H6ST:/tmp$ g++-9 --version g++-9 (Ubuntu 9.2.1-9ubuntu2~18.04.1) 9.2.1 20191008 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Obligatory godbolt link : https://godbolt.org/z/uB44Oo >From gcc-bugs-return-657338-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 14:35:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122972 invoked by alias); 23 Oct 2019 14:35: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 122945 invoked by uid 48); 23 Oct 2019 14:35:34 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92194] maybe-uninitialized false positive with c++2a Date: Wed, 23 Oct 2019 14: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.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg02064.txt.bz2 Content-length: 409 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92194 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #1 from Martin Sebor --- Possible duplicate of pr80635. >From gcc-bugs-return-657339-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 14:36:23 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124059 invoked by alias); 23 Oct 2019 14:36:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123830 invoked by uid 48); 23 Oct 2019 14:36:18 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92198] error "different exception specifier" with forward referring noexcept condition Date: Wed, 23 Oct 2019 14: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02065.txt.bz2 Content-length: 565 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92198 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |mpolacek at gcc dot gnu.org Resolution|--- |FIXED --- Comment #1 from Marek Polacek --- Fixed by r272586 so fixed in GCC 10. Certainly not backportable. >From gcc-bugs-return-657340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 14:46:01 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 639 invoked by alias); 23 Oct 2019 14:46:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 557 invoked by uid 55); 23 Oct 2019 14:45:57 -0000 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92074] [10 regression] 26% performance regression on Spec2017 548.exchange2_r Date: Wed, 23 Oct 2019 14:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02066.txt.bz2 Content-length: 409 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92074 --- Comment #6 from Jan Hubicka --- Author: hubicka Date: Wed Oct 23 14:45:24 2019 New Revision: 277333 URL: https://gcc.gnu.org/viewcvs?rev=277333&root=gcc&view=rev Log: PR ipa/92074 * params.def (inline-heuristics-hint-percent): Set to 600. Modified: trunk/gcc/ChangeLog trunk/gcc/params.def >From gcc-bugs-return-657341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 15:01:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83927 invoked by alias); 23 Oct 2019 15:01: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 83887 invoked by uid 48); 23 Oct 2019 15:00:56 -0000 From: "nsz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91886] [10 regression] powerpc64 impossible constraint in asm Date: Wed, 23 Oct 2019 15: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: nsz at gcc dot gnu.org X-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: 2019-10/txt/msg02067.txt.bz2 Content-length: 134 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91886 --- Comment #1 from nsz at gcc dot gnu.org --- seems to be broken since r271916 >From gcc-bugs-return-657342-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 15:02:43 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86655 invoked by alias); 23 Oct 2019 15:02: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 86631 invoked by uid 48); 23 Oct 2019 15:02:39 -0000 From: "achurch+gcc at achurch dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92167] Poor source location choice for diagnostic in macro expansion Date: Wed, 23 Oct 2019 15:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: achurch+gcc at achurch 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: 2019-10/txt/msg02068.txt.bz2 Content-length: 1589 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92167 --- Comment #1 from Andrew Church --- A similar problem occurs when passing the wrong number of arguments to a function which has been renamed with a macro -- the diagnostic is associated with the renaming macro instead of the original source line: ----------------------------- $ cat test3.c #define RENAME(x) foo_##x #define a RENAME(a) extern int a(int); int b(void) {return a();} $ gcc-9.2.0 -c test3.c test.c: In function 'b': test.c:1:19: error: too few arguments to function 'foo_a' 1 | #define RENAME(x) foo_##x | ^~~~ test.c:2:11: note: in expansion of macro 'RENAME' 2 | #define a RENAME(a) | ^~~~~~ test.c:4:21: note: in expansion of macro 'a' 4 | int b(void) {return a();} | ^ test.c:1:19: note: declared here 1 | #define RENAME(x) foo_##x | ^~~~ test.c:2:11: note: in expansion of macro 'RENAME' 2 | #define a RENAME(a) | ^~~~~~ test.c:3:12: note: in expansion of macro 'a' 3 | extern int a(int); | ^ ----------------------------- In this case as well, Clang associates the diagnostic with the original source line, though in this case it does not show the macro chain: ----------------------------- $ clang-9 -c test3.c test.c:4:23: error: too few arguments to function call, expected 1, have 0 int b(void) {return a();} ~ ^ test.c:3:1: note: 'foo_a' declared here extern int a(int); ^ ----------------------------- >From gcc-bugs-return-657343-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 15:12:08 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99336 invoked by alias); 23 Oct 2019 15:12: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 99269 invoked by uid 48); 23 Oct 2019 15:12:04 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92194] maybe-uninitialized false positive with c++2a Date: Wed, 23 Oct 2019 15:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02069.txt.bz2 Content-length: 257 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92194 --- Comment #2 from Marc Glisse --- With -Wsystem-headers you also get the warning in C++17 (and it is actually a bit more informative, at least it says where it is used). >From gcc-bugs-return-657344-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 15:23:20 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9914 invoked by alias); 23 Oct 2019 15: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 9856 invoked by uid 48); 23 Oct 2019 15:23:16 -0000 From: "LouisJenkinsCS at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92197] String Concatenation, Commutativity, and Side-Effect Inducing Functions Date: Wed, 23 Oct 2019 15: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: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: LouisJenkinsCS at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02070.txt.bz2 Content-length: 411 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92197 --- Comment #1 from Louis Jenkins --- Can confirm that on Godbolt, this bug occurs _only_ with GCC, not with clang, nor icc, or ellcc. This bug has occurred since GCC version 4.7.3, presumably is still occurring in GCC version 10.0 (or whatever the 'trunk' is pointing to on Godbolt)/ https://godbolt.org/z/gufFjj >From gcc-bugs-return-657345-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 16:05:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67972 invoked by alias); 23 Oct 2019 16:05: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 67945 invoked by uid 48); 23 Oct 2019 16:05:34 -0000 From: "nsz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91886] [10 regression] powerpc64 impossible constraint in asm Date: Wed, 23 Oct 2019 16:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nsz at gcc dot gnu.org X-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: 2019-10/txt/msg02071.txt.bz2 Content-length: 160 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91886 --- Comment #2 from nsz at gcc dot gnu.org --- note that "ws" is now supported by clang, but "wa" is not. >From gcc-bugs-return-657346-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 16:07:33 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71840 invoked by alias); 23 Oct 2019 16:07: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 71783 invoked by uid 48); 23 Oct 2019 16:07:28 -0000 From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/92199] New: [10 regression] g++.old-deja/g++.robertl/eb133b.C fails after r277300 Date: Wed, 23 Oct 2019 16:07: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: seurer at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02072.txt.bz2 Content-length: 8467 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92199 Bug ID: 92199 Summary: [10 regression] g++.old-deja/g++.robertl/eb133b.C fails after r277300 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- Did you perhaps miss updating this test case for these changes? spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/testsuite/g++/../../xg++ -B/home/seurer/gcc/build/gcc-test2/gcc/testsuite/g++/../../ -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never -nostdinc++ -I/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu -I/home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include -I/home/seurer/gcc/gcc-test2/libstdc++-v3/libsupc++ -I/home/seurer/gcc/gcc-test2/libstdc++-v3/include/backward -I/home/seurer/gcc/gcc-test2/libstdc++-v3/testsuite/util -fmessage-length=0 -std=gnu++2a -Wall -Wno-deprecated -c -o eb130.o /home/seurer/gcc/gcc-test2/gcc/testsuite/g++.old-deja/g++.robertl/eb130.C In file included from /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hash_set:64, from /home/seurer/gcc/gcc-test2/gcc/testsuite/g++.old-deja/g++.robertl/eb130.C:9: /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hashtable.h: In instantiation of 'class __gnu_cxx::hashtable, std::_Identity, std::equal_to, std::allocator >': /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hash_set:94:11: required from 'class __gnu_cxx::hash_set' /home/seurer/gcc/gcc-test2/gcc/testsuite/g++.old-deja/g++.robertl/eb130.C:10:26: required from here /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hashtable.h:283:67: error: no class template named 'rebind' in 'class std::allocator' /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hashtable.h:289:62: error: no class template named 'rebind' in 'class std::allocator' /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hashtable.h:290:63: error: no class template named 'rebind' in 'class std::allocator' /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hashtable.h:291:51: error: no class template named 'rebind' in 'class std::allocator' In file included from /home/seurer/gcc/gcc-test2/gcc/testsuite/g++.old-deja/g++.robertl/eb130.C:9: /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hash_set: In instantiation of 'class __gnu_cxx::hash_set': /home/seurer/gcc/gcc-test2/gcc/testsuite/g++.old-deja/g++.robertl/eb130.C:10:26: required from here /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hash_set:104:40: error: no type named 'pointer' in 'class std::allocator' /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hash_set:105:46: error: no type named 'const_pointer' in 'class std::allocator' /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hash_set:106:42: error: no type named 'reference' in 'class std::allocator' /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hash_set:107:48: error: no type named 'const_reference' in 'class std::allocator' In file included from /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hash_set:64, from /home/seurer/gcc/gcc-test2/gcc/testsuite/g++.old-deja/g++.robertl/eb130.C:9: /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hashtable.h: In instantiation of 'void __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::clear() [with _Val = int; _Key = int; _HashFcn = __gnu_cxx::hash; _ExtractKey = std::_Identity; _EqualKey = std::equal_to; _Alloc = std::allocator]': /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hashtable.h:361:9: required from '__gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::~hashtable() [with _Val = int; _Key = int; _HashFcn = __gnu_cxx::hash; _ExtractKey = std::_Identity; _EqualKey = std::equal_to; _Alloc = std::allocator]' /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hash_set:127:59: required from '__gnu_cxx::hash_set<_Value, _HashFcn, _EqualKey, _Alloc>::hash_set() [with _Value = int; _HashFcn = __gnu_cxx::hash; _EqualKey = std::equal_to; _Alloc = std::allocator]' /home/seurer/gcc/gcc-test2/gcc/testsuite/g++.old-deja/g++.robertl/eb130.C:10:26: required from here /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hashtable.h:1106:37: error: using invalid field '__gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_buckets' /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hashtable.h:1108:19: error: using invalid field '__gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_buckets' /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hashtable.h:1115:4: error: using invalid field '__gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_buckets' compiler exited with status 1 FAIL: g++.old-deja/g++.robertl/eb130.C -std=gnu++2a (test for excess errors) Excess errors: /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hashtable.h:283:67: error: no class template named 'rebind' in 'class std::allocator' /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hashtable.h:289:62: error: no class template named 'rebind' in 'class std::allocator' /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hashtable.h:290:63: error: no class template named 'rebind' in 'class std::allocator' /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hashtable.h:291:51: error: no class template named 'rebind' in 'class std::allocator' /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hash_set:104:40: error: no type named 'pointer' in 'class std::allocator' /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hash_set:105:46: error: no type named 'const_pointer' in 'class std::allocator' /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hash_set:106:42: error: no type named 'reference' in 'class std::allocator' /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hash_set:107:48: error: no type named 'const_reference' in 'class std::allocator' /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hashtable.h:1106:37: error: using invalid field '__gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_buckets' /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hashtable.h:1108:19: error: using invalid field '__gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_buckets' /home/seurer/gcc/build/gcc-test2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/backward/hashtable.h:1115:4: error: using invalid field '__gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_buckets' testcase /home/seurer/gcc/gcc-test2/gcc/testsuite/g++.old-deja/old-deja.exp completed in 3 seconds === g++ Summary === # of expected passes 3 # of unexpected failures 1 >From gcc-bugs-return-657347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 16:14:50 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114427 invoked by alias); 23 Oct 2019 16:14: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 113283 invoked by uid 48); 23 Oct 2019 16:14:46 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/92199] [10 regression] g++.old-deja/g++.robertl/eb133b.C fails after r277300 Date: Wed, 23 Oct 2019 16:14: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: 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: 2019-10/txt/msg02073.txt.bz2 Content-length: 514 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92199 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #1 from Jonathan Wakely --- It's not the testcase, it's the old hash_map code that needs a fix. It should be OK at r277335 >From gcc-bugs-return-657348-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 16:17:18 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119354 invoked by alias); 23 Oct 2019 16:17:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 119309 invoked by uid 48); 23 Oct 2019 16:17:14 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92197] String Concatenation, Commutativity, and Side-Effect Inducing Functions Date: Wed, 23 Oct 2019 16: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: 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 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: 2019-10/txt/msg02074.txt.bz2 Content-length: 967 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92197 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID Summary|String Concatenation and |String Concatenation, |Side-Effect Inducing |Commutativity, and |Functions |Side-Effect Inducing | |Functions --- Comment #2 from Andrew Pinski --- In c++ (before c++17 were the rules changed), the order of evulatating function calls and the operator+ is not defined by the standard. Only , (in a non argument form) causes a sequence point inside an expression and even then you could have ordering issues still. >From gcc-bugs-return-657349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 16:26:23 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8040 invoked by alias); 23 Oct 2019 16:26:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7987 invoked by uid 48); 23 Oct 2019 16:26:18 -0000 From: "sethml at ofb dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92172] ARM Thumb2 frame pointers inconsistent with clang Date: Wed, 23 Oct 2019 16: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: 8.3.1 X-Bugzilla-Keywords: ABI X-Bugzilla-Severity: enhancement X-Bugzilla-Who: sethml at ofb dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02075.txt.bz2 Content-length: 3731 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92172 --- Comment #5 from Seth LaForge --- Richard: > No it doesn't. The AAPCS for AArch32 makes no reference to a frame pointer, > so there is no portable way defined for walking a frame other than by using > dwarf records or C++ unwinding descriptions. The latter are preferred, but > only support unwinding from 'synchronous' unwind points (after the prologue > and before the epilogue). ...in other words, neither is suitable for generating stack traces in an embedded context, which is a genuinely useful feature. You're right, AAPCS does not mention frame pointers. ATPCS does - I'm not sure if it's still normative. However, it says the thumb frame pointer is any of r4-r7, and dictates a frame pointer even *higher* on the stack - just above the saved LR. That's not what any compiler I know of does. At this point it's entirely an argument from consistency: - GCC ARM and Clang ARM use R11 for frame pointer, pointing to the stacked R11. Useful. - Clang Thumb uses R7 for frame pointer, pointing to the stacked R7. Useful. - GCC Thumb uses R7 for the frame pointer, pointing to an arbitrary location. Useless for stack traces. Stack traces are a genuinely useful thing. Many language runtimes do them automatically all the time (e.g. Python). Many C/C++ development environments do them automatically on a crash, either via a debugger or something like libunwind. Many embedded devices would like to do them on a crash - they often have very little storage to store debugging information and relay it to some server, and something like libunwind is just too much for them. > Compilers are, of course, free to use frame pointers internally, within a frame, > but there is no frame chain that can be walked. With clang, there is. With GCC and ARM mode, there is. I'm promoting making thumb mode work the same as ARM mode, thus making stack tracing possible. Wilco: > On GCC10 the codesize overhead of -fno-omit-frame-pointer is 4.1% for Arm and 4.8% > for Thumb-2 (measured on SPEC2006). That's already a large overhead, especially > since this feature doesn't do anything useful besides adding overhead... Well, that's basically my point: as implemented, gcc frame pointers are useless on Thumb. There's no reason to enable them. With a small adjustment to behave the same as clang they are quite useful: software can create stack traces easily. Adding a small amount of overhead to a useless feature in order to make it useful seems like a very worthwhile tradeoff to me. > The key is that GCC uses the frame pointer for every stack access, and thus the > placement of the frame pointer within a frame matters. It does? Why?!? The SP register is a better register to offset from in every case I can think of that doesn't involve alloca() or variable-size-arrays, which should be rare. Clang, when using frame pointers, uses SP to access local variables in most cases - compare the implementation of AccessLocal(): https://godbolt.org/z/3o4TlD int AccessLocal(int a) { volatile int b = a; SimpleLeaf(); return b; } GCC 8: push {r7, lr} sub sp, sp, #8 add r7, sp, #0 str r0, [r7, #4] ... Clang 9: push {r7, lr} mov r7, sp sub sp, #8 str r0, [sp, #4] ... Same numer of instructions, same code size, same performance, but the clang version has an unwindable/traceable frame pointer. > Thanks for posting actual numbers, but GCC 4.7?!? It might be time to try GCC9... There are, sadly, compelling historical reasons. We're putting our effort into moving to clang instead. >From gcc-bugs-return-657350-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 17:21:11 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89928 invoked by alias); 23 Oct 2019 17:21: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 89858 invoked by uid 48); 23 Oct 2019 17:21:06 -0000 From: "vanshil.sh at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92200] New: Shared pointer not destroyed Date: Wed, 23 Oct 2019 17:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vanshil.sh 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: 2019-10/txt/msg02076.txt.bz2 Content-length: 2463 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92200 Bug ID: 92200 Summary: Shared pointer not destroyed Product: gcc Version: 7.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: vanshil.sh at gmail dot com Target Milestone: --- gcc -v output: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --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 --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=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 --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 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1) Command to build program: g++ shared_ptr_test.cc -pthread Compiles with no errors/warnings Bug: in shared_ptr_test, in the `othertf` function, I create 2 different shared pointers to class A. The first one runs an asynchronous computation inside of class A using std::async and the second one runs the same asynchronous computation using std::thread. The argument passed to both std::async and std::thread is a shared_ptr generated using `shared_from_this().` In the std::thread case, the instance of class A is properly de-refed and destroyed, but in the std::async case, the instance is not destroyed. I have run this program with g++ 9.x with the same results. >From gcc-bugs-return-657351-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 17:23:28 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92216 invoked by alias); 23 Oct 2019 17:23: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 92138 invoked by uid 48); 23 Oct 2019 17:23:23 -0000 From: "vanshil.sh at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92200] Shared pointer not destroyed Date: Wed, 23 Oct 2019 17:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vanshil.sh 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: 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: 2019-10/txt/msg02077.txt.bz2 Content-length: 261 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92200 --- Comment #1 from Vanshil Shah --- Created attachment 47096 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47096&action=edit preprocessed file that triggers the bug >From gcc-bugs-return-657352-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 17:42:50 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33953 invoked by alias); 23 Oct 2019 17:42: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 29029 invoked by uid 55); 23 Oct 2019 17:42:45 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91369] Implement P0784R7: constexpr new Date: Wed, 23 Oct 2019 17:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02078.txt.bz2 Content-length: 5241 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91369 --- Comment #18 from Jonathan Wakely --- Author: redi Date: Wed Oct 23 17:42:11 2019 New Revision: 277342 URL: https://gcc.gnu.org/viewcvs?rev=277342&root=gcc&view=rev Log: PR c++/91369 Implement P0784R7 changes to allocation and construction This patch is the first part of library support for constexpr std::vector and std::string. This only includes the changes to std::allocator, std::allocator_traits, std::construct_at, std::destroy_at, std::destroy and std::destroy_n. std::allocator::allocate and std::allocator::deallocate need to be added so that they can be intercepted by the compiler during constant evaluation. Outside of constant evaluation those new member functions just forward to the existing implementation in the base class. PR c++/91369 Implement P0784R7 changes to allocation and construction * include/bits/alloc_traits.h: Include . (allocator_traits::_S_allocate, allocator_traits::_S_construct) (allocator_traits::_S_destroy, allocator_traits::_S_max_size) (allocator_traits::_S_select, allocator_traits::allocate) (allocator_traits::deallocate, allocator_traits::construct) (allocator_traits::destroy, allocator_traits::max_size) (allocator_traits::select_on_container_copy_construction) (allocator_traits>): Add constexpr specifier for C++20. (allocator_traits>::construct): Use construct_at. (allocator_traits>::destroy): Use destroy_at. (__alloc_on_copy, __alloc_on_move, __alloc_on_swap): Add constexpr specifier. (_Destroy(ForwardIterator, ForwardIterator, Alloc&)) (_Destroy(ForwardIterator, ForwardIterator, allocator&)): Move here from . * include/bits/allocator.h (allocator::~allocator): Remove for C++20. (allocator::allocate, allocate::deallocate): Define for C++20 and up. (operator==, operator!=): Add constexpr specifier for C++20. * include/bits/stl_construct.h: Don't include . (destroy_at): For C++20 add constexpr specifier and support for destroying arrays. (construct_at): Define new function for C++20. (_Construct): Return result of placement new-expression. For C++11 and up add constexpr. For C++20 dispatch to std::construct_at during constant evaluation. (_Destroy(pointer)): Add constexpr specifier. For C++20 dispatch to std::destroy_at during constant evaluation. (_Destroy_aux::__destroy, _Destroy_n_aux::__destroy_n): Add constexpr specifier for C++20. (_Destroy(ForwardIterator, ForwardIterator)) (_Destroy(ForwardIterator, Size)): Likewise. Do not elide trivial destructors during constant evaluation. (destroy, destroy_n): Add constexpr specifier for C++20. (_Destroy(ForwardIterator, ForwardIterator, Alloc&)) (_Destroy(ForwardIterator, ForwardIterator, allocator&)): Move to , to remove dependency on allocators. * include/bits/stl_uninitialized.h: Include . Include instead of . * include/ext/alloc_traits.h: Always include . (__alloc_traits::construct, __alloc_traits::destroy) (__alloc_traits::_S_select_on_copy, __alloc_traits::_S_on_swap): Add constexpr specifier. * include/ext/malloc_allocator.h (operator==, operator!=): Add constexpr specifier for C++20. * include/ext/new_allocator.h (operator==, operator!=): Likewise. * testsuite/20_util/headers/memory/synopsis.cc: Add constexpr. * testsuite/20_util/scoped_allocator/69293_neg.cc: Ignore additional errors due to constexpr function called after failed static_assert. * testsuite/20_util/specialized_algorithms/construct_at/1.cc: New test. * testsuite/23_containers/vector/cons/destructible_debug_neg.cc: Ignore additional errors due to constexpr function called after failed static_assert. * testsuite/23_containers/vector/cons/destructible_neg.cc: Likewise. Added: trunk/libstdc++-v3/testsuite/20_util/specialized_algorithms/construct_at/ trunk/libstdc++-v3/testsuite/20_util/specialized_algorithms/construct_at/1.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/alloc_traits.h trunk/libstdc++-v3/include/bits/allocator.h trunk/libstdc++-v3/include/bits/stl_construct.h trunk/libstdc++-v3/include/bits/stl_uninitialized.h trunk/libstdc++-v3/include/ext/alloc_traits.h trunk/libstdc++-v3/include/ext/malloc_allocator.h trunk/libstdc++-v3/include/ext/new_allocator.h trunk/libstdc++-v3/testsuite/20_util/headers/memory/synopsis.cc trunk/libstdc++-v3/testsuite/20_util/scoped_allocator/69293_neg.cc trunk/libstdc++-v3/testsuite/23_containers/vector/cons/destructible_debug_neg.cc trunk/libstdc++-v3/testsuite/23_containers/vector/cons/destructible_neg.cc >From gcc-bugs-return-657353-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 17:54:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70722 invoked by alias); 23 Oct 2019 17:54: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 70679 invoked by uid 48); 23 Oct 2019 17:54:10 -0000 From: "wilco at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92172] ARM Thumb2 frame pointers inconsistent with clang Date: Wed, 23 Oct 2019 17:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.3.1 X-Bugzilla-Keywords: ABI X-Bugzilla-Severity: enhancement X-Bugzilla-Who: wilco at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02079.txt.bz2 Content-length: 1331 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92172 --- Comment #6 from Wilco --- (In reply to Seth LaForge from comment #5) > GCC 8: > push {r7, lr} > sub sp, sp, #8 > add r7, sp, #0 > str r0, [r7, #4] > ... > > Clang 9: > push {r7, lr} > mov r7, sp > sub sp, #8 > str r0, [sp, #4] > ... Crazy yes, but it's due to historical reasons. Originally GCC could only emit code using a frame pointer. Later the frame pointer could be switched off (hence -fomit-frame-pointer), but you still needed it for debug tables. Then there was Dwarf which didn't need a frame pointer anymore. And today the frame pointer is off by default globally in GCC. > - GCC ARM and Clang ARM use R11 for frame pointer, pointing to the stacked R11. Useful. Well Clang does this: push {r4, r10, r11, lr} add r11, sp, #8 but GCC does something different: push {r4, r5, fp, lr} add fp, sp, #12 Ie. FP points to saved LR with GCC but saved FP with Clang, so it's not possible for a generic unwinder to follow the chain, even ignoring Arm/Thumb interworking (which is a real issue when an application is Thumb-2 but various library functions use Arm assembly). >From gcc-bugs-return-657354-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 17:56:58 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73345 invoked by alias); 23 Oct 2019 17:56: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 73322 invoked by uid 48); 23 Oct 2019 17:56:52 -0000 From: "sbergman at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTIyMDFdIE5ldzogImludGVybmFsIGNvbXBpbGVyIGVycm9y?= =?UTF-8?B?OiDigJh2ZXJpZnlfZ2ltcGxl4oCZIGZhaWxlZCIgd2l0aCAtc3RkPWMrKzJh?Date: Wed, 23 Oct 2019 17:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sbergman at redhat 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: 2019-10/txt/msg02080.txt.bz2 Content-length: 1908 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92201 Bug ID: 92201 Summary: "internal compiler error: ‘verify_gimple’ failed" with -std=c++2a Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sbergman at redhat dot com Target Milestone: --- With recent trunk: > $ gcc/trunk/inst/bin/g++ --version > g++ (GCC) 10.0.0 20191023 (experimental) > Copyright (C) 2019 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > $ cat test.cc > int f(void (*p)()) { return (*reinterpret_cast(p))(); } > $ gcc/trunk/inst/bin/g++ -std=c++2a -c test.cc > test.cc: In function ‘int f(void (*)())’: > test.cc:1:5: error: invalid conversion in gimple call > 1 | int f(void (*p)()) { return (*reinterpret_cast(p))(); } > | ^ > int > > void > > D.2079 = p.0_1 (); > test.cc:1:5: internal compiler error: ‘verify_gimple’ failed > 0xeebc2d verify_gimple_in_seq(gimple*) > ../../src/gcc/tree-cfg.c:5079 > 0xc4ea46 gimplify_body(tree_node*, bool) > ../../src/gcc/gimplify.c:14440 > 0xc4ec13 gimplify_function_tree(tree_node*) > ../../src/gcc/gimplify.c:14530 > 0xada597 cgraph_node::analyze() > ../../src/gcc/cgraphunit.c:667 > 0xadcdcf analyze_functions > ../../src/gcc/cgraphunit.c:1126 > 0xadd9b2 symbol_table::finalize_compilation_unit() > ../../src/gcc/cgraphunit.c:2840 > 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-657355-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 18:08:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96781 invoked by alias); 23 Oct 2019 18:08: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 96727 invoked by uid 48); 23 Oct 2019 18:08:33 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTIyMDFdIFsxMCBSZWdyZXNzaW9uXSAiaW50ZXJuYWwgY29t?= =?UTF-8?B?cGlsZXIgZXJyb3I6IOKAmHZlcmlmeV9naW1wbGXigJkgZmFpbGVkIiB3aXRo?= =?UTF-8?B?IC1zdGQ9YysrMmE=?Date: Wed, 23 Oct 2019 18: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02081.txt.bz2 Content-length: 1086 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92201 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-23 CC| |jakub at gcc dot gnu.org, | |mpolacek at gcc dot gnu.org Target Milestone|--- |10.0 Summary|"internal compiler error: |[10 Regression] "internal |‘verify_gimple’ failed" |compiler error: |with -std=c++2a |‘verify_gimple’ failed" | |with -std=c++2a Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Started with r276562. >From gcc-bugs-return-657356-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 18:10:51 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100281 invoked by alias); 23 Oct 2019 18:10:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100222 invoked by uid 48); 23 Oct 2019 18:10:47 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91548] [10 Regression] Regression in constexpr evaluation of std::array Date: Wed, 23 Oct 2019 18:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: patch, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: mpolacek 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: 2019-10/txt/msg02082.txt.bz2 Content-length: 435 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #8 from Marek Polacek --- Patch posted: https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01685.html >From gcc-bugs-return-657357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 18:13:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107110 invoked by alias); 23 Oct 2019 18:13:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107039 invoked by uid 55); 23 Oct 2019 18:13:11 -0000 From: "qinzhao at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/91971] Profile directory concatenated with object file path Date: Wed, 23 Oct 2019 18:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: qinzhao at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: qinzhao at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02083.txt.bz2 Content-length: 499 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91971 --- Comment #5 from qinzhao at gcc dot gnu.org --- Author: qinzhao Date: Wed Oct 23 18:12:39 2019 New Revision: 277344 URL: https://gcc.gnu.org/viewcvs?rev=277344&root=gcc&view=rev Log: 2019-10-23 qing zhao PR gcov-profile/91971 * coverage.c (coverage_init): Mangle the full path of filename when filename is a absolute path. Modified: trunk/gcc/ChangeLog trunk/gcc/coverage.c >From gcc-bugs-return-657358-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 18:13:45 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108323 invoked by alias); 23 Oct 2019 18:13: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 108150 invoked by uid 48); 23 Oct 2019 18:13:40 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92178] Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine Date: Wed, 23 Oct 2019 18: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: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02084.txt.bz2 Content-length: 178 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 --- Comment #8 from kargl at gcc dot gnu.org --- Patch submitted. https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01686.html >From gcc-bugs-return-657359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 18:19:01 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57374 invoked by alias); 23 Oct 2019 18:19: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 57278 invoked by uid 48); 23 Oct 2019 18:18:56 -0000 From: "qinzhao at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/91971] Profile directory concatenated with object file path Date: Wed, 23 Oct 2019 18:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: qinzhao at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: qinzhao 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: 2019-10/txt/msg02085.txt.bz2 Content-length: 438 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91971 qinzhao at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from qinzhao at gcc dot gnu.org --- the patch has been checked in upstream gcc today. >From gcc-bugs-return-657360-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 18:25:58 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67289 invoked by alias); 23 Oct 2019 18:25: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 67140 invoked by uid 48); 23 Oct 2019 18:25:53 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92200] Shared pointer not destroyed Date: Wed, 23 Oct 2019 18:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: 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: 2019-10/txt/msg02086.txt.bz2 Content-length: 1818 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92200 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Jonathan Wakely --- You create a cycle in the shared_ptr ownership, so the reference count never goes to zero and never destroys the object. a->tfut has a reference to the shared state created by std::async, and that shared state has a reference to a. That means the reference count equals two: auto a = make_shared(); a->start_async(); std::cout << "reference count: " << a.use_count() << '\n'; a->tfut.wait(); std::cout << "reference count: " << a.use_count() << '\n'; a.reset(); This prints: Constructing this 0x7fd710000b30 Start async this 0x7fd710000b30 reference count: 2 reference count: 2 Constructing this 0x7fd710001170 Start thread this 0x7fd710001170 Destroying this 0x7fd710001170 When you do a.reset() the reference count goes to one, and so the object is never destroyed. To break this cycle you need to use get() not wait(), so that the future releases its reference on the shared state: auto a = make_shared(); a->start_async(); std::cout << "reference count: " << a.use_count() << '\n'; a->tfut.get(); std::cout << "reference count: " << a.use_count() << '\n'; a.reset(); Now it prints: Constructing this 0x7fece0000b30 Start async this 0x7fece0000b30 reference count: 2 reference count: 1 Destroying this 0x7fece0000b30 Constructing this 0x7fece0000b30 Start thread this 0x7fece0000b30 Destroying this 0x7fece0000b30 So there is no bug in shared_ptr. >From gcc-bugs-return-657361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 18:44:12 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90912 invoked by alias); 23 Oct 2019 18:44:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90872 invoked by uid 48); 23 Oct 2019 18:44:08 -0000 From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/92202] New: [10 regression] Compilation error in gcc/ipa-reference.c in r277345 Date: Wed, 23 Oct 2019 18:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02087.txt.bz2 Content-length: 1893 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92202 Bug ID: 92202 Summary: [10 regression] Compilation error in gcc/ipa-reference.c in r277345 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- /home/seurer/gcc/gcc-test2/gcc/ipa-reference.c: In function 'void varpool_removal_hook(varpool_node*, void*)': /home/seurer/gcc/gcc-test2/gcc/ipa-reference.c:440:3: error: expected ',' or ';' before 'if' if (id) ^~ /home/seurer/gcc/gcc-test2/gcc/ipa-reference.c:439:8: warning: unused variable 'id' [-Wunused-variable] int *id = ipa_reference_vars_map->get (node->decl) ^~ /home/seurer/gcc/gcc-test2/gcc/ipa-reference.c: In function 'void ipa_reference_c_finalize()': /home/seurer/gcc/gcc-test2/gcc/ipa-reference.c:1295:5: error: expected ';' before '}' token } ^ ------------------------------------------------------------------------ r277345 | hubicka | 2019-10-23 13:18:31 -0500 (Wed, 23 Oct 2019) | 14 lines * ipa-reference.h (ipa_reference_var_uid): Move offline. * ipa-reference.c (reference_vars_map_t): new type. (ipa_reference_vars_map, ipa_reference_vars_uids): New static vars. (ipa_reference_var_uid): Implement. (varpool_node_hooks): New static var. (varpool_removal_hook): New function. (is_improper): Do not check bitmap for id==-1 (get_static_name): Update. (ipa_init): Initialize new datastructures. (analyze_function): Do not recompute ids. (propagate): Free reference_vars_to_consider. (stream_out_bitmap): Update. (ipa_reference_read_optimization_summary): Update. >From gcc-bugs-return-657362-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 19:02:56 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112326 invoked by alias); 23 Oct 2019 19:02: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 112253 invoked by uid 48); 23 Oct 2019 19:02:52 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTIyMDFdIFsxMCBSZWdyZXNzaW9uXSAiaW50ZXJuYWwgY29t?= =?UTF-8?B?cGlsZXIgZXJyb3I6IOKAmHZlcmlmeV9naW1wbGXigJkgZmFpbGVkIiB3aXRo?= =?UTF-8?B?IC1zdGQ9YysrMmE=?Date: Wed, 23 Oct 2019 19: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: 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: 2019-10/txt/msg02088.txt.bz2 Content-length: 579 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92201 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 47097 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47097&action=edit gcc10-pr92201.patch Untested fix. >From gcc-bugs-return-657364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 19:04:41 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115257 invoked by alias); 23 Oct 2019 19:04: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 115215 invoked by uid 48); 23 Oct 2019 19:04:37 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTIyMDFdIFs5LzEwIFJlZ3Jlc3Npb25dICJpbnRlcm5hbCBj?= =?UTF-8?B?b21waWxlciBlcnJvcjog4oCYdmVyaWZ5X2dpbXBsZeKAmSBmYWlsZWQiIHdp?= =?UTF-8?B?dGggLXN0ZD1jKysyYQ==?Date: Wed, 23 Oct 2019 19: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: 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: 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: 2019-10/txt/msg02090.txt.bz2 Content-length: 405 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92201 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Known to work| |9.2.0 Known to fail| |10.0, 9.2.1 >From gcc-bugs-return-657363-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 19:04:17 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114412 invoked by alias); 23 Oct 2019 19:04:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114348 invoked by uid 48); 23 Oct 2019 19:04:13 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTIyMDFdIFs5LzEwIFJlZ3Jlc3Npb25dICJpbnRlcm5hbCBj?= =?UTF-8?B?b21waWxlciBlcnJvcjog4oCYdmVyaWZ5X2dpbXBsZeKAmSBmYWlsZWQiIHdp?= =?UTF-8?B?dGggLXN0ZD1jKysyYQ==?Date: Wed, 23 Oct 2019 19: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 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: 2019-10/txt/msg02089.txt.bz2 Content-length: 608 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92201 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|10.0 |9.3 Summary|[10 Regression] "internal |[9/10 Regression] "internal |compiler error: |compiler error: |‘verify_gimple’ failed" |‘verify_gimple’ failed" |with -std=c++2a |with -std=c++2a >From gcc-bugs-return-657365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 20:01:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57082 invoked by alias); 23 Oct 2019 20:01:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57046 invoked by uid 48); 23 Oct 2019 20:01:34 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91427] Implement P1825R0, Merged wording for P0527R1 and P1155R3 Date: Wed, 23 Oct 2019 20:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02091.txt.bz2 Content-length: 384 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91427 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-657366-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 23 21:46:19 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121723 invoked by alias); 23 Oct 2019 21:46: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 121646 invoked by uid 48); 23 Oct 2019 21:46:14 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92163] [10 Regression] ICE: Segmentation fault (in bitmap_set_bit) Date: Wed, 23 Oct 2019 21: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, openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: prathamesh3492 at gcc dot gnu.org X-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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02092.txt.bz2 Content-length: 220 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92163 --- Comment #6 from prathamesh3492 at gcc dot gnu.org --- Posted updated patch upstream: https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01702.html Thanks, Prathamesh >From gcc-bugs-return-657367-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 02:21:48 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6375 invoked by alias); 24 Oct 2019 02:21: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 6318 invoked by uid 48); 24 Oct 2019 02:21:43 -0000 From: "kamleshbhalui at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91927] -mstrict-align doesn't prevent unaligned accesses at -O2 and -O3 on AARCH64 targets Date: Thu, 24 Oct 2019 02:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.3.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kamleshbhalui at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02093.txt.bz2 Content-length: 1372 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91927 Kamlesh Kumar changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kamleshbhalui at gmail dot com --- Comment #6 from Kamlesh Kumar --- This Fixes it. diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 2e73f3515bb..155f4c45500 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -16161,15 +16161,9 @@ aarch64_builtin_support_vector_misalignment (machine_mode mode, const_tree type, int misalignment, bool is_packed) { - if (TARGET_SIMD && STRICT_ALIGNMENT) + if (STRICT_ALIGNMENT) { - /* Return if movmisalign pattern is not supported for this mode. */ - if (optab_handler (movmisalign_optab, mode) == CODE_FOR_nothing) - return false; - - /* Misalignment factor is unknown at compile time. */ - if (misalignment == -1) - return false; + return false; } return default_builtin_support_vector_misalignment (mode, type, misalignment, is_packed); >From gcc-bugs-return-657368-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 02:24:32 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8829 invoked by alias); 24 Oct 2019 02:24: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 8689 invoked by uid 48); 24 Oct 2019 02:24:26 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92203] New: [10 Regression] ICE in eliminate_stmt, at tree-ssa-sccvn.c:5492 Date: Thu, 24 Oct 2019 02:24: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: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02094.txt.bz2 Content-length: 2388 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92203 Bug ID: 92203 Summary: [10 Regression] ICE in eliminate_stmt, at tree-ssa-sccvn.c:5492 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc-10.0.0-alpha20191020 snapshot (r277217) ICEs when compiling the following testcase w/ -O2: unsigned long int rr; void cw (int z9) { int m5; unsigned long int vz = 0; long int *na; if (z9 == 0) rr = 0; else { na = (long int *) &m5; for (*na = 0; *na < 1; ++*na) { na = (long int *) &vz; rr /= 0; } } m5 = rr / 5; ++vz; if (vz != 0) while (z9 < 1) { if (m5 >= 0) rr += m5; na = (long int *) &rr; if (*na >= 0) rr = 0; } } % gcc-10.0.0-alpha20191020 -O2 -w -c vd3u37af.c during GIMPLE pass: pre vd3u37af.c: In function 'cw': vd3u37af.c:4:1: internal compiler error: in eliminate_stmt, at tree-ssa-sccvn.c:5492 4 | cw (int z9) | ^~ 0x6a3285 eliminate_dom_walker::eliminate_stmt(basic_block_def*, gimple_stmt_iterator*) /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-ssa-sccvn.c:5492 0xdf4ba5 eliminate_dom_walker::before_dom_children(basic_block_def*) /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-ssa-sccvn.c:5908 0xdf4ba5 eliminate_dom_walker::before_dom_children(basic_block_def*) /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-ssa-sccvn.c:5841 0x142113a dom_walker::walk(basic_block_def*) /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/domwalk.c:309 0xdece8d eliminate_with_rpo_vn(bitmap_head*) /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-ssa-sccvn.c:6086 0xdd16c0 execute /var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191020/work/gcc-10-20191020/gcc/tree-ssa-pre.c:4234 >From gcc-bugs-return-657369-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 03:02:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46412 invoked by alias); 24 Oct 2019 03:02:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46131 invoked by uid 48); 24 Oct 2019 03:02:00 -0000 From: "linkw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/92074] [10 regression] 26% performance regression on Spec2017 548.exchange2_r Date: Thu, 24 Oct 2019 03:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: linkw at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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: bug_status resolution assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02095.txt.bz2 Content-length: 549 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92074 Kewen Lin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org --- Comment #7 from Kewen Lin --- Verified and confirm the commit can recover the number. >From gcc-bugs-return-657370-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 03:02:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46532 invoked by alias); 24 Oct 2019 03:02:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46209 invoked by uid 48); 24 Oct 2019 03:02:00 -0000 From: "linkw 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: Thu, 24 Oct 2019 03:02: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: linkw at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-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: 2019-10/txt/msg02096.txt.bz2 Content-length: 498 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 92074, which changed state. Bug 92074 Summary: [10 regression] 26% performance regression on Spec2017 548.exchange2_r https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92074 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-657371-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 03:05:32 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49768 invoked by alias); 24 Oct 2019 03:05: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 49750 invoked by uid 48); 24 Oct 2019 03:05:28 -0000 From: "shuo.d at outlook dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/92204] New: Confusing GDB output for an optimized C program Date: Thu, 24 Oct 2019 03:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: shuo.d at outlook 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: 2019-10/txt/msg02097.txt.bz2 Content-length: 3654 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92204 Bug ID: 92204 Summary: Confusing GDB output for an optimized C program Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: shuo.d at outlook dot com Target Milestone: --- I compiled the following code using the current gcc trunk with -O3, and then set a breakpoint before the return statement using the current gdb trunk. When the program stopped at that breakpoint, I printed the value of the variable i and I got 0. I think it should be 1 in this case. I'm not sure whether it is a problem of gcc or gdb. $ cat src.c int main(void) { int i = 0; i++; return 0; } $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/home/absozero/trunk/root-gcc/libexec/gcc/x86_64-pc-linux-gnu/10.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc/configure --prefix=/home/absozero/trunk/root-gcc --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.0.0 20191023 (experimental) [trunk revision 277309] (GCC) $ gdb-trunk -v GNU gdb (GDB) 9.0.50.20191023-git Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. $ gcc-trunk -O3 -g src.c $ gdb-trunk a.out GNU gdb (GDB) 9.0.50.20191023-git Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from a.out... (gdb) l 1 int main(void) 2 { 3 int i = 0; 4 i++; 5 return 0; 6 } (gdb) b 5 Breakpoint 1 at 0x4003a0: file src.c, line 5. (gdb) r Starting program: /home/sding/oct23/reduced/a.out Breakpoint 1, main () at src.c:5 5 return 0; (gdb) p i $1 = 0 (gdb) q A debugging session is active. Inferior 1 [process 27339] will be killed. Quit anyway? (y or n) y $ I also checked the DWARF .debug_line information. The starting address 0x4003a0 corresponds to many line numbers. I don't know what the View column means. $ readelf -wL a.out Contents of the .debug_line section: CU: src.c: File name Line number Starting address View src.c 2 0x4003a0 src.c 3 0x4003a0 1 src.c 4 0x4003a0 2 src.c 5 0x4003a0 3 src.c 6 0x4003a0 4 src.c 6 0x4003a3 $ >From gcc-bugs-return-657372-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 04:10:48 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55973 invoked by alias); 24 Oct 2019 04: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 55929 invoked by uid 48); 24 Oct 2019 04:10:43 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90205] Wformat-signedness detects %d and suggests %d fixit hint Date: Thu, 24 Oct 2019 04:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02098.txt.bz2 Content-length: 274 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90205 --- Comment #9 from Eric Gallager --- (In reply to Tavian Barnes from comment #8) > Maybe "argument 2 has type 'double' (promoted from 'float')"? Yes, that seems better to me, at least... >From gcc-bugs-return-657373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 05:07:13 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108121 invoked by alias); 24 Oct 2019 05:07: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 108024 invoked by uid 48); 24 Oct 2019 05:07:05 -0000 From: "kamleshbhalui at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91766] -fvisibility=hidden during -fpic still uses GOT indirection on arm64 Date: Thu, 24 Oct 2019 05:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: missed-optimization, visibility X-Bugzilla-Severity: normal X-Bugzilla-Who: kamleshbhalui at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02099.txt.bz2 Content-length: 1079 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91766 Kamlesh Kumar changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kamleshbhalui at gmail dot com --- Comment #9 from Kamlesh Kumar --- This fixes it. diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 2e73f3515bb..6fb87d5f49f 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -12539,6 +12539,10 @@ aarch64_override_options_internal (struct gcc_options *opts) if (opts->x_flag_strict_volatile_bitfields < 0 && abi_version_at_least (2)) opts->x_flag_strict_volatile_bitfields = 1; + /* defaults to flag_no_common unless disabled with fcommon. */ + if (!global_options_set.x_flag_no_common) + flag_no_common = 1; + if (aarch64_stack_protector_guard == SSP_GLOBAL && opts->x_aarch64_stack_protector_guard_offset_str) { >From gcc-bugs-return-657374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 05:10:01 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111281 invoked by alias); 24 Oct 2019 05:10: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 111212 invoked by uid 48); 24 Oct 2019 05:09:56 -0000 From: "mscfd at gmx dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92178] Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine Date: Thu, 24 Oct 2019 05:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mscfd at gmx dot net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02100.txt.bz2 Content-length: 390 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 martin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mscfd at gmx dot net --- Comment #9 from martin --- Is this possibly related to bug 87142? >From gcc-bugs-return-657375-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 05:11:44 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112759 invoked by alias); 24 Oct 2019 05:11: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 112700 invoked by uid 48); 24 Oct 2019 05:11:40 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91766] -fvisibility=hidden during -fpic still uses GOT indirection on arm64 Date: Thu, 24 Oct 2019 05:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: missed-optimization, visibility X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02101.txt.bz2 Content-length: 1033 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91766 --- Comment #10 from Andrew Pinski --- (In reply to Kamlesh Kumar from comment #9) > This fixes it. > > diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c > index 2e73f3515bb..6fb87d5f49f 100644 > --- a/gcc/config/aarch64/aarch64.c > +++ b/gcc/config/aarch64/aarch64.c > @@ -12539,6 +12539,10 @@ aarch64_override_options_internal (struct > gcc_options *opts) > if (opts->x_flag_strict_volatile_bitfields < 0 && abi_version_at_least > (2)) > opts->x_flag_strict_volatile_bitfields = 1; > > + /* defaults to flag_no_common unless disabled with fcommon. */ > + if (!global_options_set.x_flag_no_common) > + flag_no_common = 1; > + > if (aarch64_stack_protector_guard == SSP_GLOBAL > && opts->x_aarch64_stack_protector_guard_offset_str) > { This should be a global change and not just an aarch64 change. The reason is because then aarch64 is the odd man out when it comes to this. >From gcc-bugs-return-657376-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 05:25:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128044 invoked by alias); 24 Oct 2019 05:25: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 127673 invoked by uid 55); 24 Oct 2019 05:25:26 -0000 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92178] Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine Date: Thu, 24 Oct 2019 05:25: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: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02102.txt.bz2 Content-length: 468 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 --- Comment #10 from Steve Kargl --- On Thu, Oct 24, 2019 at 05:09:55AM +0000, mscfd at gmx dot net wrote: > > --- Comment #9 from martin --- > Is this possibly related to bug 87142? > Certainly appears that way. If I add a 'print *, ">"//trim(str%cs)//"<" to the end of the program, when I compile and run it, the result is >0123456789< >From gcc-bugs-return-657377-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 05:26:58 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129380 invoked by alias); 24 Oct 2019 05:26: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 129240 invoked by uid 48); 24 Oct 2019 05:26:51 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87142] Aliasing issue with overloaded assignment and allocatable components Date: Thu, 24 Oct 2019 05:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority cc 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: 2019-10/txt/msg02103.txt.bz2 Content-length: 706 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87142 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 CC| |kargl at gcc dot gnu.org Depends on| |92178 --- Comment #3 from kargl at gcc dot gnu.org --- Seems that this is fixed by the patch for PR 92178 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92178 [Bug 92178] Segmentation fault after passing allocatable array as intent(out) and its element as value into the same subroutine >From gcc-bugs-return-657378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 05:51:31 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25894 invoked by alias); 24 Oct 2019 05:51: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 25841 invoked by uid 48); 24 Oct 2019 05:51:26 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88466] [C++17] Support std::hardware_destructive_interference_size and std:: hardware_constructive_interference_size Date: Thu, 24 Oct 2019 05:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-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: 2019-10/txt/msg02104.txt.bz2 Content-length: 430 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88466 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #6 from Jason Merrill --- https://github.com/itanium-cxx-abi/cxx-abi/issues/74 >From gcc-bugs-return-657379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 05:54:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31897 invoked by alias); 24 Oct 2019 05:54: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 31844 invoked by uid 48); 24 Oct 2019 05:54:49 -0000 From: "sbergman at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTIyMDFdIFs5LzEwIFJlZ3Jlc3Npb25dICJpbnRlcm5hbCBj?= =?UTF-8?B?b21waWxlciBlcnJvcjog4oCYdmVyaWZ5X2dpbXBsZeKAmSBmYWlsZWQiIHdp?= =?UTF-8?B?dGggLXN0ZD1jKysyYQ==?Date: Thu, 24 Oct 2019 05: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: sbergman at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg02105.txt.bz2 Content-length: 302 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92201 --- Comment #3 from Stephan Bergmann --- (In reply to Jakub Jelinek from comment #2) > Untested fix. Building LibreOffice (from which I had distilled the reproducer) works fine for me again with that patch. Thanks! >From gcc-bugs-return-657380-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 06:35:44 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99926 invoked by alias); 24 Oct 2019 06:35: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 99838 invoked by uid 48); 24 Oct 2019 06:35:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/92204] Confusing GDB output for an optimized C program Date: Thu, 24 Oct 2019 06:35: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02106.txt.bz2 Content-length: 993 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92204 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aoliva at gcc dot gnu.org --- Comment #1 from Richard Biener --- main () { [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG i => 0 # DEBUG BEGIN_STMT # DEBUG i => 1 # DEBUG BEGIN_STMT return 0; } main: .LFB0: .file 1 "t.c" .loc 1 2 1 .cfi_startproc .loc 1 3 3 .LVL0: .loc 1 4 3 .loc 1 5 3 .loc 1 6 1 is_stmt 0 xorl %eax, %eax ret So I guess this is an issue with SFN not supported by gdb. Note that for me it always prints 1 (at 'start' as well as at end). Note there are not enough different PCs to describe all program states without SFN. I have tried gdb 8.2. >From gcc-bugs-return-657381-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 06:36:10 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100713 invoked by alias); 24 Oct 2019 06:36: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 100670 invoked by uid 48); 24 Oct 2019 06:36:06 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/92199] [10 regression] g++.old-deja/g++.robertl/eb133b.C fails after r277300 Date: Thu, 24 Oct 2019 06:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 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: 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: 2019-10/txt/msg02107.txt.bz2 Content-length: 294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92199 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.0 >From gcc-bugs-return-657382-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 06:37:07 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101811 invoked by alias); 24 Oct 2019 06:37: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 101762 invoked by uid 48); 24 Oct 2019 06:37:03 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/92202] [10 regression] Compilation error in gcc/ipa-reference.c in r277345 Date: Thu, 24 Oct 2019 06:37: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: 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 component 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: 2019-10/txt/msg02108.txt.bz2 Content-length: 542 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92202 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|other |bootstrap Resolution|--- |FIXED Target Milestone|--- |10.0 --- Comment #1 from Richard Biener --- Fixed. >From gcc-bugs-return-657383-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 06:40:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104316 invoked by alias); 24 Oct 2019 06:40: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 104148 invoked by uid 48); 24 Oct 2019 06:40:11 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92203] [10 Regression] ICE in eliminate_stmt, at tree-ssa-sccvn.c:5492 Date: Thu, 24 Oct 2019 06:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: P3 X-Bugzilla-Assigned-To: rguenth 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: 2019-10/txt/msg02109.txt.bz2 Content-length: 623 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92203 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-24 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Target Milestone|--- |10.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Mine. >From gcc-bugs-return-657384-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 08:08:42 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42762 invoked by alias); 24 Oct 2019 08:08: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 42685 invoked by uid 48); 24 Oct 2019 08:08:38 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92174] runtime error: index 15 out of bounds for type 'gfc_expr *[15] Date: Thu, 24 Oct 2019 08: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on resolution assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02110.txt.bz2 Content-length: 692 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Last reconfirmed| |2019-10-24 Resolution|FIXED |--- Assignee|kargl at gcc dot gnu.org |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #11 from Martin Liška --- I see two more places where similar UBSAN happens, I'm testing a patch. >From gcc-bugs-return-657385-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 08:08:42 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42766 invoked by alias); 24 Oct 2019 08:08: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 42700 invoked by uid 48); 24 Oct 2019 08:08:38 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined Date: Thu, 24 Oct 2019 08:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02111.txt.bz2 Content-length: 488 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 92174, which changed state. Bug 92174 Summary: runtime error: index 15 out of bounds for type 'gfc_expr *[15] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- >From gcc-bugs-return-657386-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 08:09:09 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44363 invoked by alias); 24 Oct 2019 08:09: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 44280 invoked by uid 48); 24 Oct 2019 08:09:03 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92205] New: ice in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1688 Date: Thu, 24 Oct 2019 08:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02112.txt.bz2 Content-length: 1456 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92205 Bug ID: 92205 Summary: ice in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1688 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 47098 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47098&action=edit C source code For the attached C code, with recent gcc trunk and compiler flag -O3, does this: during GIMPLE pass: vect In file included from lib/timingsafe_bcmp.c:1: include/string.h: In function ‘timingsafe_bcmp’: include/string.h:104:5: internal compiler error: in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1688 0x70eda5 vect_get_vec_def_for_stmt_copy(vec_info*, tree_node*) ../../trunk/gcc/tree-vect-stmts.c:1688 0x70eda5 vect_get_vec_def_for_stmt_copy(vec_info*, tree_node*) ../../trunk/gcc/tree-vect-stmts.c:1680 0x70eda5 vectorizable_conversion ../../trunk/gcc/tree-vect-stmts.c:5153 0x10ee32b vect_transform_stmt(_stmt_vec_info*, gimple_stmt_iterator*, _slp_tree*, _slp_instance*) ../../trunk/gcc/tree-vect-stmts.c:10832 The bug seems to start sometime between revision 277300 and 277350. I'll have a go at reducing the code. >From gcc-bugs-return-657387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 08:13:09 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61336 invoked by alias); 24 Oct 2019 08:13: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 61289 invoked by uid 48); 24 Oct 2019 08:13:05 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92205] ice in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1688 Date: Thu, 24 Oct 2019 08: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02113.txt.bz2 Content-length: 236 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92205 --- Comment #1 from David Binderman --- Reduced code is unsigned char *a; b() { long c; int d = 0; for (; c; ++c) d |= a[c]; return d; } >From gcc-bugs-return-657389-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 08:17:25 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74571 invoked by alias); 24 Oct 2019 08:17: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 74032 invoked by uid 48); 24 Oct 2019 08:17:18 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92111] [10 Regression] ICE during GIMPLE pass: dom Date: Thu, 24 Oct 2019 08:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: lto 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: 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: 2019-10/txt/msg02115.txt.bz2 Content-length: 185 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92111 --- Comment #9 from Martin Liška --- Unfortunately, I can't reproduce the ICE on a Linux machine. >From gcc-bugs-return-657388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 08:17:13 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73234 invoked by alias); 24 Oct 2019 08:17: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 73062 invoked by uid 48); 24 Oct 2019 08:17:08 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92205] ice in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1688 Date: Thu, 24 Oct 2019 08: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen 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: 2019-10/txt/msg02114.txt.bz2 Content-length: 419 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92205 Dmitry G. Dyachenko changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimhen at gmail dot com --- Comment #2 from Dmitry G. Dyachenko --- For me r277307 PASS r277341 FAIL >From gcc-bugs-return-657390-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 08:18:40 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75952 invoked by alias); 24 Oct 2019 08:18: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 75863 invoked by uid 48); 24 Oct 2019 08:18:36 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92191] internal compiler error: Segmentation fault Date: Thu, 24 Oct 2019 08:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 7.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02116.txt.bz2 Content-length: 189 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92191 --- Comment #8 from Martin Liška --- Sorry, but I can't reproduce that problem on my Linux machine :/ >From gcc-bugs-return-657391-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 08:23:20 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38113 invoked by alias); 24 Oct 2019 08:23: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 32469 invoked by uid 48); 24 Oct 2019 08:23:15 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92205] [10 Regression] ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1688 since r277322 Date: Thu, 24 Oct 2019 08: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: 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: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_work cf_reconfirmed_on component cc assigned_to everconfirmed 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: 2019-10/txt/msg02117.txt.bz2 Content-length: 1192 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92205 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Known to work| |9.2.0 Last reconfirmed| |2019-10-24 Component|c |tree-optimization CC| |marxin at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Ever confirmed|0 |1 Summary|ice in |[10 Regression] ICE in |vect_get_vec_def_for_stmt_c |vect_get_vec_def_for_stmt_c |opy, at |opy, at |tree-vect-stmts.c:1688 |tree-vect-stmts.c:1688 | |since r277322 Known to fail| |10.0 --- Comment #3 from Martin Liška --- Confirmed, started with r277322. >From gcc-bugs-return-657392-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 08:26:11 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67205 invoked by alias); 24 Oct 2019 08:26:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65887 invoked by uid 48); 24 Oct 2019 08:26:05 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92205] [10 Regression] ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1688 since r277322 Date: Thu, 24 Oct 2019 08:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: rguenth 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: 2019-10/txt/msg02118.txt.bz2 Content-length: 294 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92205 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.0 >From gcc-bugs-return-657393-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 08:42:07 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5833 invoked by alias); 24 Oct 2019 08:42: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 5761 invoked by uid 48); 24 Oct 2019 08:42:02 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92205] [10 Regression] ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1688 since r277322 Date: Thu, 24 Oct 2019 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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg02119.txt.bz2 Content-length: 979 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92205 --- Comment #4 from Richard Biener --- OK, so pattern recognition made a reduction with a conversion out of this and it was relaxing of the vectorizable_reduction code that let this through. This is in fact _not_ a sing-changing conversion reduction anymore: # d_15 = PHI _4 = *_3; _5 = (int) _4; patt_24 = (unsigned char) d_15; patt_23 = _4 | patt_24; patt_22 = (int) patt_23; // was d_11 = _5 | d_15; and now the suspicous /* To properly compute ncopies we are interested in the widest input type in case we're looking at a widening accumulation. */ if (tem && (!vectype_in || (GET_MODE_SIZE (SCALAR_TYPE_MODE (TREE_TYPE (vectype_in))) < GET_MODE_SIZE (SCALAR_TYPE_MODE (TREE_TYPE (tem)))))) vectype_in = tem; comes in seeing a v16qi input resulting in ncopies == 1. >From gcc-bugs-return-657394-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 08:49:40 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30504 invoked by alias); 24 Oct 2019 08:49: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 30426 invoked by uid 55); 24 Oct 2019 08:49:34 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92174] runtime error: index 15 out of bounds for type 'gfc_expr *[15] Date: Thu, 24 Oct 2019 08: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: marxin 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: 2019-10/txt/msg02120.txt.bz2 Content-length: 632 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 --- Comment #12 from Martin Liška --- Author: marxin Date: Thu Oct 24 08:49:02 2019 New Revision: 277367 URL: https://gcc.gnu.org/viewcvs?rev=277367&root=gcc&view=rev Log: Fix another UBSAN in Fortran coarray. 2019-10-24 Martin Liska PR fortran/92174 * array.c (gfc_resolve_array_spec): Break the loop for out of bounds index. * resolve.c (is_non_constant_shape_array): Likewise. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/array.c trunk/gcc/fortran/resolve.c >From gcc-bugs-return-657396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 08:53:32 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34464 invoked by alias); 24 Oct 2019 08:53:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34395 invoked by uid 48); 24 Oct 2019 08:53:27 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined Date: Thu, 24 Oct 2019 08:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: meta-bug 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 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: 2019-10/txt/msg02122.txt.bz2 Content-length: 490 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 92174, which changed state. Bug 92174 Summary: runtime error: index 15 out of bounds for type 'gfc_expr *[15] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-657395-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 08:53:32 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34456 invoked by alias); 24 Oct 2019 08:53:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34377 invoked by uid 48); 24 Oct 2019 08:53:27 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92174] runtime error: index 15 out of bounds for type 'gfc_expr *[15] Date: Thu, 24 Oct 2019 08:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 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: P4 X-Bugzilla-Assigned-To: marxin 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: 2019-10/txt/msg02121.txt.bz2 Content-length: 474 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #13 from Martin Liška --- Fixed now, I'm not planning to make backports. >From gcc-bugs-return-657398-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 08:54:11 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36209 invoked by alias); 24 Oct 2019 08: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 36111 invoked by uid 55); 24 Oct 2019 08:54:07 -0000 From: "postmaster@trippelsdorf-de.bounceio.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined Date: Thu, 24 Oct 2019 08:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: postmaster@trippelsdorf-de.bounceio.net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg02124.txt.bz2 Content-length: 242 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 --- Comment #14 from postmaster@trippelsdorf-de.bounceio.net --- Created attachment 47100 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47100&action=edit attachment-36069-1.eml >From gcc-bugs-return-657397-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 08:54:11 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36196 invoked by alias); 24 Oct 2019 08: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 36081 invoked by uid 55); 24 Oct 2019 08:54:06 -0000 From: "postmaster@trippelsdorf-de.bounceio.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined Date: Thu, 24 Oct 2019 08:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: postmaster@trippelsdorf-de.bounceio.net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02123.txt.bz2 Content-length: 2839 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 --- Comment #13 from postmaster@trippelsdorf-de.bounceio.net --- Your email was bounced... ------------------------- ... because something went wrong between you and your recipient. Ugh! What to do next? ---------------- Well, your specific problem was a *5.1.2 * error. Which means you should: Check the "trippelsdorf.de" part of "markus@trippelsdorf.de" for misspellings or missing letters. If you find an error, correct it in your contacts list or address book for next time. Or further: It is possible that the domain is temporarily inactive. If the spelling looks correct, contact your mail provider and if necessary, contact your recipient another way (e.g., phone or text message). Get more Bounce Intelligence ™ on 5.1.2 errors here![1] Thanks, have a lovely day. Yours truly, betterbounces.net[2] Rate this email: Helpful[3] :) or... Not Helpful[4] :( Advertisement | Prefer no ads?[5] YOU MIGHT LIKE [6] [7] [8] Learn more about RevenueStripe...[9] --------------------------------------------------------------------- © 2017 betterbounces.net, All rights reserved. Privacy[10] [IMAGE] [IMAGE] [IMAGE] [IMAGE] [IMAGE] 1. https://www.betterbounces.net/email-error/5.1.2?utm_source=7o9&utm_medium=direct&utm_campaign=trippelsdorf.de&utm_content=SeretV2 2. http://bit.ly/1AqkgOr 3. https://www.surveygizmo.com/s3/1609211/rtm01?tv=SeretV2&esc=5.1.2&t=7978D6DC-A5E4-410B-A0D3-AF87F393CF30.1&s=7o9&r=Helpful 4. https://www.surveygizmo.com/s3/1609211/rtm01?tv=SeretV2&esc=5.1.2&t=7978D6DC-A5E4-410B-A0D3-AF87F393CF30.1&s=7o9&r=Not%20helpful 5. https://betterbounces.net/b/Y1lM9w9S1KeLJcXVUarv1OJFNUggPr2joqvuXnfzPULQaWlkIsfqBNRgrwhzFkMcrwIXvcetvsYz6BSAduUDUOX259ENsI7e3HBFe_L9qqkswLxxp.9W4Mz9nic1fEk3b_JEBlfwrWyjYIBRM6OLFt_OXq_MrKuT9FbPDZoBNzGNE4gztylPle8NHh464vf7titT91WI150sPs4r2y2APILF5Fb_KY7JnWSvrTPQ_RLqzm5WLiQf9amSPLQH7QgRnK.tkgnKHeCv2ydZvL6JFIF5mZEKQnJuSp0TCEFIv8ck0KC7Fy5FWFv0yvyPX4PY 6. http://stripe.rs-1117-a.com/stripe/redirect?cs_email=f34cde757c9729b925454a1cf67de4ac&cs_sendid=1571907210491&cs_esp=threatwave&cs_offset=0&cs_stripeid=2454 7. http://stripe.rs-1117-a.com/stripe/redirect?cs_email=f34cde757c9729b925454a1cf67de4ac&cs_sendid=1571907210491&cs_esp=threatwave&cs_offset=1&cs_stripeid=2454 8. http://stripe.rs-1117-a.com/stripe/redirect?cs_email=f34cde757c9729b925454a1cf67de4ac&cs_sendid=1571907210491&cs_esp=threatwave&cs_offset=2&cs_stripeid=2454 9. http://branding.rs-1117-a.com/?utm_source=contentstripe&utm_medium=email&utm_campaign=rs_2454&utm_content=animatedlogo 10. https://www.betterbounces.net/privacy-policy >From gcc-bugs-return-657400-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 08:55:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39416 invoked by alias); 24 Oct 2019 08:55: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 39363 invoked by uid 48); 24 Oct 2019 08:55:34 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92206] [10 Regression] ICE in strip_typedefs, at cp/tree.c:1682 since r277281 Date: Thu, 24 Oct 2019 08: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: 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: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc 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: 2019-10/txt/msg02126.txt.bz2 Content-length: 646 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92206 Martin Liška changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-24 CC| |rsandifo at gcc dot gnu.org Known to work| |9.2.0 Target Milestone|--- |10.0 Ever confirmed|0 |1 Known to fail| |10.0 >From gcc-bugs-return-657399-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 08:55:13 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38514 invoked by alias); 24 Oct 2019 08:55: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 38383 invoked by uid 48); 24 Oct 2019 08:55:05 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92206] New: [10 Regression] ICE in strip_typedefs, at cp/tree.c:1682 since r277281 Date: Thu, 24 Oct 2019 08:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 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 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: 2019-10/txt/msg02125.txt.bz2 Content-length: 2391 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92206 Bug ID: 92206 Summary: [10 Regression] ICE in strip_typedefs, at cp/tree.c:1682 since r277281 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 Target Milestone: --- I see the ICE in Firefox: $ g++ unified.ii -c -Wno-invalid-offsetof -fsyntax-only In file included from /home/abuild/rpmbuild/BUILD/obj/js/src/gc/Unified_cpp_js_src_gc0.cpp:29: /home/abuild/rpmbuild/BUILD/firefox-69.0.3/js/src/gc/GC.cpp:6518:46: internal compiler error: in strip_typedefs, at cp/tree.c:1682 0x5c5ba0 strip_typedefs(tree_node*, bool*, unsigned int) ../../gcc/cp/tree.c:1682 0x5c5ba0 strip_typedefs(tree_node*, bool*, unsigned int) ../../gcc/cp/tree.c:1462 0x6f4311 canonicalize_type_argument ../../gcc/cp/pt.c:7928 0x6f4311 canonicalize_type_argument ../../gcc/cp/pt.c:7923 0x70734d coerce_template_parms ../../gcc/cp/pt.c:8771 0x71842a lookup_template_class_1 ../../gcc/cp/pt.c:9608 0x71842a lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*, int, int) ../../gcc/cp/pt.c:9978 0x730e0d finish_template_type(tree_node*, tree_node*, int) ../../gcc/cp/semantics.c:3396 0x6e28fd cp_parser_template_id ../../gcc/cp/parser.c:16545 0x6e2af7 cp_parser_class_name ../../gcc/cp/parser.c:23416 0x6df890 cp_parser_qualifying_entity ../../gcc/cp/parser.c:6724 0x6df890 cp_parser_nested_name_specifier_opt ../../gcc/cp/parser.c:6408 0x6dcce2 cp_parser_simple_type_specifier ../../gcc/cp/parser.c:17925 0x6cdc58 cp_parser_type_specifier ../../gcc/cp/parser.c:17583 0x6e13c8 cp_parser_type_specifier_seq ../../gcc/cp/parser.c:22123 0x6da354 cp_parser_type_id_1 ../../gcc/cp/parser.c:21952 0x6dc803 cp_parser_template_type_arg ../../gcc/cp/parser.c:22043 0x6e1572 cp_parser_template_argument ../../gcc/cp/parser.c:16984 0x6e1572 cp_parser_template_argument_list ../../gcc/cp/parser.c:16895 0x6e1572 cp_parser_enclosed_template_argument_list ../../gcc/cp/parser.c:29278 I'm reducing the test-case now.. >From gcc-bugs-return-657401-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:07:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 73949 invoked by alias); 24 Oct 2019 09:07: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 73814 invoked by uid 48); 24 Oct 2019 09:07:33 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65930] Reduction with sign-change not handled Date: Thu, 24 Oct 2019 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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth 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: 2019-10/txt/msg02127.txt.bz2 Content-length: 533 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ro at gcc dot gnu.org --- Comment #20 from Rainer Orth --- Created attachment 47101 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47101&action=edit 32-bit sparc-sun-solaris2.11 vect-reduc-2char-big-array.c.158t.vect >From gcc-bugs-return-657402-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:08:21 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75383 invoked by alias); 24 Oct 2019 09:08: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 75280 invoked by uid 48); 24 Oct 2019 09:08:16 -0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65930] Reduction with sign-change not handled Date: Thu, 24 Oct 2019 09: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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: 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: 2019-10/txt/msg02128.txt.bz2 Content-length: 2015 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #21 from Rainer Orth --- (In reply to Richard Biener from comment #19) > Author: rguenth > Date: Wed Oct 23 12:41:49 2019 > New Revision: 277322 > > URL: https://gcc.gnu.org/viewcvs?rev=277322&root=gcc&view=rev > Log: > 2019-10-23 Richard Biener > > PR tree-optimization/65930 > * tree-vect-loop.c (check_reduction_path): Allow conversions > that only change the sign. > (vectorizable_reduction): Relax latch def stmts we handle further. > > * gcc.dg/vect/vect-reduc-2char-big-array.c: Adjust. > * gcc.dg/vect/vect-reduc-2char.c: Likewise. > * gcc.dg/vect/vect-reduc-2short.c: Likewise. > * gcc.dg/vect/vect-reduc-dot-s8b.c: Likewise. > * gcc.dg/vect/vect-reduc-pattern-2c.c: Likewise. This patch caused a couple of regressions on Solaris/SPARC (32 and 64-bit): +FAIL: gcc.dg/vect/vect-reduc-2char-big-array.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorized 3 loops" 1 +FAIL: gcc.dg/vect/vect-reduc-2char-big-array.c scan-tree-dump-times vect "vectorized 3 loops" 1 +FAIL: gcc.dg/vect/vect-reduc-2char.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorized 3 loops" 1 +FAIL: gcc.dg/vect/vect-reduc-2char.c scan-tree-dump-times vect "vectorized 3 loops" 1 +FAIL: gcc.dg/vect/vect-reduc-2short.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorized 3 loops" 1 +FAIL: gcc.dg/vect/vect-reduc-2short.c scan-tree-dump-times vect "vectorized 3 loops" 1 +FAIL: gcc.dg/vect/vect-reduc-dot-s8b.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorized 1 loops" 1 +FAIL: gcc.dg/vect/vect-reduc-dot-s8b.c scan-tree-dump-times vect "vectorized 1 loops" 1 +FAIL: gcc.dg/vect/vect-reduc-pattern-2c.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorized 1 loops" 1 +FAIL: gcc.dg/vect/vect-reduc-pattern-2c.c scan-tree-dump-times vect "vectorized 1 loops" 1 I'm attaching the vect-reduc-2char-big-array.c dump as an example. >From gcc-bugs-return-657403-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:10:15 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82515 invoked by alias); 24 Oct 2019 09:10:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 82457 invoked by uid 48); 24 Oct 2019 09:10:11 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91927] -mstrict-align doesn't prevent unaligned accesses at -O2 and -O3 on AARCH64 targets Date: Thu, 24 Oct 2019 09:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.3.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02129.txt.bz2 Content-length: 1247 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91927 --- Comment #7 from Richard Earnshaw --- (In reply to Kamlesh Kumar from comment #6) > This Fixes it. > > diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c > index 2e73f3515bb..155f4c45500 100644 > --- a/gcc/config/aarch64/aarch64.c > +++ b/gcc/config/aarch64/aarch64.c > @@ -16161,15 +16161,9 @@ aarch64_builtin_support_vector_misalignment > (machine_mode mode, > const_tree type, int > misalignment, > bool is_packed) > { > - if (TARGET_SIMD && STRICT_ALIGNMENT) > + if (STRICT_ALIGNMENT) > { > - /* Return if movmisalign pattern is not supported for this mode. */ > - if (optab_handler (movmisalign_optab, mode) == CODE_FOR_nothing) > - return false; > - > - /* Misalignment factor is unknown at compile time. */ > - if (misalignment == -1) > - return false; > + return false; > } > return default_builtin_support_vector_misalignment (mode, type, > misalignment, > is_packed); No, that bodges around it. It's not a fix. >From gcc-bugs-return-657404-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:16:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15246 invoked by alias); 24 Oct 2019 09:16: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 15190 invoked by uid 48); 24 Oct 2019 09:16:26 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92207] New: pr36449.C fails on arm after r277179 Date: Thu, 24 Oct 2019 09:16: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg02130.txt.bz2 Content-length: 970 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92207 Bug ID: 92207 Summary: pr36449.C fails on arm after r277179 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- As discussed in https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01619.html I have noticed a regression after r277179. However, it seems tricky to reproduce, and I had to manually regenerate the toolchains produced by my automatic CI system. It might be related to the changes in linker offsets. I'm attaching the full binaries produced at r277178 and r277179, along with the traces produced with qemu 4.1.0: qemu-arm -D in_asm,cpu pr36449.exe Note that qemu traces do not dump all the target instructions, so it's probably better to use gdb + qemu. >From gcc-bugs-return-657405-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:18:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17566 invoked by alias); 24 Oct 2019 09:18:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 17512 invoked by uid 48); 24 Oct 2019 09:18:34 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92207] pr36449.C fails on arm after r277179 Date: Thu, 24 Oct 2019 09:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2019-10/txt/msg02131.txt.bz2 Content-length: 245 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92207 --- Comment #1 from Christophe Lyon --- Created attachment 47102 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47102&action=edit Executable from r277178 >From gcc-bugs-return-657407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:19:34 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19511 invoked by alias); 24 Oct 2019 09:19: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 19444 invoked by uid 48); 24 Oct 2019 09:19:29 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92207] pr36449.C fails on arm after r277179 Date: Thu, 24 Oct 2019 09: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg02133.txt.bz2 Content-length: 249 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92207 --- Comment #3 from Christophe Lyon --- Created attachment 47104 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47104&action=edit Execution trace for r277178 >From gcc-bugs-return-657408-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:19:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20568 invoked by alias); 24 Oct 2019 09:19: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 20517 invoked by uid 48); 24 Oct 2019 09:19:49 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92207] pr36449.C fails on arm after r277179 Date: Thu, 24 Oct 2019 09: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg02134.txt.bz2 Content-length: 249 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92207 --- Comment #4 from Christophe Lyon --- Created attachment 47105 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47105&action=edit Execution trace for r277179 >From gcc-bugs-return-657406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:19:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18499 invoked by alias); 24 Oct 2019 09:19: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 18408 invoked by uid 48); 24 Oct 2019 09:18:59 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92207] pr36449.C fails on arm after r277179 Date: Thu, 24 Oct 2019 09: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg02132.txt.bz2 Content-length: 245 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92207 --- Comment #2 from Christophe Lyon --- Created attachment 47103 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47103&action=edit Executable from r277179 >From gcc-bugs-return-657410-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:39:34 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13716 invoked by alias); 24 Oct 2019 09:39: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 13491 invoked by uid 55); 24 Oct 2019 09:39:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91812] [7 Regression] GCC ignores volatile modifier Date: Thu, 24 Oct 2019 09:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.3.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: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02136.txt.bz2 Content-length: 1188 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91812 --- Comment #11 from Richard Biener --- Author: rguenth Date: Thu Oct 24 09:38:56 2019 New Revision: 277370 URL: https://gcc.gnu.org/viewcvs?rev=277370&root=gcc&view=rev Log: 2019-10-24 Richard Biener Backport from mainline 2019-10-17 Richard Biener PR debug/91887 * dwarf2out.c (gen_formal_parameter_die): Also try to match context_die against a DW_TAG_GNU_formal_parameter_pack parent. * g++.dg/debug/dwarf2/pr91887.C: New testcase. 2019-09-19 Richard Biener PR tree-optimization/91812 * tree-ssa-phiprop.c (propagate_with_phi): Do not replace volatile loads. * gcc.dg/torture/pr91812.c: New testcase. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/debug/dwarf2/pr91887.C branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr91812.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/dwarf2out.c branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/tree-ssa-phiprop.c >From gcc-bugs-return-657409-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:39:33 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13560 invoked by alias); 24 Oct 2019 09:39:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13470 invoked by uid 55); 24 Oct 2019 09:39:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/91887] [7 Regression] -fdebug-types-section ICE building chromium Date: Thu, 24 Oct 2019 09:39: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: major 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: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02135.txt.bz2 Content-length: 1188 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91887 --- Comment #10 from Richard Biener --- Author: rguenth Date: Thu Oct 24 09:38:56 2019 New Revision: 277370 URL: https://gcc.gnu.org/viewcvs?rev=277370&root=gcc&view=rev Log: 2019-10-24 Richard Biener Backport from mainline 2019-10-17 Richard Biener PR debug/91887 * dwarf2out.c (gen_formal_parameter_die): Also try to match context_die against a DW_TAG_GNU_formal_parameter_pack parent. * g++.dg/debug/dwarf2/pr91887.C: New testcase. 2019-09-19 Richard Biener PR tree-optimization/91812 * tree-ssa-phiprop.c (propagate_with_phi): Do not replace volatile loads. * gcc.dg/torture/pr91812.c: New testcase. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/debug/dwarf2/pr91887.C branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr91812.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/dwarf2out.c branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/tree-ssa-phiprop.c >From gcc-bugs-return-657412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:40:23 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15998 invoked by alias); 24 Oct 2019 09:40: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 15447 invoked by uid 48); 24 Oct 2019 09:40:18 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91812] [7 Regression] GCC ignores volatile modifier Date: Thu, 24 Oct 2019 09:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.3.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02138.txt.bz2 Content-length: 485 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91812 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Known to fail| |7.4.0 --- Comment #12 from Richard Biener --- Fixed. >From gcc-bugs-return-657411-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:40:19 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15457 invoked by alias); 24 Oct 2019 09:40:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15342 invoked by uid 48); 24 Oct 2019 09:40:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/91887] [7 Regression] -fdebug-types-section ICE building chromium Date: Thu, 24 Oct 2019 09:40: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: major X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02137.txt.bz2 Content-length: 485 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91887 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Known to fail| |7.4.0 --- Comment #11 from Richard Biener --- Fixed. >From gcc-bugs-return-657413-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:42:56 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38882 invoked by alias); 24 Oct 2019 09:42:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 38822 invoked by uid 48); 24 Oct 2019 09:42:52 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92207] [10 Regression] pr36449.C fails on arm after r277179 Date: Thu, 24 Oct 2019 09:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 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 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: 2019-10/txt/msg02139.txt.bz2 Content-length: 445 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92207 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.0 Summary|pr36449.C fails on arm |[10 Regression] pr36449.C |after r277179 |fails on arm after r277179 >From gcc-bugs-return-657416-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:46:34 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43381 invoked by alias); 24 Oct 2019 09:46:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42977 invoked by uid 48); 24 Oct 2019 09:46:15 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67491] [meta-bug] concepts issues Date: Thu, 24 Oct 2019 09:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02141.txt.bz2 Content-length: 468 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 88338, which changed state. Bug 88338 Summary: Implement P0898R3, C++20 concepts library. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88338 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-657417-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:46:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43943 invoked by alias); 24 Oct 2019 09:46:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 43280 invoked by uid 48); 24 Oct 2019 09:46:29 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88322] Implement C++20 library features. Date: Thu, 24 Oct 2019 09:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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: 2019-10/txt/msg02142.txt.bz2 Content-length: 468 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88322 Bug 88322 depends on bug 88338, which changed state. Bug 88338 Summary: Implement P0898R3, C++20 concepts library. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88338 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >From gcc-bugs-return-657415-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:46:33 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43260 invoked by alias); 24 Oct 2019 09:46:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42928 invoked by uid 48); 24 Oct 2019 09:46:13 -0000 From: "nils.reiche at dlr dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/92208] New: internal compile error, character array of dynamic length returned from function and passed to subroutine Date: Thu, 24 Oct 2019 09:46: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nils.reiche at dlr dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02143.txt.bz2 Content-length: 5375 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92208 Bug ID: 92208 Summary: internal compile error, character array of dynamic length returned from function and passed to subroutine Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: nils.reiche at dlr dot de Target Milestone: --- Description: A function creates and return an array of characters of a certain length that is allocated at the call of the function. When the returned array is not passed to any other function, the code compiles and runs perfectly. But passing this character array to another subroutine causes an internal compiler error. Attached is the source code of the test program. It has been working for compiler versions gcc-5.2 and gcc-8.2, others were not tested. Source code: program stringtest implicit none integer, parameter :: noVars = 2 print*, "varNames: ", createVarnames("var",noVars) call function1(noVars,createVarnames("var",noVars),"path") contains function createVarnames(string,noVars) result(stringArray) implicit none character(len=*), intent(in) :: string integer, intent(in) :: noVars character(len=len_trim(string)+6), dimension(noVars) :: stringArray integer :: i do i=1,noVars write(stringArray(i),'(a,i0)') string, i enddo end function createVarnames subroutine function1(noVars,varNames,path) implicit none integer, intent(in) :: noVars character(len=*), intent(in) :: path character(len=*), dimension(noVars) :: varNames print*, "function1-path : ", trim(path) print*, "function1-varNames: ", varNames end subroutine function1 end program stringtest Compiler specifications: gfortran -v Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/home_as/ta/moes_mc/software_rhel7/compilers/gcc-9.2.0-install/libexec/gcc/x86_64-pc-linux-gnu/9.2.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-9.2.0/configure --prefix=/home_as/ta/moes_mc/software_rhel7/compilers/gcc-9.2.0-install --enable-threads Thread model: posix gcc version 9.2.0 (GCC) Compiler error message: gfortran -Wall -Wextra string_test.F90 string_test.F90:1:0: 1 | program stringtest | internal compiler error: ..__result from createvarnames referenced in stringtest 0xbbac19 convert_nonlocal_reference_op ../../gcc-9.2.0/gcc/tree-nested.c:1053 0xd84882 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*)) ../../gcc-9.2.0/gcc/tree.c:12151 0x909619 walk_gimple_op(gimple*, tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../gcc-9.2.0/gcc/gimple-walk.c:253 0x9099f1 walk_gimple_stmt(gimple_stmt_iterator*, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../gcc-9.2.0/gcc/gimple-walk.c:586 0x909b30 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../gcc-9.2.0/gcc/gimple-walk.c:51 0x909ab1 walk_gimple_stmt(gimple_stmt_iterator*, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../gcc-9.2.0/gcc/gimple-walk.c:631 0x909b30 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../gcc-9.2.0/gcc/gimple-walk.c:51 0x909a71 walk_gimple_stmt(gimple_stmt_iterator*, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../gcc-9.2.0/gcc/gimple-walk.c:675 0x909b30 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../gcc-9.2.0/gcc/gimple-walk.c:51 0x909a71 walk_gimple_stmt(gimple_stmt_iterator*, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../gcc-9.2.0/gcc/gimple-walk.c:675 0x909b30 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../gcc-9.2.0/gcc/gimple-walk.c:51 0xbb8708 walk_body ../../gcc-9.2.0/gcc/tree-nested.c:703 0xbb8ee0 walk_function ../../gcc-9.2.0/gcc/tree-nested.c:714 0xbb8ee0 walk_all_functions ../../gcc-9.2.0/gcc/tree-nested.c:779 0xbbbe0c lower_nested_functions(tree_node*) ../../gcc-9.2.0/gcc/tree-nested.c:3507 0x7cae9c cgraph_node::analyze() ../../gcc-9.2.0/gcc/cgraphunit.c:673 0x7cd4d7 analyze_functions ../../gcc-9.2.0/gcc/cgraphunit.c:1126 0x7ce0c2 symbol_table::finalize_compilation_unit() ../../gcc-9.2.0/gcc/cgraphunit.c:2837 Please submit a full bug report, >From gcc-bugs-return-657414-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:46:29 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43040 invoked by alias); 24 Oct 2019 09:46:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 42486 invoked by uid 48); 24 Oct 2019 09:45:47 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88338] Implement P0898R3, C++20 concepts library. Date: Thu, 24 Oct 2019 09:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: 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: 2019-10/txt/msg02140.txt.bz2 Content-length: 462 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88338 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Jonathan Wakely --- P0898R3 is fully implemented as of r277369. >From gcc-bugs-return-657418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:48:37 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50735 invoked by alias); 24 Oct 2019 09:48:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50493 invoked by uid 55); 24 Oct 2019 09:47:57 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/88338] Implement P0898R3, C++20 concepts library. Date: Thu, 24 Oct 2019 09:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02144.txt.bz2 Content-length: 883 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88338 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Thu Oct 24 09:47:25 2019 New Revision: 277371 URL: https://gcc.gnu.org/viewcvs?rev=277371&root=gcc&view=rev Log: PR libstdc++/88338 Implement P0898R3, C++20 concepts library The implementation is already complete but this updates the docs and adds tests for the feature test macro. * doc/xml/manual/status_cxx2020.xml: Update status. * doc/html/*: Regenerate. * testsuite/std/concepts/1.cc: New test. * testsuite/std/concepts/2.cc: New test. Added: trunk/libstdc++-v3/testsuite/std/concepts/1.cc trunk/libstdc++-v3/testsuite/std/concepts/2.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/doc/html/manual/status.html trunk/libstdc++-v3/doc/xml/manual/status_cxx2020.xml >From gcc-bugs-return-657419-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:54:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66470 invoked by alias); 24 Oct 2019 09:54:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66336 invoked by uid 48); 24 Oct 2019 09:54:21 -0000 From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65930] Reduction with sign-change not handled Date: Thu, 24 Oct 2019 09:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: 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: 2019-10/txt/msg02145.txt.bz2 Content-length: 419 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #22 from Tamar Christina --- It also causes failures on AArch64. FAIL: gcc.target/aarch64/sve/reduc_2.c FAIL: gcc.target/aarch64/sve/slp_7.c FAIL: gcc.target/aarch64/sve/slp_5.c FAIL: gcc.target/aarch64/sve/reduc_1.c I've also noticed a few ICEs on SPEC but haven't pinpointed it to this commit yet. Running a bisect. >From gcc-bugs-return-657420-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 09:57:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72177 invoked by alias); 24 Oct 2019 09:57: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 71843 invoked by uid 48); 24 Oct 2019 09:57:25 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65930] Reduction with sign-change not handled Date: Thu, 24 Oct 2019 09:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02146.txt.bz2 Content-length: 2806 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #23 from Richard Biener --- (In reply to Rainer Orth from comment #21) > (In reply to Richard Biener from comment #19) > > Author: rguenth > > Date: Wed Oct 23 12:41:49 2019 > > New Revision: 277322 > > > > URL: https://gcc.gnu.org/viewcvs?rev=277322&root=gcc&view=rev > > Log: > > 2019-10-23 Richard Biener > > > > PR tree-optimization/65930 > > * tree-vect-loop.c (check_reduction_path): Allow conversions > > that only change the sign. > > (vectorizable_reduction): Relax latch def stmts we handle further. > > > > * gcc.dg/vect/vect-reduc-2char-big-array.c: Adjust. > > * gcc.dg/vect/vect-reduc-2char.c: Likewise. > > * gcc.dg/vect/vect-reduc-2short.c: Likewise. > > * gcc.dg/vect/vect-reduc-dot-s8b.c: Likewise. > > * gcc.dg/vect/vect-reduc-pattern-2c.c: Likewise. > > This patch caused a couple of regressions on Solaris/SPARC (32 and 64-bit): > > +FAIL: gcc.dg/vect/vect-reduc-2char-big-array.c -flto -ffat-lto-objects > scan-tree-dump-times vect "vectorized 3 loops" 1 > +FAIL: gcc.dg/vect/vect-reduc-2char-big-array.c scan-tree-dump-times vect > "vectorized 3 loops" 1 > +FAIL: gcc.dg/vect/vect-reduc-2char.c -flto -ffat-lto-objects > scan-tree-dump-times vect "vectorized 3 loops" 1 > +FAIL: gcc.dg/vect/vect-reduc-2char.c scan-tree-dump-times vect "vectorized > 3 loops" 1 > +FAIL: gcc.dg/vect/vect-reduc-2short.c -flto -ffat-lto-objects > scan-tree-dump-times vect "vectorized 3 loops" 1 > +FAIL: gcc.dg/vect/vect-reduc-2short.c scan-tree-dump-times vect "vectorized > 3 loops" 1 > +FAIL: gcc.dg/vect/vect-reduc-dot-s8b.c -flto -ffat-lto-objects > scan-tree-dump-times vect "vectorized 1 loops" 1 > +FAIL: gcc.dg/vect/vect-reduc-dot-s8b.c scan-tree-dump-times vect > "vectorized 1 loops" 1 > +FAIL: gcc.dg/vect/vect-reduc-pattern-2c.c -flto -ffat-lto-objects > scan-tree-dump-times vect "vectorized 1 loops" 1 > +FAIL: gcc.dg/vect/vect-reduc-pattern-2c.c scan-tree-dump-times vect > "vectorized 1 loops" 1 > > I'm attaching the vect-reduc-2char-big-array.c dump as an example. OK, there's /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/vect-reduc-2char-big-array.c:44:9: missed: not vectorized: relevant stmt not supported: min_47 = MIN_EXPR <_20, min_88>; looks like those XFAILs are not expected to pass within the constraints of the testcases (guess that was to be expected). There's vect_no_int_min_max to cover up I guess. For vect-reduc-dot-s8b.c I wonder why it detected the widen_mult pattern but failed vectorization (dump file?) Otherwise there's vect_widen_mult_qi_to_hi which sparc doesn't have. At least that was used in the vect-reduc-pattern-2c.c case. I'm going to install a patch. >From gcc-bugs-return-657421-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 10:00:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83287 invoked by alias); 24 Oct 2019 09:59:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83187 invoked by uid 55); 24 Oct 2019 09:59:55 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65930] Reduction with sign-change not handled Date: Thu, 24 Oct 2019 09:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02147.txt.bz2 Content-length: 969 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #24 from Richard Biener --- Author: rguenth Date: Thu Oct 24 09:59:24 2019 New Revision: 277372 URL: https://gcc.gnu.org/viewcvs?rev=277372&root=gcc&view=rev Log: 2019-10-24 Richard Biener PR tree-optimization/65930 * gcc.dg/vect/vect-reduc-2char-big-array.c: Adjust again. * gcc.dg/vect/vect-reduc-2char.c: Likewise. * gcc.dg/vect/vect-reduc-2short.c: Likewise. * gcc.dg/vect/vect-reduc-dot-s8b.c: Likewise. * gcc.dg/vect/vect-reduc-pattern-2c.c: Likewise. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/vect-reduc-2char-big-array.c trunk/gcc/testsuite/gcc.dg/vect/vect-reduc-2char.c trunk/gcc/testsuite/gcc.dg/vect/vect-reduc-2short.c trunk/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s8b.c trunk/gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-2c.c >From gcc-bugs-return-657423-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 10:02:54 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87608 invoked by alias); 24 Oct 2019 10:02: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 87488 invoked by uid 55); 24 Oct 2019 10:02:50 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65930] Reduction with sign-change not handled Date: Thu, 24 Oct 2019 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: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02149.txt.bz2 Content-length: 938 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #25 from rguenther at suse dot de --- On Thu, 24 Oct 2019, tnfchris at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 > > --- Comment #22 from Tamar Christina --- > It also causes failures on AArch64. > > > FAIL: gcc.target/aarch64/sve/reduc_2.c > FAIL: gcc.target/aarch64/sve/slp_7.c > FAIL: gcc.target/aarch64/sve/slp_5.c At least for this one there's the comment /* ??? At present we don't treat the int8_t and int16_t loops as reductions. */ but I guess it's the same for the rest. You have to fixup the testcases yourself - they are too complex and fragile. > FAIL: gcc.target/aarch64/sve/reduc_1.c > > I've also noticed a few ICEs on SPEC but haven't pinpointed it to this commit > yet. Running a bisect. Might be PR92205, I'm testing a patch for that. >From gcc-bugs-return-657422-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 10:02:37 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86675 invoked by alias); 24 Oct 2019 10:02: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 86631 invoked by uid 48); 24 Oct 2019 10:02:33 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92207] [10 Regression] pr36449.C fails on arm after r277179 Date: Thu, 24 Oct 2019 10:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-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: 2019-10/txt/msg02148.txt.bz2 Content-length: 415 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92207 --- Comment #5 from Richard Earnshaw --- Apart from the addresses used, the traces are identical right up until the latter version crashes. The testcase tries to allocate 128Mb+4bytes of memory, so my suspicion is that this is a test that needs more memory in the simulation. Why this patch triggers this failure I'm not sure. >From gcc-bugs-return-657424-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 10:11:03 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99155 invoked by alias); 24 Oct 2019 10:11: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 99076 invoked by uid 48); 24 Oct 2019 10:10:59 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92207] [10 Regression] pr36449.C fails on arm after r277179 Date: Thu, 24 Oct 2019 10:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg02150.txt.bz2 Content-length: 2380 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92207 --- Comment #6 from Christophe Lyon --- In particular, the execution continues after the last block dumped by qemu: 0x00018e40: e5974008 ldr r4, [r7, #8] 0x00018e44: e0898008 add r8, sb, r8 0x00018e48: e3888001 orr r8, r8, #1 0x00018e4c: e5848004 str r8, [r4, #4] 0x00018e50: eaffff14 b #0x18aa8 I set a breakpoint at 0x00018e40, then single-step until the crash: => 0x18e40 <_malloc_r+1732>: ldr r4, [r7, #8] => 0x18e44 <_malloc_r+1736>: add r8, r9, r8 => 0x18e48 <_malloc_r+1740>: orr r8, r8, #1 => 0x18e4c <_malloc_r+1744>: str r8, [r4, #4] => 0x18e50 <_malloc_r+1748>: b 0x18aa8 <_malloc_r+812> => 0x18aa8 <_malloc_r+812>: ldr r3, [r10, #44] ; 0x2c => 0x18aac <_malloc_r+816>: cmp r3, r1 => 0x18ab0 <_malloc_r+820>: ldr r3, [r10, #48] ; 0x30 => 0x18ab4 <_malloc_r+824>: strcc r1, [r10, #44] ; 0x2c => 0x18ab8 <_malloc_r+828>: cmp r3, r1 => 0x18abc <_malloc_r+832>: strcc r1, [r10, #48] ; 0x30 => 0x18ac0 <_malloc_r+836>: bic r8, r8, #3 => 0x18ac4 <_malloc_r+840>: sub r3, r8, r5 => 0x18ac8 <_malloc_r+844>: cmp r3, #15 => 0x18acc <_malloc_r+848>: movgt r2, #0 => 0x18ad0 <_malloc_r+852>: movle r2, #1 => 0x18ad4 <_malloc_r+856>: cmp r5, r8 => 0x18ad8 <_malloc_r+860>: orrhi r2, r2, #1 => 0x18adc <_malloc_r+864>: cmp r2, #0 => 0x18ae0 <_malloc_r+868>: beq 0x18ba4 <_malloc_r+1064> => 0x18ba4 <_malloc_r+1064>: add r2, r4, r5 => 0x18ba8 <_malloc_r+1068>: orr r3, r3, #1 => 0x18bac <_malloc_r+1072>: orr r5, r5, #1 => 0x18bb0 <_malloc_r+1076>: str r5, [r4, #4] => 0x18bb4 <_malloc_r+1080>: mov r0, r6 => 0x18bb8 <_malloc_r+1084>: str r2, [r7, #8] => 0x18bbc <_malloc_r+1088>: add r4, r4, #8 => 0x18bc0 <_malloc_r+1092>: str r3, [r2, #4] (gdb) p /x $r2 $1 = 0x804a568 (gdb) si Program received signal SIGSEGV, Segmentation fault. 0x00018bc0 in _malloc_r (reent_ptr=0x49098 , bytes=) at /tmp/7992549.tmpdir/aci-gcc-fsf/sources/newlib/newlib/libc/stdlib/mallocr.c:2592 2592 in /tmp/7992549.tmpdir/aci-gcc-fsf/sources/newlib/newlib/libc/stdlib/mallocr.c >From gcc-bugs-return-657425-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 10:12:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101879 invoked by alias); 24 Oct 2019 10:12: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 101759 invoked by uid 48); 24 Oct 2019 10:11:59 -0000 From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65930] Reduction with sign-change not handled Date: Thu, 24 Oct 2019 10:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: 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: 2019-10/txt/msg02151.txt.bz2 Content-length: 709 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #26 from Tamar Christina --- > At least for this one there's the comment > /* ??? At present we don't treat the int8_t and int16_t loops as > reductions. */ > > but I guess it's the same for the rest. You have to fixup the testcases > yourself - they are too complex and fragile. Ah yeah fair enough. Thanks! > > I've also noticed a few ICEs on SPEC but haven't pinpointed it to this commit > > yet. Running a bisect. > > Might be PR92205, I'm testing a patch for that. Ah yeah it's that one. Thanks. I just noticed it so didn't get a chance to find an existing report. I'll follow that one. Thanks! >From gcc-bugs-return-657426-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 10:13:58 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103935 invoked by alias); 24 Oct 2019 10:13: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 103877 invoked by uid 48); 24 Oct 2019 10:13:54 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92207] [10 Regression] pr36449.C fails on arm after r277179 Date: Thu, 24 Oct 2019 10:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg02152.txt.bz2 Content-length: 279 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92207 --- Comment #7 from Christophe Lyon --- When single-stepping in the r277178 executable, the final => 0x18bc0 <_malloc_r+1092>: str r3, [r2, #4] succeeds and (gdb) p /x $r2 $2 = 0x804aa40 >From gcc-bugs-return-657427-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 10:20:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32225 invoked by alias); 24 Oct 2019 10:20: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 27428 invoked by uid 48); 24 Oct 2019 10:20:00 -0000 From: "ubizjak at gmail dot com" 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: Thu, 24 Oct 2019 10: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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg02153.txt.bz2 Content-length: 876 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92190 --- Comment #1 from Uroš Bizjak --- It looks that we got partial saves of MS ABI functions all wrong. According to Table 4 on page 10 of [1], the MS ABI callee saves only lower 128bit parts of XMM6 - XMM15. So, there is no guarantee that upper parts of XMM6 - XMM15 will be saved. This means, that vzeroupper insertion has no effect on MS ABI functions, and can be emitted without concern on how upper parts of YMM/XMM registers are passed over function calls. Also, the problem with "precise" vzeroupper description is, that clobber now forces save of callee-saved register, so XMM6 - XMM15 are always saved, as soon as vzeroupper is emitted. Someone with access to authoritative documentation should confirm the above. [1] https://www.agner.org/optimize/calling_conventions.pdf >From gcc-bugs-return-657428-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 10:23:59 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95564 invoked by alias); 24 Oct 2019 10:23: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 95457 invoked by uid 48); 24 Oct 2019 10:23:54 -0000 From: "gjl 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: Thu, 24 Oct 2019 10:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.1.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: gjl at gcc dot gnu.org X-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: bug_status cf_reconfirmed_on short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02154.txt.bz2 Content-length: 721 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90706 Georg-Johann Lay changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-24 Summary|[9 Regression] Useless code |[9/10 Regression] Useless |generated for stack / |code generated for stack / |register operations on AVR |register operations on AVR Ever confirmed|0 |1 --- Comment #4 from Georg-Johann Lay --- Still an issue with v10. >From gcc-bugs-return-657429-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 10:24:47 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97106 invoked by alias); 24 Oct 2019 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 96762 invoked by uid 55); 24 Oct 2019 10:24:26 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65930] Reduction with sign-change not handled Date: Thu, 24 Oct 2019 10:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02155.txt.bz2 Content-length: 503 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #27 from Richard Biener --- Author: rguenth Date: Thu Oct 24 10:23:52 2019 New Revision: 277373 URL: https://gcc.gnu.org/viewcvs?rev=277373&root=gcc&view=rev Log: 2019-10-24 Richard Biener PR tree-optimization/65930 * gcc.dg/vect/vect-reduc-2short.c: Fix typo. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/vect/vect-reduc-2short.c >From gcc-bugs-return-657430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 11:06:59 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70578 invoked by alias); 24 Oct 2019 11:06:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70464 invoked by uid 55); 24 Oct 2019 11:06:53 -0000 From: "postmaster@trippelsdorf-de.bounceio.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined Date: Thu, 24 Oct 2019 11:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: postmaster@trippelsdorf-de.bounceio.net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02156.txt.bz2 Content-length: 2839 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 --- Comment #15 from postmaster@trippelsdorf-de.bounceio.net --- Your email was bounced... ------------------------- ... because something went wrong between you and your recipient. Ugh! What to do next? ---------------- Well, your specific problem was a *5.1.2 * error. Which means you should: Check the "trippelsdorf.de" part of "markus@trippelsdorf.de" for misspellings or missing letters. If you find an error, correct it in your contacts list or address book for next time. Or further: It is possible that the domain is temporarily inactive. If the spelling looks correct, contact your mail provider and if necessary, contact your recipient another way (e.g., phone or text message). Get more Bounce Intelligence ™ on 5.1.2 errors here![1] Thanks, have a lovely day. Yours truly, betterbounces.net[2] Rate this email: Helpful[3] :) or... Not Helpful[4] :( Advertisement | Prefer no ads?[5] YOU MIGHT LIKE [6] [7] [8] Learn more about RevenueStripe...[9] --------------------------------------------------------------------- © 2017 betterbounces.net, All rights reserved. Privacy[10] [IMAGE] [IMAGE] [IMAGE] [IMAGE] [IMAGE] 1. https://www.betterbounces.net/email-error/5.1.2?utm_source=7o9&utm_medium=direct&utm_campaign=trippelsdorf.de&utm_content=SeretV2 2. http://bit.ly/1AqkgOr 3. https://www.surveygizmo.com/s3/1609211/rtm01?tv=SeretV2&esc=5.1.2&t=677E5AFA-76D9-4DDC-BCAD-BFC0D2E82E83.1&s=7o9&r=Helpful 4. https://www.surveygizmo.com/s3/1609211/rtm01?tv=SeretV2&esc=5.1.2&t=677E5AFA-76D9-4DDC-BCAD-BFC0D2E82E83.1&s=7o9&r=Not%20helpful 5. https://betterbounces.net/b/Y1lM9w9S1KeLJcXVUarv1OJFNUggPr2joqvuXnfzPULQaWlkIsfqBNRgrwhzFkMcrwIXvcetvsYz6BSAduUDUOX259ENsI7e3HBFe_L9qqkswLxxp.9W4Mz9nic1fEk3b_JEBlfwrWyjYIBRM6OLFt_OXq_MrKuT9FbPDZoBNzGNE4gztylPle8NHh464vf7titT91WI150sPs4r2y2APILF5Fb_KY7JnWSvrTPQ_RLqzm5WLiQf9amSPLQH7QgRL0mXsbpxKfISjq.sIQjoNyvY6vg.dtzyFjKNTzMXb_i0jGTCjSlJMptuAbLHSmVg 6. http://stripe.rs-1117-a.com/stripe/redirect?cs_email=f34cde757c9729b925454a1cf67de4ac&cs_sendid=1571904521376&cs_esp=threatwave&cs_offset=0&cs_stripeid=2454 7. http://stripe.rs-1117-a.com/stripe/redirect?cs_email=f34cde757c9729b925454a1cf67de4ac&cs_sendid=1571904521376&cs_esp=threatwave&cs_offset=1&cs_stripeid=2454 8. http://stripe.rs-1117-a.com/stripe/redirect?cs_email=f34cde757c9729b925454a1cf67de4ac&cs_sendid=1571904521376&cs_esp=threatwave&cs_offset=2&cs_stripeid=2454 9. http://branding.rs-1117-a.com/?utm_source=contentstripe&utm_medium=email&utm_campaign=rs_2454&utm_content=animatedlogo 10. https://www.betterbounces.net/privacy-policy >From gcc-bugs-return-657431-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 11:07:00 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70585 invoked by alias); 24 Oct 2019 11:06:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70518 invoked by uid 55); 24 Oct 2019 11:06:55 -0000 From: "postmaster@trippelsdorf-de.bounceio.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined Date: Thu, 24 Oct 2019 11:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: meta-bug X-Bugzilla-Severity: normal X-Bugzilla-Who: postmaster@trippelsdorf-de.bounceio.net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg02157.txt.bz2 Content-length: 242 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 --- Comment #16 from postmaster@trippelsdorf-de.bounceio.net --- Created attachment 47107 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47107&action=edit attachment-70446-1.eml >From gcc-bugs-return-657432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 11:25:25 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100760 invoked by alias); 24 Oct 2019 11:25: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 100221 invoked by uid 55); 24 Oct 2019 11:24:48 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92203] [10 Regression] ICE in eliminate_stmt, at tree-ssa-sccvn.c:5492 Date: Thu, 24 Oct 2019 11:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: P3 X-Bugzilla-Assigned-To: rguenth 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: 2019-10/txt/msg02158.txt.bz2 Content-length: 688 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92203 --- Comment #2 from Richard Biener --- Author: rguenth Date: Thu Oct 24 11:23:54 2019 New Revision: 277374 URL: https://gcc.gnu.org/viewcvs?rev=277374&root=gcc&view=rev Log: 2019-10-24 Richard Biener PR tree-optimization/92203 * treee-ssa-sccvn.c (eliminate_dom_walker::eliminate_stmt): Skip eliminating conversion stmts inserted by insertion. * gcc.dg/torture/pr92203.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr92203.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-sccvn.c >From gcc-bugs-return-657433-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 11:27:17 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39962 invoked by alias); 24 Oct 2019 11:27: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 37834 invoked by uid 48); 24 Oct 2019 11:27:13 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92203] [9 Regression] ICE in eliminate_stmt, at tree-ssa-sccvn.c:5492 Date: Thu, 24 Oct 2019 11: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: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work 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: 2019-10/txt/msg02159.txt.bz2 Content-length: 675 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92203 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |10.0 Target Milestone|10.0 |9.4 Summary|[10 Regression] ICE in |[9 Regression] ICE in |eliminate_stmt, at |eliminate_stmt, at |tree-ssa-sccvn.c:5492 |tree-ssa-sccvn.c:5492 --- Comment #3 from Richard Biener --- Fixed on trunk but the issue is latent at least. >From gcc-bugs-return-657434-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 11:46:12 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55006 invoked by alias); 24 Oct 2019 11:46:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54948 invoked by uid 48); 24 Oct 2019 11:46:07 -0000 From: "kamleshbhalui at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91766] -fvisibility=hidden during -fpic still uses GOT indirection on arm64 Date: Thu, 24 Oct 2019 11:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: missed-optimization, visibility X-Bugzilla-Severity: normal X-Bugzilla-Who: kamleshbhalui 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: 2019-10/txt/msg02160.txt.bz2 Content-length: 803 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91766 --- Comment #11 from Kamlesh Kumar --- is this good? diff --git a/gcc/c-family/c-opts.c b/gcc/c-family/c-opts.c index 0fffe60..9fead56 100644 --- a/gcc/c-family/c-opts.c +++ b/gcc/c-family/c-opts.c @@ -814,6 +814,10 @@ c_common_post_options (const char **pfilename) && flag_unsafe_math_optimizations == 0) flag_fp_contract_mode = FP_CONTRACT_OFF; + /* defaults to flag_no_common unless disabled with fcommon. */ + if (!global_options_set.x_flag_no_common) + flag_no_common = 1; + /* If we are compiling C, and we are outside of a standards mode, we can permit the new values from ISO/IEC TS 18661-3 for FLT_EVAL_METHOD. Otherwise, we must restrict the possible values to >From gcc-bugs-return-657435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 11:49:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84937 invoked by alias); 24 Oct 2019 11:49: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 84892 invoked by uid 48); 24 Oct 2019 11:49:34 -0000 From: "amker at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/85471] closing a "thread" in "C++" using "pthread_exit(NULL)" creates a "SIGABRT" Date: Thu, 24 Oct 2019 11:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amker at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02161.txt.bz2 Content-length: 2115 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85471 bin cheng changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amker at gcc dot gnu.org --- Comment #6 from bin cheng --- I ran into a stackoverflow entry with following code: #include #include #include #include static void cleanup(void *ptr) { } void *child(void *ptr) { pthread_cleanup_push(cleanup, NULL); pthread_exit(NULL); pthread_cleanup_pop(1); return NULL; } int main() { pthread_t foo; pthread_create(&foo, NULL, child, NULL); pthread_join(foo, NULL); return 0; } The abort can be reproduced when compiled using gcc-8.3 with following options: $ g++ -o a.out test.cc -g -Wall -fexceptions -pthread -static-libstdc++ -static-libgcc $ gdb --args ./a.out (gdb) r (gdb) bt #0 0x0000ffffbf4972c8 in raise () from /lib64/libc.so.6 #1 0x0000ffffbf498940 in abort () from /lib64/libc.so.6 #2 0x000000000040ec94 in _Unwind_SetGR () #3 0x0000000000401c4c in __gxx_personality_v0 () #4 0x0000ffffbec3fab8 in _Unwind_ForcedUnwind_Phase2 (exc=exc@entry=0xffffbf462670, context=context@entry=0xffffbf461560, frames_p=frames_p@entry=0xffffbf461198) at ../../../libgcc/unwind.inc:182 #5 0x0000ffffbec3fea0 in _Unwind_ForcedUnwind (exc=0xffffbf462670, stop=0xffffbf5f7950 , stop_argument=0xffffbf461a30) at ../../../libgcc/unwind.inc:217 #6 0x0000ffffbf5fa15c in _Unwind_ForcedUnwind () from /lib64/libpthread.so.0 #7 0x0000ffffbf5f7aac in __pthread_unwind () from /lib64/libpthread.so.0 #8 0x0000ffffbf5f1a08 in pthread_exit () from /lib64/libpthread.so.0 #9 0x0000000000401460 in child (ptr=0x0) at test.cc:13 #10 0x0000ffffbf5f0bb0 in start_thread () from /lib64/libpthread.so.0 #11 0x0000ffffbf53e4c0 in thread_start () from /lib64/libc.so.6 Issue with this case is because of static-libgcc, not sure if it's the same to the original case. Thanks >From gcc-bugs-return-657436-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 11:55:38 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89337 invoked by alias); 24 Oct 2019 11:55: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 89197 invoked by uid 48); 24 Oct 2019 11:55:33 -0000 From: "wilco at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/91766] -fvisibility=hidden during -fpic still uses GOT indirection on arm64 Date: Thu, 24 Oct 2019 11:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: missed-optimization, visibility X-Bugzilla-Severity: normal X-Bugzilla-Who: wilco at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02162.txt.bz2 Content-length: 461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91766 --- Comment #12 from Wilco --- (In reply to Andrew Pinski from comment #10) > This should be a global change and not just an aarch64 change. The reason > is because then aarch64 is the odd man out when it comes to this. Agreed, see https://gcc.gnu.org/ml/gcc-patches/2017-11/msg01549.html. It would be great to sort that out so C and C++ finally address globals identically. >From gcc-bugs-return-657437-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 12:11:37 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23363 invoked by alias); 24 Oct 2019 12:11: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 23308 invoked by uid 48); 24 Oct 2019 12:11:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92205] [10 Regression] ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1688 since r277322 Date: Thu, 24 Oct 2019 12:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: rguenth 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: 2019-10/txt/msg02163.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92205 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Richard Biener --- Fixed. >From gcc-bugs-return-657438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 12:12:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29778 invoked by alias); 24 Oct 2019 12:12: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 28029 invoked by uid 55); 24 Oct 2019 12:12:00 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92205] [10 Regression] ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1688 since r277322 Date: Thu, 24 Oct 2019 12:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 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: rguenth 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: 2019-10/txt/msg02164.txt.bz2 Content-length: 697 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92205 --- Comment #6 from Richard Biener --- Author: rguenth Date: Thu Oct 24 12:11:27 2019 New Revision: 277375 URL: https://gcc.gnu.org/viewcvs?rev=277375&root=gcc&view=rev Log: 2019-10-24 Richard Biener PR tree-optimization/92205 * tree-vect-loop.c (vectorizable_reduction): Restrict search for alternate vectype_in to lane-reducing patterns we support. * gcc.dg/vect/pr92205.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/vect/pr92205.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c >From gcc-bugs-return-657439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 12:54:13 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38399 invoked by alias); 24 Oct 2019 12:54: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 37951 invoked by uid 48); 24 Oct 2019 12:54:08 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/90682] std::terminate() will happily call a null terminate handler Date: Thu, 24 Oct 2019 12: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.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: 2019-10/txt/msg02165.txt.bz2 Content-length: 291 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90682 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|10.0 |9.3 >From gcc-bugs-return-657440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 12:54:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40225 invoked by alias); 24 Oct 2019 12:54: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 39779 invoked by uid 48); 24 Oct 2019 12:54:23 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/89164] can construct vector with non-copyable-but-trivially-copyable elements Date: Thu, 24 Oct 2019 12: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: 9.0 X-Bugzilla-Keywords: accepts-invalid, 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: 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: 2019-10/txt/msg02166.txt.bz2 Content-length: 291 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89164 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.3 >From gcc-bugs-return-657441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 12:54:39 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 41616 invoked by alias); 24 Oct 2019 12:54: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 40223 invoked by uid 55); 24 Oct 2019 12:54:27 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92059] Crash on tr2::dynamic_bitset::operator=() with optimization Date: Thu, 24 Oct 2019 12: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: 8.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02167.txt.bz2 Content-length: 3182 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92059 --- Comment #12 from Jonathan Wakely --- Author: redi Date: Thu Oct 24 12:53:55 2019 New Revision: 277376 URL: https://gcc.gnu.org/viewcvs?rev=277376&root=gcc&view=rev Log: PR libstdc++/92059 fix several bugs in tr2::dynamic_bitset Backport from mainline 2019-10-11 Jonathan Wakely PR libstdc++/92059 * include/tr2/dynamic_bitset (__dynamic_bitset_base): Define all special member functions as defaulted. Add noexcept to most members. (__dynamic_bitset_base(size_t, unsigned long long, const _Alloc&)): Mask off unwanted bits in the __val parameter. Avoid undefined left shifts. (__dynamic_bitset_base::_M_assign): Remove. (__dynamic_bitset_base::_M_do_reset): Use std::fill. (__dynamic_bitset_base::_M_are_all_aux): Avoid integer promotion when block_type has lower rank than int. (dynamic_bitset): Add noexcept to most members. Use injected-class-name in return types and parameter types. (dynamic_bitset::_M_Nb): Add default member initializer. (dynamic_bitset(), dynamic_bitset(const dynamic_bitset&)): Define as defaulted. (dynamic_bitset(dynamic_bitset&&)): Clear source object after move. (dynamic_bitset::operator=(const dynamic_bitset&)): Define as defaulted. (dynamic_bitset::operator=(dynamic_bitset&&)): Add noexcept-specifier. Define without using swap, to propagate allocator correctly. (dynamic_bitset(const char*, const _Alloc&)): Use strlen. (dynamic_bitset::_M_do_sanitize, dynamic_bitset::_M_do_fill): Use casts to avoid unwanted integer promotions. (dynamic_bitset::_M_copy_from_ptr): Rearrange template parameters and add default template arguments and default argument to simplify usage. (dynamic_bitset::_M_copy_from_string): Adjust call to _M_copy_from_ptr. (operator==(const dynamic_bitset&, const dynamic_bitset&)) (operator<(const dynamic_bitset&, const dynamic_bitset&)): Use _M_Nb. * include/tr2/dynamic_bitset.tcc (dynamic_bitset::_M_copy_from_ptr): Adjust template parameters to match declaration. * testsuite/tr2/dynamic_bitset/cmp.cc: New test. * testsuite/tr2/dynamic_bitset/cons.cc: New test. * testsuite/tr2/dynamic_bitset/copy.cc: New test. * testsuite/tr2/dynamic_bitset/move.cc: New test. * testsuite/tr2/dynamic_bitset/pr92059.cc: New test. Added: branches/gcc-9-branch/libstdc++-v3/testsuite/tr2/dynamic_bitset/cmp.cc branches/gcc-9-branch/libstdc++-v3/testsuite/tr2/dynamic_bitset/cons.cc branches/gcc-9-branch/libstdc++-v3/testsuite/tr2/dynamic_bitset/copy.cc branches/gcc-9-branch/libstdc++-v3/testsuite/tr2/dynamic_bitset/move.cc branches/gcc-9-branch/libstdc++-v3/testsuite/tr2/dynamic_bitset/pr92059.cc Modified: branches/gcc-9-branch/libstdc++-v3/ChangeLog branches/gcc-9-branch/libstdc++-v3/include/tr2/dynamic_bitset branches/gcc-9-branch/libstdc++-v3/include/tr2/dynamic_bitset.tcc >From gcc-bugs-return-657442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 12:54:55 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44832 invoked by alias); 24 Oct 2019 12:54: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 43057 invoked by uid 55); 24 Oct 2019 12:54:49 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/91456] std::function and std::is_invocable_r do not understand guaranteed elision Date: Thu, 24 Oct 2019 12: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: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg02168.txt.bz2 Content-length: 2178 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91456 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Thu Oct 24 12:54:13 2019 New Revision: 277380 URL: https://gcc.gnu.org/viewcvs?rev=277380&root=gcc&view=rev Log: PR libstdc++/91456 make INVOKE work with uncopyable prvalues In C++17 a function can return a prvalue of a type that cannot be moved or copied. The current implementation of std::is_invocable_r uses std::is_convertible to test the conversion to R required by INVOKE. That fails for non-copyable prvalues, because std::is_convertible is defined in terms of std::declval which uses std::add_rvalue_reference. In C++17 conversion from R to R involves no copies and so is not the same as conversion from R&& to R. This commit changes std::is_invocable_r to check the conversion without using std::is_convertible. std::function also contains a similar check using std::is_convertible, which can be fixed by simply reusing std::is_invocable_r (but because std::is_invocable_r is not defined for C++11 it uses the underlying std::__is_invocable_impl trait directly). Backport from mainline 2019-08-15 Jonathan Wakely PR libstdc++/91456 * include/bits/std_function.h (__check_func_return_type): Remove. (function::_Callable): Use std::__is_invocable_impl instead of __check_func_return_type. * include/std/type_traits (__is_invocable_impl): Add another defaulted template parameter. Define a separate partial specialization for INVOKE and INVOKE. For INVOKE replace is_convertible check with a check that models delayed temporary materialization. * testsuite/20_util/function/91456.cc: New test. * testsuite/20_util/is_invocable/91456.cc: New test. Added: branches/gcc-9-branch/libstdc++-v3/testsuite/20_util/function/91456.cc branches/gcc-9-branch/libstdc++-v3/testsuite/20_util/is_invocable/91456.cc Modified: branches/gcc-9-branch/libstdc++-v3/ChangeLog branches/gcc-9-branch/libstdc++-v3/include/bits/std_function.h branches/gcc-9-branch/libstdc++-v3/include/std/type_traits >From gcc-bugs-return-657446-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 12:55:59 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75735 invoked by alias); 24 Oct 2019 12: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 69300 invoked by uid 55); 24 Oct 2019 12:55:54 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/61761] [C++11] std::proj returns incorrect values Date: Thu, 24 Oct 2019 12:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02172.txt.bz2 Content-length: 1583 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61761 --- Comment #10 from Jonathan Wakely --- Author: redi Date: Thu Oct 24 12:55:21 2019 New Revision: 277392 URL: https://gcc.gnu.org/viewcvs?rev=277392&root=gcc&view=rev Log: PR libstdc++/61761 fix std::proj for targets without C99 cproj The current generic implementation of __complex_proj used when cproj is not available calculates the wrong projection, giving a different result than given by C99's cproj. When C99 cproj is not available but isinf and copysign are, use those to give correct results for float, double and long double. Otherwise, and for other specializations of std::complex, just use a generic version that returns its argument, and so doesn't support infinities. We might want to consider adding additional overloads of __complex_proj to support extended types such as _Float64x, _Float128 etc. Backport from mainline 2019-05-01 Jonathan Wakely PR libstdc++/61761 * include/std/complex (__complex_proj): Return parameter unchanged. [_GLIBCXX_USE_C99_COMPLEX] (__complex_proj): Change overloads for floating-point types to take std::complex arguments. [_GLIBCXX_USE_C99_MATH_TR1] (__complex_proj): Add overloads for floating-point types. * testsuite/26_numerics/complex/proj.cc: New test. Added: branches/gcc-9-branch/libstdc++-v3/testsuite/26_numerics/complex/proj.cc Modified: branches/gcc-9-branch/libstdc++-v3/ChangeLog branches/gcc-9-branch/libstdc++-v3/include/std/complex >From gcc-bugs-return-657445-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 12:55:42 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52235 invoked by alias); 24 Oct 2019 12:55:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 52039 invoked by uid 55); 24 Oct 2019 12:55:35 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/89164] can construct vector with non-copyable-but-trivially-copyable elements Date: Thu, 24 Oct 2019 12:55: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: accepts-invalid, 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: 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: 2019-10/txt/msg02171.txt.bz2 Content-length: 3347 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89164 --- Comment #8 from Jonathan Wakely --- Author: redi Date: Thu Oct 24 12:54:58 2019 New Revision: 277388 URL: https://gcc.gnu.org/viewcvs?rev=277388&root=gcc&view=rev Log: PR libstdc++/89164 enforce constraints for uninitialized algos The memmove optimizations for std::uninitialized_copy/fill/_n will compile even if the type is not copy constructible, because std::copy doesn't require copy construction to work. But the uninitialized algorithms do require it. This adds explicit static assertions to ensure we don't allow ill-formed initializations. Backport from mainline 2019-08-30 Jonathan Wakely PR libstdc++/89164 * include/bits/stl_algobase.h (__copy_move): Give descriptive names to template parameters. * include/bits/stl_uninitialized.h (uninitialized_copy) (uninitialized_fill, uninitialized_fill_n): Add static assertions to diagnose invalid uses. * testsuite/20_util/specialized_algorithms/uninitialized_copy/1.cc: Adjust expected error. * testsuite/20_util/specialized_algorithms/uninitialized_copy/89164.cc: New test. * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/ 89164.cc: New test. * testsuite/20_util/specialized_algorithms/uninitialized_fill/89164.cc: New test. * testsuite/20_util/specialized_algorithms/uninitialized_fill_n/ 89164.cc: New test. * testsuite/23_containers/vector/cons/89164.cc: New test. * testsuite/23_containers/vector/cons/89164_c++17.cc: New test. Added: branches/gcc-9-branch/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/89164.cc - copied, changed from r277387, branches/gcc-9-branch/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/1.cc branches/gcc-9-branch/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy_n/89164.cc - copied, changed from r277387, branches/gcc-9-branch/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/1.cc branches/gcc-9-branch/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_fill/89164.cc - copied, changed from r277387, branches/gcc-9-branch/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/1.cc branches/gcc-9-branch/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_fill_n/89164.cc - copied, changed from r277387, branches/gcc-9-branch/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/1.cc branches/gcc-9-branch/libstdc++-v3/testsuite/23_containers/vector/cons/89164.cc - copied, changed from r277387, branches/gcc-9-branch/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/1.cc branches/gcc-9-branch/libstdc++-v3/testsuite/23_containers/vector/cons/89164_c++17.cc Modified: branches/gcc-9-branch/libstdc++-v3/ChangeLog branches/gcc-9-branch/libstdc++-v3/include/bits/stl_algobase.h branches/gcc-9-branch/libstdc++-v3/include/bits/stl_uninitialized.h branches/gcc-9-branch/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/1.cc >From gcc-bugs-return-657443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 12:55:20 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48590 invoked by alias); 24 Oct 2019 12:55: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 47963 invoked by uid 48); 24 Oct 2019 12:55:12 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92059] Crash on tr2::dynamic_bitset::operator=() with optimization Date: Thu, 24 Oct 2019 12:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02169.txt.bz2 Content-length: 447 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92059 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.3 Known to fail| |7.4.0, 8.3.0, 9.2.0 --- Comment #13 from Jonathan Wakely --- Also fixed for 9.3 >From gcc-bugs-return-657444-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 12:55:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50728 invoked by alias); 24 Oct 2019 12:55: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 48994 invoked by uid 55); 24 Oct 2019 12:55:18 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92143] std::pmr::polymorphic_allocator throws bad_alloc on macOS Date: Thu, 24 Oct 2019 12:55: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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02170.txt.bz2 Content-length: 807 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92143 --- Comment #9 from Jonathan Wakely --- Author: redi Date: Thu Oct 24 12:54:44 2019 New Revision: 277386 URL: https://gcc.gnu.org/viewcvs?rev=277386&root=gcc&view=rev Log: PR libstdc++/92143 adjust for OS X aligned_alloc behaviour OS X 10.15 adds aligned_alloc but it has the same restriction as the AIX version, namely that alignments smaller than sizeof(void*) are not supported. Backport from mainline 2019-10-18 Jonathan Wakely PR libstdc++/92143 * libsupc++/new_opa.cc (operator new) [__APPLE__]: Increase alignment to at least sizeof(void*). Modified: branches/gcc-9-branch/libstdc++-v3/ChangeLog branches/gcc-9-branch/libstdc++-v3/libsupc++/new_opa.cc >From gcc-bugs-return-657448-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 12:56:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111298 invoked by alias); 24 Oct 2019 12:56: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 111245 invoked by uid 48); 24 Oct 2019 12:56:41 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/91456] std::function and std::is_invocable_r do not understand guaranteed elision Date: Thu, 24 Oct 2019 12:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: rejects-valid 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: 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: 2019-10/txt/msg02174.txt.bz2 Content-length: 437 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91456 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jonathan Wakely --- Fixed for 9.3 too. >From gcc-bugs-return-657447-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 12:56:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78524 invoked by alias); 24 Oct 2019 12:56: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 76781 invoked by uid 55); 24 Oct 2019 12:55:59 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/90682] std::terminate() will happily call a null terminate handler Date: Thu, 24 Oct 2019 12:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 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: 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: 2019-10/txt/msg02173.txt.bz2 Content-length: 1866 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90682 --- Comment #6 from Jonathan Wakely --- Author: redi Date: Thu Oct 24 12:55:27 2019 New Revision: 277393 URL: https://gcc.gnu.org/viewcvs?rev=277393&root=gcc&view=rev Log: PR libstdc++/90682 allow set_terminate(0) and set_unexpected(0) Make these functions restore the default handlers when passed a null pointer. This is consistent with std::pmr::set_default_resource(0), and also matches the current behaviour of libc++. In order to avoid duplicating the preprocessor condition from eh_term_handler.cc more that into a new eh_term_handler.h header and define a macro that can be used in both eh_term_handler.cc and eh_terminate.cc. Backport from mainline 2019-05-31 Jonathan Wakely PR libstdc++/90682 * libsupc++/eh_term_handler.cc: Include eh_term_handler.h to get definition of _GLIBCXX_DEFAULT_TERM_HANDLER. * libsupc++/eh_term_handler.h: New header defining _GLIBCXX_DEFAULT_TERM_HANDLER. * libsupc++/eh_terminate.cc: Include eh_term_handler.h. (set_terminate): Restore default handler when argument is null. (set_unexpected): Likewise. * testsuite/18_support/set_terminate.cc: New test. * testsuite/18_support/set_unexpected.cc: New test. Added: branches/gcc-9-branch/libstdc++-v3/libsupc++/eh_term_handler.h - copied, changed from r277392, branches/gcc-9-branch/libstdc++-v3/libsupc++/eh_term_handler.cc branches/gcc-9-branch/libstdc++-v3/testsuite/18_support/set_terminate.cc branches/gcc-9-branch/libstdc++-v3/testsuite/18_support/set_unexpected.cc Modified: branches/gcc-9-branch/libstdc++-v3/ChangeLog branches/gcc-9-branch/libstdc++-v3/libsupc++/eh_term_handler.cc branches/gcc-9-branch/libstdc++-v3/libsupc++/eh_terminate.cc >From gcc-bugs-return-657449-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 12:58:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128350 invoked by alias); 24 Oct 2019 12:58: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 126059 invoked by uid 48); 24 Oct 2019 12:58:01 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/61761] [C++11] std::proj returns incorrect values Date: Thu, 24 Oct 2019 12: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi 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: 2019-10/txt/msg02175.txt.bz2 Content-length: 291 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61761 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|10.0 |9.3 >From gcc-bugs-return-657450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 12:59:03 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23260 invoked by alias); 24 Oct 2019 12: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 21401 invoked by uid 48); 24 Oct 2019 12:58:56 -0000 From: "tangyixuan at mail dot dlut.edu.cn" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92209] New: Imprecise column number for -Wstrict-prototypes Date: Thu, 24 Oct 2019 12: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: tangyixuan at mail dot dlut.edu.cn X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02176.txt.bz2 Content-length: 997 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92209 Bug ID: 92209 Summary: Imprecise column number for -Wstrict-prototypes Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: tangyixuan at mail dot dlut.edu.cn Target Milestone: --- GCC outputs a wrong column number of a declared function warning: $ gcc-trunk -Wstrict-prototypes -c s.c s.c:1:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] 1 | static int func_1(); | ^~~~~~ gcc version 10.0.0 20191020 (experimental) (GCC) target: Ubuntu 4.8.5-4ubuntu8~14.04.2 $ clang -Wstrict-prototypes -c s.c s.c:1:18: warning: this function declaration is not a prototype [-Wstrict-prototypes] static int func_1(); ^ void 1 warning generated. $ cat s.c static int func_1(); >From gcc-bugs-return-657451-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 13:17:18 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32095 invoked by alias); 24 Oct 2019 13:17:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32059 invoked by uid 48); 24 Oct 2019 13:17:13 -0000 From: "tangyixuan at mail dot dlut.edu.cn" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92210] New: no warning for invariable used in loop condition Date: Thu, 24 Oct 2019 13:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tangyixuan at mail dot dlut.edu.cn X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02177.txt.bz2 Content-length: 993 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92210 Bug ID: 92210 Summary: no warning for invariable used in loop condition Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: tangyixuan at mail dot dlut.edu.cn Target Milestone: --- There is no warning for an invariable used in loop condition: $: cat s.c int main(){ for(int i = 0; i <2;){ } } $: gcc-trunk -Wall -Wextra -pedantic -c s.c gcc version 10.0.0 20191020 (experimental) (GCC) target: Ubuntu 4.8.5-4ubuntu8~14.04.2 $: clang-trunk -Weverything -pedantic -c s.c s.c:2:18: warning: variable 'i' used in loop condition not modified in loop body [-Wfor-loop-analysis] for(int i = 0; i <2;){ ^ 1 warning generated. Is it a better way to report the warning in loop condition, just like the way Clang does? >From gcc-bugs-return-657452-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 13:21:22 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35217 invoked by alias); 24 Oct 2019 13:21: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 35194 invoked by uid 48); 24 Oct 2019 13:21:17 -0000 From: "pilarlatiesa at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92211] New: Lamdas in unevaluated context bug Date: Thu, 24 Oct 2019 13: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: pilarlatiesa 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: 2019-10/txt/msg02178.txt.bz2 Content-length: 1876 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92211 Bug ID: 92211 Summary: Lamdas in unevaluated context bug Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: pilarlatiesa at gmail dot com Target Milestone: --- This code compiles fine (https://godbolt.org/z/JeuX4m): template struct Tensor {}; template double mag(Tensor const &) { return 0.0; } template using TMag = decltype([](Tensor const &x) { return mag(x); }); template class UnaryExpr { TOp const Op = {}; }; UnaryExpr> fn() { return {}; } This one does not (https://godbolt.org/z/rD3v8E): template struct Tensor {}; template double mag(Tensor const &) { return 0.0; } template using TMag = decltype([](Tensor const &x) { return mag(x); }); template class UnaryExpr { TOp const Op = {}; }; template UnaryExpr> fn() { return {}; } This one causes GGC to segfault (https://godbolt.org/z/8GsGYe) template struct Tensor {}; template double mag(Tensor const &) { return 0.0; } template using TMag = decltype([](Tensor const &x) { return mag(x); }); template class UnaryExpr { TOp const Op = {}; }; template> UnaryExpr fn() { return {}; } >From gcc-bugs-return-657453-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 14:05:26 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38949 invoked by alias); 24 Oct 2019 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 38905 invoked by uid 48); 24 Oct 2019 14:05:21 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/91962] [10 Regression] ice in build_target_expr, at cp/tree.c:488 Date: Thu, 24 Oct 2019 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: 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: 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: 2019-10/txt/msg02179.txt.bz2 Content-length: 721 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91962 --- Comment #3 from Marek Polacek --- Fix: --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -7386,7 +7386,8 @@ convert_like_real (conversion *convs, tree expr, tree fn, int argnum, /* direct_reference_binding might have inserted a ck_qual under this ck_ref_bind for the benefit of conversion sequence ranking. Ignore the conversion; we'll create our own below. */ - if (next_conversion (convs)->kind == ck_qual) + if (next_conversion (convs)->kind == ck_qual + && !convs->need_temporary_p) { gcc_assert (same_type_p (TREE_TYPE (expr), next_conversion (convs)->type)); >From gcc-bugs-return-657454-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 14:14:05 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129118 invoked by alias); 24 Oct 2019 14:14: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 124394 invoked by uid 55); 24 Oct 2019 14:14:00 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92059] Crash on tr2::dynamic_bitset::operator=() with optimization Date: Thu, 24 Oct 2019 14:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.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: 2019-10/txt/msg02180.txt.bz2 Content-length: 3182 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92059 --- Comment #14 from Jonathan Wakely --- Author: redi Date: Thu Oct 24 14:13:25 2019 New Revision: 277396 URL: https://gcc.gnu.org/viewcvs?rev=277396&root=gcc&view=rev Log: PR libstdc++/92059 fix several bugs in tr2::dynamic_bitset Backport from mainline 2019-10-11 Jonathan Wakely PR libstdc++/92059 * include/tr2/dynamic_bitset (__dynamic_bitset_base): Define all special member functions as defaulted. Add noexcept to most members. (__dynamic_bitset_base(size_t, unsigned long long, const _Alloc&)): Mask off unwanted bits in the __val parameter. Avoid undefined left shifts. (__dynamic_bitset_base::_M_assign): Remove. (__dynamic_bitset_base::_M_do_reset): Use std::fill. (__dynamic_bitset_base::_M_are_all_aux): Avoid integer promotion when block_type has lower rank than int. (dynamic_bitset): Add noexcept to most members. Use injected-class-name in return types and parameter types. (dynamic_bitset::_M_Nb): Add default member initializer. (dynamic_bitset(), dynamic_bitset(const dynamic_bitset&)): Define as defaulted. (dynamic_bitset(dynamic_bitset&&)): Clear source object after move. (dynamic_bitset::operator=(const dynamic_bitset&)): Define as defaulted. (dynamic_bitset::operator=(dynamic_bitset&&)): Add noexcept-specifier. Define without using swap, to propagate allocator correctly. (dynamic_bitset(const char*, const _Alloc&)): Use strlen. (dynamic_bitset::_M_do_sanitize, dynamic_bitset::_M_do_fill): Use casts to avoid unwanted integer promotions. (dynamic_bitset::_M_copy_from_ptr): Rearrange template parameters and add default template arguments and default argument to simplify usage. (dynamic_bitset::_M_copy_from_string): Adjust call to _M_copy_from_ptr. (operator==(const dynamic_bitset&, const dynamic_bitset&)) (operator<(const dynamic_bitset&, const dynamic_bitset&)): Use _M_Nb. * include/tr2/dynamic_bitset.tcc (dynamic_bitset::_M_copy_from_ptr): Adjust template parameters to match declaration. * testsuite/tr2/dynamic_bitset/cmp.cc: New test. * testsuite/tr2/dynamic_bitset/cons.cc: New test. * testsuite/tr2/dynamic_bitset/copy.cc: New test. * testsuite/tr2/dynamic_bitset/move.cc: New test. * testsuite/tr2/dynamic_bitset/pr92059.cc: New test. Added: branches/gcc-8-branch/libstdc++-v3/testsuite/tr2/dynamic_bitset/cmp.cc branches/gcc-8-branch/libstdc++-v3/testsuite/tr2/dynamic_bitset/cons.cc branches/gcc-8-branch/libstdc++-v3/testsuite/tr2/dynamic_bitset/copy.cc branches/gcc-8-branch/libstdc++-v3/testsuite/tr2/dynamic_bitset/move.cc branches/gcc-8-branch/libstdc++-v3/testsuite/tr2/dynamic_bitset/pr92059.cc Modified: branches/gcc-8-branch/libstdc++-v3/ChangeLog branches/gcc-8-branch/libstdc++-v3/include/tr2/dynamic_bitset branches/gcc-8-branch/libstdc++-v3/include/tr2/dynamic_bitset.tcc >From gcc-bugs-return-657455-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 14:14:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19973 invoked by alias); 24 Oct 2019 14:14:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14504 invoked by uid 55); 24 Oct 2019 14:14:22 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92143] std::pmr::polymorphic_allocator throws bad_alloc on macOS Date: Thu, 24 Oct 2019 14:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02181.txt.bz2 Content-length: 808 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92143 --- Comment #10 from Jonathan Wakely --- Author: redi Date: Thu Oct 24 14:13:48 2019 New Revision: 277400 URL: https://gcc.gnu.org/viewcvs?rev=277400&root=gcc&view=rev Log: PR libstdc++/92143 adjust for OS X aligned_alloc behaviour OS X 10.15 adds aligned_alloc but it has the same restriction as the AIX version, namely that alignments smaller than sizeof(void*) are not supported. Backport from mainline 2019-10-18 Jonathan Wakely PR libstdc++/92143 * libsupc++/new_opa.cc (operator new) [__APPLE__]: Increase alignment to at least sizeof(void*). Modified: branches/gcc-8-branch/libstdc++-v3/ChangeLog branches/gcc-8-branch/libstdc++-v3/libsupc++/new_opa.cc >From gcc-bugs-return-657456-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 14:17:21 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11889 invoked by alias); 24 Oct 2019 14:17: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 11157 invoked by uid 48); 24 Oct 2019 14:17:17 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92059] Crash on tr2::dynamic_bitset::operator=() with optimization Date: Thu, 24 Oct 2019 14:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02182.txt.bz2 Content-length: 495 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92059 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|9.3 |8.4 --- Comment #15 from Jonathan Wakely --- Fixed for 8.4 as well. >From gcc-bugs-return-657457-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 14:18:30 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26922 invoked by alias); 24 Oct 2019 14:18: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 26886 invoked by uid 48); 24 Oct 2019 14:18:26 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/90682] std::terminate() will happily call a null terminate handler Date: Thu, 24 Oct 2019 14:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 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: 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: 2019-10/txt/msg02183.txt.bz2 Content-length: 548 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90682 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #7 from Jonathan Wakely --- And also 9.3. Nobody's ever complained abut this, so I don't see a great need to backport it to gcc-7-branch and gcc-8-branch. >From gcc-bugs-return-657458-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 14:22:17 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39267 invoked by alias); 24 Oct 2019 14:22: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 39200 invoked by uid 48); 24 Oct 2019 14:22:09 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92206] [10 Regression] ICE in strip_typedefs, at cp/tree.c:1682 since r277281 Date: Thu, 24 Oct 2019 14: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: 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: 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: 2019-10/txt/msg02184.txt.bz2 Content-length: 2237 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92206 --- Comment #1 from Martin Liška --- Reduced test-case: $ cat unified.ii template struct A; class Vector { template struct TypeIsGCThing { template ::Type> using Vector = Vector; struct B; template class ContainerIter { using Action = B; using ActionVector = Vector; ContainerIter a; }; }; }; $ g++ unified.ii -c unified.ii:9:33: internal compiler error: in strip_typedefs, at cp/tree.c:1682 9 | ContainerIter a; | ^ 0x5c5ba0 strip_typedefs(tree_node*, bool*, unsigned int) ../../gcc/cp/tree.c:1682 0x5c5ba0 strip_typedefs(tree_node*, bool*, unsigned int) ../../gcc/cp/tree.c:1462 0x6f4311 canonicalize_type_argument ../../gcc/cp/pt.c:7928 0x6f4311 canonicalize_type_argument ../../gcc/cp/pt.c:7923 0x70734d coerce_template_parms ../../gcc/cp/pt.c:8771 0x7080df coerce_innermost_template_parms ../../gcc/cp/pt.c:8903 0x71842a lookup_template_class_1 ../../gcc/cp/pt.c:9608 0x71842a lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*, int, int) ../../gcc/cp/pt.c:9978 0x730e0d finish_template_type(tree_node*, tree_node*, int) ../../gcc/cp/semantics.c:3396 0x6e28fd cp_parser_template_id ../../gcc/cp/parser.c:16545 0x6e2af7 cp_parser_class_name ../../gcc/cp/parser.c:23416 0x6df890 cp_parser_qualifying_entity ../../gcc/cp/parser.c:6724 0x6df890 cp_parser_nested_name_specifier_opt ../../gcc/cp/parser.c:6408 0x6dfe92 cp_parser_nested_name_specifier ../../gcc/cp/parser.c:6650 0x6e489a cp_parser_using_declaration ../../gcc/cp/parser.c:19603 0x6ef7bc cp_parser_member_declaration ../../gcc/cp/parser.c:24632 0x6cc220 cp_parser_member_specification_opt ../../gcc/cp/parser.c:24492 0x6cc220 cp_parser_class_specifier_1 ../../gcc/cp/parser.c:23592 0x6cdc00 cp_parser_class_specifier ../../gcc/cp/parser.c:23899 0x6cdc00 cp_parser_type_specifier ../../gcc/cp/parser.c:17507 >From gcc-bugs-return-657459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 14:32:28 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25395 invoked by alias); 24 Oct 2019 14: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 19148 invoked by uid 48); 24 Oct 2019 14:32:21 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92212] New: incompatible calls to K&R functions not diagnosed Date: Thu, 24 Oct 2019 14:32: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: msebor at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02185.txt.bz2 Content-length: 915 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92212 Bug ID: 92212 Summary: incompatible calls to K&R functions not diagnosed Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- Unlike some other compilers GCC doesn't diagnose incompatible calls to K&R style functions in the same translation unit. $ cat b.c && gcc -O2 -S -Wall -Wextra -Wpedantic b.c int f (i) int i; { return i; } int g (void) { return f (""); // missing warning } Both Clang and ICC detect the problem and issue the equivalent of: warning: incompatible pointer to integer conversion passing 'char [1]' to parameter of type 'int' [-Wint-conversion] return f (""); ^~ >From gcc-bugs-return-657460-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 14:49:37 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12434 invoked by alias); 24 Oct 2019 14:49:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12363 invoked by uid 48); 24 Oct 2019 14:49:31 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92206] [10 Regression] ICE in strip_typedefs, at cp/tree.c:1682 since r277281 Date: Thu, 24 Oct 2019 14:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 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: 2019-10/txt/msg02186.txt.bz2 Content-length: 656 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92206 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #2 from Marek Polacek --- Found this ICE too, my test: template void a(); template struct b; template using c = int; template )> using f = e; template using g = f; template c>::i> j; >From gcc-bugs-return-657461-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 15:09:23 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76039 invoked by alias); 24 Oct 2019 15: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 75964 invoked by uid 48); 24 Oct 2019 15:09:19 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92210] no warning for invariable used in loop condition Date: Thu, 24 Oct 2019 15:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02187.txt.bz2 Content-length: 361 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92210 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Severity|normal |enhancement >From gcc-bugs-return-657462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 15:28:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46811 invoked by alias); 24 Oct 2019 15:28: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 46780 invoked by uid 48); 24 Oct 2019 15:28:42 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92213] New: internal compiler error: in lra_assign, at lra-assigns.c:1647 Date: Thu, 24 Oct 2019 15:28: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: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02188.txt.bz2 Content-length: 2543 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92213 Bug ID: 92213 Summary: internal compiler error: in lra_assign, at lra-assigns.c:1647 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: vmakarov at redhat dot com Target Milestone: --- When enabling mask register spill with: @@ -21452,6 +21442,13 @@ ix86_get_mask_mode (poly_uint64 nunits, poly_uint64 vector_size) static reg_class_t ix86_spill_class (reg_class_t rclass, machine_mode mode) { + if (TARGET_AVX512BW + && (mode == QImode + || mode == HImode + || mode == SImode + || (TARGET_64BIT && mode == DImode)) + && MAYBE_INTEGER_CLASS_P (rclass)) + return ALL_MASK_REGS; if (0 && TARGET_GENERAL_REGS_SSE_SPILL && TARGET_SSE2 && TARGET_INTER_UNIT_MOVES_TO_VEC I ran into during RTL pass: reload source/grid/tria.cc: In function 'execute_refinement': source/grid/tria.cc:9243:4: internal compiler error: in lra_assign, at lra-assigns.c:1647 9243 | } | ^ 0xa45159 lra_assign(bool&) /export/gnu/import/git/intel/gcc-tuning/gcc/lra-assigns.c:1647 0xa3fb4d lra(_IO_FILE*) /export/gnu/import/git/intel/gcc-tuning/gcc/lra.c:2482 0x9fc3f1 do_reload /export/gnu/import/git/intel/gcc-tuning/gcc/ira.c:5511 0x9fc3f1 execute /export/gnu/import/git/intel/gcc-tuning/gcc/ira.c:5697 Please submit a full bug report, from if (! lra_asm_error_p && flag_checking) /* Check correctness of allocation for call-crossed pseudos but only when there are no asm errors as in the case of errors the asm is removed and it can result in incorrect allocation. */ for (i = FIRST_PSEUDO_REGISTER; i < max_regno; i++) if (lra_reg_info[i].nrefs != 0 && reg_renumber[i] >= 0 && overlaps_hard_reg_set_p (lra_reg_info[i].conflict_hard_regs, PSEUDO_REGNO_MODE (i), reg_renumber[i])) gcc_unreachable (); LRA calls Check for conflict assign_by_spills <<<<< Assign mask register k0 to a pseudo ... assign_spill_hard_regs <<<< Assign mask register k0 to a different pseudo ... Check for conflict <<< internal compiler error assign_by_spills assign_spill_hard_regs fails to notice that k0 has been assigned to a pseudo. >From gcc-bugs-return-657463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 15:31:37 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54079 invoked by alias); 24 Oct 2019 15:31: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 53993 invoked by uid 55); 24 Oct 2019 15:31:32 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92143] std::pmr::polymorphic_allocator throws bad_alloc on macOS Date: Thu, 24 Oct 2019 15: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: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02189.txt.bz2 Content-length: 808 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92143 --- Comment #11 from Jonathan Wakely --- Author: redi Date: Thu Oct 24 15:31:00 2019 New Revision: 277414 URL: https://gcc.gnu.org/viewcvs?rev=277414&root=gcc&view=rev Log: PR libstdc++/92143 adjust for OS X aligned_alloc behaviour OS X 10.15 adds aligned_alloc but it has the same restriction as the AIX version, namely that alignments smaller than sizeof(void*) are not supported. Backport from mainline 2019-10-18 Jonathan Wakely PR libstdc++/92143 * libsupc++/new_opa.cc (operator new) [__APPLE__]: Increase alignment to at least sizeof(void*). Modified: branches/gcc-7-branch/libstdc++-v3/ChangeLog branches/gcc-7-branch/libstdc++-v3/libsupc++/new_opa.cc >From gcc-bugs-return-657464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 15:32:17 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55796 invoked by alias); 24 Oct 2019 15:32: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 55757 invoked by uid 48); 24 Oct 2019 15:32:13 -0000 From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92206] [10 Regression] ICE in strip_typedefs, at cp/tree.c:1682 since r277281 Date: Thu, 24 Oct 2019 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: 10.0 X-Bugzilla-Keywords: ice-on-valid-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: 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: 2019-10/txt/msg02190.txt.bz2 Content-length: 489 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92206 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. >From gcc-bugs-return-657465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 16:04:27 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10559 invoked by alias); 24 Oct 2019 16: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 10487 invoked by uid 48); 24 Oct 2019 16:04:21 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/92207] [10 Regression] pr36449.C fails on arm after r277179 Date: Thu, 24 Oct 2019 16:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rearnsha at gcc dot gnu.org X-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: 2019-10/txt/msg02191.txt.bz2 Content-length: 2189 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92207 --- Comment #8 from Richard Earnshaw --- I'm 95%+ sure that this is a problem with qemu+newlib with the latter not handling out-of-memory correctly. If I run the good program to the same instruction that faults in the bad program, I see: Breakpoint 2, _malloc_r (reent_ptr=0x49570 , bytes=134217732) at /tmp/7992549.tmpdir/aci-gcc-fsf/sources/newlib/newlib/libc/stdlib/mallocr.c:2353 2353 in /tmp/7992549.tmpdir/aci-gcc-fsf/sources/newlib/newlib/libc/stdlib/mallocr.c (gdb) Continuing. Breakpoint 1, 0x00018bc0 in _malloc_r (reent_ptr=0x49570 , bytes=) at /tmp/7992549.tmpdir/aci-gcc-fsf/sources/newlib/newlib/libc/stdlib/mallocr.c:2592 2592 in /tmp/7992549.tmpdir/aci-gcc-fsf/sources/newlib/newlib/libc/stdlib/mallocr.c (gdb) x/i $pc => 0x18bc0 <_malloc_r+1092>: str r3, [r2, #4] (gdb) info reg r2 r2 0x804aa40 134523456 (gdb) x/x $r2 0x804aa40: 0x00000000 (gdb) x/x 0x805b000 0x805b000: Cannot access memory at address 0x805b000 So the location to be written exists and is the last mapped page of memory. In the 'bad' program, I see (gdb) x/i $pc => 0x18bc0 <_malloc_r+1092>: str r3, [r2, #4] (gdb) p $r2 $14 = 134522216 (gdb) p *$4 $15 = {prev_size = 0, size = 0, fd = 0x804a568, bk = 0x494c0 <__malloc_av_>} (gdb) p/x $r2 $16 = 0x804a568 (gdb) x/i $r2 0x804a568: Cannot access memory at address 0x804a568 (gdb) info reg pc pc 0x18bc0 0x18bc0 <_malloc_r+1092> (gdb) x/x 0x8049ffc 0x8049ffc: 0x00000000 that is the location being written is not mapped (but the page before is), this is despite the address being lower than in the 'good' version. Note that the difference between the two addresses being written in the two programs is exactly the same as the difference between the VMAs of the .bss segment in the executable files. Consequently, I don't think this is a bug that has been introduced by this patch, but is most likely a latent issue in either qemu or newlib (or perhaps a combination of the two). >From gcc-bugs-return-657466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 16:40:14 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115637 invoked by alias); 24 Oct 2019 16:40: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 112910 invoked by uid 55); 24 Oct 2019 16:40:09 -0000 From: "joseph at codesourcery dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/92212] incompatible calls to K&R functions not diagnosed Date: Thu, 24 Oct 2019 16:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: accepts-invalid, diagnostic 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: 2019-10/txt/msg02192.txt.bz2 Content-length: 502 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92212 --- Comment #1 from joseph at codesourcery dot com --- See bugs 14030, 26732, 48091, 64526. Not sure how many bugs in this area are genuinely different - I suspect a single bug could be considered to cover the whole area of checking arguments to K&R functions (with warnings, not pedwarns or errors, for bad calls), as long as all different cases are properly covered with tests added for any fix. >From gcc-bugs-return-657467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 16:43:07 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68571 invoked by alias); 24 Oct 2019 16:43:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64115 invoked by uid 48); 24 Oct 2019 16:43:03 -0000 From: "barry.revzin at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/53610] C++11: constructors accept silly initializers Date: Thu, 24 Oct 2019 16: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: 4.7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: barry.revzin 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: 2019-10/txt/msg02193.txt.bz2 Content-length: 697 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53610 Barry Revzin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |barry.revzin at gmail dot com --- Comment #3 from Barry Revzin --- Shorter reproduction: struct S { S(int); }; S s{.why = 42}; This still compiles on trunk, even with all warnings and -pedantic. Made for a very difficult-to-track down bug, since designated initializers are a really nice way of mocking out named parameters (except when it's suddenly not). >From gcc-bugs-return-657468-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 16:57:46 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33855 invoked by alias); 24 Oct 2019 16:57: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 33788 invoked by uid 48); 24 Oct 2019 16:57:41 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/53610] C++11: constructors accept silly initializers Date: Thu, 24 Oct 2019 16: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: 4.7.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: 2019-10/txt/msg02194.txt.bz2 Content-length: 567 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53610 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-24 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #4 from Marek Polacek --- Oop. Confirmed. >From gcc-bugs-return-657469-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 17:14:50 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95836 invoked by alias); 24 Oct 2019 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 95714 invoked by uid 48); 24 Oct 2019 17:14:45 -0000 From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65930] Reduction with sign-change not handled Date: Thu, 24 Oct 2019 17:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization 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: 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: 2019-10/txt/msg02195.txt.bz2 Content-length: 912 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 rsandifo at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rsandifo at gcc dot gnu.org --- Comment #28 from rsandifo at gcc dot gnu.org --- (In reply to Tamar Christina from comment #26) > > At least for this one there's the comment > > > /* ??? At present we don't treat the int8_t and int16_t loops as > > reductions. */ > > > > but I guess it's the same for the rest. You have to fixup the testcases > > yourself - they are too complex and fragile. > > Ah yeah fair enough. Thanks! FWIW, I tested patches last night to fix this, but they were for the state after: https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01714.html >From gcc-bugs-return-657470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 17:17:42 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101932 invoked by alias); 24 Oct 2019 17: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 101863 invoked by uid 48); 24 Oct 2019 17:17:37 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/92143] std::pmr::polymorphic_allocator throws bad_alloc on macOS Date: Thu, 24 Oct 2019 17:17: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.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: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02196.txt.bz2 Content-length: 499 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92143 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |7.5 --- Comment #12 from Jonathan Wakely --- Fixed for 7.5, 8.4 and 9.3 >From gcc-bugs-return-657471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 17:20:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105462 invoked by alias); 24 Oct 2019 17:20: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 105332 invoked by uid 48); 24 Oct 2019 17:19:59 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92214] New: Unhelpful diagnostic for static_assert( some_concept(some_type) ) Date: Thu, 24 Oct 2019 17:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter blocked 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: 2019-10/txt/msg02197.txt.bz2 Content-length: 1497 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92214 Bug ID: 92214 Summary: Unhelpful diagnostic for static_assert( some_concept(some_type) ) Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Blocks: 67491 Target Milestone: --- If you accidentally use parentheses instead of angle brackets you get a confusing error: template concept foo = true; static_assert( foo(int) ); Compiled with -std=gnu++2a gives: x.cc:3:16: error: expected 'auto' or 'decltype(auto)' after 'foo' 3 | static_assert( foo(int) ); | ^~~ x.cc:3:23: error: invalid use of 'auto [requires ::foo<, >]' 3 | static_assert( foo(int) ); | ^ x.cc:3:19: error: missing template arguments before '(' token 3 | static_assert( foo(int) ); | ^ x.cc:3:20: error: expected primary-expression before 'int' 3 | static_assert( foo(int) ); | ^~~ I wasn't trying to declare a variable using a placeholder type (which wouldn't be allowed in a static_assert anyway), I was trying to say foo. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 [Bug 67491] [meta-bug] concepts issues >From gcc-bugs-return-657472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 17:42:04 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1368 invoked by alias); 24 Oct 2019 17:42: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 129427 invoked by uid 48); 24 Oct 2019 17:41:58 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92213] internal compiler error: in lra_assign, at lra-assigns.c:1647 Date: Thu, 24 Oct 2019 17:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-10/txt/msg02198.txt.bz2 Content-length: 1034 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92213 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-24 Ever confirmed|0 |1 --- Comment #1 from H.J. Lu --- 1. A pseudo register, 9625, was assigned to mask register k0 and df_set_regs_ever_live was called. 2. improve_inheritance reassigned 9625 to a different hard register without updating DF info. 3. mark_pseudo_dead was called on 9625 from process_bb_lives EXECUTE_IF_SET_IN_SPARSESET (pseudos_live, i) { update_pseudo_point (i, curr_point, DEF_POINT); mark_pseudo_dead (i); } mark_pseudo_dead did lra_assert (!HARD_REGISTER_NUM_P (regno)); lra_reg_info[regno].conflict_hard_regs |= hard_regs_live; with incorrect DF info. >From gcc-bugs-return-657473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 18:21:48 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24777 invoked by alias); 24 Oct 2019 18:21: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 24737 invoked by uid 48); 24 Oct 2019 18:21:43 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/92213] internal compiler error: in lra_assign, at lra-assigns.c:1647 Date: Thu, 24 Oct 2019 18:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2019-10/txt/msg02199.txt.bz2 Content-length: 1272 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92213 --- Comment #2 from H.J. Lu --- Created attachment 47108 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47108&action=edit A testcase [hjl@gnu-skx-1 mask-2]$ /export/build/gnu/tools-build/gcc-tuning-debug/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/tools-build/gcc-tuning-debug/build-x86_64-linux/gcc/ -O2 -march=skylake-avx512 -S foo.ii during RTL pass: reload foo.ii: In static member function ‘static void Implementation::execute_refinement(Triangulation) [with int spacedim = 3]’: foo.ii:257:3: internal compiler error: in lra_assign, at lra-assigns.c:1647 257 | } | ^ 0x11d22d7 lra_assign(bool&) /export/gnu/import/git/intel/gcc-tuning/gcc/lra-assigns.c:1647 0x11ca2fb lra(_IO_FILE*) /export/gnu/import/git/intel/gcc-tuning/gcc/lra.c:2482 0x115ee51 do_reload /export/gnu/import/git/intel/gcc-tuning/gcc/ira.c:5511 0x115f342 execute /export/gnu/import/git/intel/gcc-tuning/gcc/ira.c:5697 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. [hjl@gnu-skx-1 mask-2]$ >From gcc-bugs-return-657474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 24 18:23:59 2019 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30216 invoked by alias); 24 Oct 2019 18: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 29966 invoked by uid 89); 24 Oct 2019 18:23:55 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 testsYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=personas, Generation, Demand, H*c:alternative X-HELO: IND01-MA1-obe.outbound.protection.outlook.com Received: from mail-eopbgr1380087.outbound.protection.outlook.com (HELO IND01-MA1-obe.outbound.protection.outlook.com) (40.107.138.87) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 24 Oct 2019 18:23:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b7YpmE9Jn+jfyK1ILUoqFkN0PhCPgpLvSCM85pr/L+qPW1F+IRjR/rOrvkR64ysA7qTTJx99U9CL2JDsDLmtrg2dAQp0ZRPh0pesBpnO6tL32Wda4NGlq2nADH2PRkCUwKL73TBXPxRoBlSd23FVf6vVBvxMGJ89VHfxoR+FPDfHtgT+86tagzCGKeVrwew0oWTjQKWTbJVRWCNWaDwkLFEFhcdSaOe3max7MdXdVaV6APCOW68FQcFmv/WUSsdaqn8fQzIxHtm8ZgUvSvzmXLufXxZrEjziwPGbtZRIDpjtXP3BhFtMwiA2nzIUvw7mNudHgoVgjbyQYfZdKeO1w=ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bhzCulpBUKiPQ6Y8pI8JY3HVTgEOvFTNG2poYjWJowA=; b=jXruyC9gQbeyOlLQJJx67mcYuOMNgu/dtYJALd2t71vDSq8uM+Hc8xhHxy87rFWr5JxayepT5IydvDlbzLpQF2+OQEJywn8l4dLoEfKPWEyRLZ5OL3hDyAm87x0eZfIcUu3TtvJHW6QdQOn3DPJK0/eMQXurXHBpIyD3eW8H8DYG8RSkJpwN3dnc1WbbkGj4owa2zZBAXpwen3cU9NRQ8cJmycUbC2k5V1nztwkWVubbCXNJnj3AVKCcsdT0oPd70LNNknrdAlWm7nbTxst2SmCIUtDKH6zrjM9+O+xqoUXqEVLpxdx6eZ1AB3YYnEM4yf/05fpYqgZd+dSkUfbdFA=ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=versionwins.com; dmarc=pass action=none header.from=versionwins.com; dkim=pass header.d=versionwins.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NETORGFT4777834.onmicrosoft.com; s=selector2-NETORGFT4777834-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bhzCulpBUKiPQ6Y8pI8JY3HVTgEOvFTNG2poYjWJowA=; b$I9KHG9O6MV7wydLmGKqEgJ0VBEAupYJ9n53hCBj1hnd86H7eMOgf9+5PZgFIjYBpPDQwf0+U4cETP60QNxtR11W5IxclFcfSX6NUdKGakgJfC4NvR2lkswFQHhtbfpESHhSuqIvxEMCDX1Rz9Jk8zsYVAKIpXQfv65awgokaAReceived: from MAXPR01MB4032.INDPRD01.PROD.OUTLOOK.COM (52.134.157.17) by MAXPR01MB2288.INDPRD01.PROD.OUTLOOK.COM (52.134.153.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2387.20; Thu, 24 Oct 2019 18:23:48 +0000 Received: from MAXPR01MB4032.INDPRD01.PROD.OUTLOOK.COM ([fe80::e99b:9c65:87f3:aea0]) by MAXPR01MB4032.INDPRD01.PROD.OUTLOOK.COM ([fe80::e99b:9c65:87f3:aea0%7]) with mapi id 15.20.2387.019; Thu, 24 Oct 2019 18:23:48 +0000 From: Marilla Gordan To: "gcc-bugs@gcc.gnu.org" Subject: MongoDB Install Base Date: Thu, 24 Oct 2019 18:23:00 -0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=marilla.gordan@versionwins.com; x-ms-oob-tlc-oobclassifiers: OLM:9508; received-spf: None (protection.outlook.com: versionwins.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: tDZw+REaKDvhG2qR0ZkyPeKiL1+cis4PFikgUdgvsdAkNU+pOpwRq4cnPdzlyeoV4PNpULi+FhoU0rzF+H7LcaBHU5BeN7ALA6YXLwTzO5cContent-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2019-10/txt/msg02200.txt.bz2 Content-length: 838 Hi, Hope this emails finds you well. I am writing to you with regards to the Decision maker's contacts from companies using below applications? * AltiBase Users * MongoDB Users * Interbase Users * RethinkDB HCM Users * OrientDB Users * CouchDB Users * Arangodb Users * IBM Cloudant Users * DynamoDB Users and many more. Job titles: the list exactly includes the titles that meet your buyer personas. No irrelevant contacts, no gatekeepers. If the above mentioned is not relevant to you. Please let me know your requirement and I will get back to you with detailed information accordingly. Thanks, Marilla Gordan| Demand Generation If you wish not to include in our mailing list, please reply back with "Overlook" in subject line