From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 116302 invoked by alias); 7 Nov 2018 00:51:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 116159 invoked by uid 48); 7 Nov 2018 00:51:32 -0000 From: "frankhb1989 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/41958] [c++0x] bogus variadic partial ordering code Date: Wed, 07 Nov 2018 00:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: frankhb1989 at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00562.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D41958 frankhb1989 at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |frankhb1989 at gmail dot c= om --- Comment #10 from frankhb1989 at gmail dot com --- The example from IS [temp.func.order]/5 (introduced by http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3281.pdf) still fa= ils. As per https://godbolt.org/z/6wq5Hx (from https://www.zhihu.com/question/55055208/answer/142424499), 4.6.4 is OK, but 4.7.1 is nonconforming. Not sure which change cause the behavior divergence; please confirm. (BTW, the original issue asked in the post is about PR 33807. It seems innocent. MSVC 15.8.2 does not have the operator=3D=3D for allocator; no= t sure it is correct, but MSVC does reject the example in this issue correctly. Nevertheless, I wonder the status of LWG 2472 and whether the resolution of= LWG 280 have some related effects.) >>From gcc-bugs-return-620406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 02:15:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47480 invoked by alias); 7 Nov 2018 02:15: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 47396 invoked by uid 48); 7 Nov 2018 02:14:55 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87793] [8/9 Regression] GCC reports error when compiling with "-fpic -Os -g" Date: Wed, 07 Nov 2018 02:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00563.txt.bz2 Content-length: 531 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87793 Alexandre Oliva changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |aoliva at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |aoliva at gcc dot g= nu.org --- Comment #2 from Alexandre Oliva --- Mine >>From gcc-bugs-return-620407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 02:29:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3971 invoked by alias); 7 Nov 2018 02:29:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3943 invoked by uid 48); 7 Nov 2018 02:29:10 -0000 From: "hoganmeier at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87913] New: max(n, 1) code generation Date: Wed, 07 Nov 2018 02:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hoganmeier at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00564.txt.bz2 Content-length: 1113 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87913 Bug ID: 87913 Summary: max(n, 1) code generation Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: hoganmeier at gmail dot com Target Milestone: --- unsigned int f(unsigned int num) { return num < 1 ? 1 : num; } int f2(int num) { return num < 1 ? 1 : num; } unsigned int g(unsigned int num) { return num + !num; } $ gcc -O3 f(unsigned int): mov eax, edi test edi, edi mov edx, 1 cmove eax, edx f2(int): test edi, edi mov eax, 1 cmovg eax, edi g(unsigned int): xor eax, eax test edi, edi sete al add eax, edi f and g could be: f: test edi, edi mov eax, 1 cmovne eax, edi g: cmp edi, 1 adc edi, 0 mov eax, edi https://godbolt.org/z/YJWjsQ >>From gcc-bugs-return-620408-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 02:34:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10566 invoked by alias); 7 Nov 2018 02:34:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10461 invoked by uid 48); 7 Nov 2018 02:34:41 -0000 From: "shentino at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/87905] structures in two different cpp source files with same name get flagged by ODR warning Date: Wed, 07 Nov 2018 02:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: shentino at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00565.txt.bz2 Content-length: 717 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87905 --- Comment #4 from Raymond Jennings --- (In reply to Martin Li=C5=A1ka from comment #2) > >=20 > > Note in the test package that neither struct is exposed to the other > > translation unit. >=20 > But it's violation of C++ ODR and as LTO compilation unit is entire progr= am, > you then introduce violation. I respectfully disagree. Unless the source code itself changes, toggling LTO shouldn't affect genera= ted warnings. It may be one /compilation/ unit, but by the standard they still count as separate translation units. LTO is an artifact of the compiler and not the standard so it shouldn't have an impact on ODR warnings. >>From gcc-bugs-return-620409-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 04:17:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24834 invoked by alias); 7 Nov 2018 04:17: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 24681 invoked by uid 48); 7 Nov 2018 04:16:55 -0000 From: "hoganmeier at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87914] New: gcc fails to vectorize bitreverse code Date: Wed, 07 Nov 2018 04:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hoganmeier at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00566.txt.bz2 Content-length: 1050 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87914 Bug ID: 87914 Summary: gcc fails to vectorize bitreverse code Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: hoganmeier at gmail dot com Target Milestone: --- $ gcc -fopenmp-simd -O3 -march=3Dhaswell -fopt-info-vec-omp-optimized-missed template T reverseBits(T x) { unsigned int s =3D sizeof(x) * 8; T mask =3D ~T(0); while ((s >>=3D 1) > 0) { mask ^=3D (mask << s); x =3D ((x >> s) & mask) | ((x << s) & ~mask); // unsupporte= d use in stmt } return x; } void test_reverseBits(unsigned* x) { #pragma omp simd aligned(x:32) for (int i =3D 0; i < 16; ++i) x[i] =3D reverseBits(x[i]); // couldn't vectorize loop } clang and icc vectorize this: https://godbolt.org/z/ROJZGZ >>From gcc-bugs-return-620410-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 05:01:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106797 invoked by alias); 7 Nov 2018 05:01: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 106609 invoked by uid 48); 7 Nov 2018 05:01:21 -0000 From: "hoganmeier at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87915] New: emit warning if (explicit) vectorization failed Date: Wed, 07 Nov 2018 05:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hoganmeier at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00567.txt.bz2 Content-length: 634 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87915 Bug ID: 87915 Summary: emit warning if (explicit) vectorization failed Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: hoganmeier at gmail dot com Target Milestone: --- When using #pragma omp simd for explicit vectorization shouldn't it warn if vectorization failed? clang has -Wpass-failed for that: http://lists.llvm.org/pipermail/cfe-dev/2015-July/044226.html >>From gcc-bugs-return-620411-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 05:59:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101276 invoked by alias); 7 Nov 2018 05:59:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101199 invoked by uid 48); 7 Nov 2018 05:59:15 -0000 From: "fdumont at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/87872] debug list::splice should not call _M_transfer_from_if on self-splices Date: Wed, 07 Nov 2018 05:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 7.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fdumont at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: fdumont at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00568.txt.bz2 Content-length: 518 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87872 Fran=C3=A7ois Dumont changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |9.0 --- Comment #5 from Fran=C3=A7ois Dumont --- Patch committed, thanks again. >>From gcc-bugs-return-620412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 06:23:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27711 invoked by alias); 7 Nov 2018 06:23: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 27607 invoked by uid 48); 7 Nov 2018 06:23:34 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87793] [8/9 Regression] GCC reports error when compiling with "-fpic -Os -g" Date: Wed, 07 Nov 2018 06:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-11/txt/msg00569.txt.bz2 Content-length: 238 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87793 --- Comment #3 from Alexandre Oliva --- Created attachment 44966 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44966&action=3Dedit candidate patch >>From gcc-bugs-return-620413-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 06:26:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31868 invoked by alias); 7 Nov 2018 06: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 31786 invoked by uid 55); 7 Nov 2018 06:26:04 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87874] [8/9 Regression] ICE in simplify_subreg, at simplify-rtx.c:6396 Date: Wed, 07 Nov 2018 06:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00570.txt.bz2 Content-length: 933 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87874 --- Comment #5 from Alexandre Oliva --- Author: aoliva Date: Wed Nov 7 06:25:30 2018 New Revision: 265860 URL: https://gcc.gnu.org/viewcvs?rev=3D265860&root=3Dgcc&view=3Drev Log: [PR87874] avoid const-wide-int subreg in LRA Just like CONST_INT, CONST_WIDE_INT is VOIDmode, so LRA might be tempted to build a SUBREG to "convert" it to the wanted mode. That's no use. Test for CONST_SCALAR_INT_P instead of CONST_INT_P so that we skip the subreg creation for both. for gcc/ChangeLog PR rtl-optimization/87874 * lra.c (lra_substitute_pseudo): Do not create a subreg for const wide ints. for gcc/testsuite/ChangeLog PR rtl-optimization/87874 * gcc.dg/pr87874.c: New. Added: trunk/gcc/testsuite/gcc.dg/pr87874.c Modified: trunk/gcc/ChangeLog trunk/gcc/lra.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-620414-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 07:43:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26250 invoked by alias); 7 Nov 2018 07:43: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 25966 invoked by uid 48); 7 Nov 2018 07:43:15 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/87905] structures in two different cpp source files with same name get flagged by ODR warning Date: Wed, 07 Nov 2018 07:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00571.txt.bz2 Content-length: 1363 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87905 --- Comment #5 from Martin Li=C5=A1ka --- (In reply to Raymond Jennings from comment #4) > (In reply to Martin Li=C5=A1ka from comment #2) > > >=20 > > > Note in the test package that neither struct is exposed to the other > > > translation unit. > >=20 > > But it's violation of C++ ODR and as LTO compilation unit is entire pro= gram, > > you then introduce violation. >=20 > I respectfully disagree. >=20 > Unless the source code itself changes, toggling LTO shouldn't affect > generated warnings. That's not true. Your source code snippet is violating ODR even without LTO, but compiler can't prove that. >=20 > It may be one /compilation/ unit, but by the standard they still count as > separate translation units. LTO is an artifact of the compiler and not t= he > standard so it shouldn't have an impact on ODR warnings. Please take a look at: https://en.wikipedia.org/wiki/One_Definition_Rule more particularly at 'Example showing unexpected side effects' where you can see example where even non-LTO mode produces undefined behavior based on the violation. In general, we as compiler developers, are under pressure due to user's expectation about highly optimized binaries. On the other hand, we need to = base these optimizations on standards that we can leverage. >>From gcc-bugs-return-620415-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 07:48:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31984 invoked by alias); 7 Nov 2018 07:48: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 31658 invoked by uid 48); 7 Nov 2018 07:48:28 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87793] [8/9 Regression] GCC reports error when compiling with "-fpic -Os -g" Date: Wed, 07 Nov 2018 07:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00572.txt.bz2 Content-length: 179 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87793 --- Comment #4 from Alexandre Oliva --- https://gcc.gnu.org/ml/gcc-patches/2018-11/msg00411.html >>From gcc-bugs-return-620416-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 07:58:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36122 invoked by alias); 7 Nov 2018 07:58:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 35959 invoked by uid 48); 7 Nov 2018 07:58:50 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/87916] New: [9 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.c:22479 since r264943 Date: Wed, 07 Nov 2018 07:58: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: 9.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: 2018-11/txt/msg00573.txt.bz2 Content-length: 2689 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87916 Bug ID: 87916 Summary: [9 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.c:22479 since r264943 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: ebotcazou at gcc dot gnu.org Target Milestone: --- Following causes ICE: $ cat turbo.ii struct a { virtual ~a(); }; template class c { public: class d { public: d(c); b *operator->(); }; }; int e, f; class g { public: class h { public: virtual void j(g &, int &, bool) =3D 0; }; c k(); int *l(); int *m(); }; int *g::l() try { for (c::d i(k());;) i->j(*this, e, true); } catch (int) { return 0; } int *g::m() try { for (c::d i(k());;) i->j(*this, f, false); } catch (int) { return 0; } struct n : a, g::h { void o(); void j(g &, int &, bool) { o(); } }; $ g++ -O2 -g turbo.ii -c -m32 -fPIC -Wall during IPA pass: inline turbo.ii: In member function =E2=80=98int* g::l()=E2=80=99: turbo.ii:25:9: internal compiler error: in dwarf2out_abstract_function, at dwarf2out.c:22479 25 | i->j(*this, e, true); | ~~~~^~~~~~~~~~~~~~~~ 0x731731 dwarf2out_abstract_function /home/marxin/Programming/gcc/gcc/dwarf2out.c:22479 0x31fa65f expand_call_inline /home/marxin/Programming/gcc/gcc/tree-inline.c:4855 0x3202412 gimple_expand_calls_inline /home/marxin/Programming/gcc/gcc/tree-inline.c:4886 0x3202412 optimize_inline_calls(tree_node*) /home/marxin/Programming/gcc/gcc/tree-inline.c:5026 0x57cbd67 inline_transform(cgraph_node*) /home/marxin/Programming/gcc/gcc/ipa-inline-transform.c:682 0x29de91a execute_one_ipa_transform_pass /home/marxin/Programming/gcc/gcc/passes.c:2190 0x29de91a execute_all_ipa_transforms() /home/marxin/Programming/gcc/gcc/passes.c:2229 0x196c0f5 cgraph_node::expand() /home/marxin/Programming/gcc/gcc/cgraphunit.c:2187 0x1972724 expand_all_functions /home/marxin/Programming/gcc/gcc/cgraphunit.c:2332 0x1972724 symbol_table::compile() /home/marxin/Programming/gcc/gcc/cgraphunit.c:2683 0x197dc3a symbol_table::finalize_compilation_unit() /home/marxin/Programming/gcc/gcc/cgraphunit.c:2861 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-620417-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 07:59:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48601 invoked by alias); 7 Nov 2018 07:59: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 46251 invoked by uid 48); 7 Nov 2018 07:59:21 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/87916] [9 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.c:22479 since r264943 Date: Wed, 07 Nov 2018 07:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 9.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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on cf_known_to_work target_milestone cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00574.txt.bz2 Content-length: 462 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87916 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2018-11-7 Known to work| |8.2.0 Target Milestone|--- |9.0 Known to fail| |9.0 >>From gcc-bugs-return-620418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 08:05:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77605 invoked by alias); 7 Nov 2018 08: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 77473 invoked by uid 48); 7 Nov 2018 08:05:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87901] partial DSE of memset doesn't work for other kind of stores Date: Wed, 07 Nov 2018 08:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00575.txt.bz2 Content-length: 1149 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87901 --- Comment #2 from Richard Biener --- (In reply to Martin Sebor from comment #1) > The example is undefined -- it forms a past the-end pointer -- and > -Warray-bounds detects it: >=20 > warning: array subscript 2 is outside array bounds of =E2=80=98int[1]=E2= =80=99 > [-Warray-bounds] > 6 | *((short *)&i + sizeof (int) - sizeof (short)) =3D 1; >=20 > I don't suppose you meant to do that, but presumably meant to access a pa= rt > of the object. But even then the code is undefined. >=20 > Can you explain/clarify what you have in mind and why it's important? Whoops - should be + 2 - 1 (was char * before I made it to shorts). int i; void foo () { i =3D 0; *((short *)&i + 1) =3D 1; } the original motivation is from 36602 patch regressions. When transforming char z[32]; int foo(void) { memset (z, 0, 16); memset (z+8, 0, 24); } to int foo(void) { MEM[&z] =3D 0; MEM[&z+8] =3D {}; } DSE doesn't know to adjust the =3D 0 store (and likely not a =3D {} store i= f it were first). I first wanted to construct an example with unions... >>From gcc-bugs-return-620419-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 08:06:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78803 invoked by alias); 7 Nov 2018 08:06:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78762 invoked by uid 48); 7 Nov 2018 08:06:22 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87917] New: ICE in initialize_matrix_A at gcc/tree-data-ref.c:3150 Date: Wed, 07 Nov 2018 08:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-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: 2018-11/txt/msg00576.txt.bz2 Content-length: 3615 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87917 Bug ID: 87917 Summary: ICE in initialize_matrix_A at gcc/tree-data-ref.c:3150 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- Following causes ICE: $ arm-linux-gnueabi-gcc=20 /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr34635.c -ftree-loop-distribute-patterns -ftrapv -fno-tree-fre -O2 during GIMPLE pass: ldist /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr34635.c: In function =E2=80=98foo=E2=80=99: /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr34635.c:4:6: internal compiler error: in int_cst_value, at tree.c:11385 4 | void foo(int x[]) | ^~~ 0x59cad1 int_cst_value(tree_node const*) =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/tre= e.c:11385 0x112cddc initialize_matrix_A =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/tre= e-data-ref.c:3150 0x112fcd2 initialize_matrix_A =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/tre= e-data-ref.c:3143 0x112fcd2 analyze_subscript_affine_affine =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/tre= e-data-ref.c:3568 0x113632b analyze_miv_subscript =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/tre= e-data-ref.c:4014 0x113632b analyze_overlapping_iterations =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/tre= e-data-ref.c:4120 0x113632b subscript_dependence_tester_1 =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/tre= e-data-ref.c:4656 0x1136ac7 subscript_dependence_tester_1 =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/tre= e-data-ref.c:4652 0x1136ac7 subscript_dependence_tester =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/tre= e-data-ref.c:4706 0x1136ac7 compute_affine_dependence(data_dependence_relation*, loop*) =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/tre= e-data-ref.c:4765 0xab3f61 get_data_dependence =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/tre= e-loop-distribution.c:1188 0xab4195 data_dep_in_cycle_p =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/tre= e-loop-distribution.c:1210 0xab4195 update_type_for_merge =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/tre= e-loop-distribution.c:1255 0xab5b97 build_rdg_partition_for_vertex =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/tre= e-loop-distribution.c:1302 0xab5b97 rdg_build_partitions =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/tre= e-loop-distribution.c:1754 0xab5b97 distribute_loop =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/tre= e-loop-distribution.c:2795 0xab88a0 execute =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/tre= e-loop-distribution.c:3133 >>From gcc-bugs-return-620420-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 08:07:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86625 invoked by alias); 7 Nov 2018 08:07: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 86558 invoked by uid 55); 7 Nov 2018 08:07:29 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/87906] [9 Regression] ICE in tree check: expected block, have function_decl in block_ultimate_origin, at tree.c:12326 since r264734 Date: Wed, 07 Nov 2018 08:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: 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: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00577.txt.bz2 Content-length: 758 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87906 --- Comment #4 from Richard Biener --- Author: rguenth Date: Wed Nov 7 08:06:57 2018 New Revision: 265861 URL: https://gcc.gnu.org/viewcvs?rev=3D265861&root=3Dgcc&view=3Drev Log: 2018-11-07 Richard Biener PR lto/87906 * tree-streamer-in.c (lto_input_ts_block_tree_pointers): Fixup BLOCK_ABSTRACT_ORIGIN to be the ultimate origin. * g++.dg/lto/pr87906_0.C: New testcase. * g++.dg/lto/pr87906_1.C: Likewise. Added: trunk/gcc/testsuite/g++.dg/lto/pr87906_0.C trunk/gcc/testsuite/g++.dg/lto/pr87906_1.C Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-streamer-in.c >>From gcc-bugs-return-620421-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 08:18:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101513 invoked by alias); 7 Nov 2018 08:18:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101438 invoked by uid 48); 7 Nov 2018 08:18:23 -0000 From: "chefmax at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/87840] LSAN not always printing the leaks when -fsanitize=address is absent Date: Wed, 07 Nov 2018 08:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: chefmax at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00578.txt.bz2 Content-length: 4369 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87840 chefmax at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chefmax at gcc dot gnu.org --- Comment #10 from chefmax at gcc dot gnu.org --- (In reply to Jan Engelhardt from comment #0) > $ cat x.cpp > #include > struct S { > std::shared_ptr other; > }; > int main() > { > auto e =3D std::make_shared(); > e->other =3D e; > } >=20 > $ g++-9 x.cpp -ggdb3 -llsan -fsanitize=3Dleak > $ ./a.out > $ >=20 > LSAN fails to report the cycle while valgrind does. >=20 > Using built-in specs. > COLLECT_GCC=3Dg++-9 > COLLECT_LTO_WRAPPER=3D/usr/lib64/gcc/x86_64-suse-linux/9/lto-wrapper > OFFLOAD_TARGET_NAMES=3Dhsa:nvptx-none > Target: x86_64-suse-linux > Configured with: ../configure --prefix=3D/usr --infodir=3D/usr/share/info > --mandir=3D/usr/share/man --libdir=3D/usr/lib64 --libexecdir=3D/usr/lib64 > --enable-languages=3Dc,c++,objc,fortran,obj-c++,ada,go > --enable-offload-targets=3Dhsa,nvptx-none=3D/usr/nvptx-none, > --without-cuda-driver --enable-checking=3Drelease --disable-werror > --with-gxx-include-dir=3D/usr/include/c++/9 --enable-ssp --disable-libssp > --disable-libvtv --disable-cet --disable-libcc1 --enable-plugin > --with-bugurl=3Dhttp://bugs.opensuse.org/ --with-pkgversion=3D'SUSE Linux' > --with-slibdir=3D/lib64 --with-system-zlib --enable-libstdcxx-allocator= =3Dnew > --disable-libstdcxx-pch --enable-version-specific-runtime-libs > --with-gcc-major-version-only --enable-linker-build-id --enable-linux-fut= ex > --enable-gnu-indirect-function --program-suffix=3D-9 > --without-system-libunwind --enable-multilib --with-arch-32=3Dx86-64 > --with-tune=3Dgeneric --build=3Dx86_64-suse-linux --host=3Dx86_64-suse-li= nux > Thread model: posix > gcc version 9.0.0 20181026 (experimental) [trunk revision 265522] (SUSE > Linux)=20 > Applies to=20 > gcc version 8.2.1 20180831 [gcc-8-branch revision 264010] (SUSE Linux)=20 > gcc version 7.3.1 20180817 [gcc-7-branch revision 263612] (SUSE Linux)=20 > as well. I can confirm this with master GCC: $ ~/install/master/bin/g++ x.cpp -ggdb3 -fsanitize=3Dleak -static-liblsan= ; LSAN_OPTIONS=3Dlog_pointers=3D1:log_threads=3D1 ./a.out =3D=3D9273=3D=3DScanning GLOBAL range 0x000000651000-0x000000654fe0. =3D=3D9273=3D=3DScanning GLOBAL range 0x0000006552a8-0x000000ee86e8. =3D=3D9273=3D=3DScanning GLOBAL range 0x7fa92c405308-0x7fa92c4140a0. =3D=3D9273=3D=3D0x7fa92c410ca8: found 0x631000000000 pointing into chunk 0x631000000000-0x631000011c00 of size 72704. =3D=3D9273=3D=3DScanning GLOBAL range 0x7fa92c090d70-0x7fa92c0910f8. =3D=3D9273=3D=3DScanning GLOBAL range 0x7fa92bd87d60-0x7fa92bd880f0. =3D=3D9273=3D=3DScanning GLOBAL range 0x7fa92bb83d58-0x7fa92bb84bc0. =3D=3D9273=3D=3DScanning GLOBAL range 0x7fa92b977b78-0x7fa92b97c428. =3D=3D9273=3D=3DScanning GLOBAL range 0x7fa92b75edc8-0x7fa92b75f450. =3D=3D9273=3D=3DScanning GLOBAL range 0x7fa92b53f7c0-0x7fa92b5489a0. =3D=3D9273=3D=3DScanning GLOBAL range 0x7fa92c63abc0-0x7fa92c63c168. =3D=3D9273=3D=3DProcessing thread 9272. =3D=3D9273=3D=3DScanning REGISTERS range 0x7fa92c5ff000-0x7fa92c5ff0d8. =3D=3D9273=3D=3DStack at 0x7ffe51e77000-0x7ffe52677000 (SP =3D 0x7ffe52674a= 28). =3D=3D9273=3D=3DScanning STACK range 0x7ffe52674a28-0x7ffe52677000. =3D=3D9273=3D=3D0x7ffe52674bf8: found 0x602000000008 pointing into chunk 0x602000000000-0x602000000020 of size 32. =3D=3D9273=3D=3DTLS at 0x7fa92c5e2000-0x7fa92c5f0c00. =3D=3D9273=3D=3DScanning TLS range 0x7fa92c5e2000-0x7fa92c5e2758. =3D=3D9273=3D=3DScanning TLS range 0x7fa92c5f02d8-0x7fa92c5f0c00. =3D=3D9273=3D=3DScanning HEAP range 0x602000000000-0x602000000020. =3D=3D9273=3D=3DScanning HEAP range 0x631000000000-0x631000011c00. =3D=3D9273=3D=3DProcessing platform-specific allocations. =3D=3D9273=3D=3DScanning leaked chunks >>From the log I can see that pointer to allocated chunk still reachable from main thread stack. I'm not sure why this doesn't happen with ASan enabled, perhaps it performs some stack cleanup before exit and rewrites this pointer. Anyways, I don't see any opportunity to fix this in LSan in its current usa= ge model. FWIW upstream has several similar reports, see e.g. https://github.com/google/sanitizers/issues/937 >>From gcc-bugs-return-620422-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 08:18:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103361 invoked by alias); 7 Nov 2018 08:18: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 102274 invoked by uid 48); 7 Nov 2018 08:18:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/36602] memset should be optimized into an empty CONSTRUCTOR Date: Wed, 07 Nov 2018 08: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: 4.4.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00579.txt.bz2 Content-length: 3524 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D36602 --- Comment #12 from Richard Biener --- (In reply to Richard Biener from comment #11) > Created attachment 44963 [details] > updated patch >=20 > Updated patch. There are the expected missing warnings plus the two miss= ed > optimizations noted by the bugs this now depends on. Current fallout is FAIL: g++.dg/pr79095-2.C -std=3Dgnu++14 (test for warnings, line ) FAIL: g++.dg/pr79095-2.C -std=3Dgnu++17 (test for warnings, line ) FAIL: g++.dg/pr79095-2.C -std=3Dgnu++98 (test for warnings, line ) FAIL: gcc.dg/builtin-object-size-4.c execution test FAIL: gcc.dg/builtin-stringop-chk-5.c (test for warnings, line 72) FAIL: gcc.dg/builtin-stringop-chk-5.c (test for warnings, line 75) FAIL: gcc.dg/builtin-stringop-chk-5.c (test for warnings, line 78) FAIL: gcc.dg/builtin-stringop-chk-5.c (test for warnings, line 81) FAIL: gcc.dg/builtin-stringop-chk-5.c (test for warnings, line 84) FAIL: gcc.dg/builtin-stringop-chk-5.c (test for warnings, line 87) FAIL: gcc.dg/builtin-stringop-chk-5.c (test for warnings, line 92) FAIL: gcc.dg/builtin-stringop-chk-5.c (test for warnings, line 95) FAIL: gcc.dg/builtin-stringop-chk-5.c (test for warnings, line 98) FAIL: gcc.dg/tm/memset.c scan-assembler _ITM_memsetW FAIL: gcc.dg/tree-ssa/calloc-3.c scan-tree-dump-not optimized "malloc" FAIL: gcc.dg/tree-ssa/calloc-3.c scan-tree-dump-times optimized "calloc" 1 -> PR87900 FAIL: gcc.dg/tree-ssa/ssa-dse-25.c scan-tree-dump dse1 "memset .&z, 0, 8." -> PR87901 and additionally with -m32 FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 101) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 110) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 111) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 117) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 118) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 119) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 153) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 154) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 155) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 156) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 157) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 158) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 46) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 71) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 72) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 73) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 74) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 75) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 76) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 92) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 96) FAIL: gcc.dg/warn-strlen-no-nul.c (test for warnings, line 99) FAIL: gcc.dg/warn-strlen-no-nul.c (internal compiler error) FAIL: gcc.dg/warn-strlen-no-nul.c (test for excess errors) (the ICE looks latent, and thus may be the reason for the missed warnings) FAIL: gcc.dg/tree-ssa/builtin-sprintf-10.c (test for excess errors) Some of the missed warnings might be cured with careful placement of check_bounds_or_overlap calls in memset folding like we do for memcpy folding. But that's not exactly my area of expertise/interest. I will test a slightly less aggresive patch now. >>From gcc-bugs-return-620423-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 08:23:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7570 invoked by alias); 7 Nov 2018 08:23:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7505 invoked by uid 48); 7 Nov 2018 08:23:48 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/87869] Unrolled loop leads to excessive code bloat with -Os on ARC EM. Date: Wed, 07 Nov 2018 08:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00580.txt.bz2 Content-length: 589 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87869 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amylaar at gcc dot gnu.org, | |andrew.burgess at embecosm= dot com | |, claziss at gcc dot gnu.o= rg --- Comment #6 from Richard Biener --- CCing (former) ARC port maintainers. >>From gcc-bugs-return-620424-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 08:25:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21228 invoked by alias); 7 Nov 2018 08:25: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 18664 invoked by uid 48); 7 Nov 2018 08:25:18 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/87906] [9 Regression] ICE in tree check: expected block, have function_decl in block_ultimate_origin, at tree.c:12326 since r264734 Date: Wed, 07 Nov 2018 08:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: 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: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00581.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87906 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Richard Biener --- Fixed. >>From gcc-bugs-return-620425-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 08:33:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130025 invoked by alias); 7 Nov 2018 08:33: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 129979 invoked by uid 48); 7 Nov 2018 08:33:49 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87913] max(n, 1) code generation Date: Wed, 07 Nov 2018 08:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cf_gcctarget bug_status cf_reconfirmed_on component everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00582.txt.bz2 Content-length: 1979 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87913 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Target| |x86_64-*-*, i?86-*-* Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-07 Component|tree-optimization |target Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. For f we fail to detect the max() operation at the tree level because the test is using !=3D 0 instead of < 1. f (unsigned int num) { unsigned int iftmp.0_1; [local count: 1073741825]: if (num_2(D) !=3D 0) goto ; [50.00%] else goto ; [50.00%] [local count: 536870913]: [local count: 1073741825]: # iftmp.0_1 =3D PHI return iftmp.0_1; g is represented as g (unsigned int num) { _Bool _1; unsigned int _2; unsigned int _4; [local count: 1073741825]: _1 =3D num_3(D) =3D=3D 0; _2 =3D (unsigned int) _1; _4 =3D _2 + num_3(D); return _4; expanded to (after combine) (insn 6 3 7 2 (set (reg:CCZ 17 flags) (compare:CCZ (reg/v:SI 85 [ num ]) (const_int 0 [0]))) "/tmp/t.c":13:16 7 {*cmpsi_ccno_1} (nil)) (insn 8 7 9 2 (set (reg:SI 87) (eq:SI (reg:CCZ 17 flags) (const_int 0 [0]))) "/tmp/t.c":13:16 652 {*setcc_si_1_movzbl} (insn 9 8 14 2 (parallel [ (set (reg:SI 86) (plus:SI (reg:SI 87) (reg/v:SI 85 [ num ]))) (clobber (reg:CC 17 flags)) ]) "/tmp/t.c":13:14 190 {*addsi_1} that's a target missed optimization. I'll fix the MIN/MAX detection and thus make this issue a target one. >>From gcc-bugs-return-620426-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 08:36:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19317 invoked by alias); 7 Nov 2018 08:36: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 18477 invoked by uid 48); 7 Nov 2018 08:36:52 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87915] emit warning if (explicit) vectorization failed Date: Wed, 07 Nov 2018 08:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: diagnostic, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00583.txt.bz2 Content-length: 851 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87915 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic, openmp Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-07 CC| |jakub at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- You could use -fopt-info-vec-missed but that warns about more cases than ju= st #pragma omp simd ones. Thus confirmed. I don't think we want to add -Wpass-failed but -Wopenmp might warn about "unhandled" (unoptimized) OMP constructs? >>From gcc-bugs-return-620427-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 08:46:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18306 invoked by alias); 7 Nov 2018 08: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 15660 invoked by uid 48); 7 Nov 2018 08:46:06 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87914] gcc fails to vectorize bitreverse code Date: Wed, 07 Nov 2018 08:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00584.txt.bz2 Content-length: 1334 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87914 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-07 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. You are expecting the outer loop to be vectorized but outer loop vectorization fails due to t.C:18:27: note: Analyze phi: x_24 =3D PHI <_4(3), x_23(8)> t.C:18:27: missed: reduction value used in loop. t.C:18:27: missed: Unknown def-use cycle pattern. t.C:18:27: note: Analyze phi: mask_26 =3D PHI <4294967295(3), mask_17(8)> t.C:18:27: missed: reduction value used in loop. t.C:18:27: missed: Unknown def-use cycle pattern. t.C:18:27: note: Analyze phi: s_7 =3D PHI <16(3), s_14(8)> t.C:18:27: missed: reduction value used in loop. t.C:18:27: missed: Unknown def-use cycle pattern. but for the inner loop those are just internal defs so I'm not sure why the vectorizer backs off here... (at least mask and s should be simple vect_nested_cycle, IMHO x as well) >>From gcc-bugs-return-620428-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 09:08:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14061 invoked by alias); 7 Nov 2018 09:08:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 13914 invoked by uid 48); 7 Nov 2018 09:08:38 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87918] New: [9 Regression] ICE in simplify_binary_operation, at simplify-rtx.c:2153 since r264688 Date: Wed, 07 Nov 2018 09:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-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: 2018-11/txt/msg00585.txt.bz2 Content-length: 2509 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87918 Bug ID: 87918 Summary: [9 Regression] ICE in simplify_binary_operation, at simplify-rtx.c:2153 since r264688 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- Following is causing an ICE: $ cat loops.i typedef float a __attribute__((__vector_size__(16))); a b, c, d; void e() { float f; c =3D (__attribute__((__vector_size__(4 * sizeof(float)))) float){f}; d =3D __builtin_ia32_cmpless(c, b); } $ gcc loops.i -c -O2 during RTL pass: fwprop1 loops.i: In function =E2=80=98e=E2=80=99: loops.i:8:1: internal compiler error: in simplify_binary_operation, at simplify-rtx.c:2153 8 | } | ^ 0x772e68 simplify_binary_operation(rtx_code, machine_mode, rtx_def*, rtx_de= f*) /home/marxin/Programming/gcc/gcc/simplify-rtx.c:2153 0x26502d1 simplify_gen_binary(rtx_code, machine_mode, rtx_def*, rtx_def*) /home/marxin/Programming/gcc/gcc/simplify-rtx.c:194 0x26828f2 simplify_merge_mask(rtx_def*, rtx_def*, int) /home/marxin/Programming/gcc/gcc/simplify-rtx.c:5650 0x26571c1 simplify_ternary_operation(rtx_code, machine_mode, machine_mode, rtx_def*, rtx_def*, rtx_def*) /home/marxin/Programming/gcc/gcc/simplify-rtx.c:6066 0x265b68e simplify_gen_ternary(rtx_code, machine_mode, machine_mode, rtx_de= f*, rtx_def*, rtx_def*) /home/marxin/Programming/gcc/gcc/simplify-rtx.c:387 0x2657211 simplify_ternary_operation(rtx_code, machine_mode, machine_mode, rtx_def*, rtx_def*, rtx_def*) /home/marxin/Programming/gcc/gcc/simplify-rtx.c:5928 0x265b68e simplify_gen_ternary(rtx_code, machine_mode, machine_mode, rtx_de= f*, rtx_def*, rtx_def*) /home/marxin/Programming/gcc/gcc/simplify-rtx.c:387 0x4c73d30 propagate_rtx_1 /home/marxin/Programming/gcc/gcc/fwprop.c:536 0x4c767d6 propagate_rtx /home/marxin/Programming/gcc/gcc/fwprop.c:692 0x4c781a2 forward_propagate_and_simplify /home/marxin/Programming/gcc/gcc/fwprop.c:1361 0x4c781a2 forward_propagate_into /home/marxin/Programming/gcc/gcc/fwprop.c:1420 0x4c7bff7 fwprop /home/marxin/Programming/gcc/gcc/fwprop.c:1509 0x4c7bff7 execute /home/marxin/Programming/gcc/gcc/fwprop.c:1540 >>From gcc-bugs-return-620429-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 09:09:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 17653 invoked by alias); 7 Nov 2018 09:09: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 17573 invoked by uid 48); 7 Nov 2018 09:09:12 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87918] [9 Regression] ICE in simplify_binary_operation, at simplify-rtx.c:2153 since r264688 Date: Wed, 07 Nov 2018 09:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on cc cf_known_to_work target_milestone cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00586.txt.bz2 Content-length: 688 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87918 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2018-11-7 CC| |ams at gcc dot gnu.org, | |hubicka at gcc dot gnu.org, | |jamborm at gcc dot gnu.org Known to work| |8.2.0 Target Milestone|--- |9.0 Known to fail| |9.0 >>From gcc-bugs-return-620430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 09:22:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50341 invoked by alias); 7 Nov 2018 09: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 50259 invoked by uid 48); 7 Nov 2018 09:22:44 -0000 From: "hoganmeier at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87915] emit warning if (explicit) vectorization failed Date: Wed, 07 Nov 2018 09:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: diagnostic, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: hoganmeier at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00587.txt.bz2 Content-length: 356 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87915 --- Comment #2 from krux --- Yeah I'm using -fopt-info for manual performance analysis but that can't be enabled in the normal build as it's too noisy. Furthermore a proper warning can be turned into an error to ensure that developer expectations are met by the compiler. >>From gcc-bugs-return-620431-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 09:33:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97930 invoked by alias); 7 Nov 2018 09:33: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 97782 invoked by uid 55); 7 Nov 2018 09:33:54 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87868] testsuite/c-c++-common/pr60101.c with -O3 and ubsan Date: Wed, 07 Nov 2018 09:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: 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: 2018-11/txt/msg00588.txt.bz2 Content-length: 685 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87868 --- Comment #4 from Martin Li=C5=A1ka --- Author: marxin Date: Wed Nov 7 09:33:22 2018 New Revision: 265869 URL: https://gcc.gnu.org/viewcvs?rev=3D265869&root=3Dgcc&view=3Drev Log: Fix UBSAN in postreload-gcse.c (PR rtl-optimization/87868). 2018-11-07 Martin Liska PR rtl-optimization/87868 * postreload-gcse.c (eliminate_partially_redundant_load): Set threshold to max_count if we would overflow. * profile-count.h: Make max_count a public constant. Modified: trunk/gcc/ChangeLog trunk/gcc/postreload-gcse.c trunk/gcc/profile-count.h >>From gcc-bugs-return-620432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 09:34:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99253 invoked by alias); 7 Nov 2018 09:34: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 99207 invoked by uid 48); 7 Nov 2018 09:34:44 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87868] testsuite/c-c++-common/pr60101.c with -O3 and ubsan Date: Wed, 07 Nov 2018 09:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: 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: 2018-11/txt/msg00589.txt.bz2 Content-length: 442 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87868 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Martin Li=C5=A1ka --- Fixed on trunk. >>From gcc-bugs-return-620433-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 09:40:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108804 invoked by alias); 7 Nov 2018 09:40: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 108518 invoked by uid 48); 7 Nov 2018 09:40:35 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87919] New: Incorrect fortran handling of -fno-* options Date: Wed, 07 Nov 2018 09:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00590.txt.bz2 Content-length: 1284 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87919 Bug ID: 87919 Summary: Incorrect fortran handling of -fno-* options Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- Seems gfc_handle_options doesn't handle properly some -fno-* options. Mark Eggleston has a fix for -fno-dec-structure (that acts the same as -fdec-structure), but -fno-check-array-temporaries, -fno-init-local-zero and -fno-dec behave similarly, they ignore the no- part completely. In case OPT_fcheck_array_temporaries: gfc_option.rtcheck |=3D GFC_RTCHECK_ARRAY_TEMPS; break; I guess it should be: if (value) gfc_option.rtcheck |=3D GFC_RTCHECK_ARRAY_TEMPS; else gfc_option.rtcheck &=3D ~GFC_RTCHECK_ARRAY_TEMPS; for -fno-initi-local-zero for !value I'd say it should set all the knobs to *_OFF, and -fno-dec, the question is if set_dec_flags (0) actually shouldn't also undo what set_dec_flags (1) does; then it should do the &=3D ~ for !va= lue rather than the useless |=3D value; which does nothing if value is 0. >>From gcc-bugs-return-620434-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 09:43:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125266 invoked by alias); 7 Nov 2018 09:43: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 125172 invoked by uid 48); 7 Nov 2018 09:43:44 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/87454] Maybe implement -fsanitize=implicit-integer-truncation Date: Wed, 07 Nov 2018 09:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00591.txt.bz2 Content-length: 863 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87454 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-07 Ever confirmed|0 |1 --- Comment #1 from Martin Li=C5=A1ka --- Note that truncation is only part of recently added Implicit Conversion Sanitizer: http://releases.llvm.org/7.0.0/tools/clang/docs/ReleaseNotes.html#undefined= -behavior-sanitizer-ubsan One can find a blog post about it here (mentioned in LLVM weekly): John Regehr has a short blog post on [recently added implicit integer cast= =20 sanitizers](https://blog.regehr.org/archives/1633). >>From gcc-bugs-return-620436-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 09:46:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4278 invoked by alias); 7 Nov 2018 09:46: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 4192 invoked by uid 48); 7 Nov 2018 09:46:54 -0000 From: "hoganmeier at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87913] max(n, 1) code generation Date: Wed, 07 Nov 2018 09:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hoganmeier at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00593.txt.bz2 Content-length: 238 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87913 --- Comment #2 from krux --- The case of function g is quite interesting because of the data dependencies and adc's latency: https://godbolt.org/z/0V8Dlx >>From gcc-bugs-return-620435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 09:46:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1468 invoked by alias); 7 Nov 2018 09: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 1267 invoked by uid 48); 7 Nov 2018 09:46:00 -0000 From: "fw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/66298] -Wmisleading-indentation should also detect missing indentation Date: Wed, 07 Nov 2018 09:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: fw at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00592.txt.bz2 Content-length: 327 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66298 --- Comment #3 from Florian Weimer --- This would also help to detect the incorrect pragma placement in bug 63326: int main() { int result =3D 1; if (result < 0) #pragma GCC diagnostic ignored "-Wunused-result" return result; return 0; } >>From gcc-bugs-return-620437-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 09:59:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111334 invoked by alias); 7 Nov 2018 09:59: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 111028 invoked by uid 48); 7 Nov 2018 09:59:03 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87914] gcc fails to vectorize bitreverse code Date: Wed, 07 Nov 2018 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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status blocked assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00594.txt.bz2 Content-length: 957 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87914 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Blocks| |53947 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org --- Comment #2 from Richard Biener --- Note that if that is fixed we still fail vectorization with t.C:8:21: missed: not vectorized: relevant stmt not supported: _16 =3D ma= sk_26 << s_7; t.C:18:27: missed: bad operation or unsupported loop bound. I have a fix for that. But in the end the issue is weak handling of vector= ized nested cycles in general. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53947 [Bug 53947] [meta-bug] vectorizer missed-optimizations >>From gcc-bugs-return-620438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 11:05:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68531 invoked by alias); 7 Nov 2018 11: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 66409 invoked by uid 48); 7 Nov 2018 11:04:55 -0000 From: "juri.valdmann at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/83243] -fuse-ld=lld Date: Wed, 07 Nov 2018 11:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: juri.valdmann at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00595.txt.bz2 Content-length: 563 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83243 J=C3=BCri Valdmann changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |juri.valdmann at gmail dot= com --- Comment #4 from J=C3=BCri Valdmann --- (In reply to Markus Trippelsdorf from comment #3) > So, I see no reason at all to support -fuse-ld=3Dlld. I can think of one reason: users want to use it. >>From gcc-bugs-return-620439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 11:06:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70551 invoked by alias); 7 Nov 2018 11:06: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 70488 invoked by uid 48); 7 Nov 2018 11:06:02 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/79775] Confusing fix-it diagnostics with double pointers to structs Date: Wed, 07 Nov 2018 11:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.3.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00596.txt.bz2 Content-length: 1096 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79775 Thomas Schwinge changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2017-03-01 00:00:00 |2018-11-7 CC| |dmalcolm at gcc dot gnu.or= g, | |tschwinge at gcc dot gnu.o= rg --- Comment #2 from Thomas Schwinge --- I ran into such a thing, too (with today's GCC trunk r265867): struct s { int m; }; void f(struct s **s) { *s->m =3D 5; // (*s)->m =3D 5; } C: ../f.c: In function 'f': ../f.c:8:5: error: '*s' is a pointer; did you mean to use '->'? 8 | *s->m =3D 5; | ^~ | -> C++: ../f.c: In function 'void f(s**)': ../f.c:8:7: error: request for member 'm' in '* s', which is of pointer type 's*' (maybe you meant to use '->' ?) 8 | *s->m =3D 5; | ^ >>From gcc-bugs-return-620440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 12:59:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1896 invoked by alias); 7 Nov 2018 12:59:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1859 invoked by uid 48); 7 Nov 2018 12:59:31 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87920] New: Lots of regression tests fail with bootstrap build of arm-linux-gnueabihf Date: Wed, 07 Nov 2018 12: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: prathamesh3492 at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00597.txt.bz2 Content-length: 1962 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87920 Bug ID: 87920 Summary: Lots of regression tests fail with bootstrap build of arm-linux-gnueabihf Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: prathamesh3492 at gcc dot gnu.org Target Milestone: --- Hi, It seems lots of tests are failing with bootstrap build of arm-linux-gnueab= ihf with following ICE: during GIMPLE pass: ldist /home/prathamesh.kulkarni/gnu-toolchain/gcc/tcwg-319-4/gcc/gcc/testsuite/c-= c++-common/torture/pr53505.c: In function 'main': /home/prathamesh.kulkarni/gnu-toolchain/gcc/tcwg-319-4/gcc/gcc/testsuite/c-= c++-common/torture/pr53505.c:29:1: internal compiler error: Segmentation fault 0x5e83cb crash_signal ../../gcc/gcc/toplev.c:325 0x660e57 inchash::hash::add(void const*, unsigned int) ../../gcc/gcc/inchash.h:100 0x660e57 inchash::hash::add_ptr(void const*) ../../gcc/gcc/inchash.h:94 0x660e57 ddr_hasher::hash(data_dependence_relation const*) ../../gcc/gcc/tree-loop-distribution.c:143 0x660e57 hash_table::find_slot(data_dependence_relation* const&, insert_option) ../../gcc/gcc/hash-table.h:414 0x660e57 get_data_dependence ../../gcc/gcc/tree-loop-distribution.c:1184 0x66157b pg_add_dependence_edges ../../gcc/gcc/tree-loop-distribution.c:1890 0x66157b build_partition_graph ../../gcc/gcc/tree-loop-distribution.c:2107 0x66180f merge_dep_scc_partitions ../../gcc/gcc/tree-loop-distribution.c:2171 0x662e69 distribute_loop ../../gcc/gcc/tree-loop-distribution.c:2892 0x66416d execute ../../gcc/gcc/tree-loop-distribution.c:3133 Several tests fail with above ICE, like pr53505.c, 20131115-1.c, 20181024-1.c etc. Thanks, Prathamesh >>From gcc-bugs-return-620441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 13:01:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4816 invoked by alias); 7 Nov 2018 13:01: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 4747 invoked by uid 48); 7 Nov 2018 13:01:42 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87920] Lots of regression tests fail with bootstrap build of arm-linux-gnueabihf Date: Wed, 07 Nov 2018 13:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00598.txt.bz2 Content-length: 461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87920 Christophe Lyon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clyon at gcc dot gnu.org --- Comment #1 from Christophe Lyon --- Is this a duplicate of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87899= ? >>From gcc-bugs-return-620443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 13:03:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7376 invoked by alias); 7 Nov 2018 13:03: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 6670 invoked by uid 48); 7 Nov 2018 13:03:42 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87920] Lots of regression tests fail with bootstrap build of arm-linux-gnueabihf Date: Wed, 07 Nov 2018 13:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: prathamesh3492 at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00600.txt.bz2 Content-length: 549 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87920 prathamesh3492 at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from prathamesh3492 at gcc dot gnu.org --- Likely yes, thanks for the pointer! I will mark this as dup. Thanks, Prathamesh *** This bug has been marked as a duplicate of bug 87899 *** >>From gcc-bugs-return-620442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 13:03:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6754 invoked by alias); 7 Nov 2018 13:03:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6698 invoked by uid 48); 7 Nov 2018 13:03:42 -0000 From: "prathamesh3492 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/87899] [9 regression]r264897 cause mis-compiled native arm-linux-gnueabihf toolchain Date: Wed, 07 Nov 2018 13:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: prathamesh3492 at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00599.txt.bz2 Content-length: 436 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87899 prathamesh3492 at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |prathamesh3492 at gcc dot = gnu.org --- Comment #4 from prathamesh3492 at gcc dot gnu.org --- *** Bug 87920 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-620444-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 14:18:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65049 invoked by alias); 7 Nov 2018 14:18: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 64955 invoked by uid 48); 7 Nov 2018 14:18:09 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/87916] [9 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.c:22479 since r264943 Date: Wed, 07 Nov 2018 14:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00601.txt.bz2 Content-length: 432 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87916 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Eric Botcazou --- I can reproduce. >>From gcc-bugs-return-620445-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 14:21:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109469 invoked by alias); 7 Nov 2018 14:21:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107123 invoked by uid 48); 7 Nov 2018 14:21:20 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/87916] [9 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.c:22479 since r264943 Date: Wed, 07 Nov 2018 14:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00602.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87916 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc do= t gnu.org --- Comment #2 from Eric Botcazou --- Fixing. >>From gcc-bugs-return-620446-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 14:31:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5429 invoked by alias); 7 Nov 2018 14:31:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5059 invoked by uid 48); 7 Nov 2018 14:31:45 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/87916] [9 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.c:22479 since r264943 Date: Wed, 07 Nov 2018 14:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00603.txt.bz2 Content-length: 387 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87916 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Component|debug |middle-end --- Comment #3 from Eric Botcazou --- Recategorizing. >>From gcc-bugs-return-620447-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 14:38:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45179 invoked by alias); 7 Nov 2018 14:38: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 45124 invoked by uid 48); 7 Nov 2018 14:38:05 -0000 From: "gary_mills at fastmail dot fm" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/87836] ICE in cc1 for gcc-6.5.0 with SPARC hardware Date: Wed, 07 Nov 2018 14:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gary_mills at fastmail dot fm X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00604.txt.bz2 Content-length: 238 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87836 --- Comment #6 from Gary Mills --- I'm still waiting for information on how to use gdb to check the alignment = of the structures involved in this ICE. >>From gcc-bugs-return-620448-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 15:01:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66335 invoked by alias); 7 Nov 2018 15:01:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 66137 invoked by uid 48); 7 Nov 2018 15:01:20 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87914] gcc fails to vectorize bitreverse code Date: Wed, 07 Nov 2018 15:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00605.txt.bz2 Content-length: 438 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87914 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Richard Biener --- Fixed on trunk. >>From gcc-bugs-return-620449-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 15:01:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66904 invoked by alias); 7 Nov 2018 15: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 66183 invoked by uid 48); 7 Nov 2018 15:01:21 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations Date: Wed, 07 Nov 2018 15:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: meta-bug, missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00606.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53947 Bug 53947 depends on bug 87914, which changed state. Bug 87914 Summary: gcc fails to vectorize bitreverse code https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87914 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-620450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 15:01:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68794 invoked by alias); 7 Nov 2018 15:01: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 68237 invoked by uid 55); 7 Nov 2018 15:01:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87914] gcc fails to vectorize bitreverse code Date: Wed, 07 Nov 2018 15:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: 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: 2018-11/txt/msg00607.txt.bz2 Content-length: 1395 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87914 --- Comment #4 from Richard Biener --- Author: rguenth Date: Wed Nov 7 15:01:09 2018 New Revision: 265876 URL: https://gcc.gnu.org/viewcvs?rev=3D265876&root=3Dgcc&view=3Drev Log: 2018-11-07 Richard Biener PR tree-optimization/87914 * tree-vect-loop.c (vect_is_simple_reduction): Improve detection of nested cycles. (vectorizable_reduction): Handle shifts and rotates by dispatching to vectorizable_shift. * tree-vect-stmts.c (vect_get_vec_def_for_operand_1): Handle in-loop uses of vect_nested_cycle defs. Merge cycle and internal def cases. (vectorizable_shift): Export and handle being called as vect_nested_cycle. (vect_analyze_stmt): Call vectorizable_shift after vectorizable_reduction. * tree-vectorizer.h (vectorizable_shift): Declare. * lib/target-supports.exp (check_effective_target_vect_var_shift): = New. (check_avx2_available): Likewise. * g++.dg/vect/pr87914.cc: New testcase. Added: trunk/gcc/testsuite/g++.dg/vect/pr87914.cc Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/lib/target-supports.exp trunk/gcc/tree-vect-loop.c trunk/gcc/tree-vect-stmts.c trunk/gcc/tree-vectorizer.h >>From gcc-bugs-return-620451-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 15:21:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115391 invoked by alias); 7 Nov 2018 15:21: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 115294 invoked by uid 48); 7 Nov 2018 15:21:18 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/87442] Add options to filter files we want to instrument for code coverage Date: Wed, 07 Nov 2018 15:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: unknown 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00608.txt.bz2 Content-length: 1225 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87442 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|10.0 |9.0 --- Comment #8 from Martin Li=C5=A1ka --- Ok, I've got a patch prototype and I hope I'll be able to sent it before the end of this stage1. > The idea is to add two options to easily include/exclude some files from > being instrumented. > Here are two use cases: > 1) -coverage-exclude=3D/usr/include/*: typically we remove the data for = such > files when post-processing the gcno/gcda so we don't need to instrument t= hem > and so we could reduce the overhead due to instrumentation. > 2) -coverage-filter=3D.*/foo.cpp:.*/bar.cpp: here we want to only instru= ment > these two files (for example, to display code coverage data for files > appearing in a patch at review phase) However, calixte can you please explain me difference in between those two options. More precisely, one is a white list and the second one is a black list. Will you mix these together or they will be used exclusively? >>From gcc-bugs-return-620452-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 15:28:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19286 invoked by alias); 7 Nov 2018 15:28: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 18818 invoked by uid 48); 7 Nov 2018 15:28:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87913] max(n, 1) code generation Date: Wed, 07 Nov 2018 15:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00609.txt.bz2 Content-length: 315 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87913 --- Comment #3 from Richard Biener --- A fix for the MIN/MAX recognition generates f: .LFB0: .cfi_startproc testl %edi, %edi movl $1, %eax cmovne %edi, %eax ret it doesn't change g(). >>From gcc-bugs-return-620453-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 15:52:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 129440 invoked by alias); 7 Nov 2018 15:52: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 129336 invoked by uid 48); 7 Nov 2018 15:52:34 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/66298] -Wmisleading-indentation should also detect missing indentation Date: Wed, 07 Nov 2018 15: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: 6.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00610.txt.bz2 Content-length: 1125 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66298 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek --- I believe there is no general consistency in the indentation of pragmas, so= me projects never indent them, others put them at the same level as the previo= us stmt, others at the same level as the next stmt. To catch the if (1) #pragma GCC diagnostics ... something; we just should have a separate warning that warns if the body of an if/else/while/for is a pragma handled as a statement. Note, for OpenMP, this is covered by the standard and GCC already errors on OpenMP standalone directives in such contexts, so you get an error for if (1) #pragma omp flush something; where flush is standalone directive, but not for if (1) #pragma omp single something; where single is not standalone directive and has associated non-pragma code. >>From gcc-bugs-return-620454-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 15:53:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130360 invoked by alias); 7 Nov 2018 15:53: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 130246 invoked by uid 48); 7 Nov 2018 15:53:08 -0000 From: "groungccg at amelkin dot msk.ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/39438] Can't compile a wrapper around strftime with -Werror=format-nonliteral Date: Wed, 07 Nov 2018 15:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.3.2 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: groungccg at amelkin dot msk.ru X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00611.txt.bz2 Content-length: 191 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D39438 --- Comment #12 from Alexander Amelkin --- Also happens with `gcc (Ubuntu 8.1.0-5ubuntu1~16.04) 8.1.0` >>From gcc-bugs-return-620455-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 16:28:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130529 invoked by alias); 7 Nov 2018 16:28: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 130114 invoked by uid 48); 7 Nov 2018 16:28:24 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/86395] add support of -fopt-info-inline in inliner Date: Wed, 07 Nov 2018 16:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: diagnostic, patch X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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: 2018-11/txt/msg00612.txt.bz2 Content-length: 646 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86395 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch URL| |https://gcc.gnu.org/ml/gcc- | |patches/2018-11/msg00463.ht | |ml --- Comment #4 from David Malcolm --- Candidate patches: https://gcc.gnu.org/ml/gcc-patches/2018-11/msg00463.html >>From gcc-bugs-return-620457-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 16:29:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9146 invoked by alias); 7 Nov 2018 16:29: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 8397 invoked by uid 48); 7 Nov 2018 16:29:50 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87904] [9 Regression] ICE in lookup_mark, at cp/tree.c:2322 since r265679 Date: Wed, 07 Nov 2018 16:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00614.txt.bz2 Content-length: 435 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87904 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Nathan Sidwell --- Fixed r265879. >>From gcc-bugs-return-620456-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 16:29:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1806 invoked by alias); 7 Nov 2018 16:29: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 1694 invoked by uid 55); 7 Nov 2018 16:29:18 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87904] [9 Regression] ICE in lookup_mark, at cp/tree.c:2322 since r265679 Date: Wed, 07 Nov 2018 16:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00613.txt.bz2 Content-length: 733 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87904 --- Comment #1 from Nathan Sidwell --- Author: nathan Date: Wed Nov 7 16:28:46 2018 New Revision: 265879 URL: https://gcc.gnu.org/viewcvs?rev=3D265879&root=3Dgcc&view=3Drev Log: [PR C++/87904] lookup ICE https://gcc.gnu.org/ml/gcc-patches/2018-11/msg00468.html PR c++/87904 * cp-tree.h (struct tree_overload): Fix comment. * tree.c (ovl_iterator::reveal_node): Propagate OVL_DEDUP_P. PR c++/87904 * g++.dg/lookup/pr87904.C: New. Added: trunk/gcc/testsuite/g++.dg/lookup/pr87904.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/tree.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-620458-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 17:17:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24889 invoked by alias); 7 Nov 2018 17:17: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 24826 invoked by uid 48); 7 Nov 2018 17:17:52 -0000 From: "cuzdav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87921] New: Incorrect error "storage size of [array] isn't known (when it is) Date: Wed, 07 Nov 2018 17:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cuzdav at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00615.txt.bz2 Content-length: 1625 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87921 Bug ID: 87921 Summary: Incorrect error "storage size of [array] isn't known (when it is) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: cuzdav at gmail dot com Target Milestone: --- I'm getting an error for what I believe to be valid code. Here's a complet= e, minimal example to reproduce it: // =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D template struct X { static constexpr long Ary[] =3D { 1L }; long foo() { return Ary[0]; } }; void f() { class L{}; X foo{}; } // =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D https://godbolt.org/z/2tGwxo #1 with x86-64 gcc (trunk) :3:27: error: storage size of 'X::Ary' isn't known 3 static constexpr long Ary[] =3D { 1L }; ^~~ Clearly the size of the array should be known. - locally, on both mac and linux I see same results - in g++6.3, C++17 mode it compiles - in 7.3 and all versions up through 8.2 and the trunk, in C++ 17 mode it d= oes not compile. - in clang++, it compiles. - moving the function-local class L to file-scope fixes it. - moving the array outside of the template class fixes it. - explicitly providing a size to the array declaration fixes it. >>From gcc-bugs-return-620459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 17:36:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 59047 invoked by alias); 7 Nov 2018 17:36: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 58965 invoked by uid 48); 7 Nov 2018 17:36:24 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/69654] ICE in gfc_trans_structure_assign Date: Wed, 07 Nov 2018 17:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pault at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00616.txt.bz2 Content-length: 2379 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69654 G. Steinmetz changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gscfq@t-online.de --- Comment #6 from G. Steinmetz --- Update, reduced a bit : $ cat z1.f90 module m type t class(*), pointer :: z =3D> null() end type end program p contains subroutine s1 use m type(t) :: x call s2(x) end subroutine s2(x) use m type(t) :: x end end $ gfortran-9-20181104 -c z1.f90 z1.f90:12:0: 12 | end | internal compiler error: Segmentation fault 0xb205df crash_signal ../../gcc/toplev.c:325 0x6f3735 gfc_trans_structure_assign(tree_node*, gfc_expr*, bool, bool) ../../gcc/fortran/trans-expr.c:7814 0x6f3282 gfc_trans_subcomponent_assign ../../gcc/fortran/trans-expr.c:7659 0x6f375a gfc_trans_structure_assign(tree_node*, gfc_expr*, bool, bool) ../../gcc/fortran/trans-expr.c:7824 0x6edf0f gfc_conv_structure(gfc_se*, gfc_expr*, int) ../../gcc/fortran/trans-expr.c:7891 0x6ee14c gfc_conv_expr(gfc_se*, gfc_expr*) ../../gcc/fortran/trans-expr.c:8059 0x6fc779 gfc_trans_assignment_1 ../../gcc/fortran/trans-expr.c:10248 0x6dd90d gfc_init_default_dt(gfc_symbol*, stmtblock_t*, bool) ../../gcc/fortran/trans-decl.c:4067 0x6e4f30 gfc_trans_deferred_vars(gfc_symbol*, gfc_wrapped_block*) ../../gcc/fortran/trans-decl.c:4792 0x6e6ef8 gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.c:6614 0x6e6c14 gfc_generate_contained_functions ../../gcc/fortran/trans-decl.c:5524 0x6e6c14 gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.c:6441 0x6740a6 translate_all_program_units ../../gcc/fortran/parse.c:6125 0x6740a6 gfc_parse_file() ../../gcc/fortran/parse.c:6328 0x6bc03f gfc_be_parse_file ../../gcc/fortran/f95-lang.c:204 --- The ICE also goes away when all "use m" are moved to top level : $ cat z7.f90 module m type t class(*), pointer :: z =3D> null() end type end program p use m call s1 contains subroutine s1 type(t) :: x call s2(x) end subroutine s2(x) type(t) :: x end end >>From gcc-bugs-return-620460-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 17:38:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62014 invoked by alias); 7 Nov 2018 17:38:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61980 invoked by uid 48); 7 Nov 2018 17:38:17 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87922] New: ICE in gfc_wide_strlen, at fortran/scanner.c:142 Date: Wed, 07 Nov 2018 17:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00617.txt.bz2 Content-length: 1617 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87922 Bug ID: 87922 Summary: ICE in gfc_wide_strlen, at fortran/scanner.c:142 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- With a non-scalar-default-char-constant-expr since at least gfortran-5 : $ cat z1.f90 program p read (1, asynchronous=3D['no']) read (1, asynchronous=3D[character::]) end $ cat z2.f90 program p write (1, asynchronous=3D['no']) write (1, asynchronous=3D[character::]) end $ gfortran-9-20181104 -c z1.f90 f951: internal compiler error: Segmentation fault 0xb205df crash_signal ../../gcc/toplev.c:325 0x694450 gfc_wide_strlen(unsigned int const*) ../../gcc/fortran/scanner.c:142 0x638587 compare_to_allowed_values ../../gcc/fortran/io.c:2008 0x63b7ca check_io_constraints ../../gcc/fortran/io.c:3797 0x63b7ca match_io ../../gcc/fortran/io.c:4301 0x66a3c1 match_word ../../gcc/fortran/parse.c:65 0x66e1a0 decode_statement ../../gcc/fortran/parse.c:549 0x66e72a next_free ../../gcc/fortran/parse.c:1234 0x66e72a next_statement ../../gcc/fortran/parse.c:1466 0x670a94 parse_spec ../../gcc/fortran/parse.c:3674 0x672807 parse_progunit ../../gcc/fortran/parse.c:5671 0x673e89 gfc_parse_file() ../../gcc/fortran/parse.c:6211 0x6bc03f gfc_be_parse_file ../../gcc/fortran/f95-lang.c:204 >>From gcc-bugs-return-620461-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 17:41:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70629 invoked by alias); 7 Nov 2018 17:41:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70561 invoked by uid 48); 7 Nov 2018 17:41:09 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87923] New: ICE in gfc_widechar_to_char, at fortran/scanner.c:198 Date: Wed, 07 Nov 2018 17:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00618.txt.bz2 Content-length: 1419 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87923 Bug ID: 87923 Summary: ICE in gfc_widechar_to_char, at fortran/scanner.c:198 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- With option -fdec and versions 7 to 9 : $ cat z1.f90 program p open (1, carriagecontrol=3Dchar(1000,4)) open (2, share=3Dchar(1000,4)) end $ gfortran-9-20181104 -c z1.f90 -fdec f951: internal compiler error: in gfc_widechar_to_char, at fortran/scanner.c:198 0x694556 gfc_widechar_to_char(unsigned int const*, int) ../../gcc/fortran/scanner.c:198 0x638784 compare_to_allowed_values ../../gcc/fortran/io.c:2091 0x63dcd0 gfc_match_open() ../../gcc/fortran/io.c:2276 0x66a3c1 match_word ../../gcc/fortran/parse.c:65 0x66e335 decode_statement ../../gcc/fortran/parse.c:531 0x66e72a next_free ../../gcc/fortran/parse.c:1234 0x66e72a next_statement ../../gcc/fortran/parse.c:1466 0x670a94 parse_spec ../../gcc/fortran/parse.c:3674 0x672807 parse_progunit ../../gcc/fortran/parse.c:5671 0x673e89 gfc_parse_file() ../../gcc/fortran/parse.c:6211 0x6bc03f gfc_be_parse_file ../../gcc/fortran/f95-lang.c:204 >>From gcc-bugs-return-620462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 18:02:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110881 invoked by alias); 7 Nov 2018 18:02: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 109842 invoked by uid 48); 7 Nov 2018 18:02:23 -0000 From: "cdenizet at mozilla dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/87442] Add options to filter files we want to instrument for code coverage Date: Wed, 07 Nov 2018 18:02: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cdenizet at mozilla dot 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00619.txt.bz2 Content-length: 2140 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87442 --- Comment #9 from calixte --- (In reply to Martin Li=C5=A1ka from comment #8) > Ok, I've got a patch prototype and I hope I'll be able to sent it before > the end of this stage1. >=20 > > The idea is to add two options to easily include/exclude some files from > > being instrumented. > > Here are two use cases: > > 1) -coverage-exclude=3D/usr/include/*: typically we remove the data fo= r such > > files when post-processing the gcno/gcda so we don't need to instrument= them > > and so we could reduce the overhead due to instrumentation. > > 2) -coverage-filter=3D.*/foo.cpp:.*/bar.cpp: here we want to only inst= rument > > these two files (for example, to display code coverage data for files > > appearing in a patch at review phase) >=20 > However, calixte can you please explain me difference in between those two > options. > More precisely, one is a white list and the second one is a black list. W= ill > you > mix these together or they will be used exclusively? Few things: i) I use ';' as regex separator (to avoid issues under windows with C:\...) ii) if exclude is empty and filename is matching any of the regexes in fil= ter then instrument it. iii) if filter is empty and filename is not matching any of the regexes in exclude then instrument it. iv) if both are not empty and filename is matching any of the regexes in filter AND is not matching any of the regexes in exclude then instrument it= .=20 Few examples: i) exclude=3D"^/usr/include/;^/usr/local/include/" =3D> a file is instrume= nted if and only if it isn't in /usr/include/ nor in /usr/local/include/ ii) filter=3D"^/home/foo/dev/.*\.cpp;^/home/foo/ved/.*\.cpp" =3D> a file is instrumented if and only if it's a cpp file somewhere under /home/foo/dev/ = or /home/foo/ved/ iii) exclude=3D"^/usr/include/.*$" and filter=3D"^/usr/.*$" =3D> a file is instrumented if and only if it's somewhere under /usr/ but not under /usr/include My patch for llvm is here: https://reviews.llvm.org/D52033 If you see something wrong or have idea to improve, please ping me. >>From gcc-bugs-return-620463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 18:03:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130802 invoked by alias); 7 Nov 2018 18: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 130752 invoked by uid 48); 7 Nov 2018 18:03:32 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87921] Incorrect error "storage size of [array] isn't known (when it is) Date: Wed, 07 Nov 2018 18:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown 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: 2018-11/txt/msg00620.txt.bz2 Content-length: 581 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87921 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-07 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Probably started with r241143. >>From gcc-bugs-return-620464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 18:04:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1286 invoked by alias); 7 Nov 2018 18:04: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 1238 invoked by uid 48); 7 Nov 2018 18:04:42 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87921] [7/8/9 Regression] Incorrect error "storage size of [array] isn't known (when it is) Date: Wed, 07 Nov 2018 18:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00621.txt.bz2 Content-length: 637 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87921 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Target Milestone|--- |7.4 Summary|Incorrect error "storage |[7/8/9 Regression] |size of [array] isn't known |Incorrect error "storage |(when it is) |size of [array] isn't known | |(when it is) >>From gcc-bugs-return-620465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 19:07:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118231 invoked by alias); 7 Nov 2018 19:07: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 118172 invoked by uid 48); 7 Nov 2018 19:07:23 -0000 From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87924] New: OpenACC wait clauses without async-arguments Date: Wed, 07 Nov 2018 19:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: openacc, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00622.txt.bz2 Content-length: 619 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87924 Bug ID: 87924 Summary: OpenACC wait clauses without async-arguments Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: openacc, patch Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: tschwinge at gcc dot gnu.org Target Milestone: --- As reported in , we're currently not taking any action for OpenACC wait clauses without async-arguments. >>From gcc-bugs-return-620466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 20:06:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21954 invoked by alias); 7 Nov 2018 20:06: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 21900 invoked by uid 48); 7 Nov 2018 20:06:22 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/69348] alias declarations can not be used inside qualifiers of declarators Date: Wed, 07 Nov 2018 20:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.3.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00623.txt.bz2 Content-length: 561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69348 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-07 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed. >>From gcc-bugs-return-620467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 20:51:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104234 invoked by alias); 7 Nov 2018 20:51: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 104120 invoked by uid 48); 7 Nov 2018 20:51:42 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87922] ICE in gfc_wide_strlen, at fortran/scanner.c:142 Date: Wed, 07 Nov 2018 20:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00624.txt.bz2 Content-length: 2449 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87922 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-07 Target Milestone|--- |9.0 Ever confirmed|0 |1 --- Comment #1 from kargl at gcc dot gnu.org --- Index: gcc/fortran/io.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/fortran/io.c (revision 265885) +++ gcc/fortran/io.c (working copy) @@ -2232,6 +2232,21 @@ gfc_match_open (void) if (!is_char_type ("ASYNCHRONOUS", open->asynchronous)) goto cleanup; + if (open->asynchronous->ts.kind !=3D 1) + { + gfc_error ("ASYNCHRONOUS=3D specifier at %L must have be of defau= lt " + "CHARACTER kind", &open->asynchronous->where); + return MATCH_ERROR; + } + + if (open->asynchronous->expr_type =3D=3D EXPR_ARRAY + || open->asynchronous->expr_type =3D=3D EXPR_STRUCTURE) + { + gfc_error ("ASYNCHRONOUS=3D specifier at %L must have be scalar", + &open->asynchronous->where); + return MATCH_ERROR; + } + if (open->asynchronous->expr_type =3D=3D EXPR_CONSTANT) { static const char * asynchronous[] =3D { "YES", "NO", NULL }; @@ -3792,6 +3807,21 @@ if (condition) \ if (!is_char_type ("ASYNCHRONOUS", dt->asynchronous)) return MATCH_ERROR; + + if (dt->asynchronous->ts.kind !=3D 1) + { + gfc_error ("ASYNCHRONOUS=3D specifier at %L must have be of defau= lt " + "CHARACTER kind", &dt->asynchronous->where); + return MATCH_ERROR; + } + + if (dt->asynchronous->expr_type =3D=3D EXPR_ARRAY + || dt->asynchronous->expr_type =3D=3D EXPR_STRUCTURE) + { + gfc_error ("ASYNCHRONOUS=3D specifier at %L must have be scalar", + &dt->asynchronous->where); + return MATCH_ERROR; + } if (!compare_to_allowed_values ("ASYNCHRONOUS", asynchronous, NULL, NULL, >>From gcc-bugs-return-620468-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 20:53:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107211 invoked by alias); 7 Nov 2018 20:53:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 107091 invoked by uid 48); 7 Nov 2018 20:53:11 -0000 From: "gjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/78707] [6 Regression] internal compiler error: in push_reload, at reload.c:1349 Date: Wed, 07 Nov 2018 20:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.2.1 X-Bugzilla-Keywords: ice-on-valid-code, 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: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-11/txt/msg00625.txt.bz2 Content-length: 509 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78707 Georg-Johann Lay changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |7.1.1, 8.0.1 --- Comment #3 from Georg-Johann Lay --- (In reply to Jakub Jelinek from comment #2) > Does this fail also with 7.x and later? The test case passes fine for me with 7.1.1 and 8.0.1. >>From gcc-bugs-return-620470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 20:56:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113230 invoked by alias); 7 Nov 2018 20:56: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 113146 invoked by uid 48); 7 Nov 2018 20:56:11 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/56183] [meta-bug][avr] Problems with register allocation Date: Wed, 07 Nov 2018 20:56: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: 6.2.1 X-Bugzilla-Keywords: meta-bug, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00627.txt.bz2 Content-length: 500 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56183 Bug 56183 depends on bug 78707, which changed state. Bug 78707 Summary: [6 Regression] internal compiler error: in push_reload, = at reload.c:1349 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78707 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-620469-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 20:56:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113220 invoked by alias); 7 Nov 2018 20:56: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 113126 invoked by uid 48); 7 Nov 2018 20:56:10 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/78707] [6 Regression] internal compiler error: in push_reload, at reload.c:1349 Date: Wed, 07 Nov 2018 20:56: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: 6.2.1 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: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00626.txt.bz2 Content-length: 488 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78707 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|6.5 |7.0 --- Comment #4 from Jakub Jelinek --- Thus fixed in 7.x. >>From gcc-bugs-return-620471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 21:01:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120765 invoked by alias); 7 Nov 2018 21:00:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 120196 invoked by uid 48); 7 Nov 2018 21:00:27 -0000 From: "gjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/87854] [9 Regression] gcc.c-torture/compile/pr46534.c ICE for 16-bit size_t Date: Wed, 07 Nov 2018 21: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gjl at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00628.txt.bz2 Content-length: 332 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87854 --- Comment #1 from Georg-Johann Lay --- (In reply to Jozef Lawrynowicz from comment #0) > Rather than ICE'ing should there be some error message about object size > being too large? Yes. In any case, there should be no ICE whatever code you provide. >>From gcc-bugs-return-620472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 21:29:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55035 invoked by alias); 7 Nov 2018 21:29: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 54992 invoked by uid 48); 7 Nov 2018 21:29:33 -0000 From: "foreese at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87919] Incorrect fortran handling of -fno-* options Date: Wed, 07 Nov 2018 21:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: foreese at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: foreese at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00629.txt.bz2 Content-length: 620 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87919 Fritz Reese changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-11-07 CC| |foreese at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |foreese at gcc dot = gnu.org Target Milestone|--- |7.4 Ever confirmed|0 |1 >>From gcc-bugs-return-620473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 21:31:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70507 invoked by alias); 7 Nov 2018 21:31: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 70474 invoked by uid 48); 7 Nov 2018 21:31:43 -0000 From: "foreese at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/85982] ICE in resolve_component, at fortran/resolve.c:13696 Date: Wed, 07 Nov 2018 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: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: foreese at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: foreese at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00630.txt.bz2 Content-length: 499 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85982 Fritz Reese changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Last reconfirmed|2018-05-31 00:00:00 |2018-11-7 Assignee|unassigned at gcc dot gnu.org |foreese at gcc dot = gnu.org Known to fail| |6.4.0, 9.0 >>From gcc-bugs-return-620474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 21:47:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23327 invoked by alias); 7 Nov 2018 21:47: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 18024 invoked by uid 48); 7 Nov 2018 21:47:45 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87919] Incorrect fortran handling of -fno-* options Date: Wed, 07 Nov 2018 21:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: foreese at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00631.txt.bz2 Content-length: 216 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87919 --- Comment #1 from Jakub Jelinek --- The -fdec-structure part has been posted in https://gcc.gnu.org/ml/fortran/2018-11/msg00029.html >>From gcc-bugs-return-620475-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 22:07:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39321 invoked by alias); 7 Nov 2018 22:07:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 39223 invoked by uid 55); 7 Nov 2018 22:06:58 -0000 From: "jozefl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87691] transparent_union attribute does not work with MODE_PARTIAL_INT Date: Wed, 07 Nov 2018 22:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jozefl at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00632.txt.bz2 Content-length: 828 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87691 --- Comment #10 from jozefl at gcc dot gnu.org --- Author: jozefl Date: Wed Nov 7 22:06:26 2018 New Revision: 265894 URL: https://gcc.gnu.org/viewcvs?rev=3D265894&root=3Dgcc&view=3Drev Log: 2018-11-07 Jozef Lawrynowicz PR c/87691 gcc/ChangeLog: * stor-layout.c (compute_record_mode): Set TYPE_MODE of UNION_TYPE to the mode of the widest field iff the widest field has mode class MODE_INT, or MODE_PARTIAL_INT and the union would be passed by reference. gcc/testsuite/ChangeLog: * gcc.target/msp430/pr87691.c: New test. Added: trunk/gcc/testsuite/gcc.target/msp430/pr87691.c Modified: trunk/gcc/ChangeLog trunk/gcc/stor-layout.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-620476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 22:23:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63781 invoked by alias); 7 Nov 2018 22:23: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 63676 invoked by uid 48); 7 Nov 2018 22:23:18 -0000 From: "eyalroz at technion dot ac.il" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87925] New: Missed optimization: Single-value if-then-else chains treated differently than switch'es Date: Wed, 07 Nov 2018 22:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eyalroz at technion dot ac.il X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00633.txt.bz2 Content-length: 1832 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87925 Bug ID: 87925 Summary: Missed optimization: Single-value if-then-else chains treated differently than switch'es Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: eyalroz at technion dot ac.il Target Milestone: --- Have a look at this GodBolt example: https://gcc.godbolt.org/z/zR03rA On one hand, we have: void foo(int i) { switch (i) { case 1: boo<1>(); break; case 2: boo<2>(); break; case 3: boo<3>(); break; case 4: boo<4>(); break; // etc. etc. } } on the other hand we have the same, but using an if-then-else chain: void bar(int i) { if (i =3D=3D 1) boo<1>(); else if (i =3D=3D 2) boo<2>(); else if (i =3D=3D 3) boo<3>(); else if (i =3D=3D 4) boo<4>(); // etc. etc. } The switch statement gets a jump table; the if-then-else chain - does not. = At the link, there are 20 cases; g++ starts using a jump table with 4 switch values. This is not just a matter of programmers needing to remember to prefer swit= ch statements (which it's better not to require of them), but rather that if-then-else chains are sometimes generated by expansion of templated code, e.g. this example for checking for membership in a set of values (=3D all v= alues of an enum): https://stackoverflow.com/a/53191264/1593077 while switch() statements of variable do not get generated AFAICT. It would thus be quite useful if such generated code would not result in highly-inefficient long chains of comparisons. >>From gcc-bugs-return-620477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 22:27:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68169 invoked by alias); 7 Nov 2018 22:27: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 68129 invoked by uid 48); 7 Nov 2018 22:27:01 -0000 From: "eyalroz at technion dot ac.il" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87925] Missed optimization: Distinct-value if-then-else chains treated differently than switch statements Date: Wed, 07 Nov 2018 22:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eyalroz at technion dot ac.il X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: version Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00634.txt.bz2 Content-length: 501 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87925 Eyal Rozenberg changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unknown |9.0 --- Comment #1 from Eyal Rozenberg --- See also:=20 https://stackoverflow.com/questions/53198276/do-compilers-optimize-switches= -differently-than-long-if-then-else-chains >>From gcc-bugs-return-620478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 22:38:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87828 invoked by alias); 7 Nov 2018 22:38: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 87663 invoked by uid 48); 7 Nov 2018 22:38:24 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87926] New: bad array-index warning breaks --disable-checking bootstrap Date: Wed, 07 Nov 2018 22: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: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00635.txt.bz2 Content-length: 1159 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87926 Bug ID: 87926 Summary: bad array-index warning breaks --disable-checking bootstrap Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- Created attachment 44967 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44967&action=3Dedit cc1plus bug.ii -O2 -W -Wall -quiet x86_64-linux --disable-checking bootstrap fails with: ../../../src/gcc/bitmap.c: In function =E2=80=98unsigned int bitmap_last_set_bit(const_bitmap)=E2=80=99: ../../../src/gcc/bitmap.c:1191:26: error: array subscript -1 is below array bounds of =E2=80=98const BITMAP_WORD [2]=E2=80=99 {aka =E2=80=98const long = unsigned int [2]=E2=80=99} [-Werror=3Darray-bounds] 1191 | word =3D elt->bits[ix]; | ~~~~~~~~~~~~^ Attached is a reduced testcase Adding: bitmap.o-warn =3D -Wno-error to gcc/Makefile.in works around the problem. >>From gcc-bugs-return-620479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 22:50:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5675 invoked by alias); 7 Nov 2018 22:50: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 3031 invoked by uid 55); 7 Nov 2018 22:50:52 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87926] bad array-index warning breaks --disable-checking bootstrap Date: Wed, 07 Nov 2018 22:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00636.txt.bz2 Content-length: 547 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87926 --- Comment #1 from Nathan Sidwell --- Author: nathan Date: Wed Nov 7 22:50:20 2018 New Revision: 265899 URL: https://gcc.gnu.org/viewcvs?rev=3D265899&root=3Dgcc&view=3Drev Log: [PR/87936] --disable-checking bootstrap break https://gcc.gnu.org/ml/gcc-patches/2018-11/msg00502.html PR 87926 * Makefile.in (bitmap.o-warn): Add -Wno-error to unbreak --disable-checking bootstrap. Modified: trunk/gcc/ChangeLog trunk/gcc/Makefile.in >>From gcc-bugs-return-620480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 07 23:23:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122391 invoked by alias); 7 Nov 2018 23:23: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 122337 invoked by uid 48); 7 Nov 2018 23:23:45 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/79393] [7/8/9 Regression] cc1plus rejects valid code with noexcept Date: Wed, 07 Nov 2018 23:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: deferred, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00637.txt.bz2 Content-length: 403 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79393 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|SUSPENDED |ASSIGNED --- Comment #11 from Nathan Sidwell --- Is 2336 now has a proposed solution. >>From gcc-bugs-return-620481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 00:04:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63091 invoked by alias); 8 Nov 2018 00:04: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 63045 invoked by uid 48); 8 Nov 2018 00:04:39 -0000 From: "jozef.l at mittosystems dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87927] New: ICE: segmentation fault with patchable_function_entry attribute for msp430-elf -mlarge Date: Thu, 08 Nov 2018 00:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jozef.l at mittosystems dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00638.txt.bz2 Content-length: 1514 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87927 Bug ID: 87927 Summary: ICE: segmentation fault with patchable_function_entry attribute for msp430-elf -mlarge Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jozef.l at mittosystems dot com Target Milestone: --- Use of the patchable_function_entry attribute with msp430-elf in the large memory model causes a segfault on trunk. For example in c-c++-common/patchable_function_entry-decl.c: > extern int a; >=20 > int f3 (void) __attribute__((patchable_function_entry(2))); >=20 > int > __attribute__((noinline)) > f3 (void) > { > return 5*a; > } > gcc -mlarge -fpatchable-function-entry=3D3,1 -S gcc/testsuite/c-c++-commo= n/patchable_function_entry-decl.c > gcc/testsuite/c-c++-common/patchable_function_entry-decl.c: In function '= f3': > gcc/testsuite/c-c++-common/patchable_function_entry-decl.c:18:1: internal= compiler error: Segmentation fault > 0xb5e4af crash_signal > ../../gcc/toplev.c:325 > 0xb59d41 default_print_patchable_function_entry(_IO_FILE*, unsigned long,= bool) > ../../gcc/targhooks.c:1816 > 0xe94d2c assemble_start_function(tree_node*, char const*) > ../../gcc/varasm.c:1903 > 0x84188f rest_of_handle_final > ../../gcc/final.c:4645 > 0x84188f execute > ../../gcc/final.c:4723 >>From gcc-bugs-return-620482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 00:06:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90550 invoked by alias); 8 Nov 2018 00:06:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 83074 invoked by uid 48); 8 Nov 2018 00:06:10 -0000 From: "jozef.l at mittosystems dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87927] ICE: segmentation fault with patchable_function_entry attribute for msp430-elf -mlarge Date: Thu, 08 Nov 2018 00:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jozef.l at mittosystems 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: 2018-11/txt/msg00639.txt.bz2 Content-length: 769 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87927 --- Comment #1 from Jozef Lawrynowicz --- Created attachment 44968 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44968&action=3Dedit proposed patch In default_print_patchable_function_entry, integer_asm_op is passed POINTER_SIZE_UNITS. For msp430-elf -mlarge, this is 3, which is not handled= in integer_asm_op, so it returns NULL. fputs is directly writing out the return value of integer_asm_op, so when t= his is NULL we are segfaulting. Attached is a proposed patch which implements TARGET_ASM_{,UN}ALIGNED_P{S,D,T}I_OP, so integer_asm_op will not return NULL for values < 16. This fixes the c-c++-common/patchable_function_entry* tests but is otherwise untested. >>From gcc-bugs-return-620483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 00:10:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102542 invoked by alias); 8 Nov 2018 00: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 102481 invoked by uid 48); 8 Nov 2018 00:10:11 -0000 From: "wilson at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87690] [RISCV][ABI] GCC fails to sign-extend floats passed in the lp64 ABI Date: Thu, 08 Nov 2018 00:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ABI, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: wilson at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: wilson at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00640.txt.bz2 Content-length: 483 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87690 Jim Wilson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #7 from Jim Wilson --- The proposed psABI change was accepted, so no gcc change is necessary. >>From gcc-bugs-return-620484-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 00:11:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103924 invoked by alias); 8 Nov 2018 00:11: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 103866 invoked by uid 48); 8 Nov 2018 00:11:14 -0000 From: "jozef.l at mittosystems dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87927] ICE: segmentation fault with patchable_function_entry attribute for msp430-elf -mlarge Date: Thu, 08 Nov 2018 00:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jozef.l at mittosystems 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.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00641.txt.bz2 Content-length: 610 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87927 Jozef Lawrynowicz changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #44968|0 |1 is obsolete| | --- Comment #2 from Jozef Lawrynowicz --- Created attachment 44969 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44969&action=3Dedit proposed patch (fixed) Fixed wrong ordering of new elements in "struct asm_int_op" >>From gcc-bugs-return-620485-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 01:27:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42454 invoked by alias); 8 Nov 2018 01:27: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 42359 invoked by uid 55); 8 Nov 2018 01:27:00 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/80828] Command line option -e not documented Date: Thu, 08 Nov 2018 01:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00642.txt.bz2 Content-length: 503 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80828 --- Comment #2 from sandra at gcc dot gnu.org --- Author: sandra Date: Thu Nov 8 01:26:28 2018 New Revision: 265903 URL: https://gcc.gnu.org/viewcvs?rev=3D265903&root=3Dgcc&view=3Drev Log: 2018-11-07 Sandra Loosemore PR driver/80828 gcc/ * doc/invoke.texi (Option Summary): Add -e and --entry. (Link Options): Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/invoke.texi >>From gcc-bugs-return-620486-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 01:41:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27270 invoked by alias); 8 Nov 2018 01:41:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27212 invoked by uid 48); 8 Nov 2018 01:41:23 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87927] ICE: segmentation fault with patchable_function_entry attribute for msp430-elf -mlarge Date: Thu, 08 Nov 2018 01:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00643.txt.bz2 Content-length: 212 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87927 --- Comment #3 from Andrew Pinski --- Patches should be sent to gcc-patches@ after reading https://gcc.gnu.org/contribute.html . >>From gcc-bugs-return-620487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 02:52:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 114904 invoked by alias); 8 Nov 2018 02:52:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 114837 invoked by uid 48); 8 Nov 2018 02:52:30 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/80828] Command line option -e not documented Date: Thu, 08 Nov 2018 02:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra 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: 2018-11/txt/msg00644.txt.bz2 Content-length: 763 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80828 sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |sandra at gcc dot gnu.org Resolution|--- |FIXED --- Comment #3 from sandra at gcc dot gnu.org --- Documentation for this option has been added on trunk. There are several driver options, including this one, that don't include any documentation for the --help output. I'm not sure if that was deliberate or not, but if it's a problem, it would be worth doing a review to see what el= se is missing. >>From gcc-bugs-return-620488-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 03:16:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71452 invoked by alias); 8 Nov 2018 03:16: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 71361 invoked by uid 48); 8 Nov 2018 03:16:47 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/86438] [8/9 Regression] wrong code at -Os Date: Thu, 08 Nov 2018 03:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00645.txt.bz2 Content-length: 531 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86438 Alexandre Oliva changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |aoliva at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |aoliva at gcc dot g= nu.org --- Comment #3 from Alexandre Oliva --- Mine >>From gcc-bugs-return-620489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 03:38:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45812 invoked by alias); 8 Nov 2018 03:38: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 45770 invoked by uid 55); 8 Nov 2018 03:38:04 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/42726] -fno-common documentation inaccuracy Date: Thu, 08 Nov 2018 03:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.4.2 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: minor X-Bugzilla-Who: sandra at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00646.txt.bz2 Content-length: 485 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D42726 --- Comment #1 from sandra at gcc dot gnu.org --- Author: sandra Date: Thu Nov 8 03:37:32 2018 New Revision: 265906 URL: https://gcc.gnu.org/viewcvs?rev=3D265906&root=3Dgcc&view=3Drev Log: 2018-11-07 Sandra Loosemore PR middle-end/42726 gcc/ * doc/invoke.texi (Code Gen Options): Clarify -fno-common behavior. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/invoke.texi >>From gcc-bugs-return-620490-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 03:45:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52807 invoked by alias); 8 Nov 2018 03:45: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 52756 invoked by uid 48); 8 Nov 2018 03:45:53 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/86438] [8/9 Regression] wrong code at -Os Date: Thu, 08 Nov 2018 03:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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: 2018-11/txt/msg00647.txt.bz2 Content-length: 238 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86438 --- Comment #4 from Alexandre Oliva --- Created attachment 44970 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44970&action=3Dedit candidate patch >>From gcc-bugs-return-620491-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 04:45:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24752 invoked by alias); 8 Nov 2018 04:45: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 24651 invoked by uid 48); 8 Nov 2018 04:45:40 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/42726] -fno-common documentation inaccuracy Date: Thu, 08 Nov 2018 04:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.4.2 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: minor X-Bugzilla-Who: sandra 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: 2018-11/txt/msg00648.txt.bz2 Content-length: 501 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D42726 sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |sandra at gcc dot gnu.org Resolution|--- |FIXED --- Comment #2 from sandra at gcc dot gnu.org --- This has (finally) been fixed on trunk. >>From gcc-bugs-return-620493-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 04:54:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36276 invoked by alias); 8 Nov 2018 04:54: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 36162 invoked by uid 48); 8 Nov 2018 04:54:40 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/80998] Implement -fsanitize=pointer-overflow Date: Thu, 08 Nov 2018 04:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: sandra at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00650.txt.bz2 Content-length: 479 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80998 Bug 80998 depends on bug 81902, which changed state. Bug 81902 Summary: new -fsanitize=3Dpointer-overflow option undocumented https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81902 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-620492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 04:54:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36257 invoked by alias); 8 Nov 2018 04:54: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 36119 invoked by uid 48); 8 Nov 2018 04:54:39 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/81902] new -fsanitize=pointer-overflow option undocumented Date: Thu, 08 Nov 2018 04:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra 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 cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00649.txt.bz2 Content-length: 502 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81902 sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |sandra at gcc dot gnu.org Resolution|--- |FIXED --- Comment #3 from sandra at gcc dot gnu.org --- Closing this issue as it has been fixed. >>From gcc-bugs-return-620494-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 07:49:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101520 invoked by alias); 8 Nov 2018 07:49: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 99390 invoked by uid 48); 8 Nov 2018 07:48:45 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/86438] [8/9 Regression] wrong code at -Os Date: Thu, 08 Nov 2018 07:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00651.txt.bz2 Content-length: 337 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86438 --- Comment #5 from Alexandre Oliva --- The candidate patch regresses the regression test added along with the fix = for bug 49095. At first I thought it should, but there seems to be logic in pl= ace to adjust the compare for the flags-clobbering insn. >>From gcc-bugs-return-620495-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 07:56:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128194 invoked by alias); 8 Nov 2018 07:56: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 128140 invoked by uid 48); 8 Nov 2018 07:56:15 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87928] New: ICE in ix86_compute_frame_layout, at config/i386/i386.c:11161 since r228607 Date: Thu, 08 Nov 2018 07:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-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: 2018-11/txt/msg00652.txt.bz2 Content-length: 1850 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87928 Bug ID: 87928 Summary: ICE in ix86_compute_frame_layout, at config/i386/i386.c:11161 since r228607 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- Following causes ICE: $ gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/aggregate-ret4.c -mabi=3Dms -O1 -mstackrealign during RTL pass: pro_and_epilogue /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/aggregate-ret4.c= : In function =E2=80=98bar=E2=80=99: /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/aggregate-ret4.c= :24:1: internal compiler error: in ix86_compute_frame_layout, at config/i386/i386.c:11161 24 | } | ^ 0x73ba80 ix86_compute_frame_layout /home/marxin/Programming/gcc/gcc/config/i386/i386.c:11161 0x111ef6f ix86_finalize_stack_frame_flags /home/marxin/Programming/gcc/gcc/config/i386/i386.c:12925 0x11255e4 ix86_expand_prologue() /home/marxin/Programming/gcc/gcc/config/i386/i386.c:13035 0x145df8a gen_prologue() /home/marxin/Programming/gcc/gcc/config/i386/i386.md:12984 0x1107728 target_gen_prologue /home/marxin/Programming/gcc/gcc/config/i386/i386.md:18928 0xab61c1 make_prologue_seq /home/marxin/Programming/gcc/gcc/function.c:5713 0xab6367 thread_prologue_and_epilogue_insns() /home/marxin/Programming/gcc/gcc/function.c:5830 0xab6a96 rest_of_handle_thread_prologue_and_epilogue /home/marxin/Programming/gcc/gcc/function.c:6321 0xab6a96 execute /home/marxin/Programming/gcc/gcc/function.c:6363 >>From gcc-bugs-return-620496-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 07:59:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 397 invoked by alias); 8 Nov 2018 07: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 130464 invoked by uid 48); 8 Nov 2018 07:58:57 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87928] [7/8/9 Regression] ICE in ix86_compute_frame_layout, at config/i386/i386.c:11161 since r228607 Date: Thu, 08 Nov 2018 07:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00653.txt.bz2 Content-length: 1253 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87928 --- Comment #1 from Martin Li=C5=A1ka --- One more similar back-trace: $ gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/x86_64/abi/callabi/fu= nc-1.c -Ofast -mcall-ms2sysv-xlogues -mandroid -mavx512vpopcntdq during RTL pass: reload /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/x86_64/abi/callabi/fu= nc-1.c: In function =E2=80=98func_cross=E2=80=99: /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/x86_64/abi/callabi/fu= nc-1.c:20:1: internal compiler error: in ix86_compute_frame_layout, at config/i386/i386.c:11169 20 | } | ^ 0x73bae0 ix86_compute_frame_layout /home/marxin/Programming/gcc/gcc/config/i386/i386.c:11169 0xc268af update_reg_eliminate /home/marxin/Programming/gcc/gcc/lra-eliminations.c:1207 0xc28f97 lra_eliminate(bool, bool) /home/marxin/Programming/gcc/gcc/lra-eliminations.c:1460 0xc2058a lra_constraints(bool) /home/marxin/Programming/gcc/gcc/lra-constraints.c:4716 0xc0d2a0 lra(_IO_FILE*) /home/marxin/Programming/gcc/gcc/lra.c:2446 0xbbe87c do_reload /home/marxin/Programming/gcc/gcc/ira.c:5469 0xbbe87c execute /home/marxin/Programming/gcc/gcc/ira.c:5653 >>From gcc-bugs-return-620497-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 08:01:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2659 invoked by alias); 8 Nov 2018 08:01:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2569 invoked by uid 48); 8 Nov 2018 08:00:57 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87929] New: ICE in verify_gimple failed Date: Thu, 08 Nov 2018 08:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-invalid-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: 2018-11/txt/msg00654.txt.bz2 Content-length: 1380 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87929 Bug ID: 87929 Summary: ICE in verify_gimple failed Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- Very old ICE, probably caused by strange option combination: $ gcc /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/f2c_4.c -fexceptions -fnon-call-exceptions -fsignaling-nans /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/f2c_4.c: In function =E2=80=98f2c_4c__=E2=80=99: /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/f2c_4.c:30:6: error: statement marked for throw, but doesn=E2=80=99t 30 | void f2c_4c__(void) { | ^~~~~~~~ _7 =3D _17; during GIMPLE pass: cplxlower0 /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/f2c_4.c:30:6: intern= al compiler error: verify_gimple failed 0xdf2d71 verify_gimple_in_cfg(function*, bool) /home/marxin/Programming/gcc/gcc/tree-cfg.c:5422 0xcb553e execute_function_todo /home/marxin/Programming/gcc/gcc/passes.c:1925 0xcb5e5a execute_todo /home/marxin/Programming/gcc/gcc/passes.c:1979 Please submit a full bug report, >>From gcc-bugs-return-620499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 08:03:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7287 invoked by alias); 8 Nov 2018 08:03: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 7187 invoked by uid 55); 8 Nov 2018 08:03:44 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87913] max(n, 1) code generation Date: Thu, 08 Nov 2018 08:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00656.txt.bz2 Content-length: 684 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87913 --- Comment #5 from Richard Biener --- Author: rguenth Date: Thu Nov 8 08:03:12 2018 New Revision: 265909 URL: https://gcc.gnu.org/viewcvs?rev=3D265909&root=3Dgcc&view=3Drev Log: 2018-11-08 Richard Biener PR tree-optimization/87913 * tree-ssa-phiopt.c (minmax_replacement): Turn EQ/NE compares of extreme values to ordered comparisons. * gcc.dg/tree-ssa/phi-opt-20.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/phi-opt-20.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-phiopt.c >>From gcc-bugs-return-620498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 08:03:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7266 invoked by alias); 8 Nov 2018 08:03:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7078 invoked by uid 48); 8 Nov 2018 08:03:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87913] max(n, 1) code generation Date: Thu, 08 Nov 2018 08:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00655.txt.bz2 Content-length: 180 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87913 --- Comment #4 from Richard Biener --- phiopt issue fixed, target issue (not using adc) remains. >>From gcc-bugs-return-620500-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 08:13:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19198 invoked by alias); 8 Nov 2018 08:13: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 19135 invoked by uid 48); 8 Nov 2018 08:13:50 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/87930] New: [8/9 Regression] ICE in emit_library_call_value_1, at calls.c:5422 since r249903 Date: Thu, 08 Nov 2018 08:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.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: 2018-11/txt/msg00657.txt.bz2 Content-length: 1657 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87930 Bug ID: 87930 Summary: [8/9 Regression] ICE in emit_library_call_value_1, at calls.c:5422 since r249903 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxi= n at gcc dot gnu.org Target Milestone: --- Following causes ICE: $ gcc ice.i -mabi=3Dms -fsanitize=3Daddress during RTL pass: expand ice.i: In function =E2=80=98a=E2=80=99: ice.i:1:32: internal compiler error: in emit_library_call_value_1, at calls.c:5253 1 | int __attribute__ ((sysv_abi)) a (__builtin_va_list b) | ^ 0x90f2a5 emit_library_call_value_1(int, rtx_def*, rtx_def*, libcall_type, machine_mode, int, std::pair*) /home/marxin/Programming/gcc/gcc/calls.c:5252 0xdc216c emit_library_call_value(rtx_def*, rtx_def*, libcall_type, machine_mode, rtx_def*, machine_mode) /home/marxin/Programming/gcc/gcc/rtl.h:4185 0xdc216c asan_emit_stack_protection(rtx_def*, rtx_def*, unsigned int, long*, tree_node**, int) /home/marxin/Programming/gcc/gcc/asan.c:1370 0x924ced expand_used_vars /home/marxin/Programming/gcc/gcc/cfgexpand.c:2273 0x9270e2 execute /home/marxin/Programming/gcc/gcc/cfgexpand.c:6268 >>From gcc-bugs-return-620501-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 08:14:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20056 invoked by alias); 8 Nov 2018 08:14:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19932 invoked by uid 48); 8 Nov 2018 08:14:11 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/87930] [8/9 Regression] ICE in emit_library_call_value_1, at calls.c:5422 since r249903 Date: Thu, 08 Nov 2018 08:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: 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: 9.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: 2018-11/txt/msg00658.txt.bz2 Content-length: 625 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87930 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-11-08 Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot g= nu.org Target Milestone|--- |9.0 Ever confirmed|0 |1 --- Comment #1 from Martin Li=C5=A1ka --- Mine. >>From gcc-bugs-return-620503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 08:17:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23362 invoked by alias); 8 Nov 2018 08:17: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 23333 invoked by uid 48); 8 Nov 2018 08:17:18 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87931] [9 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:6193 since r265876 Date: Thu, 08 Nov 2018 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: 9.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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on cf_known_to_work target_milestone cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00660.txt.bz2 Content-length: 462 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87931 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2018-11-8 Known to work| |8.2.0 Target Milestone|--- |9.0 Known to fail| |9.0 >>From gcc-bugs-return-620502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 08:17:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22606 invoked by alias); 8 Nov 2018 08:17:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22557 invoked by uid 48); 8 Nov 2018 08:16:58 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87931] New: [9 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:6193 since r265876 Date: Thu, 08 Nov 2018 08:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: 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: 2018-11/txt/msg00659.txt.bz2 Content-length: 2155 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87931 Bug ID: 87931 Summary: [9 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:6193 since r265876 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: rguenth at gcc dot gnu.org Target Milestone: --- Following is ICEing: $ gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/vect/vect-outer-fir= .c -O3 -fno-tree-copy-prop -fgraphite-identity during GIMPLE pass: vect /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/vect/vect-outer-fir.c: In function =E2=80=98fir=E2=80=99: /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/vect/vect-outer-fir.c:37:= 6: internal compiler error: in vectorizable_reduction, at tree-vect-loop.c:6193 37 | void fir (){ | ^~~ 0x156cd9e vectorizable_reduction(_stmt_vec_info*, gimple_stmt_iterator*, _stmt_vec_info**, _slp_tree*, _slp_instance*, vec*) /home/marxin/Programming/gcc/gcc/tree-vect-loop.c:6193 0x154d64a vect_analyze_stmt(_stmt_vec_info*, bool*, _slp_tree*, _slp_instan= ce*, vec*) /home/marxin/Programming/gcc/gcc/tree-vect-stmts.c:9543 0x155e51b vect_analyze_loop_operations /home/marxin/Programming/gcc/gcc/tree-vect-loop.c:1574 0x155f9d9 vect_analyze_loop_2 /home/marxin/Programming/gcc/gcc/tree-vect-loop.c:1969 0x1560ff1 vect_analyze_loop(loop*, _loop_vec_info*, vec_info_shared*) /home/marxin/Programming/gcc/gcc/tree-vect-loop.c:2268 0x15a0fc8 try_vectorize_loop_1 /home/marxin/Programming/gcc/gcc/tree-vectorizer.c:873 0x15a17af try_vectorize_loop /home/marxin/Programming/gcc/gcc/tree-vectorizer.c:1015 0x15a198b vectorize_loops() /home/marxin/Programming/gcc/gcc/tree-vectorizer.c:1097 0x13fb6a7 execute /home/marxin/Programming/gcc/gcc/tree-ssa-loop.c:414 >>From gcc-bugs-return-620504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 08:21:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31906 invoked by alias); 8 Nov 2018 08:21: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 31736 invoked by uid 48); 8 Nov 2018 08:20:59 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87928] [7/8/9 Regression] ICE in ix86_compute_frame_layout, at config/i386/i386.c:11161 since r228607 Date: Thu, 08 Nov 2018 08:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00661.txt.bz2 Content-length: 1109 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87928 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.santos at pobox dot= com --- Comment #2 from Uro=C5=A1 Bizjak --- (In reply to Martin Li=C5=A1ka from comment #1) > One more similar back-trace: >=20 > $ gcc > /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/x86_64/abi/callabi/ > func-1.c -Ofast -mcall-ms2sysv-xlogues -mandroid -mavx512vpopcntdq > during RTL pass: reload > /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/x86_64/abi/callabi/ > func-1.c: In function =E2=80=98func_cross=E2=80=99: > /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/x86_64/abi/callabi/ > func-1.c:20:1: internal compiler error: in ix86_compute_frame_layout, at > config/i386/i386.c:11169 The ICE happens for different reason, it is not due to alignment issues as = in previous one, but happens with -mcall-ms2sysv-xlogues. CC author. >>From gcc-bugs-return-620505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 08:29:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77606 invoked by alias); 8 Nov 2018 08:29: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 77545 invoked by uid 48); 8 Nov 2018 08:29:47 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/87932] New: Missing profile count data file not found [-Wmissing-profile] during profiledbootstrap Date: Thu, 08 Nov 2018 08:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00662.txt.bz2 Content-length: 18761 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87932 Bug ID: 87932 Summary: Missing profile count data file not found [-Wmissing-profile] during profiledbootstrap Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- Using patch candidate for PR87706 I still see some problematic source files where we miss a profile data file: ../../gcc/c-family/cppspec.c:200:37: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/c-family/cppspec.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../gcc/cp/g++spec.c:405:37: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/cp/g++spec.gcda=E2=80=99 p= rofile count data file not found [-Wmissing-profile] ../../gcc/errors.c:134:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/errors.gcda=E2=80=99 profi= le count data file not found [-Wmissing-profile] ../../gcc/file-prefix-map.h:26:48: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/xcoffout.gcda=E2=80=99 pro= file count data file not found [-Wmissing-profile] ../../gcc/gcc-ar.c:254:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/gcc-ar.gcda=E2=80=99 profi= le count data file not found [-Wmissing-profile] ../../gcc/gcov.c:3122:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/gcov.gcda=E2=80=99 profile= count data file not found [-Wmissing-profile] ../../gcc/gcov-dump.c:464:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/gcov-dump.gcda=E2=80=99 pr= ofile count data file not found [-Wmissing-profile] ../../gcc/gcov-tool.c:611:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/gcov-tool.gcda=E2=80=99 pr= ofile count data file not found [-Wmissing-profile] ../../gcc/gengtype.c:5334:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/gengtype.gcda=E2=80=99 pro= file count data file not found [-Wmissing-profile] ../../gcc/gengtype-lex.l:219:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/gengtype-lex.gcda=E2=80=99= profile count data file not found [-Wmissing-profile] ../../gcc/gengtype-parse.c:1179:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/gengtype-parse.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../gcc/gengtype-state.c:2616:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/gengtype-state.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../gcc/hw-doloop.c:666:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/hw-doloop.gcda=E2=80=99 pr= ofile count data file not found [-Wmissing-profile] ../../gcc/../libgcc/libgcov-driver.c:569:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/libgcov-driver-tool.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../gcc/../libgcc/libgcov-merge.c:185:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/libgcov-merge-tool.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../gcc/../libgcc/libgcov-util.c:1339:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/libgcov-util.gcda=E2=80=99= profile count data file not found [-Wmissing-profile] ../../gcc/lto/lto-object.c:378:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/lto/lto-object.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../gcc/lto/lto-partition.c:1204:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/lto/lto-partition.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../gcc/lto/lto-symtab.c:1104:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/lto/lto-symtab.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../gcc/lto-wrapper.c:1815:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/lto-wrapper.gcda=E2=80=99 = profile count data file not found [-Wmissing-profile] gcc-nm.c:254:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/g= cc-nm.gcda=E2=80=99 profile count data file not found [-Wmissing-profile] gcc-ranlib.c:254:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/gcc-ranlib.gcda=E2=80=99 p= rofile count data file not found [-Wmissing-profile] ../../gcc/resource.c:1329:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/resource.gcda=E2=80=99 pro= file count data file not found [-Wmissing-profile] ./gt-lto-lto.h:156:2: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/lto/lto.gcda=E2=80=99 prof= ile count data file not found [-Wmissing-profile] ./gt-lto-lto-lang.h:89:2: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/lto/lto-lang.gcda=E2=80=99= profile count data file not found [-Wmissing-profile] ./insn-flags.h:13249:91: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/vmsdbgout.gcda=E2=80=99 pr= ofile count data file not found [-Wmissing-profile] insn-peep.c:43:20: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/gcc/insn-peep.gcda=E2=80=99 pr= ofile count data file not found [-Wmissing-profile] ../../libbacktrace/print.c:92:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libbacktrace/.libs/print.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../libbacktrace/simple.c:108:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libbacktrace/.libs/simple.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/alloca.c:215:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/alloca.gcda=E2=80=99= profile count data file not found [-Wmissing-profile] ../../libiberty/alloca.c:215:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/alloca.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/choose-temp.c:74:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/choose-temp.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/choose-temp.c:74:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/choose-temp.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/cp-demangle.c:6609:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/cp-demangle.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/cp-demint.c:237:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/cp-demint.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/cplus-dem.c:5033:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/cplus-dem.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/crc32.c:179:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/crc32.gcda=E2=80=99 = profile count data file not found [-Wmissing-profile] ../../libiberty/crc32.c:179:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/crc32.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../libiberty/d-demangle.c:1645:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/d-demangle.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/dwarfnames.c:83: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/dwarfnames.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/dyn-string.c:397:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/dyn-string.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/dyn-string.c:397:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/dyn-string.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/fdmatch.c:68:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/fdmatch.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../libiberty/fdmatch.c:68:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/fdmatch.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/fibheap.c:486:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/fibheap.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../libiberty/fibheap.c:486:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/fibheap.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/filename_cmp.c:221:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/filename_cmp.gcd= a=E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/floatformat.c:706:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/floatformat.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/floatformat.c:706:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/floatformat.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/fopen_unlocked.c:129:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/fopen_unlocked.g= cda=E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/getpwd.c:106:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/getpwd.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/getruntime.c:120:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/getruntime.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/hex.c:192:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/hex.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../libiberty/lbasename.c:84:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/lbasename.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/lrealpath.c:157:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/lrealpath.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/make-relative-prefix.c:430:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/make-relative-pr= efix.gcda=E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/md5.c:440:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/md5.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../libiberty/objalloc.c:298:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/objalloc.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../libiberty/objalloc.c:298:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/objalloc.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/obstack.c:374:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/obstack.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/partition.c:182:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/partition.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/pexecute.c:124:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pexecute.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../libiberty/pexecute.c:124:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/pexecute.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/pex-one.c:43:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pex-one.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../libiberty/pex-one.c:43:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/pex-one.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/physmem.c:284:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/physmem.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../libiberty/physmem.c:284:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/physmem.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/regex.c:8131:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/regex.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../libiberty/rust-demangle.c:348:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/rust-demangle.gc= da=E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/setproctitle.c:48:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/setproctitle.gcd= a=E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/setproctitle.c:48:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/setproctitle.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/sha1.c:414:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/sha1.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../libiberty/sha1.c:414:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/sha1.gcda=E2=80=99 p= rofile count data file not found [-Wmissing-profile] ../../libiberty/simple-object.c:561:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/simple-object.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/simple-object-coff.c:805:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/simple-object-coff.g= cda=E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/simple-object-elf.c:1576:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/simple-object-elf.gc= da=E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/simple-object-mach-o.c:1379:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/simple-object-mach-o= .gcda=E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/simple-object-xcoff.c:1062:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/simple-object-xcoff.= gcda=E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/sort.c:131:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/sort.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../libiberty/sort.c:131:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/sort.gcda=E2=80=99 p= rofile count data file not found [-Wmissing-profile] ../../libiberty/spaces.c:68:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/spaces.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/spaces.c:68:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/spaces.gcda=E2=80=99= profile count data file not found [-Wmissing-profile] ../../libiberty/splay-tree.c:611:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/splay-tree.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/stack-limit.c:63:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/stack-limit.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/strerror.c:773:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/strerror.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/strerror.c:773:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/strerror.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../libiberty/strsignal.c:536:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/strsignal.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/strsignal.c:536:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/strsignal.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../libiberty/timeval-utils.c:87:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/timeval-utils.gc= da=E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/timeval-utils.c:87:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/timeval-utils.gcda= =E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/unlink-if-ordinary.c:72:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/unlink-if-ordina= ry.gcda=E2=80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/xatexit.c:99:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/xatexit.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/xatexit.c:99:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/xatexit.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../libiberty/xmemdup.c:41:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/xmemdup.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../libiberty/xstrndup.c:57:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/libiberty/pic/xstrndup.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../zlib/compress.c:86:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/zlib/libz_a-compress.gcda=E2= =80=99 profile count data file not found [-Wmissing-profile] ../../zlib/gzclose.c:25:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/zlib/libz_a-gzclose.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../zlib/gzlib.c:618:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/zlib/libz_a-gzlib.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../zlib/gzread.c:654:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/zlib/libz_a-gzread.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../zlib/gzwrite.c:665:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/zlib/libz_a-gzwrite.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../zlib/infback.c:640:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/zlib/libz_a-infback.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] ../../zlib/uncompr.c:93:1: warning: =E2=80=98/home/marxin/Programming/gcc/objdir/zlib/libz_a-uncompr.gcda=E2=80= =99 profile count data file not found [-Wmissing-profile] >>From gcc-bugs-return-620506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 08:30:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79081 invoked by alias); 8 Nov 2018 08:30:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78717 invoked by uid 48); 8 Nov 2018 08:30:16 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/87932] Missing profile count data file not found [-Wmissing-profile] during profiledbootstrap Date: Thu, 08 Nov 2018 08:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 9.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: 9.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: 2018-11/txt/msg00663.txt.bz2 Content-length: 634 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87932 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-11-08 Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot g= nu.org Target Milestone|--- |9.0 Ever confirmed|0 |1 --- Comment #1 from Martin Li=C5=A1ka --- Let me fix it. >>From gcc-bugs-return-620507-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 08:31:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79404 invoked by alias); 8 Nov 2018 08:31:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79086 invoked by uid 48); 8 Nov 2018 08:30:53 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/87930] [8/9 Regression] ICE in emit_library_call_value_1, at calls.c:5422 since r249903 Date: Thu, 08 Nov 2018 08:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.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: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00664.txt.bz2 Content-length: 224 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87930 --- Comment #2 from Martin Li=C5=A1ka --- $ cat ice.i int __attribute__ ((sysv_abi)) a (__builtin_va_list b) { __builtin_va_arg(b, long); } >>From gcc-bugs-return-620508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 08:32:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85213 invoked by alias); 8 Nov 2018 08:32: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 85162 invoked by uid 48); 8 Nov 2018 08:32:29 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87928] [7/8/9 Regression] ICE in ix86_compute_frame_layout, at config/i386/i386.c:11161 since r228607 Date: Thu, 08 Nov 2018 08:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00665.txt.bz2 Content-length: 967 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87928 --- Comment #3 from Uro=C5=A1 Bizjak --- (In reply to Uro=C5=A1 Bizjak from comment #2) > (In reply to Martin Li=C5=A1ka from comment #1) > > One more similar back-trace: > >=20 > > $ gcc > > /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/x86_64/abi/callab= i/ > > func-1.c -Ofast -mcall-ms2sysv-xlogues -mandroid -mavx512vpopcntdq > > during RTL pass: reload > > /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/x86_64/abi/callab= i/ > > func-1.c: In function =E2=80=98func_cross=E2=80=99: > > /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/x86_64/abi/callab= i/ > > func-1.c:20:1: internal compiler error: in ix86_compute_frame_layout, at > > config/i386/i386.c:11169 >=20 > The ICE happens for different reason, it is not due to alignment issues as > in previous one, but happens with -mcall-ms2sysv-xlogues. CC author. Actually, the testcase doesn't ICE for me. >>From gcc-bugs-return-620509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 08:38:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93364 invoked by alias); 8 Nov 2018 08:38: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 93310 invoked by uid 48); 8 Nov 2018 08:38:39 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/87933] New: Bad headers and titles for: Date: Thu, 08 Nov 2018 08:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: 9.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 cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00666.txt.bz2 Content-length: 657 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87933 Bug ID: 87933 Summary: Bad headers and titles for: Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: web Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: gerald at pfeifer dot com Target Milestone: --- Following pages have equal title and header: https://gcc.gnu.org/install/configure.html https://gcc.gnu.org/install/build.html https://gcc.gnu.org/install/finalinstall.html all have 'Installing GCC' title. >>From gcc-bugs-return-620510-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 08:41:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96258 invoked by alias); 8 Nov 2018 08:41: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 96215 invoked by uid 48); 8 Nov 2018 08:41:19 -0000 From: "m.cencora at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87934] New: [8 regression] struct with NSDMI of enum makes initialization a non-constant expression Date: Thu, 08 Nov 2018 08:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: m.cencora at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00667.txt.bz2 Content-length: 791 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87934 Bug ID: 87934 Summary: [8 regression] struct with NSDMI of enum makes initialization a non-constant expression Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: m.cencora at gmail dot com Target Milestone: --- Following code does not compile in g++8 and trunk, while it compiles with g= ++7 and older. struct Foo { enum { BAR } bar =3D BAR; }; constexpr Foo foo{}; If bar NSDMI is changed to {}, it works. Also explicitly providing initiali= zer in foo variable declaration fixes it as well. >>From gcc-bugs-return-620511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 08:44:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99092 invoked by alias); 8 Nov 2018 08:44: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 98989 invoked by uid 48); 8 Nov 2018 08:43:57 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/87930] [8/9 Regression] ICE in emit_library_call_value_1, at calls.c:5422 since r249903 Date: Thu, 08 Nov 2018 08:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.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: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00668.txt.bz2 Content-length: 206 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87930 --- Comment #3 from Martin Li=C5=A1ka --- I guess we want to report an error when one wants to use MS ABI with saniti= zer? >>From gcc-bugs-return-620512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 09:08:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85947 invoked by alias); 8 Nov 2018 09:08:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 85846 invoked by uid 48); 8 Nov 2018 09:08:54 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/86438] [8/9 Regression] wrong code at -Os Date: Thu, 08 Nov 2018 09:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00669.txt.bz2 Content-length: 634 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86438 Alexandre Oliva changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #44970|0 |1 is obsolete| | --- Comment #6 from Alexandre Oliva --- Created attachment 44971 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44971&action=3Dedit another candidate patch This one does not regress pr49095 with -m32, but -m64 scan-assembler-times fails before and after. >>From gcc-bugs-return-620513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 09:10:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94545 invoked by alias); 8 Nov 2018 09:10:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92484 invoked by uid 48); 8 Nov 2018 09:10:47 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87917] ICE in initialize_matrix_A at gcc/tree-data-ref.c:3150 Date: Thu, 08 Nov 2018 09:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00670.txt.bz2 Content-length: 1393 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87917 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-08 CC| |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- I think we have some duplicates here. dependence analysis use of int_cst_v= alue is fishy and it doesn't properly guard any of its inputs for its internal u= se of 'int' as the underlying type for dependence distances... (think of overflows, etc.): static tree initialize_matrix_A (lambda_matrix A, tree chrec, unsigned index, int mult) { gcc_assert (chrec); switch (TREE_CODE (chrec)) { case POLYNOMIAL_CHREC: A[index][0] =3D mult * int_cst_value (CHREC_RIGHT (chrec)); return initialize_matrix_A (A, CHREC_LEFT (chrec), index + 1, mult); If CHREC_RIGHT doesn't fit in an 'int' or if multiplying by mult overflows we're doomed (wrong-code, etc.). Making the lambda matrix entries gmp values or widest_ints might be the (expensive) solution here. int_cst_value needs a better name btw... As said, there are dups. >>From gcc-bugs-return-620515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 09:13:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98448 invoked by alias); 8 Nov 2018 09:13: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 98366 invoked by uid 48); 8 Nov 2018 09:13:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87926] bad array-index warning breaks --disable-checking bootstrap Date: Thu, 08 Nov 2018 09:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: 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: UNCONFIRMED X-Bugzilla-Resolution: X-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 Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00672.txt.bz2 Content-length: 621 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87926 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Blocks| |56456 --- Comment #2 from Richard Biener --- Please use -Wno-error=3Darray-bounds instead of disabling _all_ errors. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56456 [Bug 56456] [meta-bug] bogus/missing -Warray-bounds >>From gcc-bugs-return-620514-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 09:13:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 97203 invoked by alias); 8 Nov 2018 09:13: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 97137 invoked by uid 48); 8 Nov 2018 09:13:00 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87925] Missed optimization: Distinct-value if-then-else chains treated differently than switch statements Date: Thu, 08 Nov 2018 09:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc component everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00671.txt.bz2 Content-length: 781 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87925 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-08 CC| |marxin at gcc dot gnu.org Component|rtl-optimization |tree-optimization Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- IIRC there was some work turning if-then-else chains into switches (and possibly back to a tree) >>From gcc-bugs-return-620516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 09:14:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99873 invoked by alias); 8 Nov 2018 09:14:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99752 invoked by uid 48); 8 Nov 2018 09:14:36 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87928] [7/8/9 Regression] ICE in ix86_compute_frame_layout, at config/i386/i386.c:11161 since r228607 Date: Thu, 08 Nov 2018 09:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00673.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87928 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.4 >>From gcc-bugs-return-620517-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 09:15:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101570 invoked by alias); 8 Nov 2018 09:15:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101243 invoked by uid 48); 8 Nov 2018 09:15:34 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87929] ICE in verify_gimple failed Date: Thu, 08 Nov 2018 09:15:00 -0000 X-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: 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: 2018-11/txt/msg00674.txt.bz2 Content-length: 634 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87929 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-11-08 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Looks like some folding happens but we forget to cleanup stmts. Mine. >>From gcc-bugs-return-620518-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 09:17:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103180 invoked by alias); 8 Nov 2018 09: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 103090 invoked by uid 48); 8 Nov 2018 09:17:08 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87925] Missed optimization: Distinct-value if-then-else chains treated differently than switch statements Date: Thu, 08 Nov 2018 09:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00675.txt.bz2 Content-length: 704 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87925 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #3 from Martin Li=C5=A1ka --- (In reply to Richard Biener from comment #2) > IIRC there was some work turning if-then-else chains into switches (and > possibly back to a tree) Currently we only do switch -> balanced decision tree (read series of if-then-else statements). Well definitely a potentially enhancement, questi= on is whether it worth doing that.. >>From gcc-bugs-return-620519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 09:19:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105397 invoked by alias); 8 Nov 2018 09:19:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105343 invoked by uid 48); 8 Nov 2018 09:19:28 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87925] Missed optimization: Distinct-value if-then-else chains treated differently than switch statements Date: Thu, 08 Nov 2018 09: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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00676.txt.bz2 Content-length: 1638 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87925 --- Comment #4 from Martin Li=C5=A1ka --- (In reply to Eyal Rozenberg from comment #0) > Have a look at this GodBolt example: https://gcc.godbolt.org/z/zR03rA >=20 > On one hand, we have: >=20 > void foo(int i) { > switch (i) { > case 1: boo<1>(); break; > case 2: boo<2>(); break; > case 3: boo<3>(); break; > case 4: boo<4>(); break; > // etc. etc. > } > } >=20 > on the other hand we have the same, but using an if-then-else chain: >=20 > void bar(int i) { > if (i =3D=3D 1) boo<1>(); > else if (i =3D=3D 2) boo<2>(); > else if (i =3D=3D 3) boo<3>(); > else if (i =3D=3D 4) boo<4>(); > // etc. etc. > } >=20 > The switch statement gets a jump table; the if-then-else chain - does not. > At the link, there are 20 cases; g++ starts using a jump table with 4 swi= tch > values. Agree with that, but I would say that when having a lot of cases, switch is more natural constructor. The code looks nicer ;) >=20 > This is not just a matter of programmers needing to remember to prefer > switch statements (which it's better not to require of them), but rather > that if-then-else chains are sometimes generated by expansion of templated > code, e.g. this example for checking for membership in a set of values (= =3D > all values of an enum): >=20 > https://stackoverflow.com/a/53191264/1593077 This is not problem because it's a const expression that is evaluate in C++ front-end. Thus you don't get any penalty. >>From gcc-bugs-return-620520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 09:24:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110331 invoked by alias); 8 Nov 2018 09:24: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 109999 invoked by uid 48); 8 Nov 2018 09:24:06 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87931] [9 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:6193 since r265876 Date: Thu, 08 Nov 2018 09:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00677.txt.bz2 Content-length: 509 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87931 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED 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-620521-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 09:26:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112876 invoked by alias); 8 Nov 2018 09:26: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 112350 invoked by uid 48); 8 Nov 2018 09:26:23 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87934] [8/9 regression] struct with NSDMI of enum makes initialization a non-constant expression Date: Thu, 08 Nov 2018 09:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.1 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.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cf_known_to_work target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00678.txt.bz2 Content-length: 971 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87934 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-08 Known to work| |7.3.1 Target Milestone|--- |8.3 Summary|[8 regression] struct with |[8/9 regression] struct |NSDMI of enum makes |with NSDMI of enum makes |initialization a |initialization a |non-constant expression |non-constant expression Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. It passes with -std=3Dc++11. >>From gcc-bugs-return-620522-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 09:27:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117874 invoked by alias); 8 Nov 2018 09:27: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 117806 invoked by uid 48); 8 Nov 2018 09:27:35 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/87933] Bad headers and titles for: Date: Thu, 08 Nov 2018 09:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: documentation 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 Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00679.txt.bz2 Content-length: 473 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87933 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |documentation --- Comment #1 from Richard Biener --- They are generated from texinfo install.texi sources so that's probably "intended" or a texinfo bug? >>From gcc-bugs-return-620523-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 09:33:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85278 invoked by alias); 8 Nov 2018 09:33: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 85168 invoked by uid 48); 8 Nov 2018 09:33:24 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/87933] Bad headers and titles for: Date: Thu, 08 Nov 2018 09:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: documentation 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: 2018-11/txt/msg00680.txt.bz2 Content-length: 795 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87933 --- Comment #2 from Martin Li=C5=A1ka --- Hm, then it looks title after ':' is stripped: $ grep 'Installing GCC: ' gcc/doc/install.texi @settitle Installing GCC: Configuration @settitle Installing GCC: Building @settitle Installing GCC: Testing @settitle Installing GCC: Final installation @settitle Installing GCC: Binaries @settitle Installing GCC: Old documentation @settitle Installing GCC: GNU Free Documentation License @chapter Installing GCC: Configuration @cindex Installing GCC: Configuration @cindex Installing GCC: Building @chapter Installing GCC: Testing @cindex Installing GCC: Testing @chapter Installing GCC: Final installation @chapter Installing GCC: Binaries @cindex Installing GCC: Binaries >>From gcc-bugs-return-620524-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 09:37:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88405 invoked by alias); 8 Nov 2018 09:37: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 88357 invoked by uid 48); 8 Nov 2018 09:37:07 -0000 From: "eyalroz at technion dot ac.il" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87925] Missed optimization: Distinct-value if-then-else chains treated differently than switch statements Date: Thu, 08 Nov 2018 09:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: eyalroz at technion dot ac.il X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00681.txt.bz2 Content-length: 1147 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87925 --- Comment #5 from Eyal Rozenberg --- (In reply to Martin Li=C5=A1ka from comment #3) > Currently we only do switch -> balanced decision tree (read series of > if-then-else statements). Well definitely a potentially enhancement, > question is whether it worth doing that.. That is a question for another bug. I'm just saying that these two cases (or some expansion thereof, e.g. with some fallthrough on the case side, or with several distinct values in each if statement) should be treated the same. i= .e. whatever optimizations are considered for one of them should be considered = for the other. (In reply to Martin Li=C5=A1ka from comment #4) > This is not problem because it's a const expression that is evaluate in C= ++ > front-end. Thus you don't get any penalty. The specific use example at the link is a static_assert, but the in() funct= ion there works with runtime values as well. So - not just compile-time computation. Another example - un-type-erasure dispatches, which may go into tight loops: https://stackoverflow.com/a/38924396/1593077 >>From gcc-bugs-return-620525-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 09:43:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94702 invoked by alias); 8 Nov 2018 09:43:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94664 invoked by uid 48); 8 Nov 2018 09:43:08 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87925] [missed-optimization] Distinct-value if-then-else chains treated differently than switch statements Date: Thu, 08 Nov 2018 09:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00682.txt.bz2 Content-length: 1271 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87925 --- Comment #6 from Martin Li=C5=A1ka --- (In reply to Eyal Rozenberg from comment #5) > (In reply to Martin Li=C5=A1ka from comment #3) > > Currently we only do switch -> balanced decision tree (read series of > > if-then-else statements). Well definitely a potentially enhancement, > > question is whether it worth doing that.. >=20 > That is a question for another bug. I'm just saying that these two cases = (or > some expansion thereof, e.g. with some fallthrough on the case side, or w= ith > several distinct values in each if statement) should be treated the same. > i.e. whatever optimizations are considered for one of them should be > considered for the other. Sure, agree with that. >=20 > (In reply to Martin Li=C5=A1ka from comment #4) > > This is not problem because it's a const expression that is evaluate in= C++ > > front-end. Thus you don't get any penalty. >=20 > The specific use example at the link is a static_assert, but the in() > function there works with runtime values as well. So - not just compile-t= ime > computation. Another example - un-type-erasure dispatches, which may go i= nto > tight loops: https://stackoverflow.com/a/38924396/1593077 Indeed. >>From gcc-bugs-return-620526-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 09:49:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101779 invoked by alias); 8 Nov 2018 09:49:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101749 invoked by uid 48); 8 Nov 2018 09:49:47 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/87933] Bad headers and titles for: Date: Thu, 08 Nov 2018 09:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00683.txt.bz2 Content-length: 638 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87933 --- Comment #3 from Andreas Schwab --- The first @settitle wins. $ grep @settitle gcc/doc/install.texi @settitle Installing GCC @settitle Installing GCC @settitle Host/Target specific installation notes for GCC @settitle Prerequisites for GCC @settitle Downloading GCC @settitle Installing GCC: Configuration @settitle Installing GCC: Building @settitle Installing GCC: Testing @settitle Installing GCC: Final installation @settitle Installing GCC: Binaries @settitle Installing GCC: Old documentation @settitle Installing GCC: GNU Free Documentation License >>From gcc-bugs-return-620527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 09:53:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105862 invoked by alias); 8 Nov 2018 09:53: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 105315 invoked by uid 48); 8 Nov 2018 09:53:14 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/87933] Bad headers and titles for: Date: Thu, 08 Nov 2018 09:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00684.txt.bz2 Content-length: 1406 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87933 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-08 Ever confirmed|0 |1 --- Comment #4 from Martin Li=C5=A1ka --- Sure, but it looks conditional: @c Specify title for specific html page @ifset indexhtml @settitle Installing GCC @end ifset @ifset specifichtml @settitle Host/Target specific installation notes for GCC @end ifset @ifset prerequisiteshtml @settitle Prerequisites for GCC @end ifset @ifset downloadhtml @settitle Downloading GCC @end ifset @ifset configurehtml @settitle Installing GCC: Configuration @end ifset @ifset buildhtml @settitle Installing GCC: Building @end ifset @ifset testhtml @settitle Installing GCC: Testing @end ifset @ifset finalinstallhtml @settitle Installing GCC: Final installation @end ifset @ifset binarieshtml @settitle Installing GCC: Binaries @end ifset @ifset oldhtml @settitle Installing GCC: Old documentation @end ifset @ifset gfdlhtml @settitle Installing GCC: GNU Free Documentation License @end ifset Issue is that I don't see any recent change in git log -p and I know it use= d to be right. >>From gcc-bugs-return-620528-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 09:57:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111833 invoked by alias); 8 Nov 2018 09:57:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 111768 invoked by uid 48); 8 Nov 2018 09:57:23 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87917] ICE in initialize_matrix_A at gcc/tree-data-ref.c:3150 Date: Thu, 08 Nov 2018 09:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: 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: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00685.txt.bz2 Content-length: 3971 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87917 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebpop at gmail dot com --- Comment #2 from Richard Biener --- I get: during GIMPLE pass: ldist pr34635.c: In function =E2=80=98foo=E2=80=99: pr34635.c:4:6: internal compiler error: tree check: expected integer_cst, h= ave polynomial_chrec in int_cst_value, at tree.c:11188 4 | void foo(int x[]) | ^~~ 0x1397ffc tree_check_failed(tree_node const*, char const*, int, char const*, ...) /tmp/trunk/gcc/tree.c:9371 0x83e3a7 tree_int_cst_elt_check(tree_node const*, int, char const*, int, ch= ar const*) /tmp/trunk/gcc/tree.h:3307 0x13a0e5b int_cst_value(tree_node const*) /tmp/trunk/gcc/tree.c:11188 #11 0x00000000010cf399 in get_data_dependence (rdg=3D0x2816ba0, a=3D0x28178= 30,=20 b=3D0x28170c0) at /tmp/trunk/gcc/tree-loop-distribution.c:1188 1188 compute_affine_dependence (ddr, loop_nest[0]); (gdb) l 1183 ent.b =3D b; 1184 slot =3D ddrs_table->find_slot (&ent, INSERT); 1185 if (*slot =3D=3D NULL) 1186 { 1187 ddr =3D initialize_data_dependence_relation (a, b, loop_nest); 1188 compute_affine_dependence (ddr, loop_nest[0]); 1189 *slot =3D ddr; 1190 } (gdb) p debug_data_reference (a) #(Data Ref:=20 # bb: 3=20 # stmt: _8 =3D *_4; # ref: *_4; # base_object: *x_22(D); # Access function 0: {0B, +, {0, +, 4}_1}_2 #) $6 =3D void (gdb) p debug_data_reference (b) #(Data Ref:=20 # bb: 3=20 # stmt: *_7 =3D _8; # ref: *_7; # base_object: *x_22(D); # Access function 0: {0B, +, 4}_1 #) so we have an "invariant" access and a variant one. I think else if (evolution_function_is_affine_multivariate_p (chrec_a, loop_nest->num) && !chrec_contains_symbols (chrec_a) && evolution_function_is_affine_multivariate_p (chrec_b, loop_nest->num) && !chrec_contains_symbols (chrec_b)) { /* testsuite/.../ssa-chrec-35.c {0, +, 1}_2 vs. {0, +, 1}_3 the overlapping elements are respectively located at iterations: {0, +, 1}_x and {0, +, 1}_x, in other words, we have the equality: {0, +, 1}_2 ({0, +, 1}_x) =3D {0, +, 1}_3 ({0, +, 1}_x) Other examples: {{0, +, 1}_1, +, 2}_2 ({0, +, 1}_x, {0, +, 1}_y) =3D {0, +, 1}_1 ({{0, +, 1}_x, +, 2}_y) {{0, +, 2}_1, +, 3}_2 ({0, +, 1}_y, {0, +, 1}_x) =3D {{0, +, 3}_1, +, 2}_2 ({0, +, 1}_x, {0, +, 1}_y) */ analyze_subscript_affine_affine (chrec_a, chrec_b, overlaps_a, overlaps_b, last_conflic= ts); is not properly guarded. evolution_function_is_affine_multivariate_p lets this through via bool evolution_function_is_affine_multivariate_p (const_tree chrec, int loopnum) { if (chrec =3D=3D NULL_TREE) return false; switch (TREE_CODE (chrec)) { case POLYNOMIAL_CHREC: if (evolution_function_is_invariant_rec_p (CHREC_LEFT (chrec), loopnu= m)) { if (evolution_function_is_invariant_rec_p (CHREC_RIGHT (chrec), loopnum)) return true; else { if (TREE_CODE (CHREC_RIGHT (chrec)) =3D=3D POLYNOMIAL_CHREC && CHREC_VARIABLE (CHREC_RIGHT (chrec)) !=3D CHREC_VARIABLE (chrec) && evolution_function_is_affine_multivariate_p (CHREC_RIGHT (chrec), loopnum)) but as we are interested in loopnum =3D=3D 1 for {0, +, {0, +, 4}_1}_2 we have to exclude the case where CHREC_RIGHT variates in it. Whatever exactly a affine multivariate is... Sebastian - can you say if evolution_function_is_affine_multivariate_p ({0, +, {0, +, 4}_1}_2, 1) should really return true? >>From gcc-bugs-return-620529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 09:58:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120159 invoked by alias); 8 Nov 2018 09:58:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112965 invoked by uid 48); 8 Nov 2018 09:57:47 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/87933] Bad headers and titles for: Date: Thu, 08 Nov 2018 09:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00686.txt.bz2 Content-length: 155 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87933 --- Comment #5 from Andreas Schwab --- Nope, the first one is unconditional. >>From gcc-bugs-return-620530-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 10:01:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6732 invoked by alias); 8 Nov 2018 10:01:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5986 invoked by uid 48); 8 Nov 2018 10:00:44 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/87933] Bad headers and titles for: Date: Thu, 08 Nov 2018 10:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00687.txt.bz2 Content-length: 165 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87933 --- Comment #6 from Andreas Schwab --- Most like this is a texinfo 4 vs 5+ difference. >>From gcc-bugs-return-620531-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 10:01:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7871 invoked by alias); 8 Nov 2018 10:01:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 6912 invoked by uid 48); 8 Nov 2018 10:01:15 -0000 From: "hoganmeier at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/50481] builtin to reverse the bit order Date: Thu, 08 Nov 2018 10:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: hoganmeier at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00688.txt.bz2 Content-length: 312 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D50481 --- Comment #4 from krux --- +1 The builtins already produce better code than a generic bitreverse implementation: https://godbolt.org/z/Um2Tit But using special hardware instructions automatically is even more important imho. >>From gcc-bugs-return-620532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 10:02:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9717 invoked by alias); 8 Nov 2018 10:02: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 9673 invoked by uid 48); 8 Nov 2018 10:02:45 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/87933] Bad headers and titles for: Date: Thu, 08 Nov 2018 10:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: documentation 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00689.txt.bz2 Content-length: 441 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87933 --- Comment #7 from Martin Li=C5=A1ka --- (In reply to Andreas Schwab from comment #5) > Nope, the first one is unconditional. You're right: ... define =3D indexhtml /home/marxin/Programming/gcc/gcc/doc/install.texi:14: warning: multiple @settitle define =3D specifichtml /home/marxin/Programming/gcc/gcc/doc/install.texi:17: warning: multiple @settitle ... >>From gcc-bugs-return-620533-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 10:05:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20082 invoked by alias); 8 Nov 2018 10:05: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 20034 invoked by uid 48); 8 Nov 2018 10:05:46 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/87933] Bad headers and titles for: Date: Thu, 08 Nov 2018 10:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: documentation 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00690.txt.bz2 Content-length: 722 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87933 --- Comment #8 from Martin Li=C5=A1ka --- Using: diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index be9b07b5d23..b82594bd28e 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -2,7 +2,6 @@ @c @ifnothtml @c %**start of header @setfilename gccinstall.info -@settitle Installing GCC @setchapternewpage odd @c %**end of header @c @end ifnothtml fixes the problem with HTML pages. Btw. what does it mean: \input texinfo.tex @c -*-texinfo-*- @c @ifnothtml <----- this @c %**start of header @setfilename gccinstall.info @settitle Installing GCC @setchapternewpage odd @c %**end of header @c @end ifnothtml ? >>From gcc-bugs-return-620534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 10:16:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 47070 invoked by alias); 8 Nov 2018 10:16: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 46939 invoked by uid 48); 8 Nov 2018 10:15:56 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87935] New: [9 regression] new failures on arm since r265788 Date: Thu, 08 Nov 2018 10:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.4.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00691.txt.bz2 Content-length: 1530 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87935 Bug ID: 87935 Summary: [9 regression] new failures on arm since r265788 Product: gcc Version: 6.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Hi Jason, Since r265788, I've noticed regressions on arm targets: FAIL: g++.dg/cpp0x/constexpr-static.C -std=3Dgnu++14 scan-assembler-not static_initialization FAIL: g++.dg/cpp0x/constexpr-static.C -std=3Dgnu++17 scan-assembler-not static_initialization FAIL: g++.dg/cpp0x/constexpr-static12.C -std=3Dc++14 scan-assembler-not _ZNSt10unique_ptrC1Ei FAIL: g++.dg/cpp0x/constexpr-static12.C -std=3Dc++17 scan-assembler-not _ZNSt10unique_ptrC1Ei FAIL: g++.dg/cpp0x/constexpr-static3.C -std=3Dgnu++14 scan-assembler-not static_initialization FAIL: g++.dg/cpp0x/constexpr-static3.C -std=3Dgnu++17 scan-assembler-not static_initialization FAIL: g++.dg/cpp0x/implicit13.C -std=3Dc++14 scan-assembler-not _ZN1BC1Ev FAIL: g++.dg/cpp0x/implicit13.C -std=3Dc++17 scan-assembler-not _ZN1BC1Ev FAIL: g++.dg/cpp0x/pr83734.C -std=3Dgnu++14 (test for excess errors) FAIL: g++.dg/cpp0x/pr83734.C -std=3Dgnu++17 (test for excess errors) FAIL: g++.dg/cpp1y/constexpr-empty3.C -std=3Dc++14 scan-assembler-not static_init FAIL: g++.dg/cpp1y/constexpr-empty3.C -std=3Dc++17 scan-assembler-not static_init >>From gcc-bugs-return-620535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 10:28:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130788 invoked by alias); 8 Nov 2018 10:28: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 130699 invoked by uid 48); 8 Nov 2018 10:28:29 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87935] [9 regression] new failures on arm since r265788 Date: Thu, 08 Nov 2018 10:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: 2018-11/txt/msg00692.txt.bz2 Content-length: 420 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87935 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org Version|6.4.1 |9.0 Target Milestone|--- |9.0 >>From gcc-bugs-return-620536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 10:32:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33604 invoked by alias); 8 Nov 2018 10:32: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 33509 invoked by uid 48); 8 Nov 2018 10:32:30 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87928] [7/8/9 Regression] ICE in ix86_compute_frame_layout, at config/i386/i386.c:11161 since r228607 Date: Thu, 08 Nov 2018 10:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00693.txt.bz2 Content-length: 5060 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87928 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |ktietz at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #4 from Uro=C5=A1 Bizjak --- (In reply to Martin Li=C5=A1ka from comment #0) > Following causes ICE: >=20 > $ gcc > /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/aggregate-ret4= .c > -mabi=3Dms -O1 -mstackrealign > during RTL pass: pro_and_epilogue > /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/aggregate-ret4= .c: > In function =E2=80=98bar=E2=80=99: > /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/aggregate-ret4= .c: > 24:1: internal compiler error: in ix86_compute_frame_layout, at > config/i386/i386.c:11161 > 24 | } > | ^ > 0x73ba80 ix86_compute_frame_layout > /home/marxin/Programming/gcc/gcc/config/i386/i386.c:11161 > 0x111ef6f ix86_finalize_stack_frame_flags > /home/marxin/Programming/gcc/gcc/config/i386/i386.c:12925 > 0x11255e4 ix86_expand_prologue() > /home/marxin/Programming/gcc/gcc/config/i386/i386.c:13035 > 0x145df8a gen_prologue() > /home/marxin/Programming/gcc/gcc/config/i386/i386.md:12984 > 0x1107728 target_gen_prologue > /home/marxin/Programming/gcc/gcc/config/i386/i386.md:18928 > 0xab61c1 make_prologue_seq > /home/marxin/Programming/gcc/gcc/function.c:5713 > 0xab6367 thread_prologue_and_epilogue_insns() > /home/marxin/Programming/gcc/gcc/function.c:5830 > 0xab6a96 rest_of_handle_thread_prologue_and_epilogue > /home/marxin/Programming/gcc/gcc/function.c:6321 > 0xab6a96 execute > /home/marxin/Programming/gcc/gcc/function.c:6363 This happens in i386.c: --cut here-- /* 64-bit MS ABI seem to require stack alignment to be always 16, except for function prologues, leaf functions and when the defult incoming stack boundary is overriden at command line or via force_align_arg_pointer attribute. */ if ((TARGET_64BIT_MS_ABI && crtl->preferred_stack_boundary < 128) && (!crtl->is_leaf || cfun->calls_alloca !=3D 0 || ix86_current_function_calls_tls_descriptor || ix86_incoming_stack_boundary < 128)) { crtl->preferred_stack_boundary =3D 128; crtl->stack_alignment_needed =3D 128; } stack_alignment_needed =3D crtl->stack_alignment_needed / BITS_PER_UNIT; preferred_alignment =3D crtl->preferred_stack_boundary / BITS_PER_UNIT; gcc_assert (!size || stack_alignment_needed); gcc_assert (preferred_alignment >=3D STACK_BOUNDARY / BITS_PER_UNIT); gcc_assert (preferred_alignment <=3D stack_alignment_needed); --cut here-- Where TARGET_64BIT_MS_ABI gets defined as: #define TARGET_64BIT_MS_ABI (TARGET_64BIT && ix86_cfun_abi () =3D=3D MS_ABI) and STACK_BOUNDARY: #define STACK_BOUNDARY \ (TARGET_64BIT && ix86_abi =3D=3D MS_ABI ? 128 : BITS_PER_WORD) Please note that the former definition depends on ix86_cfun_abi, which depe= nds on __attribute__(([sysv_abi|ms_abi])), while the later depends on ix86_abi global variable. In the testcase, ix86_cfun_abi () returns SYSV_ABI due to function __attribute__ override, while ix86_abi returns MS_ABI. The following patch redefines STACK_BOUNDARY to: #define STACK_BOUNDARY \ - (TARGET_64BIT && ix86_abi =3D=3D MS_ABI ? 128 : BITS_PER_WORD) + (TARGET_64BIT && ix86_cfun_abi () =3D=3D MS_ABI ? 128 : BITS_PER_WORD) so, STACK_BOUNDARY now also depends on function __attribute__. The patch also removes unneeded redefinition of STACK_BOUNDARY from cygming= .h. --cut here-- diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h index d7c7dd7057bf..0a3c9a0dd401 100644 --- a/gcc/config/i386/cygming.h +++ b/gcc/config/i386/cygming.h @@ -268,9 +268,6 @@ do { \ bytes in one go. */ #define CHECK_STACK_LIMIT 4000 -#undef STACK_BOUNDARY -#define STACK_BOUNDARY (TARGET_64BIT && ix86_abi =3D=3D MS_ABI ? 128 : BITS_PER_WORD) - /* By default, target has a 80387, uses IEEE compatible arithmetic, returns float values in the 387 and needs stack probes. We also align doubles to 64-bits for MSVC default compatibility. */ diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 58caab2bb55b..a85b43134092 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -808,7 +808,7 @@ extern const char *host_detect_local_cpu (int argc, con= st char **argv); /* Boundary (in *bits*) on which stack pointer should be aligned. */ #define STACK_BOUNDARY \ - (TARGET_64BIT && ix86_abi =3D=3D MS_ABI ? 128 : BITS_PER_WORD) + (TARGET_64BIT && ix86_cfun_abi () =3D=3D MS_ABI ? 128 : BITS_PER_WORD) /* Stack boundary of the main function guaranteed by OS. */ #define MAIN_STACK_BOUNDARY (TARGET_64BIT ? 128 : 32) --cut here-- Adding Kai to CC. The patch also needs to be tested on Windows targets. >>From gcc-bugs-return-620537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 10:49:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95884 invoked by alias); 8 Nov 2018 10:48: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 95680 invoked by uid 48); 8 Nov 2018 10:48:31 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87929] ICE in verify_gimple failed Date: Thu, 08 Nov 2018 10: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.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: --- 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: 2018-11/txt/msg00694.txt.bz2 Content-length: 491 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87929 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Known to work| |9.0 Resolution|--- |FIXED --- Comment #2 from Richard Biener --- Fixed on trunk. >>From gcc-bugs-return-620538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 10:49:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96085 invoked by alias); 8 Nov 2018 10:49:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 95714 invoked by uid 55); 8 Nov 2018 10:48:35 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87929] ICE in verify_gimple failed Date: Thu, 08 Nov 2018 10:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: 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: 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 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: 2018-11/txt/msg00695.txt.bz2 Content-length: 1039 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87929 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Known to work| |9.0 Resolution|--- |FIXED --- Comment #2 from Richard Biener --- Fixed on trunk. --- Comment #3 from Richard Biener --- Author: rguenth Date: Thu Nov 8 10:47:59 2018 New Revision: 265912 URL: https://gcc.gnu.org/viewcvs?rev=3D265912&root=3Dgcc&view=3Drev Log: 2018-11-08 Richard Biener PR tree-optimization/87929 * tree-complex.c (expand_complex_comparison): Clean EH. * gcc.dg/pr87929.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/pr87929.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-complex.c >>From gcc-bugs-return-620539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 11:02:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2611 invoked by alias); 8 Nov 2018 11: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 2455 invoked by uid 48); 8 Nov 2018 11:01:56 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/86438] [8/9 Regression] wrong code at -Os Date: Thu, 08 Nov 2018 11:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00696.txt.bz2 Content-length: 179 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86438 --- Comment #7 from Alexandre Oliva --- https://gcc.gnu.org/ml/gcc-patches/2018-11/msg00533.html >>From gcc-bugs-return-620540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 11:17:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105833 invoked by alias); 8 Nov 2018 11: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 105793 invoked by uid 48); 8 Nov 2018 11:17:02 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/87936] New: gnatlink fails with -pie Date: Thu, 08 Nov 2018 11:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00697.txt.bz2 Content-length: 1827 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87936 Bug ID: 87936 Summary: gnatlink fails with -pie Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- Consider the following testcase: ... $ cat hello.adb=20 with Ada.Text_IO; procedure Hello is begin Ada.Text_IO.Put_Line("Hello, world!"); end Hello; ... It compiles without problems: ... $ rm -f hello.ali hello.o hello ; gnatmake hello.adb gcc -c hello.adb gnatbind -x hello.ali gnatlink hello.ali ... and works fine: ... delia:~ # ./hello=20 Hello, world! ... However, when we try to compile with -fPIE -pie, we get: ... $ rm -f hello.ali hello.o hello ; gnatmake -fPIE hello.adb -largs -pie=20 gcc -c -fPIE hello.adb gnatbind -x hello.ali gnatlink hello.ali -fPIE -pie /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/8/adalib/libgnat.a(a-contai.o): relocation R_X86_64_32 against symbol `ada__containers__capacity_error' can not be used when making a PIE object; recompile with -fPIC ... /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: fi= nal link failed: nonrepresentable section on output collect2: error: ld returned 1 exit status gnatlink: error when calling /usr/bin/gcc gnatmake: *** link failed. ... The problem is that libgnat.a is picked up instead of libgnat_pic.a, so a workaround is to add -lgnat_pic: ... $ rm -f hello.ali hello.o hello ; gnatmake -fPIE hello.adb -largs -pie -lgnat_pic $ ./hello=20 Hello, world! ... AFAIU, gnatlink should include libgnat_pic.a instead of libgnat.a when pass= ed the -pie option. >>From gcc-bugs-return-620541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 11:21:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110514 invoked by alias); 8 Nov 2018 11:21: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 110475 invoked by uid 48); 8 Nov 2018 11:21:40 -0000 From: "tomastrnka at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87937] New: [8/9 Regression] LHS reallocation broken inside "select type" Date: Thu, 08 Nov 2018 11:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tomastrnka 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 bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00698.txt.bz2 Content-length: 1286 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87937 Bug ID: 87937 Summary: [8/9 Regression] LHS reallocation broken inside "select type" Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: tomastrnka at gmx dot com Target Milestone: --- The fix for pr85954 broke LHS reallocation inside "select type" blocks. The following program segfaults with current 8.2 branch (including the system compiler 8.2.1 20181011 on my Fedora 29): program lhsalloc type, abstract :: A real, allocatable :: x(:) end type type, extends(A) :: B end type class(A), allocatable :: t real :: y(4) y =3D 1 allocate(B::t) select type (t) type is (B) t%x =3D y end select write(*,*) allocated(t%x) end program The code to allocate t%x is simply never generated. Partially reverting the offending change by removing these two lines from gfc_is_reallocatable_lhs fixes the issue: if (sym->attr.associate_var) return false; Although pr87625 sounds related, its fix doesn't help here because the associate_var check comes earlier. >>From gcc-bugs-return-620542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 11:30:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19571 invoked by alias); 8 Nov 2018 11:30: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 19283 invoked by uid 48); 8 Nov 2018 11:30:26 -0000 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87935] [9 regression] new failures on arm since r265788 Date: Thu, 08 Nov 2018 11:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00699.txt.bz2 Content-length: 279 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87935 --- Comment #1 from Christophe Lyon --- It also causes: FAIL: g++.dg/cpp0x/pr83734.C -std=3Dgnu++14 (internal compiler error) FAIL: g++.dg/cpp0x/pr83734.C -std=3Dgnu++17 (internal compiler error) >>From gcc-bugs-return-620543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 11:38:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39619 invoked by alias); 8 Nov 2018 11: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 39286 invoked by uid 48); 8 Nov 2018 11:38:37 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/87938] New: libgnat.a not compiled with -fno-PIC Date: Thu, 08 Nov 2018 11:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00700.txt.bz2 Content-length: 766 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87938 Bug ID: 87938 Summary: libgnat.a not compiled with -fno-PIC Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: vries at gcc dot gnu.org Target Milestone: --- We build two versions of libgnat.a: libgnat.a and libgnat_pic.a. The libgnat_pic.a is compiled with -fpic (more precisely, with PICFLAG_FOR_TARGET). But libgnat.a is compiled with whatever the default is, so if gcc defaults = to -pie -fPIE, then libgnat.a is compiled with -fPIE. My guess is that we wan= t to build libgnat.a with -fno-PIE/-fno-pie. >>From gcc-bugs-return-620544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 11:56:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10203 invoked by alias); 8 Nov 2018 11:56: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 7098 invoked by uid 48); 8 Nov 2018 11:56:22 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87625] [OOP] (re)allocate on assignment fails for polymorphic array Date: Thu, 08 Nov 2018 11: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: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00701.txt.bz2 Content-length: 438 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87625 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING --- Comment #5 from Dominique d'Humieres --- This seems fixed on trunk (9.0). Will r265283 be back ported? >>From gcc-bugs-return-620545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 11:57:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12772 invoked by alias); 8 Nov 2018 11:57: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 12709 invoked by uid 48); 8 Nov 2018 11:57:06 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87937] [8/9 Regression] LHS reallocation broken inside "select type" Date: Thu, 08 Nov 2018 11:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00702.txt.bz2 Content-length: 226 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87937 --- Comment #1 from Dominique d'Humieres --- > The code to allocate t%x is simply never generated. How do you see that? WORKSFORME on darwin. >>From gcc-bugs-return-620546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 11:57:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 13834 invoked by alias); 8 Nov 2018 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 13794 invoked by uid 48); 8 Nov 2018 11:57:37 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87937] [8/9 Regression] LHS reallocation broken inside "select type" Date: Thu, 08 Nov 2018 11:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00703.txt.bz2 Content-length: 413 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87937 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-11-08 Ever confirmed|0 |1 >>From gcc-bugs-return-620547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 12:16:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 43004 invoked by alias); 8 Nov 2018 12: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 42660 invoked by uid 48); 8 Nov 2018 12:16:15 -0000 From: "tomastrnka at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87937] [8/9 Regression] LHS reallocation broken inside "select type" Date: Thu, 08 Nov 2018 12:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tomastrnka at gmx dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00704.txt.bz2 Content-length: 685 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87937 --- Comment #2 from Tom=C3=A1=C5=A1 Trnka --- (In reply to Dominique d'Humieres from comment #1) > > The code to allocate t%x is simply never generated. >=20 > How do you see that? >=20 > WORKSFORME on darwin. Weird, I wouldn't expect the frontend to behave in a platform-specific way. What version are you using to test? (8.2.0 is not affected. I haven't actua= lly tried it with 9, but AFAICS the code is the same.) Running "gfortran -fdump-tree-original lhsalloc.f90" with and without the associate_var check produces the two attached files, with the allocation obviously missing from the bad one. >>From gcc-bugs-return-620548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 12:24:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80973 invoked by alias); 8 Nov 2018 12:24:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 80708 invoked by uid 48); 8 Nov 2018 12:24:23 -0000 From: "tomastrnka at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87937] [8/9 Regression] LHS reallocation broken inside "select type" Date: Thu, 08 Nov 2018 12:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tomastrnka at gmx dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00705.txt.bz2 Content-length: 267 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87937 --- Comment #3 from Tom=C3=A1=C5=A1 Trnka --- Created attachment 44972 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44972&action=3Dedit Original tree dump from 8.2.1 20181011 >>From gcc-bugs-return-620549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 12:25:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82187 invoked by alias); 8 Nov 2018 12:25:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 81933 invoked by uid 48); 8 Nov 2018 12:25:07 -0000 From: "tomastrnka at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87937] [8/9 Regression] LHS reallocation broken inside "select type" Date: Thu, 08 Nov 2018 12:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tomastrnka at gmx dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00706.txt.bz2 Content-length: 282 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87937 --- Comment #4 from Tom=C3=A1=C5=A1 Trnka --- Created attachment 44973 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44973&action=3Dedit Original tree dump after removing the offending check >>From gcc-bugs-return-620550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 12:57:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111886 invoked by alias); 8 Nov 2018 12:57: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 111799 invoked by uid 48); 8 Nov 2018 12:57:41 -0000 From: "weeks at iastate dot edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87939] New: Support STAT= and ERRMSG= specifiers to CRITICAL and TEAM statements Date: Thu, 08 Nov 2018 12:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: weeks at iastate dot edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00707.txt.bz2 Content-length: 1090 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87939 Bug ID: 87939 Summary: Support STAT=3D and ERRMSG=3D specifiers to CRITICAL and TEAM statements Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: weeks at iastate dot edu Target Milestone: --- gcc/fortran/match.c appears to implement support for that STAT=3D and ERRMS= G=3D specifiers in LOCK, UNLOCK, SYNC ALL, SYNC IMAGES, and SYNC MEMORY statemen= ts (as standardized by Fortran 2008), in addition to EVENT POST and EVENT WAIT from the forthcoming Fortran 2018 standard. gfortran currently lacks support for STAT=3D and ERRMSG=3D specifiers in se= veral statements where they will be allowed in Fortran 2018: FORM TEAM, CHANGE TE= AM, SYNC TEAM, END TEAM, CRITICAL, and END CRITICAL. It would be beneficial to = add these to gfortran to allow more comprehensive support for failed images in OpenCoarrays. >>From gcc-bugs-return-620551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 13:18:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99270 invoked by alias); 8 Nov 2018 13: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 99218 invoked by uid 48); 8 Nov 2018 13:18:14 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87937] [8/9 Regression] LHS reallocation broken inside "select type" Date: Thu, 08 Nov 2018 13:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2018-11/txt/msg00708.txt.bz2 Content-length: 345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87937 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Target Milestone|--- |8.3 >>From gcc-bugs-return-620552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 13:19:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102482 invoked by alias); 8 Nov 2018 13:19:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 102410 invoked by uid 48); 8 Nov 2018 13:19:10 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/87936] gnatlink fails with -pie Date: Thu, 08 Nov 2018 13:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 8.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: 2018-11/txt/msg00709.txt.bz2 Content-length: 164 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87936 --- Comment #1 from Richard Biener --- I suppose it works when using -fPIC/-pic? >>From gcc-bugs-return-620553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 13:31:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35611 invoked by alias); 8 Nov 2018 13: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 35512 invoked by uid 48); 8 Nov 2018 13:30:55 -0000 From: "vries at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/87936] gnatlink fails with -pie Date: Thu, 08 Nov 2018 13:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00710.txt.bz2 Content-length: 569 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87936 --- Comment #2 from Tom de Vries --- (In reply to Richard Biener from comment #1) > I suppose it works when using -fPIC/-pic? Using -fPIC: ... $ rm -f hello.ali hello.o hello ; gnatmake -fPIC hello.adb=20 gcc -c -fPIC hello.adb gnatbind -x hello.ali gnatlink hello.ali -fPIC $ ./hello=20 Hello, world! ... using -fpic: ... $ rm -f hello.ali hello.o hello ; gnatmake -fpic hello.adb=20 gcc -c -fpic hello.adb gnatbind -x hello.ali gnatlink hello.ali -fpic $ ./hello=20 Hello, world! ... >>From gcc-bugs-return-620554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 13:39:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60984 invoked by alias); 8 Nov 2018 13:39: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 60898 invoked by uid 48); 8 Nov 2018 13:39:15 -0000 From: "renlin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/87899] [9 regression]r264897 cause mis-compiled native arm-linux-gnueabihf toolchain Date: Thu, 08 Nov 2018 13:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: renlin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00711.txt.bz2 Content-length: 379 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87899 --- Comment #5 from Renlin Li --- Created attachment 44974 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44974&action=3Dedit IRA dump The code you want to check is the following in ira pass: insn 10905: r1 =3D r2040 insn 208: use and update r1 with pre_modify insn 191: use pseudo r2040 >>From gcc-bugs-return-620555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 13:40:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64987 invoked by alias); 8 Nov 2018 13:40: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 64891 invoked by uid 48); 8 Nov 2018 13:40:47 -0000 From: "renlin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/87899] [9 regression]r264897 cause mis-compiled native arm-linux-gnueabihf toolchain Date: Thu, 08 Nov 2018 13:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: renlin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00712.txt.bz2 Content-length: 225 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87899 --- Comment #6 from Renlin Li --- Created attachment 44975 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44975&action=3Dedit IRA dump >>From gcc-bugs-return-620556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 13:43:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75573 invoked by alias); 8 Nov 2018 13:43: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 75486 invoked by uid 48); 8 Nov 2018 13:43:44 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/87442] Add options to filter files we want to instrument for code coverage Date: Thu, 08 Nov 2018 13:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: unknown 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00713.txt.bz2 Content-length: 1368 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87442 --- Comment #10 from Martin Li=C5=A1ka --- >=20 > Few things: > i) I use ';' as regex separator (to avoid issues under windows with C:\.= ..) > ii) if exclude is empty and filename is matching any of the regexes in > filter then instrument it. > iii) if filter is empty and filename is not matching any of the regexes = in > exclude then instrument it. > iv) if both are not empty and filename is matching any of the regexes in > filter AND is not matching any of the regexes in exclude then instrument = it.=20 >=20 > Few examples: > i) exclude=3D"^/usr/include/;^/usr/local/include/" =3D> a file is instru= mented > if and only if it isn't in /usr/include/ nor in /usr/local/include/ > ii) filter=3D"^/home/foo/dev/.*\.cpp;^/home/foo/ved/.*\.cpp" =3D> a file= is > instrumented if and only if it's a cpp file somewhere under /home/foo/dev/ > or /home/foo/ved/ > iii) exclude=3D"^/usr/include/.*$" and filter=3D"^/usr/.*$" =3D> a file = is > instrumented if and only if it's somewhere under /usr/ but not under > /usr/include >=20 > My patch for llvm is here: > https://reviews.llvm.org/D52033 >=20 > If you see something wrong or have idea to improve, please ping me. Looks good to me, I've just sent patch candidate: https://gcc.gnu.org/ml/gcc-patches/2018-11/msg00568.html >>From gcc-bugs-return-620557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 13:44:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76377 invoked by alias); 8 Nov 2018 13:44: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 76268 invoked by uid 48); 8 Nov 2018 13:44:00 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87940] New: [9 Regression] FAIL: gcc.dg/warn-strlen-no-nul.c Date: Thu, 08 Nov 2018 13:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00714.txt.bz2 Content-length: 1474 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87940 Bug ID: 87940 Summary: [9 Regression] FAIL: gcc.dg/warn-strlen-no-nul.c Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: edlinger at gcc dot gnu.org Target Milestone: --- On i686, r265778 caused: /export/gnu/import/git/gcc-test-ia32/src-trunk/gcc/testsuite/gcc.dg/warn-st= rlen-no-nul.c:56:1: internal compiler error: verify_gimple failed^M 0x8922dc4 verify_gimple_in_seq(gimple*)^M ../../src-trunk/gcc/tree-cfg.c:5082^M 0x86899d7 gimplify_body(tree_node*, bool)^M ../../src-trunk/gcc/gimplify.c:12859^M 0x8689b8b gimplify_function_tree(tree_node*)^M ../../src-trunk/gcc/gimplify.c:12949^M 0x84f7690 cgraph_node::analyze()^M ../../src-trunk/gcc/cgraphunit.c:667^M 0x84fa1d8 analyze_functions^M ../../src-trunk/gcc/cgraphunit.c:1126^M 0x84fadd3 symbol_table::finalize_compilation_unit()^M ../../src-trunk/gcc/cgraphunit.c:2833^M Please submit a full bug report,^M with preprocessed source if appropriate.^M Please include the complete backtrace with any bug report.^M See for instructions.^M compiler exited with status 1 FAIL: gcc.dg/warn-strlen-no-nul.c (internal compiler error) >>From gcc-bugs-return-620558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 13:57:35 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122729 invoked by alias); 8 Nov 2018 13:57: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 122693 invoked by uid 48); 8 Nov 2018 13:57:30 -0000 From: "edlinger at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87940] [9 Regression] FAIL: gcc.dg/warn-strlen-no-nul.c Date: Thu, 08 Nov 2018 13:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: edlinger at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: edlinger at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00715.txt.bz2 Content-length: 639 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87940 Bernd Edlinger changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-11-08 Assignee|unassigned at gcc dot gnu.org |edlinger at gcc dot= gnu.org Ever confirmed|0 |1 --- Comment #1 from Bernd Edlinger --- proposed patch: https://gcc.gnu.org/ml/gcc-patches/2018-11/msg00325.html >>From gcc-bugs-return-620559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 14:13:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23987 invoked by alias); 8 Nov 2018 14:13: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 23925 invoked by uid 48); 8 Nov 2018 14:13:38 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87941] New: by_pieces infra does not use movmisalign optab Date: Thu, 08 Nov 2018 14:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00716.txt.bz2 Content-length: 1405 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87941 Bug ID: 87941 Summary: by_pieces infra does not use movmisalign optab Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: amonakov at gcc dot gnu.org Target Milestone: --- by_pieces code uses only mov_optab, never checking movmisalign_optab, so on STRICT_ALIGNMENT targets such as arm it does not use available misaligned load/store patterns. It results in suboptimal code for e.g. void f(char *c) { __builtin_memcpy(c, "foo", 4); } where with -O2 -march=3Darmv6t2 gcc emits f: movw r3, #:lower16:.LANCHOR0 mov r2, r0 movt r3, #:upper16:.LANCHOR0 ldr r0, [r3] str r0, [r2] @ unaligned bx lr .size f, .-f .section .rodata .align 2 .set .LANCHOR0,. + 0 .LC0: .ascii "foo\000" while optimal code is emitted for the equivalent void f(char *c) { int t; __builtin_memcpy(&t, "foo", 4); __builtin_memcpy(c, &t, 4); } f: movw r3, #28518 movt r3, 111 str r3, [r0] @ unaligned bx lr .size f, .-f >>From gcc-bugs-return-620560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 14:39:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8525 invoked by alias); 8 Nov 2018 14:39:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8482 invoked by uid 48); 8 Nov 2018 14:39:09 -0000 From: "johannes.vetter@dom-sicherheitstechnik.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87942] New: every int seems to be unaligned in packed structure Date: Thu, 08 Nov 2018 14:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: johannes.vetter@dom-sicherheitstechnik.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00717.txt.bz2 Content-length: 1839 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87942 Bug ID: 87942 Summary: every int seems to be unaligned in packed structure Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: johannes.vetter@dom-sicherheitstechnik.de Target Milestone: --- testcode: #pragma pack(1) typedef struct { volatile int cmd; } test_t; #pragma pack(0) test_t test; int read32()=20 {=20 test.cmd =3D 11; return 0;=20 } host: win/linux x86_64 target: arm, STM32L471 gcc versions: 4.8.3 (ok), bugs in: 5.4.1, 6.3.0, 7.2.1, 8.2.0 --- since version gcc version>=3D5 there seems to be a bug if pragma pack(1) is= used. gcc thinks test.cmd is missaligned, but it isn't. The code is ok in gcc version 4. The code with AND without pack(1) should be identical in this example. The inner code should be something like this: mov r2, #11 str r2, [r3, #0] but with pack(1): mov r1, #11 mov r2, #0 ldr r3, .L3 ldrb r0, [r3] @ zero_extendqisi2 strb r1, [r3] ldrb r1, [r3, #1] @ zero_extendqisi2 strb r2, [r3, #1] ldrb r1, [r3, #2] @ zero_extendqisi2 strb r2, [r3, #2] mov r0, r2 ldrb r1, [r3, #3] @ zero_extendqisi2 strb r2, [r3, #3] The problem is that the variable in this case is a special function registe= r of the chip and have to be accessed in 32bit only. Every 8bit access to this register crashes the system. It would be nice, if there is a compiler switch, which leeds into an error,= if a volatile variable can't be read/write in one single access. >>From gcc-bugs-return-620561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 14:54:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7743 invoked by alias); 8 Nov 2018 14:54: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 6841 invoked by uid 48); 8 Nov 2018 14:54:44 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87942] every int seems to be unaligned in packed structure Date: Thu, 08 Nov 2018 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: 8.2.0 X-Bugzilla-Keywords: 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: 2018-11/txt/msg00718.txt.bz2 Content-length: 1296 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87942 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #1 from Alexander Monakov --- (In reply to Johannes Vetter from comment #0) > since version gcc version>=3D5 there seems to be a bug if pragma pack(1) = is > used. gcc thinks test.cmd is missaligned, but it isn't. >=20 > The code is ok in gcc version 4. The code with AND without pack(1) should= be > identical in this example. No, it was a bug in version 4: since 'test' does not have an initializer, it ends up as a common definition, which could be preempted at link time with a normal definition with less-than-int alignment. Compiling with -fno-common leads to desired code generation, as does providing an initializer: test_t test =3D { 0 }; You can also add __attribute__((aligned(4))) on the struct type to make it aligned (while still packed). > It would be nice, if there is a compiler switch, which leeds into an erro= r, > if a volatile variable can't be read/write in one single access. I think this makes sense. >>From gcc-bugs-return-620562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 14:58:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20235 invoked by alias); 8 Nov 2018 14:58: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 20191 invoked by uid 55); 8 Nov 2018 14:58:20 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/87916] [9 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.c:22479 since r264943 Date: Thu, 08 Nov 2018 14:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00719.txt.bz2 Content-length: 527 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87916 --- Comment #4 from Eric Botcazou --- Author: ebotcazou Date: Thu Nov 8 14:57:47 2018 New Revision: 265916 URL: https://gcc.gnu.org/viewcvs?rev=3D265916&root=3Dgcc&view=3Drev Log: PR middle-end/87916 * cgraphclones.c (duplicate_thunk_for_node): Also set DECL_IGNORED_= P. Added: trunk/gcc/testsuite/g++.dg/other/pr87916.C Modified: trunk/gcc/ChangeLog trunk/gcc/cgraphclones.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-620563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 15:05:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36685 invoked by alias); 8 Nov 2018 15:05:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36323 invoked by uid 48); 8 Nov 2018 15:05:34 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/87916] [9 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.c:22479 since r264943 Date: Thu, 08 Nov 2018 15:05: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00720.txt.bz2 Content-length: 457 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87916 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Eric Botcazou --- Thanks for the reduced testcase. >>From gcc-bugs-return-620564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 15:08:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70144 invoked by alias); 8 Nov 2018 15:08: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 70083 invoked by uid 48); 8 Nov 2018 15:08:52 -0000 From: "juergen.reuter at desy dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87943] New: [6.5 regression] severe regression on iso_varying_string (?) Date: Thu, 08 Nov 2018 15:08: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: 6.4.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: juergen.reuter at desy dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00721.txt.bz2 Content-length: 1593 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87943 Bug ID: 87943 Summary: [6.5 regression] severe regression on iso_varying_string (?) Product: gcc Version: 6.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: juergen.reuter at desy dot de Target Milestone: --- Created attachment 44976 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44976&action=3Dedit Reproducer I put 6.4.1 as there is no option to choose 6.5.0. This is a report on a severe regression (from our point of view) for the 6.5 (final?) version of the gfortran 6 series, so not sure whether it makes to report. But you might close it as 'won't fix'. The attached reproducer is n= ot yet completely reduced, if you unpack and do 'make' it generates a dynamic library external.Test.so (which is not really necessary) and an executable whizard_test. Then execute this with=20 $./whizard_test --check models=20 This runs one of our unit tests, the tests models_3 and models_4 fail as the strings for several objects have not been correctly read from file. In tota= l,=20 with gfortran 6.5, 19 of 128 unit tests fail and all non-skipped functional tests fail with segmentation faults (236 of 278). The full code is here: http://whizard.hepforge.org/whizard-2.6.4.tar.gz You need OCaml to run all/most tests, just to ./configure; make; make check. I wait for feedback before I attempt to possibly reduce the reproducer. >>From gcc-bugs-return-620565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 15:10:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104782 invoked by alias); 8 Nov 2018 15:10:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 99667 invoked by uid 48); 8 Nov 2018 15:10:48 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/87916] [9 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.c:22479 since r264943 Date: Thu, 08 Nov 2018 15:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00722.txt.bz2 Content-length: 235 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87916 --- Comment #6 from Martin Li=C5=A1ka --- (In reply to Eric Botcazou from comment #5) > Thanks for the reduced testcase. I thank you for the quick fix. >>From gcc-bugs-return-620566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 15:16:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7889 invoked by alias); 8 Nov 2018 15:16: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 7840 invoked by uid 48); 8 Nov 2018 15:16:36 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87934] [8/9 regression] struct with NSDMI of enum makes initialization a non-constant expression Date: Thu, 08 Nov 2018 15:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00723.txt.bz2 Content-length: 868 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87934 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #2 from Marek Polacek --- commit d93ee6f87d421c95c873fe09445fc77cd8624a25 Author: jason Date: Fri Jun 9 22:46:51 2017 +0000 Don't fold conversion from a constant variable. * call.c (convert_like_real): Remove "inner" parameter. Don't replace a constant with its value. * cp-gimplify.c (cp_fully_fold): Use cp_fold_rvalue. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249083 138bc75d-0d04-0410-961f-82ee72b054a4 >>From gcc-bugs-return-620567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 15:39:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108520 invoked by alias); 8 Nov 2018 15:39: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 108366 invoked by uid 55); 8 Nov 2018 15:39:03 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/86395] add support of -fopt-info-inline in inliner Date: Thu, 08 Nov 2018 15:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: diagnostic, patch X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00724.txt.bz2 Content-length: 5454 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86395 --- Comment #5 from David Malcolm --- Author: dmalcolm Date: Thu Nov 8 15:38:30 2018 New Revision: 265920 URL: https://gcc.gnu.org/viewcvs?rev=3D265920&root=3Dgcc&view=3Drev Log: ipa-inline.c/tree-inline.c: port from fprintf to dump API (PR ipa/86395) This patch ports various fprintf calls in the inlining code to using the dump API, using the %C format code for printing cgraph_node *. I focussed on the dump messages that seemed most significant to end-users; I didn't port all of the calls. Doing so makes this information appear in -fopt-info and in optimization records, rather than just in the dump_file. It also changes the affected dumpfile-dumps from being unconditional (assuming the dump_file is enabled) to being guarded by the MSG_* status. Hence various tests with dg-final scan-*-dump directives need to gain "-all" or "-optimized" suffixes to -fdump-ipa-inline. The use of %C throughout also slightly changes the dump format for several messages, e.g. changing: Inlining void inline_me(char*) into int main(int, char**). to: ../../src/gcc/testsuite/g++.dg/tree-ssa/inline-1.C:13:8: optimized: Inlini= ng void inline_me(char*)/0 into int main(int, char**)/2. amongst other things adding "/order" suffixes to the cgraph node names. gcc/ChangeLog: PR ipa/86395 * doc/invoke.texi (-fdump-ipa-): Document the "-optimized", "-missed", "-note", and "-all" sub-options. * ipa-inline.c (caller_growth_limits): Port from fprintf to dump API. (can_early_inline_edge_p): Likewise. (want_early_inline_function_p): Likewise. (want_inline_self_recursive_call_p): Likewise. (recursive_inlining): Likewise. (inline_small_functions): Likewise. (flatten_function): Likewise. (ipa_inline): Likewise. (inline_always_inline_functions): Likewise. (early_inline_small_functions): Likewise. (early_inliner): Likewise. * tree-inline.c (expand_call_inline): Likewise. gcc/testsuite/ChangeLog: PR ipa/86395 * g++.dg/ipa/devirt-12.C: Add "-all" suffix to "-fdump-ipa-inline". * g++.dg/ipa/imm-devirt-1.C: Add "-optimized" suffix to "-fdump-tree-einline". * g++.dg/tree-prof/inline_mismatch_args.C: Add "-all" suffix to "-fdump-tree-einline". * g++.dg/tree-ssa/inline-1.C: Add "-optimized" suffix to "-fdump-tree-einline". * g++.dg/tree-ssa/inline-2.C: Likewise. * g++.dg/tree-ssa/inline-3.C: Likewise. * g++.dg/tree-ssa/inline-4.C: New test, based on inline-1.C, but using "-fopt-info-inline". * gcc.dg/ipa/fopt-info-inline-1.c: New test. * gcc.dg/ipa/inline-4.c: Add "-all" suffix to "-fdump-ipa-inline". Add "-fopt-info-inline" and dg-optimized directive. * gcc.dg/ipa/inline-7.c: Add "-optimized" suffix to "-fdump-tree-einline". Add "-fopt-info-inline" and dg-optimized directive. Update scan-tree-dump-times to reflect /order suffixes. * gcc.dg/ipa/inlinehint-4.c: Update scan-tree-dump-times to reflect /order suffixes. * gcc.dg/plugin/dump-1.c: Add "-loop" to "-fopt-info-note" to avoid getting extra messages from inliner. * gcc.dg/plugin/dump-2.c: Likewise. * gcc.dg/pr26570.c: Add dg-prune-output to ignore new "function body not available" missed optimization messages. * gcc.dg/pr71969-2.c: Update scan-tree-dump-times to reflect /order suffixes. * gcc.dg/pr71969-3.c: Likewise. * gcc.dg/tree-ssa/inline-11.c: Add "-all" suffix to "-fdump-tree-einline". * gcc.dg/tree-ssa/inline-3.c: Add "-optimized" suffix to "-fdump-tree-einline". Update scan-tree-dump-times to reflect /order suffixes. * gcc.dg/tree-ssa/inline-4.c: Add "-optimized" suffix to "-fdump-tree-einline". Add "-fopt-info-inline" and dg-optimized directive. * gcc.dg/tree-ssa/inline-8.c: Add "-optimized" suffix to "-fdump-tree-einline". * gfortran.dg/pr79966.f90: Update scan-ipa-dump to reflect /order suffixes. Added: trunk/gcc/testsuite/g++.dg/tree-ssa/inline-4.C trunk/gcc/testsuite/gcc.dg/ipa/fopt-info-inline-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/doc/invoke.texi trunk/gcc/ipa-inline.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/ipa/devirt-12.C trunk/gcc/testsuite/g++.dg/ipa/imm-devirt-1.C trunk/gcc/testsuite/g++.dg/tree-prof/inline_mismatch_args.C trunk/gcc/testsuite/g++.dg/tree-ssa/inline-1.C trunk/gcc/testsuite/g++.dg/tree-ssa/inline-2.C trunk/gcc/testsuite/g++.dg/tree-ssa/inline-3.C trunk/gcc/testsuite/gcc.dg/ipa/inline-4.c trunk/gcc/testsuite/gcc.dg/ipa/inline-7.c trunk/gcc/testsuite/gcc.dg/ipa/inlinehint-4.c trunk/gcc/testsuite/gcc.dg/plugin/dump-1.c trunk/gcc/testsuite/gcc.dg/plugin/dump-2.c trunk/gcc/testsuite/gcc.dg/pr26570.c trunk/gcc/testsuite/gcc.dg/pr71969-2.c trunk/gcc/testsuite/gcc.dg/pr71969-3.c trunk/gcc/testsuite/gcc.dg/tree-ssa/inline-11.c trunk/gcc/testsuite/gcc.dg/tree-ssa/inline-3.c trunk/gcc/testsuite/gcc.dg/tree-ssa/inline-4.c trunk/gcc/testsuite/gcc.dg/tree-ssa/inline-8.c trunk/gcc/testsuite/gfortran.dg/pr79966.f90 trunk/gcc/tree-inline.c >>From gcc-bugs-return-620568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 15:40:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119958 invoked by alias); 8 Nov 2018 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 119555 invoked by uid 48); 8 Nov 2018 15:40:51 -0000 From: "gcc at sheaffer dot ws" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/78969] bogus snprintf truncation warning due to missing range info Date: Thu, 08 Nov 2018 15: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: 7.0 X-Bugzilla-Keywords: diagnostic, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: gcc at sheaffer dot ws X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00725.txt.bz2 Content-length: 857 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78969 Jeremy Sheaffer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gcc at sheaffer dot ws --- Comment #13 from Jeremy Sheaffer --- Bug is still present in 8.2.0: snprintf(s[i], 60, "%40s%2d %s by %2d %s", tmp, abs(character_get_y(c[i]) - character_get_y(d->PC)), ((character_get_y(c[i]) - character_get_y(d->PC)) <=3D 0 ? "North" : "South"), abs(character_get_x(c[i]) - character_get_x(d->PC)), ((character_get_x(c[i]) - character_get_x(d->PC)) <=3D 0 ? "West" : "East")); The two integer conversion are always <=3D 2 digits. >>From gcc-bugs-return-620569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 15:53:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44474 invoked by alias); 8 Nov 2018 15:53:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 44357 invoked by uid 48); 8 Nov 2018 15:53:37 -0000 From: "iii at linux dot ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87902] [9 Regression] Shrink-wrapping multiple conditions Date: Thu, 08 Nov 2018 15:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: iii at linux dot ibm.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00726.txt.bz2 Content-length: 683 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87902 --- Comment #3 from Ilya Leoshkevich --- Judging by the following comment in lra-coalesce.c, RA doesn't do this intentionally: Here we coalesce only spilled pseudos. Coalescing non-spilled pseudos (with different hard regs) might result in spilling additional pseudos because of possible conflicts with other non-spilled pseudos and, as a consequence, in more constraint passes and even LRA infinite cycling. Trivial the same hard register moves will be removed by subsequent compiler passes. In which cases would moving copies down in prepare_shrink_wrap () make the code worse? >>From gcc-bugs-return-620570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 17:19:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70083 invoked by alias); 8 Nov 2018 17:19:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67591 invoked by uid 48); 8 Nov 2018 17:19:44 -0000 From: "pkoning at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87944] New: Wrong code with LRA pushing stack local variable Date: Thu, 08 Nov 2018 17:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pkoning at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00727.txt.bz2 Content-length: 1756 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87944 Bug ID: 87944 Summary: Wrong code with LRA pushing stack local variable Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: pkoning at gcc dot gnu.org Target Milestone: --- Created attachment 44977 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44977&action=3Dedit Dump file before reload I see this on pdp11, I haven't found a mainline target yet that reproduces = it. The issue is on a call that passes the address of a local variable, with arguments pushed on the stack so effectively we get a push(frame_pointer).= =20 With frame pointer elimination, that becomes push(stack_pointer). But that's not a legal instruction on this machine, and I created constrain= ts that say so. With the old reload, I see the intended result: copy SP to another register, then push that register. LRA instead adjusts the stack pointer by a word to make room for the argume= nt, then copies the stack pointer to that spot. The result is that the argumen= t is off by one word because it copied the SP after adjustment rather than generating the value before. The offending pdp11 code looks like this: add $-02,sp mov sp,(sp) jsr pc,_strlen what's wanted is something like this: mov sp,r0 mov r0,-(sp) I've seen variations of this issue in LRA; the common thread is that it doe= sn't aways account for changes in SP when calculating the SP offset for a local variable. I'll attach dump files that show the issue. The issue is with insn 12. >>From gcc-bugs-return-620571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 17:21:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81589 invoked by alias); 8 Nov 2018 17:21:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 80902 invoked by uid 48); 8 Nov 2018 17:21:02 -0000 From: "pkoning at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87944] Wrong code with LRA pushing stack local variable Date: Thu, 08 Nov 2018 17:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pkoning at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00728.txt.bz2 Content-length: 217 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87944 --- Comment #1 from pkoning at gcc dot gnu.org --- Created attachment 44978 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44978&action=3Dedit Reload dump >>From gcc-bugs-return-620572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 17:22:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106188 invoked by alias); 8 Nov 2018 17: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 102127 invoked by uid 48); 8 Nov 2018 17:22:20 -0000 From: "pkoning at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87944] Wrong code with LRA pushing stack local variable Date: Thu, 08 Nov 2018 17: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: pkoning at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00729.txt.bz2 Content-length: 225 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87944 --- Comment #2 from pkoning at gcc dot gnu.org --- Created attachment 44979 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44979&action=3Dedit Test program source >>From gcc-bugs-return-620573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 17:33:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15279 invoked by alias); 8 Nov 2018 17:33: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 12952 invoked by uid 48); 8 Nov 2018 17:33:46 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/54615] unclear documentation on -fomit-frame-pointer for -O Date: Thu, 08 Nov 2018 17:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra 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: 2018-11/txt/msg00730.txt.bz2 Content-length: 705 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54615 sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |sandra at gcc dot gnu.org Resolution|--- |WORKSFORME --- Comment #1 from sandra at gcc dot gnu.org --- The text about the interaction between -O and -fomit-frame-pointer in the discussion of both options has been rewritten since this issue was filed. = It looks like it agrees with the code: "Enabled by default at @option{-O} and higher." >>From gcc-bugs-return-620574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 17:36:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5423 invoked by alias); 8 Nov 2018 17:36: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 5373 invoked by uid 48); 8 Nov 2018 17:36:21 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/51019] unclear documentation on -fomit-frame-pointer default for -Os and different platforms Date: Thu, 08 Nov 2018 17:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.6.2 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra 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: 2018-11/txt/msg00731.txt.bz2 Content-length: 734 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51019 sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |sandra at gcc dot gnu.org Resolution|--- |WORKSFORME --- Comment #2 from sandra at gcc dot gnu.org --- Since this issue was filed, the discussion about -fomit-frame-pointer has b= een rewritten so that it no longer mentions specific releases or targets. It n= ow says "Enabled by default at @option{-O} and higher.", which matches what the code in opts.c does with it. >>From gcc-bugs-return-620575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 18:49:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22000 invoked by alias); 8 Nov 2018 18:49:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21507 invoked by uid 48); 8 Nov 2018 18:48:41 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56423] F08/0071: Shall reject invalid Vector subscript target with Pointer assignment Date: Thu, 08 Nov 2018 18: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: 4.8.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00732.txt.bz2 Content-length: 2925 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56423 G. Steinmetz changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gscfq@t-online.de --- Comment #2 from G. Steinmetz --- Update, slightly simplified : $ cat z1.f90 program p integer, target :: x(3) =3D [7, 8, 9] type t integer, pointer :: a(:) end type type(t) :: z z =3D t(x([2])) print *, z%a end $ gfortran-9-20181104 -c z1.f90 z1.f90:7:0: 7 | z =3D t(x([2])) | internal compiler error: in gfc_conv_expr_descriptor, at fortran/trans-array.c:7285 0x6d14c3 gfc_conv_expr_descriptor(gfc_se*, gfc_expr*) ../../gcc/fortran/trans-array.c:7285 0x6f2a9b gfc_trans_subcomponent_assign ../../gcc/fortran/trans-expr.c:7485 0x6f375a gfc_trans_structure_assign(tree_node*, gfc_expr*, bool, bool) ../../gcc/fortran/trans-expr.c:7824 0x6edf0f gfc_conv_structure(gfc_se*, gfc_expr*, int) ../../gcc/fortran/trans-expr.c:7891 0x6ee14c gfc_conv_expr(gfc_se*, gfc_expr*) ../../gcc/fortran/trans-expr.c:8059 0x6fc779 gfc_trans_assignment_1 ../../gcc/fortran/trans-expr.c:10248 0x6bf54f trans_code ../../gcc/fortran/trans.c:1822 0x6e6e14 gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.c:6509 0x6740a6 translate_all_program_units ../../gcc/fortran/parse.c:6125 0x6740a6 gfc_parse_file() ../../gcc/fortran/parse.c:6328 0x6bc03f gfc_be_parse_file ../../gcc/fortran/f95-lang.c:204 --- And nearby : $ cat z2.f90 program p integer, target :: x(3) =3D [7, 8, 9] type t integer, pointer :: a(:) end type type(t) :: z z =3D t(x(2)) print *, z%a end $ gfortran-9-20181104 -c z2.f90 z2.f90:7:0: 7 | z =3D t(x(2)) | internal compiler error: in gfc_conv_expr_descriptor, at fortran/trans-array.c:7090 0x6d14eb gfc_conv_expr_descriptor(gfc_se*, gfc_expr*) ../../gcc/fortran/trans-array.c:7090 0x6f2a9b gfc_trans_subcomponent_assign ../../gcc/fortran/trans-expr.c:7485 0x6f375a gfc_trans_structure_assign(tree_node*, gfc_expr*, bool, bool) ../../gcc/fortran/trans-expr.c:7824 0x6edf0f gfc_conv_structure(gfc_se*, gfc_expr*, int) ../../gcc/fortran/trans-expr.c:7891 0x6ee14c gfc_conv_expr(gfc_se*, gfc_expr*) ../../gcc/fortran/trans-expr.c:8059 0x6fc779 gfc_trans_assignment_1 ../../gcc/fortran/trans-expr.c:10248 0x6bf54f trans_code ../../gcc/fortran/trans.c:1822 0x6e6e14 gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.c:6509 0x6740a6 translate_all_program_units ../../gcc/fortran/parse.c:6125 0x6740a6 gfc_parse_file() ../../gcc/fortran/parse.c:6328 0x6bc03f gfc_be_parse_file ../../gcc/fortran/f95-lang.c:204 >>From gcc-bugs-return-620576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 18:51:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23538 invoked by alias); 8 Nov 2018 18:51: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 23365 invoked by uid 48); 8 Nov 2018 18:51:03 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87945] New: [9 Regression] ICE in var_element, at fortran/decl.c:281 Date: Thu, 08 Nov 2018 18:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00733.txt.bz2 Content-length: 1370 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87945 Bug ID: 87945 Summary: [9 Regression] ICE in var_element, at fortran/decl.c:281 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Changed recently : $ cat z1.f90 program p character :: a, b data a%len /1/ data b%kind /'b'/ end $ gfortran-9-20181104 -c z1.f90 f951: internal compiler error: Segmentation fault 0xb205df crash_signal ../../gcc/toplev.c:325 0x60299e var_element ../../gcc/fortran/decl.c:281 0x604ce4 top_var_list ../../gcc/fortran/decl.c:321 0x604ce4 gfc_match_data() ../../gcc/fortran/decl.c:598 0x66a3c1 match_word ../../gcc/fortran/parse.c:65 0x66db06 decode_statement ../../gcc/fortran/parse.c:468 0x66e72a next_free ../../gcc/fortran/parse.c:1234 0x66e72a next_statement ../../gcc/fortran/parse.c:1466 0x66fd3b parse_spec ../../gcc/fortran/parse.c:3858 0x672807 parse_progunit ../../gcc/fortran/parse.c:5671 0x673e89 gfc_parse_file() ../../gcc/fortran/parse.c:6211 0x6bc03f gfc_be_parse_file ../../gcc/fortran/f95-lang.c:204 >>From gcc-bugs-return-620577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 18:56:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29017 invoked by alias); 8 Nov 2018 18:56: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 28729 invoked by uid 48); 8 Nov 2018 18:55:45 -0000 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87946] New: [7/8/9 Regression] ICE in gfc_walk_array_ref, at fortran/trans-array.c:10506 Date: Thu, 08 Nov 2018 18:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00734.txt.bz2 Content-length: 3002 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87946 Bug ID: 87946 Summary: [7/8/9 Regression] ICE in gfc_walk_array_ref, at fortran/trans-array.c:10506 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Affects versions 7 to 9. Compiles with "type(t), allocatable :: u(:)" instead of class... $ cat z1.f90 module m type t contains generic :: h =3D> g procedure, private :: g end type contains function g(x, y) result(z) class(t), intent(in) :: x real, intent(in) :: y(:, :) real :: z(size(y, 2)) end end module m2 use m type t2 class(t), allocatable :: u(:) end type end function f(x, y) result(z) use m2 type(t2) :: x real :: y(:, :) real :: z(size(y, 2)) z =3D x%u(1)%h(y) end $ gfortran-6 -c z1.f90 $ $ gfortran-9-20181104 -c z1.f90 z1.f90:25:0: 25 | z =3D x%u(1)%h(y) | internal compiler error: Segmentation fault 0xb205df crash_signal ../../gcc/toplev.c:325 0x6ce11f gfc_walk_array_ref(gfc_ss*, gfc_expr*, gfc_ref*) ../../gcc/fortran/trans-array.c:10506 0x6cfda9 gfc_walk_expr(gfc_expr*) ../../gcc/fortran/trans-array.c:10886 0x6cfda9 gfc_conv_expr_descriptor(gfc_se*, gfc_expr*) ../../gcc/fortran/trans-array.c:7087 0x6ffb41 gfc_conv_intrinsic_size ../../gcc/fortran/trans-intrinsic.c:7144 0x71549b gfc_conv_intrinsic_function(gfc_se*, gfc_expr*) ../../gcc/fortran/trans-intrinsic.c:9754 0x6f9a54 gfc_conv_function_expr ../../gcc/fortran/trans-expr.c:6905 0x6ee0aa gfc_conv_expr(gfc_se*, gfc_expr*) ../../gcc/fortran/trans-expr.c:8039 0x6f010a gfc_apply_interface_mapping(gfc_interface_mapping*, gfc_se*, gfc_expr*) ../../gcc/fortran/trans-expr.c:4451 0x6c5d07 gfc_set_loop_bounds_from_array_spec(gfc_interface_mapping*, gfc_se= *, gfc_array_spec*) ../../gcc/fortran/trans-array.c:932 0x6f84a5 gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*, gfc_expr*, vec*) ../../gcc/fortran/trans-expr.c:6147 0x6f9a3c gfc_conv_function_expr ../../gcc/fortran/trans-expr.c:6928 0x6ee0aa gfc_conv_expr(gfc_se*, gfc_expr*) ../../gcc/fortran/trans-expr.c:8039 0x6cf080 gfc_add_loop_ss_code ../../gcc/fortran/trans-array.c:2815 0x6cfc25 gfc_conv_loop_setup(gfc_loopinfo*, locus*) ../../gcc/fortran/trans-array.c:5129 0x6fc69b gfc_trans_assignment_1 ../../gcc/fortran/trans-expr.c:10208 0x6bf54f trans_code ../../gcc/fortran/trans.c:1822 0x6e6e14 gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.c:6509 0x6740a6 translate_all_program_units ../../gcc/fortran/parse.c:6125 0x6740a6 gfc_parse_file() ../../gcc/fortran/parse.c:6328 >>From gcc-bugs-return-620578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 18:58:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 33825 invoked by alias); 8 Nov 2018 18:58:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 33719 invoked by uid 48); 8 Nov 2018 18:58:06 -0000 From: "spop at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87917] ICE in initialize_matrix_A at gcc/tree-data-ref.c:3150 Date: Thu, 08 Nov 2018 18:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: spop at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00735.txt.bz2 Content-length: 723 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87917 Sebastian Pop changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |spop at gcc dot gnu.org --- Comment #3 from Sebastian Pop --- > Sebastian - can you say if > evolution_function_is_affine_multivariate_p ({0, +, {0, +, 4}_1}_2, 1) > should really return true? You are right, {0, +, {0, +, 4}_1}_2 is not a valid affine multivariate function: only the base (not the step) should vary in an outer loop. For example, this would be an affine multivariate: {{0, +, 4}_1, +, 42}_2. >>From gcc-bugs-return-620579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 20:22:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88023 invoked by alias); 8 Nov 2018 20:22: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 87048 invoked by uid 48); 8 Nov 2018 20:21:56 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/87837] [8/9 Regression] -O2 -fsanitize=signed-integer-overflow misses overflows on x86-64 Date: Thu, 08 Nov 2018 20:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00736.txt.bz2 Content-length: 424 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87837 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #11 from Jakub Jelinek --- Fixed. >>From gcc-bugs-return-620580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 20:35:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18968 invoked by alias); 8 Nov 2018 20:35: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 18864 invoked by uid 48); 8 Nov 2018 20:34:59 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/43105] Document restrictions on mixing -fno-rtti and -frtti Date: Thu, 08 Nov 2018 20:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.4.1 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00737.txt.bz2 Content-length: 552 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D43105 sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sandra at gcc dot gnu.org --- Comment #4 from sandra at gcc dot gnu.org --- It sounds to me like the right solution here is just to add a vague warning that mixing -frtti and -fno-rtti code may not always work, citing the base class example in the issue problem statement. WDYT? >>From gcc-bugs-return-620581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 20:40:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25798 invoked by alias); 8 Nov 2018 20:40: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 25705 invoked by uid 48); 8 Nov 2018 20:40:08 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87902] [9 Regression] Shrink-wrapping multiple conditions Date: Thu, 08 Nov 2018 20:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00738.txt.bz2 Content-length: 433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87902 --- Comment #4 from Segher Boessenkool --- All instructions that depend on the new registers can start later, too, if you move all new registers down. If you move copies from hard registers down it is much worse: you are extending the lifetime of those hard regs so that nothing else can live there, but more likely, it will have to be spilled even. >>From gcc-bugs-return-620582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 20:58:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74177 invoked by alias); 8 Nov 2018 20:58:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74095 invoked by uid 48); 8 Nov 2018 20:58:08 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87269] [9 Regression] ICE in tsubst_copy, at cp/pt.c:15475 starting from r261802 Date: Thu, 08 Nov 2018 20:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00739.txt.bz2 Content-length: 151 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87269 --- Comment #5 from Nathan Sidwell --- Martin, this isn't icing now. >>From gcc-bugs-return-620583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 21:01:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78525 invoked by alias); 8 Nov 2018 21:01: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 78370 invoked by uid 48); 8 Nov 2018 21:01:00 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87814] [9 Regression] ICE in in tsubst_copy, at cp/pt.c:15962 with range-v3 Date: Thu, 08 Nov 2018 21:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00740.txt.bz2 Content-length: 1367 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87814 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nathan at gcc dot gnu.org --- Comment #3 from Nathan Sidwell --- This is ICEing, but not in tsubst_copy: 87814.ii:19:8: internal compiler error: Segmentation fault 19 | struct adaptor_cursor : compressed_tuple_ { | ^~~~~~~~~~~~~~ 0xb08b4f crash_signal ../../../src/gcc/toplev.c:325 0x5ac177 standard_conversion ../../../src/gcc/cp/call.c:1122 0x5b226b implicit_conversion ../../../src/gcc/cp/call.c:1860 0x5af991 perform_implicit_conversion_flags(tree_node*, tree_node*, int, int) ../../../src/gcc/cp/call.c:10909 0x61d8be build_noexcept_spec(tree_node*, int) ../../../src/gcc/cp/except.c:1198 0x6a65d2 maybe_instantiate_noexcept(tree_node*, int) ../../../src/gcc/cp/pt.c:23802 0x5f5a2c start_preparsed_function(tree_node*, tree_node*, int) ../../../src/gcc/cp/decl.c:15430 0x63a6c1 synthesize_method(tree_node*) ../../../src/gcc/cp/method.c:913 0x6adaed instantiate_decl(tree_node*, bool, bool) ../../../src/gcc/cp/pt.c:24198 0x5ce05b instantiate_cx_fn_r >>From gcc-bugs-return-620584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 21:02:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85543 invoked by alias); 8 Nov 2018 21:02: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 85489 invoked by uid 48); 8 Nov 2018 21:02:05 -0000 From: "nathan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87137] [8/9 Regression] Non-virtual member function increases struct size Date: Thu, 08 Nov 2018 21:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: ABI, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: nathan at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00741.txt.bz2 Content-length: 450 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87137 Nathan Sidwell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #15 from Nathan Sidwell --- I forgot to mark this fixed. >>From gcc-bugs-return-620585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 21:05:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90097 invoked by alias); 8 Nov 2018 21:05:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 90019 invoked by uid 48); 8 Nov 2018 21:04:55 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87814] [9 Regression] ICE in in tsubst_copy, at cp/pt.c:15962 with range-v3 Date: Thu, 08 Nov 2018 21:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00742.txt.bz2 Content-length: 1241 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87814 --- Comment #4 from Marek Polacek --- I actually still see an ICE in tsubst_copy: h.C: In instantiation of =E2=80=98constexpr adaptor_cursor::adaptor_cursor(= Args&& ...) [with Args =3D {int*}][inherited from compressed_tuple_]=E2=80=99: h.C:24:43: required from here h.C:20:30: internal compiler error: in tsubst_copy, at cp/pt.c:16090 20 | using compressed_tuple_::compressed_tuple_; | ^~~~~~~~~~~~~~~~~ 0x80b870 tsubst_copy /home/mpolacek/src/gcc/gcc/cp/pt.c:16090 0xa3cbc2 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, boo= l, bool) /home/mpolacek/src/gcc/gcc/cp/pt.c:19160 0xa4286b tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, boo= l, bool) /home/mpolacek/src/gcc/gcc/cp/pt.c:17862 0xa4286b tsubst_exception_specification /home/mpolacek/src/gcc/gcc/cp/pt.c:14231 0xa509b4 regenerate_decl_from_template /home/mpolacek/src/gcc/gcc/cp/pt.c:23584 0xa509b4 instantiate_decl(tree_node*, bool, bool) /home/mpolacek/src/gcc/gcc/cp/pt.c:24154 0x8e74c9 instantiate_cx_fn_r /home/mpolacek/src/gcc/gcc/cp/constexpr.c:4944 >>From gcc-bugs-return-620586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 22:03:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 119025 invoked by alias); 8 Nov 2018 22:03:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118989 invoked by uid 55); 8 Nov 2018 22:03:10 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBvdGhlci8zNjU3Ml0gRG9jdW1lbnRhdGlvbiBmb3Igc29tZSBvcHRp?= =?UTF-8?B?b25zIHN0YXJ0aW5nIHdpdGgg4oCcbm8t4oCdIG5vdCBjbGVhcg==?= Date: Thu, 08 Nov 2018 22:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 4.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: sandra at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00743.txt.bz2 Content-length: 530 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D36572 --- Comment #1 from sandra at gcc dot gnu.org --- Author: sandra Date: Thu Nov 8 22:02:38 2018 New Revision: 265939 URL: https://gcc.gnu.org/viewcvs?rev=3D265939&root=3Dgcc&view=3Drev Log: 2018-11-08 Sandra Loosemore PR other/36572 gcc/ * doc/invoke.texi (Optimize Options): Clarify default behavior for -fno-sched-interblock and -fno-sched-spec. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/invoke.texi >>From gcc-bugs-return-620587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 22:06:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 568 invoked by alias); 8 Nov 2018 22:06:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 510 invoked by uid 48); 8 Nov 2018 22:06:13 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBvdGhlci8zNjU3Ml0gRG9jdW1lbnRhdGlvbiBmb3Igc29tZSBvcHRp?= =?UTF-8?B?b25zIHN0YXJ0aW5nIHdpdGgg4oCcbm8t4oCdIG5vdCBjbGVhcg==?= Date: Thu, 08 Nov 2018 22:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 4.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: sandra 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: 2018-11/txt/msg00744.txt.bz2 Content-length: 487 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D36572 sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |sandra at gcc dot gnu.org Resolution|--- |FIXED --- Comment #2 from sandra at gcc dot gnu.org --- Fixed (finally) on trunk. >>From gcc-bugs-return-620588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 22:22:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24917 invoked by alias); 8 Nov 2018 22:22:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24877 invoked by uid 48); 8 Nov 2018 22:22:35 -0000 From: "comm+gnu at squotd dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87947] New: Symbol Does Not Appear in Object File Date: Thu, 08 Nov 2018 22:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: comm+gnu at squotd dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00745.txt.bz2 Content-length: 2080 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87947 Bug ID: 87947 Summary: Symbol Does Not Appear in Object File Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: comm+gnu at squotd dot net Target Milestone: --- A symbol is not exposed in cirucumstances where it seems it should be, and = is exposed in version 6.3.0 (and clang 7.0.0, fwiw). $ gcc --save-temps -std=3Dc++17 -c symbol.cpp=20 $ cat symbol.ii=20 # 1 "symbol.cpp" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "symbol.cpp" struct A { static constexpr auto foobar =3D 0; }; constexpr int A::foobar; $ nm symbol.o=20 $=20 The expected behavior is that A::foobar is exposed as a symbol. Note that -std=3Dc++17 is required to duplicate this. The same thing done with 6.3.0 results in this. $ nm symbol.o=20 0000000000000000 R _ZN1A6foobarE Version information is as follows. $ gcc -v=20 Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --prefix=3D/usr --libdir=3D/u= sr/lib --libexecdir=3D/usr/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/in= fo --with-bugurl=3Dhttps://bugs.archlinux.org/ --enable-languages=3Dc,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=3Dposix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=3Dgnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=3Dgnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=3Drelease --enable-default-pie --enable-default-ssp --enable-cet=3Dauto Thread model: posix gcc version 8.2.1 20180831 (GCC) >>From gcc-bugs-return-620589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 22:38:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55871 invoked by alias); 8 Nov 2018 22:38:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55807 invoked by uid 48); 8 Nov 2018 22:38:46 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87931] [9 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:6193 since r265876 Date: Thu, 08 Nov 2018 22:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00746.txt.bz2 Content-length: 810 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87931 David Binderman changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcb314 at hotmail dot com --- Comment #2 from David Binderman --- Might be related to this: =3D=3D6494=3D=3DERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ffcf43dbd58 at pc 0x000002cfffdd bp 0x7ffcf43da650 sp 0x7ffcf43da648 READ of size 8 at 0x7ffcf43dbd58 thread T0 #0 0x2cfffdc in vectorizable_reduction(_stmt_vec_info*, gimple_stmt_iterator*, _stmt_vec_info**, _slp_tree*, _slp_instance*, vec*) ../../trunk/gcc/tree-vect-loop.c:6485 >>From gcc-bugs-return-620590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 22:40:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61937 invoked by alias); 8 Nov 2018 22:40: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 61731 invoked by uid 55); 8 Nov 2018 22:40:36 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87600] Fix for PRs 86939 and 87479 causes build issues for several targets Date: Thu, 08 Nov 2018 22:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00747.txt.bz2 Content-length: 948 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87600 --- Comment #6 from Peter Bergner --- Author: bergner Date: Thu Nov 8 22:39:45 2018 New Revision: 265942 URL: https://gcc.gnu.org/viewcvs?rev=3D265942&root=3Dgcc&view=3Drev Log: gcc/ PR rtl-optimization/87600 * cfgexpand.c (expand_asm_stmt): Catch illegal asm constraint usage. * lra-constraints.c (process_alt_operands): Skip illegal hard register usage. Prefer reloading non hard register operands. gcc/testsuite/ PR rtl-optimization/87600 * gcc.dg/pr87600.h: New file. * gcc.dg/pr87600-1.c: New test. * gcc.dg/pr87600-2.c: Likewise. Added: trunk/gcc/testsuite/gcc.dg/pr87600-1.c trunk/gcc/testsuite/gcc.dg/pr87600-2.c trunk/gcc/testsuite/gcc.dg/pr87600.h Modified: trunk/gcc/ChangeLog trunk/gcc/cfgexpand.c trunk/gcc/lra-constraints.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-620591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 08 22:46:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70222 invoked by alias); 8 Nov 2018 22: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 69955 invoked by uid 48); 8 Nov 2018 22:45:59 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87600] Fix for PRs 86939 and 87479 causes build issues for several targets Date: Thu, 08 Nov 2018 22:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00748.txt.bz2 Content-length: 548 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87600 Peter Bergner changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Peter Bergner --- Ok, I think this resolves all but one ARM issue which is being tracked in PR87899, so I'm going to mark this bugzilla as fixed. >>From gcc-bugs-return-620592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 00:49:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11775 invoked by alias); 9 Nov 2018 00:49:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11737 invoked by uid 48); 9 Nov 2018 00:49:08 -0000 From: "meissner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87948] New: LRA register allocator does not support HARD_REGNO_CALLER_SAVE_MODE returning VOIDmode Date: Fri, 09 Nov 2018 00:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: meissner at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00749.txt.bz2 Content-length: 4415 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87948 Bug ID: 87948 Summary: LRA register allocator does not support HARD_REGNO_CALLER_SAVE_MODE returning VOIDmode Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: meissner at gcc dot gnu.org Target Milestone: --- The documentation for HARD_REGNO_CALLER_SAVE_MODE states: @defmac HARD_REGNO_CALLER_SAVE_MODE (@var{regno}, @var{nregs}) A C expression specifying which mode is required for saving @var{nregs} of a pseudo-register in call-clobbered hard register @var{regno}. If @var{regno} is unsuitable for caller save, @code{VOIDmode} should be returned. For most machines this macro need not be defined since GCC will select the smallest suitable mode. @end defmac I was trying to prevent the GCC compiler from saving and restoring CR regis= ters across calls, so I defined HARD_REGNO_CALLER_SAVE_MODE as: /* When setting up caller-save slots (MODE =3D=3D VOIDmode) ensure we alloc= ate=20=20=20=20=20=20 enough space to account for vectors in FP regs. However, TFmode/TDmode= =20=20=20=20=20=20 should not use VSX instructions to do a caller save. Return VOIDmode=20= =20=20=20=20=20=20=20 for the CR registers so that we don't try to save them across calls. */ #define HARD_REGNO_CALLER_SAVE_MODE(REGNO, NREGS, MODE) \ (CR_REGNO_P (REGNO) \ ? VOIDmode \ : (NREGS) <=3D rs6000_hard_regno_nregs[MODE][REGNO] \ ? (MODE) \ : TARGET_VSX \ && ((MODE) =3D=3D VOIDmode || ALTIVEC_OR_VSX_VECTOR_MODE (MODE)) = \ && FP_REGNO_P (REGNO) \ ? V2DFmode \ : FLOAT128_IBM_P (MODE) && FP_REGNO_P (REGNO) \ ? DFmode \ : (MODE) =3D=3D TDmode && FP_REGNO_P (REGNO) = \ ? DImode \ : choose_hard_reg_mode ((REGNO), (NREGS), false)) However, when I try to build the compiler (without bootstrap initially), I = get the following error: during RTL pass: reload /home/meissner/fsf-src/test/libbacktrace/elf.c: In function 'elf_add': /home/meissner/fsf-src/test/libbacktrace/elf.c:3211:1: internal compiler er= ror: in lra_create_new_reg_with_unique_value, at lra.c:189 3211 | } | ^ 0x107bba3f lra_create_new_reg_with_unique_value(machine_mode, rtx_def*, reg_class, char const*) /home/meissner/fsf-src/test/gcc/lra.c:189 0x107bbabf lra_create_new_reg(machine_mode, rtx_def*, reg_class, char const= *) /home/meissner/fsf-src/test/gcc/lra.c:229 0x107ce00b split_reg /home/meissner/fsf-src/test/gcc/lra-constraints.c:5566 0x107d5aa3 inherit_in_ebb /home/meissner/fsf-src/test/gcc/lra-constraints.c:6568 0x107d5aa3 lra_inheritance() /home/meissner/fsf-src/test/gcc/lra-constraints.c:6639 0x107c0f37 lra(_IO_FILE*) /home/meissner/fsf-src/test/gcc/lra.c:2486 0x1075abeb do_reload /home/meissner/fsf-src/test/gcc/ira.c:5469 0x1075abeb execute /home/meissner/fsf-src/test/gcc/ira.c:5653 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Makefile:820: recipe for target 'elf.lo' failed make[3]: *** [elf.lo] Error 1 make[3]: Leaving directory '/home/meissner/fsf-build-ppc64le/test/powerpc64le-unknown-linux-gnu/libbac= ktrace' Makefile:700: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/home/meissner/fsf-build-ppc64le/test/powerpc64le-unknown-linux-gnu/libbac= ktrace' Makefile:13084: recipe for target 'all-target-libbacktrace' failed make[1]: *** [all-target-libbacktrace] Error 2 make[1]: Leaving directory '/home/meissner/fsf-build-ppc64le/test' Makefile:939: recipe for target 'all' failed make: *** [all] Error 2 >>From gcc-bugs-return-620593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 00:59:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125882 invoked by alias); 9 Nov 2018 00:59: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 125811 invoked by uid 48); 9 Nov 2018 00:59:40 -0000 From: "meissner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87949] New: PowerPC saves CR registers across calls Date: Fri, 09 Nov 2018 00: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: meissner at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00750.txt.bz2 Content-length: 1307 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87949 Bug ID: 87949 Summary: PowerPC saves CR registers across calls Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: meissner at gcc dot gnu.org Target Milestone: --- While there are 3 saved CR registers (CR2, CR3, CR4) in the PowerPC, we rea= lly, really, really should not be saving CR values across calls due to the amoun= t of time it takes to save and restore these registers. This shows up in the Spec 2006 perlbench benchmark where the hot function (S_regmatch in regexep.c) saves all 3 CRs at the function prologue, and has= to restore these registers at the epilog. It also shows up in the gamess benchmark (which is where I found it in doing some future code). Note only do functions in gamess save all 3 CR register= s, at least one function decides to use caller saves to save a 4th CR register across a call. I'm not sure whether this is a target feature or a machine independent feat= ure at this point. My first attempt at fixing it via HARD_REGNO_CALLER_SAVE_MO= DE fails due to LRA not supporting it returning VOIDmode (PR 87948). >>From gcc-bugs-return-620594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 01:10:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16330 invoked by alias); 9 Nov 2018 01:10:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14097 invoked by uid 48); 9 Nov 2018 01:10:24 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87947] Symbol Does Not Appear in Object File Date: Fri, 09 Nov 2018 01:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00751.txt.bz2 Content-length: 1022 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87947 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Jonathan Wakely --- (In reply to comm+gnu from comment #0) > The expected behavior is that A::foobar is exposed as a symbol. Note that > -std=3Dc++17 is required to duplicate this. Your expectation is wrong. In C++17 the static data member is implicitly "inline" which means a definition is only emitted when it's odr-used (and t= he namespace scope definition is redundant, and deprecated). GCC 6.x does not implement the C++17 rule, so still emits the symbol. If you need to ensure a definition is emitted in a given object file either compile it as C++14, or mark it as used: [[gnu::used]] constexpr int A::foobar; >>From gcc-bugs-return-620595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 01:12:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21784 invoked by alias); 9 Nov 2018 01:12: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 21727 invoked by uid 48); 9 Nov 2018 01:12:08 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/43105] Document restrictions on mixing -fno-rtti and -frtti Date: Fri, 09 Nov 2018 01: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: 4.4.1 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00752.txt.bz2 Content-length: 134 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D43105 --- Comment #5 from Jonathan Wakely --- Works for me. >>From gcc-bugs-return-620596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 01:14:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24461 invoked by alias); 9 Nov 2018 01:14:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24309 invoked by uid 48); 9 Nov 2018 01:14:17 -0000 From: "meissner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87949] PowerPC saves CR registers across calls Date: Fri, 09 Nov 2018 01:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: meissner at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00753.txt.bz2 Content-length: 526 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87949 --- Comment #1 from Michael Meissner --- Created attachment 44980 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44980&action=3Dedit Fortran file showing problem from gamess Compile this file with the '-Ofast -g -S -std=3Dlegacy -mcpu=3Dpower9' opti= ons. In the assembly file, at line 1262, there is a store from a MFCR instructio= n to save a CR register, and on line 1381 there is a load and a MTCRF instructio= n to restore it. >>From gcc-bugs-return-620597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 01:16:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28594 invoked by alias); 9 Nov 2018 01:16: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 28476 invoked by uid 48); 9 Nov 2018 01:16:04 -0000 From: "meissner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87949] PowerPC saves CR registers across calls Date: Fri, 09 Nov 2018 01:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: meissner at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00754.txt.bz2 Content-length: 446 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87949 --- Comment #2 from Michael Meissner --- Created attachment 44981 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44981&action=3Dedit Bzip2 assembly file from the fortran source In the assembly file, at line 1262, there is a store from a MFCR instructio= n to save a CR register, and on line 1381 there is a load and a MTCRF instructio= n to restore it. >>From gcc-bugs-return-620598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 01:17:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29966 invoked by alias); 9 Nov 2018 01:17: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 29874 invoked by uid 48); 9 Nov 2018 01:16:59 -0000 From: "meissner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87948] LRA register allocator does not support HARD_REGNO_CALLER_SAVE_MODE returning VOIDmode Date: Fri, 09 Nov 2018 01:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: meissner at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00755.txt.bz2 Content-length: 229 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87948 --- Comment #1 from Michael Meissner --- I entered bug 87949 as the bug I was trying to fix when I encountered the HARD_REGNO_CALLER_SAVE issue. >>From gcc-bugs-return-620599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 02:28:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85258 invoked by alias); 9 Nov 2018 02:28: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 85140 invoked by uid 48); 9 Nov 2018 02:28:29 -0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87949] PowerPC saves CR registers across calls Date: Fri, 09 Nov 2018 02:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00756.txt.bz2 Content-length: 452 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87949 --- Comment #3 from Peter Bergner --- What do you think we can do about that? The call clobbers the ABI defined non-volatile CR regs, so we have to save/restore them. I don't think we ha= ve any other option, other than telling GCC to never use the non-volatile CR r= egs so they never have to be saved/restored. Does using -ffixed-cr2 -ffixed-cr3 -ffixed-cr4 help? >>From gcc-bugs-return-620600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 02:46:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89841 invoked by alias); 9 Nov 2018 02:46:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 89779 invoked by uid 55); 9 Nov 2018 02:46:38 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/78351] comma not terminating READ of formatted input field - ok in 4.1.7, not 4.4.7- maybe related to 25419? Date: Fri, 09 Nov 2018 02:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.4.7 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00757.txt.bz2 Content-length: 708 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78351 --- Comment #24 from Jerry DeLisle --- Author: jvdelisle Date: Fri Nov 9 02:46:03 2018 New Revision: 265946 URL: https://gcc.gnu.org/viewcvs?rev=3D265946&root=3Dgcc&view=3Drev Log: 2018-11-08 Jerry DeLisle PR libfortran/78351 * io/transfer.c (read_sf_internal): Add support for early comma termination of internal unit formatted reads. * gfortran.dg/read_legacy_comma.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/read_legacy_comma.f90 Modified: trunk/gcc/testsuite/ChangeLog trunk/libgfortran/ChangeLog trunk/libgfortran/io/transfer.c >>From gcc-bugs-return-620601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 03:06:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128356 invoked by alias); 9 Nov 2018 03:06: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 128276 invoked by uid 48); 9 Nov 2018 03:05:58 -0000 From: "vlovich at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87950] New: GCC warns about reaching end of non-void function when all switch is completely handled Date: Fri, 09 Nov 2018 03:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vlovich at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00758.txt.bz2 Content-length: 1954 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87950 Bug ID: 87950 Summary: GCC warns about reaching end of non-void function when all switch is completely handled Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: vlovich at gmail dot com Target Milestone: --- Noticed this for a while. If a function has a single switch statement that handles all enum values & returns a value GCC will warn about the function = not returning a value whereas clang does not. GCC requires an explicit __builtin_unreachable() annotation after the switch. Maybe it's an intentio= nal disagreement over how to interpret the spec? AFAICT via objdump the generat= ed assembly is identical between clang & GCC even when compiled with optimizations. > cat test.c enum Enum { A, B, }; int CoverMyBases(enum Enum x) { switch (x) { case A: return 1; case B: return 0; } } int main(int argc, const char **argv) { CoverMyBases(A); CoverMyBases(B); return 0; } > gcc-8 -Wall test.c test.c: In function 'CoverMyBases': test.c:16:1: warning: control reaches end of non-void function [-Wreturn-ty= pe] } ^ > clang -Wall test.c > gcc-8 --version gcc-8 (Homebrew GCC 8.2.0) 8.2.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > clang --version Apple LLVM version 10.0.0 (clang-1000.11.45.2) Target: x86_64-apple-darwin17.7.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch= ain/usr/bin This applies to both C & C++. >>From gcc-bugs-return-620602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 03:23:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70992 invoked by alias); 9 Nov 2018 03:23: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 67573 invoked by uid 48); 9 Nov 2018 03:23:28 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled Date: Fri, 09 Nov 2018 03: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00759.txt.bz2 Content-length: 539 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87950 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski --- In C, enum valid value range is the full int range. So all switch cases are not being handled even for valid C code. >>From gcc-bugs-return-620603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 03:39:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53528 invoked by alias); 9 Nov 2018 03:39: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 53476 invoked by uid 48); 9 Nov 2018 03:39:16 -0000 From: "vlovich at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled Date: Fri, 09 Nov 2018 03:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vlovich at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00760.txt.bz2 Content-length: 202 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87950 --- Comment #2 from Vitali --- Why has clang made a different decision? Also, this warning is present in C= ++ code too. >>From gcc-bugs-return-620604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 03:39:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54418 invoked by alias); 9 Nov 2018 03:39: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 54380 invoked by uid 48); 9 Nov 2018 03:39:45 -0000 From: "vlovich at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled Date: Fri, 09 Nov 2018 03:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vlovich at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00761.txt.bz2 Content-length: 422 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87950 Vitali changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |--- --- Comment #3 from Vitali --- Follow-up comment. >>From gcc-bugs-return-620605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 04:21:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6661 invoked by alias); 9 Nov 2018 04:21: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 6601 invoked by uid 48); 9 Nov 2018 04:21:35 -0000 From: "hoganmeier at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/12849] testing divisibility by constant Date: Fri, 09 Nov 2018 04:21: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: 3.3.2 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: hoganmeier at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00762.txt.bz2 Content-length: 440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D12849 krux changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hoganmeier at gmail dot com --- Comment #5 from krux --- Should be fixed in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82853 >>From gcc-bugs-return-620606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 04:28:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12671 invoked by alias); 9 Nov 2018 04:28: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 12625 invoked by uid 48); 9 Nov 2018 04:28:20 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled Date: Fri, 09 Nov 2018 04: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00763.txt.bz2 Content-length: 2685 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87950 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #4 from Andrew Pinski --- (In reply to Vitali from comment #2) > Why has clang made a different decision? Also, this warning is present in > C++ code too. You need to ask clang why they made that decision. C rules are clear about value ranges of enums and all. In C++, (unlike C), out of ranges are just unspecified rather than undefine= d. This means the warning is correct too. NOTE there is a big difference betw= een the three: implmenentation defined, undefined and unspecified behaviors. implmenentation defined is behavior that needs to be documented. Undefined behavior means the behavior can be different at different runs. unspecified behaviors means the behavior does not need to be documented but it has to be constitiant between runs. So there is no bug here again. See PR12242 also about a warning for the unspecified behavior when doing the conversion; NOTE it is not undefined which is different. See also https://gcc.gnu.org/ml/gcc-patches/2010-04/msg01694.html . Also see PR 53479 for the C++ side of the warning too (for enum classes). --- Comment #5 from Andrew Pinski --- (In reply to Vitali from comment #2) > Why has clang made a different decision? Also, this warning is present in > C++ code too. You need to ask clang why they made that decision. C rules are clear about value ranges of enums and all. In C++, (unlike C), out of ranges are just unspecified rather than undefine= d. This means the warning is correct too. NOTE there is a big difference betw= een the three: implmenentation defined, undefined and unspecified behaviors. implmenentation defined is behavior that needs to be documented. Undefined behavior means the behavior can be different at different runs. unspecified behaviors means the behavior does not need to be documented but it has to be constitiant between runs. So there is no bug here again. See PR12242 also about a warning for the unspecified behavior when doing the conversion; NOTE it is not undefined which is different. See also https://gcc.gnu.org/ml/gcc-patches/2010-04/msg01694.html . Also see PR 53479 for the C++ side of the warning too (for enum classes). >>From gcc-bugs-return-620607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 04:28:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12685 invoked by alias); 9 Nov 2018 04:28: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 12622 invoked by uid 48); 9 Nov 2018 04:28:20 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled Date: Fri, 09 Nov 2018 04: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00764.txt.bz2 Content-length: 2685 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87950 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #4 from Andrew Pinski --- (In reply to Vitali from comment #2) > Why has clang made a different decision? Also, this warning is present in > C++ code too. You need to ask clang why they made that decision. C rules are clear about value ranges of enums and all. In C++, (unlike C), out of ranges are just unspecified rather than undefine= d. This means the warning is correct too. NOTE there is a big difference betw= een the three: implmenentation defined, undefined and unspecified behaviors. implmenentation defined is behavior that needs to be documented. Undefined behavior means the behavior can be different at different runs. unspecified behaviors means the behavior does not need to be documented but it has to be constitiant between runs. So there is no bug here again. See PR12242 also about a warning for the unspecified behavior when doing the conversion; NOTE it is not undefined which is different. See also https://gcc.gnu.org/ml/gcc-patches/2010-04/msg01694.html . Also see PR 53479 for the C++ side of the warning too (for enum classes). --- Comment #5 from Andrew Pinski --- (In reply to Vitali from comment #2) > Why has clang made a different decision? Also, this warning is present in > C++ code too. You need to ask clang why they made that decision. C rules are clear about value ranges of enums and all. In C++, (unlike C), out of ranges are just unspecified rather than undefine= d. This means the warning is correct too. NOTE there is a big difference betw= een the three: implmenentation defined, undefined and unspecified behaviors. implmenentation defined is behavior that needs to be documented. Undefined behavior means the behavior can be different at different runs. unspecified behaviors means the behavior does not need to be documented but it has to be constitiant between runs. So there is no bug here again. See PR12242 also about a warning for the unspecified behavior when doing the conversion; NOTE it is not undefined which is different. See also https://gcc.gnu.org/ml/gcc-patches/2010-04/msg01694.html . Also see PR 53479 for the C++ side of the warning too (for enum classes). >>From gcc-bugs-return-620608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 04:34:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18598 invoked by alias); 9 Nov 2018 04:34: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 18481 invoked by uid 48); 9 Nov 2018 04:34:36 -0000 From: "vlovich at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled Date: Fri, 09 Nov 2018 04:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vlovich at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00765.txt.bz2 Content-length: 641 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87950 Vitali changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |--- --- Comment #6 from Vitali --- Actually as of C++17 it's undefined behaviour. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1766 so at the very least when compiled with C++17 the compiler should be smart enough to strengthen the control flow analysis. >>From gcc-bugs-return-620609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 04:41:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25591 invoked by alias); 9 Nov 2018 04:41: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 25551 invoked by uid 48); 9 Nov 2018 04:41:07 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled Date: Fri, 09 Nov 2018 04:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00766.txt.bz2 Content-length: 472 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87950 --- Comment #7 from Andrew Pinski --- (In reply to Vitali from comment #6) > Actually as of C++17 it's undefined behaviour. >=20 > http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1766 >=20 > so at the very least when compiled with C++17 the compiler should be smart > enough to strengthen the control flow analysis. Open a C++ bug then rather than reusing a C bug report ... >>From gcc-bugs-return-620610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 04:46:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 31232 invoked by alias); 9 Nov 2018 04:46:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30974 invoked by uid 48); 9 Nov 2018 04:45:50 -0000 From: "vlovich at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87951] New: GCC warns about reaching end of non-void function when all switch is completely handled Date: Fri, 09 Nov 2018 04:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vlovich at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00767.txt.bz2 Content-length: 1544 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87951 Bug ID: 87951 Summary: GCC warns about reaching end of non-void function when all switch is completely handled Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vlovich at gmail dot com Target Milestone: --- If a function has a single switch statement that handles all enum values & returns a value GCC will warn about the function not returning a value wher= eas clang does not. GCC requires an explicit __builtin_unreachable() annotation after the switch. As of C++17 it seems to now be undefined behaviour rather than unspecified behaviour for an enum to have a value that's not enumerate= d. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1766 > cat test.c enum Enum { A, B, }; int CoverMyBases(enum Enum x) { switch (x) { case A: return 1; case B: return 0; } } int main(int argc, const char **argv) { CoverMyBases(A); CoverMyBases(B); return 0; } > g++-8 -Wall --std=3Dc++17 test.c test.c: In function 'CoverMyBases': test.c:16:1: warning: control reaches end of non-void function [-Wreturn-ty= pe] } ^ > clang++ -std=3Dc++17 -Wall test.c NOTE: Clang never warns about this even prior to C++17 or in C either. >>From gcc-bugs-return-620611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 06:40:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51187 invoked by alias); 9 Nov 2018 06:40: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 51119 invoked by uid 48); 9 Nov 2018 06:40:30 -0000 From: "narut.se at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87952] New: Missed optimization for std::get_if on std::variant Date: Fri, 09 Nov 2018 06:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: narut.se at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00768.txt.bz2 Content-length: 1536 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87952 Bug ID: 87952 Summary: Missed optimization for std::get_if on std::variant Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: narut.se at gmail dot com Target Milestone: --- Here is the sample code: #include int test(std::variant &v) { return *std::get_if(&v); } gcc generates (on x86-64): test(std::variant&): cmp BYTE PTR [rdi+4], 0 jne .L2 mov eax, DWORD PTR [rdi] ret test(std::variant&) [clone .cold]: .L2: mov eax, DWORD PTR ds:0 ud2 It seems like the undefined behavior branch can be optimized away leaving (= as clang does): test(std::variant&): # @test(std::variant&) mov eax, dword ptr [rdi] ret The reason this is useful is that if I know ahead of time (but the compiler can't prove) that the variant holds a certain alternative, calling get_if t= his way will provide no overhead access to the alternative. (The standard doesn= 't allow this kind of access for std::get.) Since dereferencing the null point= er (as would happen if the variant didn't hold the alternative) is undefined behavior anyway, we could optimize it away and assume that the alternative = is valid. >>From gcc-bugs-return-620612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 08:01:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30392 invoked by alias); 9 Nov 2018 08:01: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 30173 invoked by uid 48); 9 Nov 2018 08:01:02 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87928] [7/8/9 Regression] ICE in ix86_compute_frame_layout, at config/i386/i386.c:11161 since r228607 Date: Fri, 09 Nov 2018 08:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00769.txt.bz2 Content-length: 582 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87928 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64 Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail do= t com --- Comment #5 from Uro=C5=A1 Bizjak --- Patch at [1]. [1] https://gcc.gnu.org/ml/gcc-patches/2018-11/msg00679.html >>From gcc-bugs-return-620613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 08:09:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36937 invoked by alias); 9 Nov 2018 08:09: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 36861 invoked by uid 48); 9 Nov 2018 08:09:14 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87269] [9 Regression] ICE in tsubst_copy, at cp/pt.c:15475 starting from r261802 Date: Fri, 09 Nov 2018 08:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.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: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00770.txt.bz2 Content-length: 220 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87269 --- Comment #6 from Martin Li=C5=A1ka --- I can still see it iceing: https://godbolt.org/z/tvHnzW Can you please also try the duplicate? >>From gcc-bugs-return-620614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 08:16:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48878 invoked by alias); 9 Nov 2018 08:16: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 48816 invoked by uid 48); 9 Nov 2018 08:16:37 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled Date: Fri, 09 Nov 2018 08:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00771.txt.bz2 Content-length: 602 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87950 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org --- Comment #8 from Martin Li=C5=A1ka --- Thank you Andrew for clarification of the behavior. Apparently it's quite common question. One note that I have about C behavior is that we can maybe also add -fstrict-enums to behave the same as in C++. Thoughts? >>From gcc-bugs-return-620615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 08:18:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51394 invoked by alias); 9 Nov 2018 08:18:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51313 invoked by uid 48); 9 Nov 2018 08:18:39 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled Date: Fri, 09 Nov 2018 08: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on cc see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00772.txt.bz2 Content-length: 909 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87951 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2018-11-9 CC| |jason at gcc dot gnu.org, | |marxin at gcc dot gnu.org, | |redi at gcc dot gnu.org See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D87950 --- Comment #1 from Martin Li=C5=A1ka --- >=20 > http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1766 >=20 Can you please Jason and Jonathan comment about it? Can we strengthen behav= ior? >>From gcc-bugs-return-620616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 08:20:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53628 invoked by alias); 9 Nov 2018 08:20: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 53500 invoked by uid 48); 9 Nov 2018 08:20:15 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled Date: Fri, 09 Nov 2018 08:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00773.txt.bz2 Content-length: 397 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87951 --- Comment #2 from Martin Li=C5=A1ka --- One more comment here. I do cooperate with our openSUSE maintainer of Chrom= ium package and they have quite some of these warnings when building with GCC. I told him he can strengthen behavior with -fstrict-enums option. Once we did that the package crashes during build. >>From gcc-bugs-return-620617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 08:21:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55452 invoked by alias); 9 Nov 2018 08:21: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 55324 invoked by uid 48); 9 Nov 2018 08:21:00 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled Date: Fri, 09 Nov 2018 08:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00774.txt.bz2 Content-length: 538 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87950 --- Comment #9 from Andrew Pinski --- (In reply to Martin Li=C5=A1ka from comment #8) > Thank you Andrew for clarification of the behavior. Apparently it's quite > common question. One note that I have about C behavior is that we can may= be > also add -fstrict-enums to behave the same as in C++. Thoughts? No, we try not to add extensions which change well defined behavior to be undefined behavior. Adding -fstrict-enums for C would cause just that. >>From gcc-bugs-return-620618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 08:25:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 60774 invoked by alias); 9 Nov 2018 08:25: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 60444 invoked by uid 48); 9 Nov 2018 08:24:59 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled Date: Fri, 09 Nov 2018 08:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00775.txt.bz2 Content-length: 743 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87950 --- Comment #10 from Martin Li=C5=A1ka --- (In reply to Andrew Pinski from comment #9) > (In reply to Martin Li=C5=A1ka from comment #8) > > Thank you Andrew for clarification of the behavior. Apparently it's qui= te > > common question. One note that I have about C behavior is that we can m= aybe > > also add -fstrict-enums to behave the same as in C++. Thoughts? >=20 > No, we try not to add extensions which change well defined behavior to be > undefined behavior. Adding -fstrict-enums for C would cause just that. Good, then as mentioned explicit usage of __builtin_unreachable() will enab= le desired optimization. Then, let's close this as invalid? >>From gcc-bugs-return-620619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 08:49:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96777 invoked by alias); 9 Nov 2018 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 94077 invoked by uid 48); 9 Nov 2018 08:48:55 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87953] New: asan: stack-buffer-overflow in vectorizable_reduction Date: Fri, 09 Nov 2018 08:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00776.txt.bz2 Content-length: 1644 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87953 Bug ID: 87953 Summary: asan: stack-buffer-overflow in vectorizable_reduction Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For this C code: int a[]; int b; void d() { char c; b =3D 0; for (; b < 6; b++) { c =3D 1; for (; c; c <<=3D 1) { a[b] <<=3D 8; if (b & c) a[b] =3D 1; } } } compiled with -O3 on recent gcc trunk with asan, does this: =3D=3D18849=3D=3DERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ffd0eb77e48 at pc 0x000002cfffdd bp 0x7ffd0eb76740 sp 0x7ffd0eb76738 READ of size 8 at 0x7ffcfa4901f8 thread T0 #0 0x2cfffdc in vectorizable_reduction(_stmt_vec_info*, gimple_stmt_iterator *, _stmt_vec_info**, _slp_tree*, _slp_instance*, vec*) ../../trunk/gcc/tree-vect-loop.c:6485 ... [5472, 5496) 'ops' (line 6004) <=3D=3D Memory access at offset 5464 und= erflows t his variable Line 6485 is if (!vec_stmt && !vectorizable_condition (stmt_info, gsi, NULL, ops[reduc_index], 0, NULL, cost_vec)) I am not sure if overflow or underflow is occurring, but since ops is a local array, I am guessing someone needs to sanity check array indexes before use. Problem didn't occur in gcc revision 265683 and does by revision 265907. >>From gcc-bugs-return-620620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 08:50:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104961 invoked by alias); 9 Nov 2018 08:50: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 104902 invoked by uid 48); 9 Nov 2018 08:50:19 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87931] [9 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:6193 since r265876 Date: Fri, 09 Nov 2018 08:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00777.txt.bz2 Content-length: 186 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87931 --- Comment #3 from David Binderman --- My asan error looks different to me. See new bug report 87953. >>From gcc-bugs-return-620621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 08:52:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107052 invoked by alias); 9 Nov 2018 08:52: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 106964 invoked by uid 48); 9 Nov 2018 08:52:38 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87953] asan: stack-buffer-overflow in vectorizable_reduction Date: Fri, 09 Nov 2018 08:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00778.txt.bz2 Content-length: 751 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87953 David Binderman changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #1 from David Binderman --- svn blame says 263143 rsandifo if (!vec_stmt && !vectorizable_condition (stmt_info, gsi, NULL, 260289 rguenth=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 ops[reduc_index], 0, NULL, 260289 rguenth cost_vec)) >>From gcc-bugs-return-620622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 09:09:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20858 invoked by alias); 9 Nov 2018 09: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 20795 invoked by uid 48); 9 Nov 2018 09:08:59 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87954] New: VRP can transform a * b where a,b are [0,1] to a & b Date: Fri, 09 Nov 2018 09: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: 9.0 X-Bugzilla-Keywords: missed-optimization 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: 2018-11/txt/msg00779.txt.bz2 Content-length: 1941 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87954 Bug ID: 87954 Summary: VRP can transform a * b where a,b are [0,1] to a & b Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- Code snippet reported by kernel developers: $ cat mul.c #define __GFP_DMA 1u #define __GFP_RECLAIM 0x10u #define KMALLOC_DMA 2 #define KMALLOC_RECLAIM 1 unsigned int and(unsigned int flags) { int is_dma, type_dma, is_rec; is_dma =3D !!(flags & __GFP_DMA); type_dma =3D is_dma * KMALLOC_DMA; is_rec =3D !!(flags & __GFP_RECLAIM); return type_dma + (is_rec & !is_dma) * KMALLOC_RECLAIM; } unsigned int imul(unsigned int flags) { int is_dma, type_dma, is_rec; is_dma =3D !!(flags & __GFP_DMA); type_dma =3D is_dma * KMALLOC_DMA; is_rec =3D !!(flags & __GFP_RECLAIM); return type_dma + (is_rec * !is_dma) * KMALLOC_RECLAIM; } The first function ends with fast and operation: and: .LFB0: .cfi_startproc movl %edi, %edx movl %edi, %eax andl $1, %edi shrl $4, %edx notl %eax andl %edx, %eax andl $1, %eax leal (%rax,%rdi,2), %eax ret while the second one with imull imul: .LFB1: .cfi_startproc movl %edi, %eax movl %edi, %edx andl $1, %edi shrl $4, %edx notl %eax andl $1, %eax andl $1, %edx imull %edx, %eax leal (%rax,%rdi,2), %eax ret .cfi_endproc VRP knows about the range of the operands: _7 =3D _6 * is_rec_12; _6: [0, 1] is_rec_12: [0, 1] >>From gcc-bugs-return-620623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 09:16:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35743 invoked by alias); 9 Nov 2018 09:15: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 33910 invoked by uid 55); 9 Nov 2018 09:15:14 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/87892] [9 Regression]: libsanitizer fails to build on CentOS 5.11 (glibc 2.5) Date: Fri, 09 Nov 2018 09:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: build 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00780.txt.bz2 Content-length: 634 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87892 --- Comment #7 from Martin Li=C5=A1ka --- Author: marxin Date: Fri Nov 9 09:14:36 2018 New Revision: 265950 URL: https://gcc.gnu.org/viewcvs?rev=3D265950&root=3Dgcc&view=3Drev Log: Fallback in libsanitizer for scudo sanitizer (PR sanitizer/87892). 2018-11-09 Martin Liska PR sanitizer/87892 * sanitizer_common/sanitizer_linux_libcdep.cc (defined): Return 1 when CPU_COUNT macro is not defined. Modified: trunk/libsanitizer/ChangeLog trunk/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc >>From gcc-bugs-return-620624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 10:16:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54822 invoked by alias); 9 Nov 2018 10:16:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 47162 invoked by uid 55); 9 Nov 2018 10:16:18 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87793] [8/9 Regression] GCC reports error when compiling with "-fpic -Os -g" Date: Fri, 09 Nov 2018 10:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00781.txt.bz2 Content-length: 1881 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87793 --- Comment #5 from Alexandre Oliva --- Author: aoliva Date: Fri Nov 9 10:15:46 2018 New Revision: 265956 URL: https://gcc.gnu.org/viewcvs?rev=3D265956&root=3Dgcc&view=3Drev Log: [PR87793] reject non-toplevel unspecs in debug loc exprs on x86 Before revision 254025, we'd reject UNSPECs in debug loc exprs. TARGET_CONST_NOT_OK_FOR_DEBUG_P still rejects that by default, on all ports that override it, except for x86, that accepts @gotoff unspecs. We can indeed accept them in top-level expressions, but not as subexpressions: the assembler rejects the difference between two @gotoff symbols, for example. We could simplify such a difference and drop the @gotoffs, provided that the symbols are in the same section; we could also accept @gotoffs plus literal constants. However, accepting those but rejecting such combinations as subexpressions would be ugly, and most likely not worth the trouble: sym@gotoff+litconst hardly makes sense as a standalone expression, and the difference between @gotoffs should be avoided to begin with, as follows. Ideally, the debug loc exprs would use the symbolic data in REG_EQUIV/REG_EQUAL notes, or delegitimized addresses, instead of simplifying the difference between two legitimized addresses so that the occurrences of the GOT register cancel each other. That would require some more elaborate surgery in var-tracking and cselib than would be appropriate at this stage. for gcc/ChangeLog PR target/87793 * config/i386/i386.c (ix86_const_not_ok_for_debug_p): Reject non-toplevel UNSPEC. for gcc/testsuite/ChangeLog PR target/87793 * gcc.dg/pr87793.c: New. Added: trunk/gcc/testsuite/gcc.dg/pr87793.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-620625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 10:16:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56339 invoked by alias); 9 Nov 2018 10:16: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 51034 invoked by uid 48); 9 Nov 2018 10:16:21 -0000 From: "iii at linux dot ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87902] [9 Regression] Shrink-wrapping multiple conditions Date: Fri, 09 Nov 2018 10:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: iii at linux dot ibm.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00782.txt.bz2 Content-length: 455 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87902 --- Comment #5 from Ilya Leoshkevich --- By the time shrink-wrapping is performed, which is after LRA (pass_thread_prologue_and_epilogue, to be precise), aren't all spilling decisions already made? Because if that's true, we have to be conservative in prepare_shrink_wrap () anyway, and move down copies only when the parameter register still contains the parameter value. >>From gcc-bugs-return-620626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 10:16:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72129 invoked by alias); 9 Nov 2018 10:16:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64726 invoked by uid 55); 9 Nov 2018 10:16:41 -0000 From: "aoliva at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/86438] [8/9 Regression] wrong code at -Os Date: Fri, 09 Nov 2018 10:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00783.txt.bz2 Content-length: 1708 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86438 --- Comment #8 from Alexandre Oliva --- Author: aoliva Date: Fri Nov 9 10:16:09 2018 New Revision: 265957 URL: https://gcc.gnu.org/viewcvs?rev=3D265957&root=3Dgcc&view=3Drev Log: [PR86438] compare-elim: cope with set of in_b When in_a resolves to a register set in the prev_clobber insn, we may use the SET_SRC for the compare instead. However, when in_b so resolves, we proceed to use the reg with its earlier value. When both resolve to the same register and prev_clobber is an insn that modifies the register, this arrangement may cause the compare to match (when it shouldn't) and the elimination of the compare to incorrectly succeed. (set (reg 1) (plus (reg 1) (const_int N))) (set (reg 2) (reg 1)) (set (reg flags) (compare (reg 1) (reg 2))) in_a: (reg 1) --> (plus (reg 1) (const_int N)) in_b: (reg 2) -> (reg 1) -/> oops (parallel [ (set (reg flags) (compare (plus (reg 1) (const_int N)) (reg 1))) ;; should be (plus...) (set (reg 1) (plus (reg 1) (const_int N)))]) (set (reg 2) (reg 1)) This patch arranges for in_b to also undergo SET_SRC substitution when appropriate, with a shortcut for when in_a and in_b are the same rtx. for gcc/ChangeLog PR rtl-optimization/86438 * compare-elim.c (try_eliminate_compare): Use SET_SRC instead of in_b for the compare if in_b is SET_DEST. for gcc/testsuite/ChangeLog PR rtl-optimization/86438 * gcc.dg/torture/pr86438.c: New. Added: trunk/gcc/testsuite/gcc.dg/torture/pr86438.c Modified: trunk/gcc/ChangeLog trunk/gcc/compare-elim.c trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-620627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 10:25:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22377 invoked by alias); 9 Nov 2018 10:25:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22266 invoked by uid 48); 9 Nov 2018 10:25:36 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/87955] New: [9 Regression] ICE in cl_target_option_print_diff at gcc/options-save.c:3803 since r265920 Date: Fri, 09 Nov 2018 10:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.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: 2018-11/txt/msg00784.txt.bz2 Content-length: 1947 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87955 Bug ID: 87955 Summary: [9 Regression] ICE in cl_target_option_print_diff at gcc/options-save.c:3803 since r265920 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: dmalcolm at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Following is iceing: $ cat /tmp/ice.i float a; __attribute__((__target__("fpmath=3D387"))) void b() { if (a) __builtin_abort(); } void c() { b(); } $ ./xgcc -B. -O2 -fopt-info /tmp/ice.i -c during GIMPLE pass: einline /tmp/ice.i: In function =E2=80=98c=E2=80=99: /tmp/ice.i:9:1: internal compiler error: Segmentation fault 9 | void c() { b(); } | ^~~~ 0xd0f73f crash_signal /home/marxin/Programming/gcc/gcc/toplev.c:325 0x7ffff6bc310f ??? =20=20=20=20=20=20=20 /usr/src/debug/glibc-2.27-6.1.x86_64/signal/../sysdeps/unix/sysv/linux/x86_= 64/sigaction.c:0 0x7ffff6c03d8a fputc /usr/src/debug/glibc-2.27-6.1.x86_64/libio/fputc.c:35 0xc29812 cl_target_option_print_diff(_IO_FILE*, int, cl_target_option*, cl_target_option*) /dev/shm/objdir/gcc/options-save.c:3803 0x155bf98 report_inline_failed_reason /home/marxin/Programming/gcc/gcc/ipa-inline.c:248 0x155c470 can_inline_edge_p /home/marxin/Programming/gcc/gcc/ipa-inline.c:381 0x155d386 can_early_inline_edge_p /home/marxin/Programming/gcc/gcc/ipa-inline.c:578 0x1563c1b early_inline_small_functions /home/marxin/Programming/gcc/gcc/ipa-inline.c:2690 0x1564018 early_inliner(function*) /home/marxin/Programming/gcc/gcc/ipa-inline.c:2803 0x1564225 execute /home/marxin/Programming/gcc/gcc/ipa-inline.c:2885 >>From gcc-bugs-return-620628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 10:25:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23469 invoked by alias); 9 Nov 2018 10: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 23079 invoked by uid 48); 9 Nov 2018 10:25:48 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/87955] [9 Regression] ICE in cl_target_option_print_diff at gcc/options-save.c:3803 since r265920 Date: Fri, 09 Nov 2018 10:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: 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: 9.0 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: 2018-11/txt/msg00785.txt.bz2 Content-length: 348 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87955 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.0 Known to fail| |9.0 >>From gcc-bugs-return-620629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 10:26:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83582 invoked by alias); 9 Nov 2018 10:26: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 76735 invoked by uid 48); 9 Nov 2018 10:26:33 -0000 From: "romain.geissler at amadeus dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87956] New: Gcc should emit deprecation warnings when using throw() in C++ >= 17 Date: Fri, 09 Nov 2018 10: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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: romain.geissler at amadeus dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00786.txt.bz2 Content-length: 997 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87956 Bug ID: 87956 Summary: Gcc should emit deprecation warnings when using throw() in C++ >=3D 17 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, Today gcc always generates an error when you use a dynamic exception specification with some exception. However I would expect we might also get= a warning with -Wdeprecated for "throw()" expressions. With -std=3Dgnu++17 -Wdeprecated #include void f() throw(); // No deprecation warning saying you should use noexcept instead void g() throw(std::exception); // Errors in C++17 I would expect a deprecation warning for f. FYI, clang's -Wdeprecated flag finds and notifies about this. Cheers, Romain >>From gcc-bugs-return-620630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 10:38:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 108071 invoked by alias); 9 Nov 2018 10:38:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108000 invoked by uid 48); 9 Nov 2018 10:38:48 -0000 From: "aldyh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87954] VRP can transform a * b where a,b are [0,1] to a & b Date: Fri, 09 Nov 2018 10:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: aldyh at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00787.txt.bz2 Content-length: 943 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87954 Aldy Hernandez changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-09 Ever confirmed|0 |1 --- Comment #1 from Aldy Hernandez --- Indeed, if you compile imul() with -fdump-tree-all-details-alias -O2 and lo= ok at the vrp1 dump, one can see: # RANGE [0, 1] NONZERO 1 is_rec_12 =3D (int) _4; ... # RANGE [0, 1] NONZERO 1 _6 =3D (int) _15; # RANGE [0, 1] NONZERO 1 _7 =3D _6 * is_rec_12; This pattern persists throughout the optimization pipeline, so any remaining optimizer could potentially see the range of the operands and strength redu= ce this. What would be the best place to do this? >>From gcc-bugs-return-620631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 10:40:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121495 invoked by alias); 9 Nov 2018 10:40: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 112331 invoked by uid 48); 9 Nov 2018 10:40:54 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87940] [9 Regression] FAIL: gcc.dg/warn-strlen-no-nul.c Date: Fri, 09 Nov 2018 10:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: edlinger at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00788.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87940 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.0 >>From gcc-bugs-return-620632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 10:41:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72438 invoked by alias); 9 Nov 2018 10:41:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63480 invoked by uid 48); 9 Nov 2018 10:41:33 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87941] by_pieces infra does not use movmisalign optab Date: Fri, 09 Nov 2018 10:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00789.txt.bz2 Content-length: 484 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87941 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-09 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed. >>From gcc-bugs-return-620633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 10:43:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26462 invoked by alias); 9 Nov 2018 10: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 26403 invoked by uid 48); 9 Nov 2018 10:43:11 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87942] every int seems to be unaligned in packed structure Date: Fri, 09 Nov 2018 10:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00790.txt.bz2 Content-length: 529 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87942 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Richard Biener --- I think the proper fix is to mark either the struct or the variable with an appropriate align attribute. >>From gcc-bugs-return-620634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 10:43:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37276 invoked by alias); 9 Nov 2018 10:43:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34733 invoked by uid 48); 9 Nov 2018 10:43:55 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87943] [6.5 regression] severe regression on iso_varying_string (?) Date: Fri, 09 Nov 2018 10:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.4.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00791.txt.bz2 Content-length: 575 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87943 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-11-09 Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Note that GCC 6 is no longer supported, can you check if GCC 7 or 8 are affected by the same bug? >>From gcc-bugs-return-620635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 10:46:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78261 invoked by alias); 9 Nov 2018 10: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 66112 invoked by uid 48); 9 Nov 2018 10:46:05 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87945] [9 Regression] ICE in var_element, at fortran/decl.c:281 Date: Fri, 09 Nov 2018 10:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 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: 2018-11/txt/msg00792.txt.bz2 Content-length: 345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87945 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Target Milestone|--- |9.0 >>From gcc-bugs-return-620636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 10:46:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80956 invoked by alias); 9 Nov 2018 10: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 68092 invoked by uid 48); 9 Nov 2018 10:46:09 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87946] [7/8/9 Regression] ICE in gfc_walk_array_ref, at fortran/trans-array.c:10506 Date: Fri, 09 Nov 2018 10:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 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: 2018-11/txt/msg00793.txt.bz2 Content-length: 345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87946 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Target Milestone|--- |7.4 >>From gcc-bugs-return-620638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 10:49:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78998 invoked by alias); 9 Nov 2018 10:49:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78714 invoked by uid 48); 9 Nov 2018 10:49:46 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87952] Missed optimization for std::get_if on std::variant Date: Fri, 09 Nov 2018 10:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00795.txt.bz2 Content-length: 260 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87952 --- Comment #1 from Richard Biener --- I belive I've seen dups for this. We merely isolate those paths but do not remove them (removing them might end up as a security issue). >>From gcc-bugs-return-620637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 10:49:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75895 invoked by alias); 9 Nov 2018 10:49:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 64694 invoked by uid 48); 9 Nov 2018 10:48:32 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled Date: Fri, 09 Nov 2018 10:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00794.txt.bz2 Content-length: 489 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87950 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #11 from Richard Biener --- =2E >>From gcc-bugs-return-620639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 10:53:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117168 invoked by alias); 9 Nov 2018 10:53:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 116914 invoked by uid 48); 9 Nov 2018 10:53:48 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87621] outer loop auto-vectorization fails for exponentiation code Date: Fri, 09 Nov 2018 10:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00796.txt.bz2 Content-length: 438 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87621 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Richard Biener --- Fixed on trunk. >>From gcc-bugs-return-620640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 10:53:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117197 invoked by alias); 9 Nov 2018 10:53:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 116981 invoked by uid 48); 9 Nov 2018 10:53:50 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations Date: Fri, 09 Nov 2018 10:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: meta-bug, missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00797.txt.bz2 Content-length: 487 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53947 Bug 53947 depends on bug 87621, which changed state. Bug 87621 Summary: outer loop auto-vectorization fails for exponentiation c= ode https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87621 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-620641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 10:54:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118966 invoked by alias); 9 Nov 2018 10:54:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118750 invoked by uid 55); 9 Nov 2018 10:54:08 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87621] outer loop auto-vectorization fails for exponentiation code Date: Fri, 09 Nov 2018 10:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00798.txt.bz2 Content-length: 858 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87621 --- Comment #5 from Richard Biener --- Author: rguenth Date: Fri Nov 9 10:53:31 2018 New Revision: 265959 URL: https://gcc.gnu.org/viewcvs?rev=3D265959&root=3Dgcc&view=3Drev Log: 2018-11-09 Richard Biener PR tree-optimization/87621 * tree-vect-loop.c (vectorizable_reduction): Handle reduction op with only phi inputs. * tree-ssa-loop-ch.c: Include tree-ssa-sccvn.h. (ch_base::copy_headers): Run CSE on copied loop headers. (pass_ch_vect::process_loop_p): Simplify. * g++.dg/vect/pr87621.cc: New testcase. Added: trunk/gcc/testsuite/g++.dg/vect/pr87621.cc Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-loop-ch.c trunk/gcc/tree-vect-loop.c >>From gcc-bugs-return-620642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 11:04:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39576 invoked by alias); 9 Nov 2018 11:04: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 37279 invoked by uid 48); 9 Nov 2018 11:04:00 -0000 From: "juergen.reuter at desy dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87943] [6 regression] severe regression on iso_varying_string (?) Date: Fri, 09 Nov 2018 11:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: juergen.reuter at desy dot de X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00799.txt.bz2 Content-length: 257 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87943 --- Comment #2 from J=C3=BCrgen Reuter --- Yep, I know that 6 is no longer supported. Nevertheless I wanted to at least report that bug. It is only in 6.5 , 7/8/9 are ok. >>From gcc-bugs-return-620643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 11:06:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75440 invoked by alias); 9 Nov 2018 11:06: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 72891 invoked by uid 48); 9 Nov 2018 11:06:37 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87953] asan: stack-buffer-overflow in vectorizable_reduction Date: Fri, 09 Nov 2018 11:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: 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: 2018-11/txt/msg00800.txt.bz2 Content-length: 1163 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87953 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-11-09 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #2 from Richard Biener --- valgrind reports =3D=3D21312=3D=3D Conditional jump or move depends on uninitialised value(s) =3D=3D21312=3D=3D at 0x14BB78D: vectorizable_condition(_stmt_vec_info*, gimple_stmt_iterator*, _stmt_vec_info**, tree_node*, int, _slp_tree*, vec*) (tree-vect-stmts.c:8718) =3D=3D21312=3D=3D by 0x14DCDC0: vectorizable_reduction(_stmt_vec_info*, gimple_stmt_iterator*, _stmt_vec_info**, _slp_tree*, _slp_instance*, vec*) (tree-vect-loop.c:6531) so that's probably the very same thing. reduc_index is -1 here. I have a fix. >>From gcc-bugs-return-620644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 11:06:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76152 invoked by alias); 9 Nov 2018 11:06: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 76076 invoked by uid 48); 9 Nov 2018 11:06:47 -0000 From: "johannes.vetter@dom-sicherheitstechnik.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87942] every int seems to be unaligned in packed structure Date: Fri, 09 Nov 2018 11:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: johannes.vetter@dom-sicherheitstechnik.de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00801.txt.bz2 Content-length: 566 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87942 --- Comment #3 from Johannes Vetter --- Ok, thanks a lot. I haven't expected that an initializer could change the alignment of a variable. "-fno-common" does not work in my case (perhaps because the varia= ble already has a attribute "section"). If i set the alignment of the variable AND the exported variable in the hea= der file, it works fine. My problem now: in how many other cases is the same behavior? I cannot check every global variable/struct by hand. >>From gcc-bugs-return-620645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 11:14:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 32278 invoked by alias); 9 Nov 2018 11:14: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 32226 invoked by uid 48); 9 Nov 2018 11:14:54 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87954] VRP can transform a * b where a,b are [0,1] to a & b Date: Fri, 09 Nov 2018 11: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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00802.txt.bz2 Content-length: 1443 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87954 --- Comment #2 from Richard Biener --- (In reply to Aldy Hernandez from comment #1) > Indeed, if you compile imul() with -fdump-tree-all-details-alias -O2 and > look at the vrp1 dump, one can see: >=20 > # RANGE [0, 1] NONZERO 1 > is_rec_12 =3D (int) _4; > ... > # RANGE [0, 1] NONZERO 1 > _6 =3D (int) _15; > # RANGE [0, 1] NONZERO 1 > _7 =3D _6 * is_rec_12; >=20 > This pattern persists throughout the optimization pipeline, so any remain= ing > optimizer could potentially see the range of the operands and strength > reduce this. >=20 > What would be the best place to do this? The best place to do this is a pattern in match.pd (simplify (mult @1 @2) (if (INTEGRAL_TYPE_P (type) && wi::eq_p (get_nonzero_bits (@1), wi::one (TYPE_PRECISION (type)) && wi::eq_p (get_nonzero_bits (@2), wi::one (TYPE_PRECISION (type))) (and @1 @2)) maybe even think of tricks like requiring only one operand to be [0,1] and sign-extending that from bit 0 before the and? Thus [0,1] * b -> (a ? -1 : 0) & b. But that's probably sth to do at RTL expansion time because it depends on costs to do the sign extension. if nonzero-bits is 2 then we can do b + (a =3D=3D 2 ? 1 : -1) * b. Thus transfer the bit to the sign bit and do an add. This is similarly sth for RTL expansion. I guess any power-of-two or zero duality can be optimized a bit. >>From gcc-bugs-return-620646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 11:37:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103888 invoked by alias); 9 Nov 2018 11:37: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 103790 invoked by uid 48); 9 Nov 2018 11:37:12 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBpcGEvODc5NTddIE5ldzogWzkgUmVncmVzc2lvbl0gSUNFIHRyZWUg?= =?UTF-8?B?Y2hlY2s6IGV4cGVjdGVkIHRyZWUgdGhhdCBjb250YWlucyDigJhkZWNsIG1p?= =?UTF-8?B?bmltYWzigJkgc3RydWN0dXJlLCBoYXZlIOKAmGlkZW50aWZpZXJfbm9kZQ==?= =?UTF-8?B?4oCZIGluIHdhcm5fb2RyLCBhdCBpcGEtZGV2aXJ0LmM6MTA1MSBzaW5jZSBy?= =?UTF-8?B?MjY1NTE5?= Date: Fri, 09 Nov 2018 11:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.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: 2018-11/txt/msg00803.txt.bz2 Content-length: 2399 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87957 Bug ID: 87957 Summary: [9 Regression] ICE tree check: expected tree that contains =E2=80=98decl minimal=E2=80=99 structure, have =E2=80=98identifier_node=E2=80=99 in warn_odr, at ipa-d= evirt.c:1051 since r265519 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: hubicka at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Following is causing a new ICE: $ cat 1.ii typedef struct { int a; } YYSTYPE; union yyalloc { short yyss; YYSTYPE yyvs; }; void b() { yyalloc c; } $ cat 2.ii typedef struct YYSTYPE { } YYSTYPE; union yyalloc { short yyss; YYSTYPE yyvs; }; void a() { yyalloc b; } $ g++ -flto [12].ii 1.ii:3:3: warning: type =E2=80=98struct YYSTYPE=E2=80=99 violates the C++ O= ne Definition Rule [-Wodr] 3 | } YYSTYPE; | ^ lto1: internal compiler error: tree check: expected tree that contains =E2= =80=98decl minimal=E2=80=99 structure, have =E2=80=98identifier_node=E2=80=99 in warn_= odr, at ipa-devirt.c:1051 0x6b540e tree_contains_struct_check_failed(tree_node const*, tree_node_structure_enum, char const*, int, char const*) ../../gcc/tree.c:9790 0x614bd4 contains_struct_check(tree_node*, tree_node_structure_enum, char const*, int, char const*) ../../gcc/tree.h:3268 0x614bd4 warn_odr ../../gcc/ipa-devirt.c:1051 0xa01c9e type_variants_equivalent_p ../../gcc/ipa-devirt.c:651 0xa07f68 odr_subtypes_equivalent_p ../../gcc/ipa-devirt.c:697 0xa08faa odr_types_equivalent_p ../../gcc/ipa-devirt.c:1576 0xa05ea4 add_type_duplicate ../../gcc/ipa-devirt.c:1878 0xa05ea4 get_odr_type(tree_node*, bool) ../../gcc/ipa-devirt.c:2058 0x7894d6 lto_read_decls ../../gcc/lto/lto.c:1900 0x78a78e lto_file_finalize ../../gcc/lto/lto.c:2134 0x78a78e lto_create_files_from_ids ../../gcc/lto/lto.c:2144 0x78a78e lto_file_read ../../gcc/lto/lto.c:2185 0x78a78e read_cgraph_and_symbols ../../gcc/lto/lto.c:2865 0x78a78e lto_main() ../../gcc/lto/lto.c:3401 >>From gcc-bugs-return-620648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 11:43:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112462 invoked by alias); 9 Nov 2018 11: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 112188 invoked by uid 48); 9 Nov 2018 11:43:50 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/87958] New: scan-tree-dump-times vs. (foo|bar) Date: Fri, 09 Nov 2018 11:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00805.txt.bz2 Content-length: 1349 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87958 Bug ID: 87958 Summary: scan-tree-dump-times vs. (foo|bar) Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- Anyone knows why (foo|bar) works for e.g. scan-tree-dump, but not for scan-tree-dump-times? /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-optimized" } */ /* { dg-final { scan-tree-dump "call(123|456)fn" "optimized" } } */ /* { dg-final { scan-tree-dump-times "call(123|456)fn" 1 "optimized" } } */ void call123fn (void); void baz (void) { call123fn (); } fails the scan-tree-dump-times test, but succeeds scan-tree-dump, even when there is just one such call in the dump. Surprisingly it succeeds if I cha= nge the 1 to 2. Are ()s in scan-tree-dump-times unsupported, or does one need = to adjust the count, so that it is not the number of times the whole string matched, but number of times the whole string as well as any of those ()s matched? So e.g. /* { dg-final { scan-tree-dump-times "b(a|b)z" 6 "optimized" } } */ succeeds on the testcase, because there are 3 baz strings and no bbz string= s in the dump. >>From gcc-bugs-return-620647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 11:43:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112238 invoked by alias); 9 Nov 2018 11:43: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 112127 invoked by uid 48); 9 Nov 2018 11:43:48 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBpcGEvODc5NTddIFs5IFJlZ3Jlc3Npb25dIElDRSB0cmVlIGNoZWNr?= =?UTF-8?B?OiBleHBlY3RlZCB0cmVlIHRoYXQgY29udGFpbnMg4oCYZGVjbCBtaW5pbWFs?= =?UTF-8?B?4oCZIHN0cnVjdHVyZSwgaGF2ZSDigJhpZGVudGlmaWVyX25vZGXigJkgaW4g?= =?UTF-8?B?d2Fybl9vZHIsIGF0IGlwYS1kZXZpcnQuYzoxMDUxIHNpbmNlIHIyNjU1MTk=?= Date: Fri, 09 Nov 2018 11:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on cf_known_to_work target_milestone cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00804.txt.bz2 Content-length: 462 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87957 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2018-11-9 Known to work| |8.2.0 Target Milestone|--- |9.0 Known to fail| |9.0 >>From gcc-bugs-return-620649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 12:07:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12711 invoked by alias); 9 Nov 2018 12:07:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 12663 invoked by uid 48); 9 Nov 2018 12:07:14 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBpcGEvODc5NTddIFs5IFJlZ3Jlc3Npb25dIElDRSB0cmVlIGNoZWNr?= =?UTF-8?B?OiBleHBlY3RlZCB0cmVlIHRoYXQgY29udGFpbnMg4oCYZGVjbCBtaW5pbWFs?= =?UTF-8?B?4oCZIHN0cnVjdHVyZSwgaGF2ZSDigJhpZGVudGlmaWVyX25vZGXigJkgaW4g?= =?UTF-8?B?d2Fybl9vZHIsIGF0IGlwYS1kZXZpcnQuYzoxMDUxIHNpbmNlIHIyNjU1MTk=?= Date: Fri, 09 Nov 2018 12:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.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: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.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: 2018-11/txt/msg00806.txt.bz2 Content-length: 461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87957 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 --- Comment #1 from Martin Li=C5=A1ka --- I've got patch for it, let me take it. >>From gcc-bugs-return-620650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 12:13:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24202 invoked by alias); 9 Nov 2018 12:13:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22330 invoked by uid 48); 9 Nov 2018 12:13:37 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87867] [7/8 regression] ICE on virtual destructor (-mlong-calls -ffunction-sections) on arm-none-eabi Date: Fri, 09 Nov 2018 12:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.2.1 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: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00807.txt.bz2 Content-length: 1171 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87867 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-09 CC| |ebotcazou at gcc dot gnu.o= rg Target Milestone|--- |7.4 Summary|ICE on virtual destructor |[7/8 regression] ICE on |(-mlong-calls |virtual destructor |-ffunction-sections) on |(-mlong-calls |arm-none-eabi |-ffunction-sections) on | |arm-none-eabi Ever confirmed|0 |1 --- Comment #1 from Eric Botcazou --- Right, as you found you it was fixed by: 2018-09-26 Eric Botcazou * config/arm/arm.c (arm_reorg): Skip Thumb reorg pass for thunks. (arm32_output_mi_thunk): Deal with long calls. >>From gcc-bugs-return-620651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 12:22:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34647 invoked by alias); 9 Nov 2018 12:22: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 34242 invoked by uid 48); 9 Nov 2018 12:22:31 -0000 From: "jengelh at inai dot de" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvODY5OTddIGVycm9yOiBjYWxsIG9mIG92ZXJsb2FkZWQg4oCY?= =?UTF-8?B?Tm9EZXN0cnVjdG9yKDxicmFjZS1lbmNsb3NlZCBpbml0aWFsaXplciBsaXN0?= =?UTF-8?B?PinigJkgaXMgYW1iaWd1b3Vz?= Date: Fri, 09 Nov 2018 12: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: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jengelh at inai dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00808.txt.bz2 Content-length: 1118 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86997 Jan Engelhardt changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jengelh at inai dot de --- Comment #4 from Jan Engelhardt --- >Is it trying to construct an 'a' object and pass that to the NoDestructor?= Or just default construct the NoDestructor object? As I read it, it's definitely the 1-arg form (always), not the default ctor. auto a =3D NoDestructor(); // NoDestructor a; auto b =3D NoDestructor{}; // NoDestructor b{}; auto c =3D NoDestructor({}); // NoDestructor c({}); auto d =3D NoDestructor{{}}; // NoDestructor d{{}}; The actual chromium code is something like template class NoDestructor { ... } and is used as NoDestructor> google_tlds({"foo"}); which means ({}), if it appears, was intended to mean the empty set, and th= is empty set is passed as the first and only parameter to the NoDestructor 1-a= rg ctor. >>From gcc-bugs-return-620652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 12:29:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20500 invoked by alias); 9 Nov 2018 12: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 20387 invoked by uid 48); 9 Nov 2018 12:29:22 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87953] asan: stack-buffer-overflow in vectorizable_reduction Date: Fri, 09 Nov 2018 12:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00809.txt.bz2 Content-length: 429 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87953 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Richard Biener --- Fixed. >>From gcc-bugs-return-620653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 12:31:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23692 invoked by alias); 9 Nov 2018 12:31:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22765 invoked by uid 55); 9 Nov 2018 12:30:35 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87953] asan: stack-buffer-overflow in vectorizable_reduction Date: Fri, 09 Nov 2018 12:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: 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: 2018-11/txt/msg00810.txt.bz2 Content-length: 534 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87953 --- Comment #4 from Richard Biener --- Author: rguenth Date: Fri Nov 9 12:29:51 2018 New Revision: 265964 URL: https://gcc.gnu.org/viewcvs?rev=3D265964&root=3Dgcc&view=3Drev Log: 2018-11-09 Richard Biener PR tree-optimization/87953 * tree-vect-loop.c (vectorizable_reduction): For analysis always pass ops[0] to vectorizable_condition. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-vect-loop.c >>From gcc-bugs-return-620654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 12:31:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24394 invoked by alias); 9 Nov 2018 12:31:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23754 invoked by uid 48); 9 Nov 2018 12:31:24 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/87958] scan-tree-dump-times vs. (foo|bar) Date: Fri, 09 Nov 2018 12:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: 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: 2018-11/txt/msg00811.txt.bz2 Content-length: 464 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87958 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #1 from Alexander Monakov --- I guess we are supposed to use non-capturing groups, i.e. (?:123|456) >>From gcc-bugs-return-620655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 12:38:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96048 invoked by alias); 9 Nov 2018 12:38:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92417 invoked by uid 48); 9 Nov 2018 12:37:55 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/87959] New: ICE in tree check: expected enumeral_type, have record_type in free_enum_values, at ipa-devirt.c:2265 Date: Fri, 09 Nov 2018 12:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-invalid-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: 2018-11/txt/msg00812.txt.bz2 Content-length: 1801 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87959 Bug ID: 87959 Summary: ICE in tree check: expected enumeral_type, have record_type in free_enum_values, at ipa-devirt.c:2265 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- The ICE is as old as -Wodr warning: $ cat a.ii enum Type {}; void a(Type) {} $ cat b.ii struct Type; void a(Type *) {} $ g++ [ab].ii -flto=20 a.ii:1:6: warning: type =E2=80=98Type=E2=80=99 violates the C++ One Definit= ion Rule [-Wodr] 1 | enum Type {}; | ^ lto1: note: a different type is defined in another translation unit during IPA pass: pure-const lto1: internal compiler error: tree check: expected enumeral_type, have record_type in free_enum_values, at ipa-devirt.c:2265 0x6c9738 tree_check_failed(tree_node const*, char const*, int, char const*, ...) /home/marxin/Programming/gcc/gcc/tree.c:9623 0x800276 tree_check(tree_node*, char const*, int, char const*, tree_code) /home/marxin/Programming/gcc/gcc/tree.h:3154 0xa1f582 free_enum_values /home/marxin/Programming/gcc/gcc/ipa-devirt.c:2265 0xa1f5c5 build_type_inheritance_graph() /home/marxin/Programming/gcc/gcc/ipa-devirt.c:2281 0xa62bb2 symbol_table::remove_unreachable_nodes(_IO_FILE*) /home/marxin/Programming/gcc/gcc/ipa.c:310 0x79efb2 read_cgraph_and_symbols /home/marxin/Programming/gcc/gcc/lto/lto.c:3017 0x79efb2 lto_main() /home/marxin/Programming/gcc/gcc/lto/lto.c:3401 >>From gcc-bugs-return-620656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 12:40:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51499 invoked by alias); 9 Nov 2018 12:40: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 50491 invoked by uid 48); 9 Nov 2018 12:40:35 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/87958] scan-tree-dump-times vs. (foo|bar) Date: Fri, 09 Nov 2018 12:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00813.txt.bz2 Content-length: 230 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87958 --- Comment #2 from Jakub Jelinek --- Ah, ok, thanks. Perhaps we should just mention it in our scan-tree-dump-ti= mes documentation and close then. >>From gcc-bugs-return-620657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 12:41:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52690 invoked by alias); 9 Nov 2018 12:41: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 52626 invoked by uid 48); 9 Nov 2018 12:41:22 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/87959] ICE in tree check: expected enumeral_type, have record_type in free_enum_values, at ipa-devirt.c:2265 Date: Fri, 09 Nov 2018 12:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cf_known_to_work assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00814.txt.bz2 Content-length: 880 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87959 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-11-09 Known to work| |6.4.0, 7.2.0, 8.2.0, 9.0 Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Li=C5=A1ka --- Started with r265875, before the revision there was a different back-trace: lto1: internal compiler error: tree check: expected record_type or union_ty= pe or qual_union_type, have enumeral_type in add_type_duplicate, at ipa-devirt.c:1710 >>From gcc-bugs-return-620658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 12:43:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54591 invoked by alias); 9 Nov 2018 12:43:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 54552 invoked by uid 48); 9 Nov 2018 12:43:36 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87960] New: [9 Regression] Miscompilation of 527.cam4_r benchmark from SPEC2017 w/ -O2 since r265946 Date: Fri, 09 Nov 2018 12: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: 9.0 X-Bugzilla-Keywords: wrong-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: 2018-11/txt/msg00815.txt.bz2 Content-length: 1240 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87960 Bug ID: 87960 Summary: [9 Regression] Miscompilation of 527.cam4_r benchmark from SPEC2017 w/ -O2 since r265946 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: jvdelisle at gcc dot gnu.org Target Milestone: --- I see: Error with '/home/marxin/Programming/cpu2017/bin/specinvoke -d /home/marxin/Programming/cpu2017/benchspec/CPU/527.cam4_r/run/run_peak_refr= ate_gcc7-m64.0000 -f compare.cmd -E -e compare.err -o compare.stdout'; no non-empty output fi= les exist Command returned exit code 1 *** Miscompare of cam4_validate.txt; for details see =20=20=20 /home/marxin/Programming/cpu2017/benchspec/CPU/527.cam4_r/run/run_peak_refr= ate_gcc7-m64.0000/cam4_validate.txt.mis $ cat /home/marxin/Programming/cpu2017/benchspec/CPU/527.cam4_r/run/run_peak_refr= ate_gcc7-m64.0000/cam4_validate.txt.mis 0001: PASS: 4 points.=20 allow_std=3D0 ^ 'cam4_validate.txt' long >>From gcc-bugs-return-620659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 12:43:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55402 invoked by alias); 9 Nov 2018 12:43:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55318 invoked by uid 48); 9 Nov 2018 12:43:54 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87960] [9 Regression] Miscompilation of 527.cam4_r benchmark from SPEC2017 w/ -O2 since r265946 Date: Fri, 09 Nov 2018 12:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work blocked target_milestone cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00816.txt.bz2 Content-length: 608 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87960 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |8.2.0 Blocks| |26163 Target Milestone|--- |9.0 Known to fail| |9.0 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D26163 [Bug 26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95) >>From gcc-bugs-return-620660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 12:50:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67833 invoked by alias); 9 Nov 2018 12: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 67759 invoked by uid 48); 9 Nov 2018 12:50:38 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87954] VRP can transform a * b where a,b are [0,1] to a & b Date: Fri, 09 Nov 2018 12:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00817.txt.bz2 Content-length: 180 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87954 --- Comment #3 from Martin Li=C5=A1ka --- Marc, are you planning to implement that in the future? >>From gcc-bugs-return-620661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 12:51:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69213 invoked by alias); 9 Nov 2018 12:51:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69133 invoked by uid 55); 9 Nov 2018 12:51:23 -0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87867] [7/8 regression] ICE on virtual destructor (-mlong-calls -ffunction-sections) on arm-none-eabi Date: Fri, 09 Nov 2018 12:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ramana at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00818.txt.bz2 Content-length: 1424 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87867 --- Comment #2 from Ramana Radhakrishnan --- Author: ramana Date: Fri Nov 9 12:50:51 2018 New Revision: 265965 URL: https://gcc.gnu.org/viewcvs?rev=3D265965&root=3Dgcc&view=3Drev Log: [PATCH, arm] Backport -- Fix ICE during thunk generation with -mlong-calls For Mihail Ionescu. 2018-11-09 Mihail Ionescu PR target/87867 Backport from mainline 2018-09-17 Eric Botcazou * g++.dg/other/thunk2a.C: New test. * g++.dg/other/thunk2b.C: Likewise. 2018-11-09 Mihail Ionescu Backport from mainiline 2018-09-17 Eric Botcazou * g++.dg/other/thunk2a.C: New test. * g++.dg/other/thunk2b.C: Likewise. * g++.dg/other/vthunk1.C: Rename as thunk1.C Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/other/thunk1.C - copied unchanged from r265964, branches/gcc-8-branch/gcc/testsuite/g++.dg/other/vthunk1.C branches/gcc-8-branch/gcc/testsuite/g++.dg/other/thunk2a.C branches/gcc-8-branch/gcc/testsuite/g++.dg/other/thunk2b.C Removed: branches/gcc-8-branch/gcc/testsuite/g++.dg/other/vthunk1.C Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/arm/arm.c branches/gcc-8-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-620662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 12:56:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76132 invoked by alias); 9 Nov 2018 12:56: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 76030 invoked by uid 48); 9 Nov 2018 12:56:14 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87954] VRP can transform a * b where a,b are [0,1] to a & b Date: Fri, 09 Nov 2018 12:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00819.txt.bz2 Content-length: 288 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87954 --- Comment #4 from Marc Glisse --- (In reply to Martin Li=C5=A1ka from comment #3) > Marc, are you planning to implement that in the future? Not in the near future, no. It is all yours if you want it ;-) >>From gcc-bugs-return-620663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 13:09:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 125590 invoked by alias); 9 Nov 2018 13:09:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 125421 invoked by uid 48); 9 Nov 2018 13:09:01 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/87955] [9 Regression] ICE in cl_target_option_print_diff at gcc/options-save.c:3803 since r265920 Date: Fri, 09 Nov 2018 13:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00820.txt.bz2 Content-length: 616 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87955 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-11-09 Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot= gnu.org Ever confirmed|0 |1 --- Comment #1 from David Malcolm --- Sorry about that. Confirmed; I'm working on a fix. >>From gcc-bugs-return-620664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 13:18:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15992 invoked by alias); 9 Nov 2018 13:18: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 15860 invoked by uid 48); 9 Nov 2018 13:18:17 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBpcGEvODc5NTddIFs5IFJlZ3Jlc3Npb25dIElDRSB0cmVlIGNoZWNr?= =?UTF-8?B?OiBleHBlY3RlZCB0cmVlIHRoYXQgY29udGFpbnMg4oCYZGVjbCBtaW5pbWFs?= =?UTF-8?B?4oCZIHN0cnVjdHVyZSwgaGF2ZSDigJhpZGVudGlmaWVyX25vZGXigJkgaW4g?= =?UTF-8?B?d2Fybl9vZHIsIGF0IGlwYS1kZXZpcnQuYzoxMDUxIHNpbmNlIHIyNjU1MTk=?= Date: Fri, 09 Nov 2018 13:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.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: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00821.txt.bz2 Content-length: 2376 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87957 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot = gnu.org --- Comment #2 from Martin Li=C5=A1ka --- There's patch candidate: diff --git a/gcc/ipa-devirt.c b/gcc/ipa-devirt.c index 4676bdbdf93..71cd35caf0c 100644 --- a/gcc/ipa-devirt.c +++ b/gcc/ipa-devirt.c @@ -1048,7 +1048,11 @@ warn_odr (tree t1, tree t2, tree st1, tree st2, } else return; - inform (DECL_SOURCE_LOCATION (decl2), reason); + + location_t loc =3D (TYPE_NAME (t1) && TREE_CODE (TYPE_NAME (t1)) =3D=3D = TYPE_DECL + ? DECL_SOURCE_LOCATION (TYPE_NAME (t1)) + : UNKNOWN_LOCATION); + inform (loc, reason); if (warned) *warned =3D true; But now I see repeated Wodr: $ g++ -flto [12].ii -shared 1.ii:3:3: warning: type =E2=80=98struct YYSTYPE=E2=80=99 violates the C++ O= ne Definition Rule [-Wodr] 3 | } YYSTYPE; | ^ 1.ii:3:3: note: a type with different alignment is defined in another translation unit 1.ii:4:7: warning: type =E2=80=98union yyalloc=E2=80=99 violates the C++ On= e Definition Rule [-Wodr] 4 | union yyalloc { | ^ 1.ii:4:7: note: a different type is defined in another translation unit 1.ii:6:11: note: the first difference of corresponding definitions is field =E2=80=98yyvs=E2=80=99 6 | YYSTYPE yyvs; | ^ 1.ii:4:7: note: a field of same name but different type is defined in anoth= er translation unit 4 | union yyalloc { | ^ 1.ii:3:3: note: type =E2=80=98struct YYSTYPE=E2=80=99 itself violates the C= ++ One Definition Rule 3 | } YYSTYPE; | ^ 1.ii:3:3: warning: type =E2=80=98struct YYSTYPE=E2=80=99 violates the C++ O= ne Definition Rule [-Wodr] 2.ii:1:16: note: a different type is defined in another translation unit 1 | typedef struct YYSTYPE { | ^ 1.ii:2:7: note: the first difference of corresponding definitions is field = =E2=80=98a=E2=80=99 2 | int a; | ^ 1.ii:3:3: note: a type with different number of fields is defined in another translation unit 3 | } YYSTYPE; | ^ Leaving to Honza. >>From gcc-bugs-return-620665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 13:27:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25424 invoked by alias); 9 Nov 2018 13:27:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25019 invoked by uid 48); 9 Nov 2018 13:27:40 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87942] every int seems to be unaligned in packed structure Date: Fri, 09 Nov 2018 13:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00822.txt.bz2 Content-length: 526 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87942 --- Comment #4 from Alexander Monakov --- (In reply to Johannes Vetter from comment #3) > My problem now: in how many other cases is the same behavior? I cannot ch= eck > every global variable/struct by hand. I recommend to open a new bugreport for this aspect (diagnostics enhancemen= t). There's -Wpacked-not-aligned now, but it doesn't capture this specific issu= e. Why was it necessary to use a packed struct for device memory at all? >>From gcc-bugs-return-620666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 13:50:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40913 invoked by alias); 9 Nov 2018 13:50:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 40845 invoked by uid 48); 9 Nov 2018 13:50:42 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/35903] false Warray-bounds warning when passing quoted string to function strcmp(arg,"no"); Date: Fri, 09 Nov 2018 13:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.3.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: minor X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00823.txt.bz2 Content-length: 546 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D35903 --- Comment #11 from Eric Gallager --- (In reply to Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez from comment #4) > (In reply to comment #3) > > This bug has no changed for months, I think it is still active. >=20 > Newer higher priority bugs often make us forget about old inactive bugs. > Going through old bugs and testing whether they still exist in a recent G= CC > would be extremely helpful. >=20 This is what I've been doing ever since I got my bugzilla account >>From gcc-bugs-return-620667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 13:53:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53845 invoked by alias); 9 Nov 2018 13:53: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 51692 invoked by uid 48); 9 Nov 2018 13:53:44 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/31351] gcc -v --help has poor documentation for some shared Ada/C options Date: Fri, 09 Nov 2018 13:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 4.2.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00824.txt.bz2 Content-length: 367 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D31351 --- Comment #2 from Eric Gallager --- (In reply to Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez from comment #1) > This is a bug yes, but it won't get fixed unless someone that cares about= it > steps up to fix it. I'd do this but I don't know the Ada FE well enough since I never build it >>From gcc-bugs-return-620668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 14:12:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22780 invoked by alias); 9 Nov 2018 14:12: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 22715 invoked by uid 48); 9 Nov 2018 14:12:40 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/79605] attribute [[noreturn]] accepted in explicit instantiation directives Date: Fri, 09 Nov 2018 14:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00825.txt.bz2 Content-length: 487 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79605 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org, | |nathan at gcc dot gnu.org --- Comment #2 from Eric Gallager --- cc-ing C++ FE maintainers >>From gcc-bugs-return-620669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 14:14:13 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25815 invoked by alias); 9 Nov 2018 14:14:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25739 invoked by uid 48); 9 Nov 2018 14:14:08 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/80512] missing -Wformat-overfow on a numbered directive with width specified by "*m$" Date: Fri, 09 Nov 2018 14:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00826.txt.bz2 Content-length: 496 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80512 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmalcolm at gcc dot gnu.or= g, | |dodji at gcc dot gnu.org --- Comment #2 from Eric Gallager --- cc-ing diagnostics maintainers >>From gcc-bugs-return-620670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 14:20:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49287 invoked by alias); 9 Nov 2018 14: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 49164 invoked by uid 48); 9 Nov 2018 14:19:56 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/80936] bcmp, bcopy, and bzero not declared nonnull Date: Fri, 09 Nov 2018 14:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00827.txt.bz2 Content-length: 622 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80936 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ghazi at gcc dot gnu.org --- Comment #2 from Eric Gallager --- Comment in builtins.def says: /* bcmp, bcopy and bzero have traditionally accepted NULL pointers when the length parameter is zero, so don't apply attribute "nonnull". = */ svn blame says Kaveh Ghazi wrote that comment; cc-ing him >>From gcc-bugs-return-620671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 14:23:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54570 invoked by alias); 9 Nov 2018 14:23: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 54511 invoked by uid 48); 9 Nov 2018 14:23:00 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/81585] fastcall/stdcall attribute conflict not detected on distinct declarations of the same function Date: Fri, 09 Nov 2018 14:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: minor X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00828.txt.bz2 Content-length: 486 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81585 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org, | |ubizjak at gmail dot com --- Comment #3 from Eric Gallager --- cc-ing i386 maintainers >>From gcc-bugs-return-620672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 14:28:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63748 invoked by alias); 9 Nov 2018 14:28: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 63713 invoked by uid 48); 9 Nov 2018 14:28:10 -0000 From: "eugvelesevich at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87961] New: crash at goto label inside sizeof Date: Fri, 09 Nov 2018 14:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eugvelesevich at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00829.txt.bz2 Content-length: 663 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87961 Bug ID: 87961 Summary: crash at goto label inside sizeof Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: eugvelesevich at gmail dot com Target Milestone: --- source.cpp: int main() { sizeof(({M:0;})); goto M; } output: In function =E2=80=98int main()=E2=80=99: :1:5: internal compiler error: Segmentation fault int main() { ^~~~ Code is a little strange... clang gets sigsegv too :) >>From gcc-bugs-return-620673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 14:41:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28240 invoked by alias); 9 Nov 2018 14: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 28013 invoked by uid 48); 9 Nov 2018 14:41:37 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/87892] [9 Regression]: libsanitizer fails to build on CentOS 5.11 (glibc 2.5) Date: Fri, 09 Nov 2018 14:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: build 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00830.txt.bz2 Content-length: 433 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87892 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Martin Li=C5=A1ka --- Fixed. >>From gcc-bugs-return-620674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 14:47:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 906 invoked by alias); 9 Nov 2018 14:47: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 358 invoked by uid 48); 9 Nov 2018 14:47:33 -0000 From: "wschmidt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87949] PowerPC saves CR registers across calls Date: Fri, 09 Nov 2018 14:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wschmidt at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00831.txt.bz2 Content-length: 239 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87949 --- Comment #4 from Bill Schmidt --- Seems like a potential opportunity for shrink-wrap separate on the CRs. I'm not sure whether that's implemented yet. >>From gcc-bugs-return-620675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 16:35:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98092 invoked by alias); 9 Nov 2018 16: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 97990 invoked by uid 48); 9 Nov 2018 16:35:41 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/87787] [9 Regression][UBSAN] runtime error: null pointer passed as argument 2, which is declared to never be null Date: Fri, 09 Nov 2018 16:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00832.txt.bz2 Content-length: 1645 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87787 Tobias Burnus changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org Summary|[9 Regression] runtime |[9 Regression][UBSAN] |error: null pointer passed |runtime error: null pointer |as argument 2, which is |passed as argument 2, which |declared to never be null |is declared to never be | |null --- Comment #3 from Tobias Burnus --- (In reply to Marc Glisse from comment #2) > (In reply to Marc Glisse from comment #1) > > That would be my recent commit. We will probably need to add if(size!= =3D0) in > > front of the call to memmove... >=20 > That's what we already do in stl_algobase.h and fstream.tcc. I notice that > we do not do it in char_traits.h for the generic version (we do for each > specialization). I don't know if memcpy in locale_facets.h is safe either. As that comment talks about char_traits.h, only, it is not clear whether the following would be covered by the fix as well or not. In any case, the following is a simple reproducer: #include int main() { int *ip =3D NULL; std::vector vec; vec.push_back(ip); return 1; } With gives with ubsan (-fsanitize=3Dundefined) at run time: stl_uninitialized.h:907:24: runtime error: null pointer passed as argument = 2, which is declared to never be null >>From gcc-bugs-return-620676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 16:43:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109053 invoked by alias); 9 Nov 2018 16:43:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 108979 invoked by uid 48); 9 Nov 2018 16:43:21 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/87787] [9 Regression][UBSAN] runtime error: null pointer passed as argument 2, which is declared to never be null Date: Fri, 09 Nov 2018 16:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00833.txt.bz2 Content-length: 290 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87787 --- Comment #4 from Tobias Burnus --- (In reply to Marc Glisse from comment #1) > That would be my recent commit. Namely, the commit r265485 of 2018-10-25: "Relocation (=3D move+destroy)" PR libstdc++/87106 >>From gcc-bugs-return-620677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 17:04:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45875 invoked by alias); 9 Nov 2018 17:04: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 45737 invoked by uid 48); 9 Nov 2018 17:04:00 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled Date: Fri, 09 Nov 2018 17:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc resolution everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00834.txt.bz2 Content-length: 2622 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87950 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|RESOLVED |NEW Last reconfirmed| |2018-11-09 CC| |msebor at gcc dot gnu.org Resolution|INVALID |--- Ever confirmed|0 |1 --- Comment #12 from Martin Sebor --- I do agree there is room for improvement here. Consider the following test case: $ cat t.c && gcc -O2 -S -Wall -Wextra -Wpedantic -Wswitch-enum -fdump-tree-optimized=3D/dev/stdout t.c enum E { e0 } e; int f (void) { switch (e) case e0: return 0; } t.c: In function =E2=80=98f=E2=80=99: t.c:7:1: warning: control reaches end of non-void function [-Wreturn-type] 7 | } | ^ ;; Function f (f, funcdef_no=3D0, decl_uid=3D1909, cgraph_uid=3D1, symbol= _order=3D1) f () { E e.0_1; [local count: 1073741824]: e.0_1 =3D e; if (e.0_1 =3D=3D 0) goto ; [50.00%] else goto ; [50.00%] [local count: 536870913]: return 0; [local count: 536870913]: return; } The -Wswitch-enum option doesn't warn about the switch statement not handli= ng switch values that don't correspond to any of the enumerators. To have it diagnosed the -Wswitch-default option has to be explicitly specified (it's = off by default). Given that, I believe the same logic should apply to the -Wreturn-type warn= ing: it should not trigger for the snippet above or for the test case in comment= #0 unless explicitly requested somehow (perhaps it should consider -Wswitch-default). In addition, note the comparison to zero in the optimized GIMPLE. It's unnecessary because the function returns no value when the value of e is non-zero. Clang notices that and avoids the comparison. But perhaps a bet= ter example to illustrate the missed optimization opportunity than the contrived test case above is this: enum E { e0, e1, e2 } e; int f (void) { switch (e) { case e0: return 1; case e1: return 2; case e2: return 3; } } Here, GCC also emits the same pointless comparison/branch: f: movl e(%rip), %eax cmpl $2, %eax ja .L2 addl $1, %eax ret .L2: ret >>From gcc-bugs-return-620678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 17:08:18 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56509 invoked by alias); 9 Nov 2018 17:08:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 55240 invoked by uid 55); 9 Nov 2018 17:08:11 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/78351] comma not terminating READ of formatted input field - ok in 4.1.7, not 4.4.7- maybe related to 25419? Date: Fri, 09 Nov 2018 17:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.4.7 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00835.txt.bz2 Content-length: 861 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78351 --- Comment #25 from Jerry DeLisle --- Author: jvdelisle Date: Fri Nov 9 17:07:39 2018 New Revision: 265976 URL: https://gcc.gnu.org/viewcvs?rev=3D265976&root=3Dgcc&view=3Drev Log: 2018-11-09 Jerry DeLisle Backport from trunk PR libfortran/78351 * io/transfer.c (read_sf_internal): Add support for early comma termination of internal unit formatted reads. Backported from mainline PR libfortran/78351 * gfortran.dg/read_legacy_comma.f90: New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/read_legacy_comma.f90 Modified: branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/libgfortran/ChangeLog branches/gcc-8-branch/libgfortran/io/transfer.c >>From gcc-bugs-return-620679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 17:18:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122616 invoked by alias); 9 Nov 2018 17:18: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 122545 invoked by uid 55); 9 Nov 2018 17:18:19 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87795] Excessive alignment permitted for functions and labels Date: Fri, 09 Nov 2018 17:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00836.txt.bz2 Content-length: 847 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87795 --- Comment #8 from Martin Sebor --- Author: msebor Date: Fri Nov 9 17:17:47 2018 New Revision: 265977 URL: https://gcc.gnu.org/viewcvs?rev=3D265977&root=3Dgcc&view=3Drev Log: PR c/87795 - Excessive alignment permitted for functions and labels gcc/c-family/ChangeLog: PR c/87795 * c-common.c (check_user_alignment): Use MAX_OFILE_ALIGNMENT. gcc/testsuite/ChangeLog: PR c/87795 * gcc.dg/attr-aligned.c: New test. Added: trunk/gcc/testsuite/gcc.dg/attr-aligned.c Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-attribs.c trunk/gcc/c-family/c-common.c trunk/gcc/c-family/c-common.h trunk/gcc/c/c-decl.c trunk/gcc/doc/tm.texi trunk/gcc/doc/tm.texi.in trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-620680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 17:19:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127236 invoked by alias); 9 Nov 2018 17:19: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 127150 invoked by uid 48); 9 Nov 2018 17:19:25 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87795] Excessive alignment permitted for functions and labels Date: Fri, 09 Nov 2018 17:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00837.txt.bz2 Content-length: 551 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87795 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Known to work| |9.0 Resolution|--- |FIXED Known to fail| |8.2.0 --- Comment #9 from Martin Sebor --- Fixed for GCC 9 in 265977. >>From gcc-bugs-return-620681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 17:30:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 52295 invoked by alias); 9 Nov 2018 17:30: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 52033 invoked by uid 55); 9 Nov 2018 17:30:10 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/78351] comma not terminating READ of formatted input field - ok in 4.1.7, not 4.4.7- maybe related to 25419? Date: Fri, 09 Nov 2018 17:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.4.7 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00838.txt.bz2 Content-length: 507 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78351 --- Comment #26 from Jerry DeLisle --- Author: jvdelisle Date: Fri Nov 9 17:29:33 2018 New Revision: 265979 URL: https://gcc.gnu.org/viewcvs?rev=3D265979&root=3Dgcc&view=3Drev Log: 2018-11-09 Jerry DeLisle PR libfortran/78351 * io/transfer.c (read_sf_internal): Delete leftover debug code. Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/io/transfer.c >>From gcc-bugs-return-620682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 17:33:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62005 invoked by alias); 9 Nov 2018 17:33:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61881 invoked by uid 55); 9 Nov 2018 17:33:24 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/81824] Warn for missing attributes with function aliases Date: Fri, 09 Nov 2018 17:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: diagnostic, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00839.txt.bz2 Content-length: 2326 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81824 --- Comment #10 from Martin Sebor --- Author: msebor Date: Fri Nov 9 17:32:52 2018 New Revision: 265980 URL: https://gcc.gnu.org/viewcvs?rev=3D265980&root=3Dgcc&view=3Drev Log: PR middle-end/81824 - Warn for missing attributes with function aliases gcc/c-family/ChangeLog: PR middle-end/81824 * c-attribs.c (handle_copy_attribute): New function. gcc/cp/ChangeLog: PR middle-end/81824 * pt.c (warn_spec_missing_attributes): Move code to attribs.c. Call decls_mismatched_attributes. gcc/ChangeLog: PR middle-end/81824 * attribs.c (has_attribute): New helper function. (decls_mismatched_attributes, maybe_diag_alias_attributes): Same. * attribs.h (decls_mismatched_attributes): Declare. * cgraphunit.c (handle_alias_pairs): Call maybe_diag_alias_attribut= es. (maybe_diag_incompatible_alias): Use OPT_Wattribute_alias_. * common.opt (-Wattribute-alias): Take an argument. (-Wno-attribute-alias): New option. * doc/extend.texi (Common Function Attributes): Document copy. (Common Variable Attributes): Same. * doc/invoke.texi (-Wmissing-attributes): Document enhancement. (-Wattribute-alias): Document new option argument. gcc/testsuite/ChangeLog: PR middle-end/81824 * gcc.dg/Wattribute-alias.c: New test. * gcc.dg/Wmissing-attributes.c: New test. * gcc.dg/attr-copy.c: New test. * gcc.dg/attr-copy-2.c: New test. * gcc.dg/attr-copy-3.c: New test. * gcc.dg/attr-copy-4.c: New test. Added: trunk/gcc/testsuite/gcc.dg/Wattribute-alias.c trunk/gcc/testsuite/gcc.dg/Wmissing-attributes.c trunk/gcc/testsuite/gcc.dg/attr-copy-2.c trunk/gcc/testsuite/gcc.dg/attr-copy-3.c trunk/gcc/testsuite/gcc.dg/attr-copy-4.c trunk/gcc/testsuite/gcc.dg/attr-copy.c Modified: trunk/gcc/ChangeLog trunk/gcc/attribs.c trunk/gcc/attribs.h trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-attribs.c trunk/gcc/cgraphunit.c trunk/gcc/common.opt trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/doc/extend.texi trunk/gcc/doc/invoke.texi trunk/gcc/testsuite/ChangeLog trunk/libgomp/libgomp.h >>From gcc-bugs-return-620683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 17:45:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 94158 invoked by alias); 9 Nov 2018 17:45: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 93725 invoked by uid 48); 9 Nov 2018 17:45:22 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87962] New: ice in vect_get_vec_def_for_operand_1, at tree-vect-stmts.c:1485 Date: Fri, 09 Nov 2018 17:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00840.txt.bz2 Content-length: 1009 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87962 Bug ID: 87962 Summary: ice in vect_get_vec_def_for_operand_1, at tree-vect-stmts.c:1485 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For this C code: int a, b; int c() { long d, e; while (a) { a++; b =3D 0; for (; b++ - 2; d =3D d >> 1) e +=3D d; } return e; } compiled by recent gcc trunk and flags -O3 -march=3Dnative, does this: bug474.c:4:5: internal compiler error: in vect_get_vec_def_for_operand_1, at tree-vect-stmts.c:1485 This code used to work at revision 265846, but fails at revision 265907. /proc/cpuinfo says vendor_id : AuthenticAMD cpu family : 21 model : 2 model name : AMD FX(tm)-8350 Eight-Core Processor >>From gcc-bugs-return-620684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 17:48:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102197 invoked by alias); 9 Nov 2018 17:48: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 96541 invoked by uid 48); 9 Nov 2018 17:48:04 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87962] ice in vect_get_vec_def_for_operand_1, at tree-vect-stmts.c:1485 Date: Fri, 09 Nov 2018 17:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00841.txt.bz2 Content-length: 454 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87962 David Binderman changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rsandifo at gcc dot gnu.org --- Comment #1 from David Binderman --- svn blame says 263129 rsandifo gcc_assert (vec_stmt_info); >>From gcc-bugs-return-620685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 17:49:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105178 invoked by alias); 9 Nov 2018 17:49:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 104632 invoked by uid 48); 9 Nov 2018 17:49:19 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/18501] [7/8/9 Regression] Missing 'used uninitialized' warning (CCP) Date: Fri, 09 Nov 2018 17:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.0.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: minor X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-11/txt/msg00842.txt.bz2 Content-length: 495 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D18501 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #88 from Eric Gallager --- This came up again on the gcc-help mailing list here: https://gcc.gnu.org/ml/gcc-help/2018-11/msg00007.html >>From gcc-bugs-return-620686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 17:56:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113127 invoked by alias); 9 Nov 2018 17:56: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 113066 invoked by uid 48); 9 Nov 2018 17:56:02 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/85930] [8/9 Regression] Misaligned reference created in shared_ptr_base.h with -fno-rtti Date: Fri, 09 Nov 2018 17:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status bug_file_loc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00843.txt.bz2 Content-length: 698 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85930 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED URL| |https://bugzilla.redhat.com | |/show_bug.cgi?id=3D1643318 Resolution|FIXED |--- --- Comment #6 from Jonathan Wakely --- Clang's UBsan still complains about this, because the object at the type-pu= nned address is not large enough to be a type_info. >>From gcc-bugs-return-620687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 18:11:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81863 invoked by alias); 9 Nov 2018 18:11: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 81809 invoked by uid 48); 9 Nov 2018 18:11:46 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/81824] Warn for missing attributes with function aliases Date: Fri, 09 Nov 2018 18:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: diagnostic, patch X-Bugzilla-Severity: enhancement X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00844.txt.bz2 Content-length: 553 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81824 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |9.0 Severity|normal |enhancement --- Comment #11 from Martin Sebor --- Committed in r265980. >>From gcc-bugs-return-620688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 18:29:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87877 invoked by alias); 9 Nov 2018 18:29: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 87818 invoked by uid 48); 9 Nov 2018 18:29:42 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/87520] [8/9 Regression] ODR violations in std::make_shared when mixing -fno-rtti and -frtti Date: Fri, 09 Nov 2018 18:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 8.2.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: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00845.txt.bz2 Content-length: 427 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87520 --- Comment #4 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > @@ -513,7 +512,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION > alignas(type_info) static constexpr _Sp_make_shared_tag __tag; This needs to be fixed to have the right size as well as alignment, so the reference binds to suitable storage (as per core DR 453). >>From gcc-bugs-return-620689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 18:41:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 113643 invoked by alias); 9 Nov 2018 18:41: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 113547 invoked by uid 55); 9 Nov 2018 18:41:31 -0000 From: "meissner at linux dot ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87949] PowerPC saves CR registers across calls Date: Fri, 09 Nov 2018 18:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: meissner at linux dot ibm.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00846.txt.bz2 Content-length: 937 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87949 --- Comment #5 from meissner at linux dot ibm.com --- On Fri, Nov 09, 2018 at 02:28:28AM +0000, bergner at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87949 >=20 > --- Comment #3 from Peter Bergner --- > What do you think we can do about that? The call clobbers the ABI defined > non-volatile CR regs, so we have to save/restore them. I don't think we = have > any other option, other than telling GCC to never use the non-volatile CR= regs > so they never have to be saved/restored. Does using -ffixed-cr2 -ffixed-= cr3 > -ffixed-cr4 help? I should clarify what I would like. Yes, if the compiler needs to preserve= the CRs the current code works. But it would be helpful if instead of trying to preserve the CR across calls, that we re-do the initial comparison, instead= of trying to keep the CR live for so long. >>From gcc-bugs-return-620690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 18:43:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115332 invoked by alias); 9 Nov 2018 18:43: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 115246 invoked by uid 55); 9 Nov 2018 18:43:20 -0000 From: "meissner at linux dot ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87949] PowerPC saves CR registers across calls Date: Fri, 09 Nov 2018 18:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: meissner at linux dot ibm.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00847.txt.bz2 Content-length: 675 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87949 --- Comment #6 from meissner at linux dot ibm.com --- On Fri, Nov 09, 2018 at 02:47:31PM +0000, wschmidt at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87949 >=20 > --- Comment #4 from Bill Schmidt --- > Seems like a potential opportunity for shrink-wrap separate on the CRs. = I'm > not sure whether that's implemented yet. Not really, since shrink wrap only occurs if the program has an early exit condition. In this case, I don't think it is early exit, but instead the compiler is just lengthening the lifetime of the CR and moving it out of lo= ops, etc. >>From gcc-bugs-return-620691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 18:45:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118969 invoked by alias); 9 Nov 2018 18:45: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 118832 invoked by uid 48); 9 Nov 2018 18:45:49 -0000 From: "dje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87949] PowerPC saves CR registers across calls Date: Fri, 09 Nov 2018 18:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: 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: cf_gcctarget bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00848.txt.bz2 Content-length: 676 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87949 David Edelsohn changed: What |Removed |Added ---------------------------------------------------------------------------- Target|powerpc |powerpc-*-* Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-09 Ever confirmed|0 |1 --- Comment #7 from David Edelsohn --- This sounds like the general problem of the first RA pass creating excessiv= ely long live ranges. Does GCC know how to re-materialize a comparison? >>From gcc-bugs-return-620692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 18:52:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124927 invoked by alias); 9 Nov 2018 18:52: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 124840 invoked by uid 48); 9 Nov 2018 18:51:55 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled Date: Fri, 09 Nov 2018 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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00849.txt.bz2 Content-length: 1347 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87951 --- Comment #3 from Jonathan Wakely --- (In reply to Vitali from comment #0) > If a function has a single switch statement that handles all enum values & > returns a value GCC will warn about the function not returning a value > whereas clang does not. GCC requires an explicit __builtin_unreachable() > annotation after the switch. As of C++17 it seems to now be undefined > behaviour rather than unspecified behaviour for an enum to have a value > that's not enumerated. No, that's not what the defect report says. I wish this myth would die. Outside the range of the enumerated values does not mean not enumerated. Given enum E { e0=3D0, e10=3D7 } there is nothing undefined about E(1) or E= (4). > http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1766 >=20 > > cat test.c >=20 > enum Enum { > A, > B, > }; >=20 > int CoverMyBases(enum Enum x) { > switch (x) { > case A: > return 1; > case B: > return 0; > } > } >=20 > int main(int argc, const char **argv) { > CoverMyBases(A); > CoverMyBases(B); > return 0; > } >=20 > > g++-8 -Wall --std=3Dc++17 test.c >=20 > test.c: In function 'CoverMyBases': > test.c:16:1: warning: control reaches end of non-void function > [-Wreturn-type] > } > ^ This is what -fstrict-enums is for. >>From gcc-bugs-return-620693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 18:53:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 126191 invoked by alias); 9 Nov 2018 18:53: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 126098 invoked by uid 48); 9 Nov 2018 18:52:58 -0000 From: "vlovich at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled Date: Fri, 09 Nov 2018 18:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: vlovich at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00850.txt.bz2 Content-length: 166 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87951 --- Comment #4 from Vitali --- Is there a way to annotate a specific enum as strict? >>From gcc-bugs-return-620694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 19:42:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95895 invoked by alias); 9 Nov 2018 19:42: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 95779 invoked by uid 48); 9 Nov 2018 19:42:10 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87960] [9 Regression] Miscompilation of 527.cam4_r benchmark from SPEC2017 w/ -O2 since r265946 Date: Fri, 09 Nov 2018 19:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00851.txt.bz2 Content-length: 629 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87960 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-11-09 CC| |tkoenig at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Thomas Koenig --- =46rom the description, this should be fixed with r265979. Is that the case? >>From gcc-bugs-return-620695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 19:57:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11802 invoked by alias); 9 Nov 2018 19: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 11721 invoked by uid 48); 9 Nov 2018 19:57:53 -0000 From: "vlovich at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled Date: Fri, 09 Nov 2018 19:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: vlovich at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00852.txt.bz2 Content-length: 735 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87951 --- Comment #5 from Vitali --- Jonathan, I think the defect report here does actually apply to this exampl= e. I agree the argument could be made that if there's gaps in the enum values th= at it's arguable that the current GCC behaviour is standards compliant (clearly clang & GCC disagree on this for both C & C++ so unclear who's right or wro= ng in their interpretation of what's allowed). However, in the example posted this is a "dense" enum. There's no integer v= alue possible that's not outside the range & yet GCC still continues to treat th= at as a possibility & thus missing optimization opportunities & generating false-positive warnings. >>From gcc-bugs-return-620696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 20:05:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39059 invoked by alias); 9 Nov 2018 20:05: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 38965 invoked by uid 48); 9 Nov 2018 20:05:53 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87949] PowerPC saves CR registers across calls Date: Fri, 09 Nov 2018 20:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00853.txt.bz2 Content-length: 515 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87949 --- Comment #8 from Segher Boessenkool --- (In reply to Bill Schmidt from comment #4) > Seems like a potential opportunity for shrink-wrap separate on the CRs. = I'm > not sure whether that's implemented yet. It isn't; there are some technical problems to implement it. Nothing that cannot be overcome though. The benefit wouldn't be huge; a much bigger benefit can be had by not using non-volatile CR fields in the first place. >>From gcc-bugs-return-620697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 20:09:43 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54059 invoked by alias); 9 Nov 2018 20:09: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 53976 invoked by uid 48); 9 Nov 2018 20:09:37 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87949] PowerPC saves CR registers across calls Date: Fri, 09 Nov 2018 20:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00854.txt.bz2 Content-length: 670 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87949 --- Comment #9 from Segher Boessenkool --- (In reply to meissner from comment #6) - Comment #4 from Bill Schmidt --- > > Seems like a potential opportunity for shrink-wrap separate on the CRs.= I'm > > not sure whether that's implemented yet. >=20 > Not really, since shrink wrap only occurs if the program has an early exit > condition. Separate shrink-wrapping can help in all cases where not all saves or resto= res are needed on every path through the function, not just in cases where on s= ome path through the function *no* save/restore is needed. >>From gcc-bugs-return-620698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 20:10:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56252 invoked by alias); 9 Nov 2018 20:10: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 55906 invoked by uid 48); 9 Nov 2018 20:09:57 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled Date: Fri, 09 Nov 2018 20:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00855.txt.bz2 Content-length: 2344 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87951 --- Comment #6 from Jonathan Wakely --- (In reply to Vitali from comment #5) > Jonathan, I think the defect report here does actually apply to this > example. I didn't say otherwise. > I agree the argument could be made that if there's gaps in the enum > values that it's arguable that the current GCC behaviour is standards > compliant (clearly clang & GCC disagree on this for both C & C++ so uncle= ar > who's right or wrong in their interpretation of what's allowed). No, it has nothing to do with "gaps" in the enum. This is a myth. All that matters is the range of representable values, which (for an enumeration without a fixed underlying type) depends on the number of bits required to represent the minimum and maximum enumerator values. It doesn't make any difference whatsoever whether there are "gaps" between those minim= um and maximum values. > However, in the example posted this is a "dense" enum. What matters is that all the values of the enum can be represented in a sin= gle bit, and so the only valid values are 0 and 1, which happen to have enumerators. But the only valid values would still be 0 and 1 if your enum = was defined as enum Enum { B=3D1 }; and so a switch that failed to handle the possibility = of Enum(0) would be wrong (even with -fstrict-enums) The mental model of "dense" vs "gaps" is WRONG. > There's no integer > value possible that's not outside the range & yet GCC still continues to > treat that as a possibility & thus missing optimization opportunities & > generating false-positive warnings. Yes, that's what -fstrict-enums is for. The default (without -fstrict-enums) assumes most code is buggy and doesn't follow the rules. If you do not use values outside the valid range of values for the enumeration, use -fstrict-enums. I can see some value in the suggestion to annotate a specific enumeration t= ype as strict, but that might not be the right solution. What matters is how the enumeration type is used (whether invalid values are ever created) and that isn't something you can guarantee when the enum is declared. You *can* annotate the uses of a specific enum, but telling the compiler th= at no other values will ever be used in the switch, by adding: default: __builtin_unreachable(); >>From gcc-bugs-return-620699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 20:14:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69938 invoked by alias); 9 Nov 2018 20:14: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 69806 invoked by uid 55); 9 Nov 2018 20:14:42 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/87787] [9 Regression][UBSAN] runtime error: null pointer passed as argument 2, which is declared to never be null Date: Fri, 09 Nov 2018 20:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00856.txt.bz2 Content-length: 585 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87787 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Fri Nov 9 20:14:07 2018 New Revision: 265984 URL: https://gcc.gnu.org/viewcvs?rev=3D265984&root=3Dgcc&view=3Drev Log: PR libstdc++/87787 fix UBsan error in std::vector PR libstdc++/87787 * include/bits/stl_uninitialized.h (__relocate_a_1): Do not call memmove when there's nothing to copy (and pointers could be null). Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/stl_uninitialized.h >>From gcc-bugs-return-620700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 20:16:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71721 invoked by alias); 9 Nov 2018 20:16:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 71426 invoked by uid 48); 9 Nov 2018 20:15:57 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87949] PowerPC saves CR registers across calls Date: Fri, 09 Nov 2018 20:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00857.txt.bz2 Content-length: 482 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87949 --- Comment #10 from Segher Boessenkool --- (In reply to David Edelsohn from comment #7) > This sounds like the general problem of the first RA pass creating > excessively long live ranges. Yeah. > Does GCC know how to re-materialize a comparison? Not sure... Maybe secondary reloads can help? But there also is TARGET_SELECT_EARLY_REMAT_MODES nowadays, that sounds like just what we need here! >>From gcc-bugs-return-620701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 20:25:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104686 invoked by alias); 9 Nov 2018 20:25: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 103920 invoked by uid 48); 9 Nov 2018 20:25:14 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87949] PowerPC saves CR registers across calls Date: Fri, 09 Nov 2018 20:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00858.txt.bz2 Content-length: 147 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87949 --- Comment #11 from Segher Boessenkool --- Trying that out now. >>From gcc-bugs-return-620702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 20:33:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120566 invoked by alias); 9 Nov 2018 20:33: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 120485 invoked by uid 55); 9 Nov 2018 20:33:51 -0000 From: "iii at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87762] [9 Regression] extract_constrain_insn, at recog.c:2206 on s390x Date: Fri, 09 Nov 2018 20:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iii at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: iii at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00859.txt.bz2 Content-length: 1964 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87762 --- Comment #4 from iii at gcc dot gnu.org --- Author: iii Date: Fri Nov 9 20:33:19 2018 New Revision: 265991 URL: https://gcc.gnu.org/viewcvs?rev=3D265991&root=3Dgcc&view=3Drev Log: S/390: Allow relative addressing of literal pool entries r265490 allowed the compiler to choose in a more flexible way whether to use load or load-address-relative-long (LARL) instruction. When it chose LARL for literal pool references, the latter ones were rewritten by pass_s390_early_mach to use UNSPEC_LTREF, which assumes base register usage, which in turn is not compatible with LARL. The end result was an ICE because of unrecognizable insn. UNSPEC_LTREF and friends are necessary in order to communicate the dependency on the base register to pass_sched2. When relative addressing is used, no base register is necessary, so in such cases the rewrite must be avoided. gcc/ChangeLog: 2018-11-09 Ilya Leoshkevich PR target/87762 * config/s390/s390.c (s390_safe_relative_long_p): New function. (annotate_constant_pool_refs): Skip insns which support relative addressing. (annotate_constant_pool_refs_1): New helper function. (find_constant_pool_ref): Skip insns which support relative addression. (find_constant_pool_ref_1): New helper function. (replace_constant_pool_ref): Skip insns which support relative addressing. (replace_constant_pool_ref_1): New helper function. (s390_mainpool_start): Adapt to the new signature. (s390_mainpool_finish): Likewise. (s390_chunkify_start): Likewise. (s390_chunkify_finish): Likewise. (pass_s390_early_mach::execute): Likewise. (s390_prologue_plus_offset): Likewise. (s390_emit_prologue): Likewise. (s390_emit_epilogue): Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/config/s390/s390.c >>From gcc-bugs-return-620703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 20:35:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 123279 invoked by alias); 9 Nov 2018 20:35:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 123239 invoked by uid 48); 9 Nov 2018 20:35:32 -0000 From: "mateuszb at poczta dot onet.pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/87963] New: libstdc++-v3/src/c++17/memory_resource.cc:515:31: error: static assertion failed for mingw-w64 target since r265853 Date: Fri, 09 Nov 2018 20:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mateuszb at poczta dot onet.pl X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00860.txt.bz2 Content-length: 3198 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87963 Bug ID: 87963 Summary: libstdc++-v3/src/c++17/memory_resource.cc:515:31: error: static assertion failed for mingw-w64 target since r265853 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: mateuszb at poczta dot onet.pl Target Milestone: --- When I build cross compiler (trunk) for mingw-w64 x86_64 target (long is 4-bytes, pointer is 8-bytes), there are errors since r265853 libtool: compile: /home/ma/m/build/bc_gcc/./gcc/xgcc -shared-libgcc -B/home/ma/m/build/bc_gcc/./gcc -nostdinc++ -L/home/ma/m/build/bc_gcc/x86_64-w64-mingw32/libstdc++-v3/src -L/home/ma/m/build/bc_gcc/x86_64-w64-mingw32/libstdc++-v3/src/.libs -L/home/ma/m/build/bc_gcc/x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs -L/home/ma/m/cross/x86_64-w64-mingw32/lib -L/home/ma/m/cross/mingw/lib -isy= stem /home/ma/m/cross/x86_64-w64-mingw32/include -isystem /home/ma/m/cross/mingw/include -B/home/ma/m/cross/x86_64-w64-mingw32/bin/ -B/home/ma/m/cross/x86_64-w64-mingw32/lib/ -isystem /home/ma/m/cross/x86_64-w64-mingw32/include -isystem /home/ma/m/cross/x86_64-w64-mingw32/sys-include -I/home/ma/m/source/gcc-9/libstdc++-v3/../libgcc -I/home/ma/m/build/bc_gcc/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w6= 4-mingw32 -I/home/ma/m/build/bc_gcc/x86_64-w64-mingw32/libstdc++-v3/include -I/home/ma/m/source/gcc-9/libstdc++-v3/libsupc++ -std=3Dgnu++17 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=3D2 -fdiagnostics-show-location=3Donce -ffunction-sections -fdata-sections -frandom-seed=3Dmemory_resource.lo -g -O2 -fimplicit-templates -c /home/ma/m/source/gcc-9/libstdc++-v3/src/c++17/memory_resource.cc -o memory_resource.o /home/ma/m/source/gcc-9/libstdc++-v3/src/c++17/memory_resource.cc:515:31: error: static assertion failed 515 | static_assert(sizeof(chunk) =3D=3D (4 * sizeof(void*)), ""); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/ma/m/source/gcc-9/libstdc++-v3/src/c++17/memory_resource.cc:526:48: warning: left shift count >=3D width of type [-Wshift-count-overflow] 526 | static constexpr size_t all_ones =3D (1ul << _S_sizebits) - 1u; | ^~~~~~~~~~~ /home/ma/m/source/gcc-9/libstdc++-v3/src/c++17/memory_resource.cc:526:45: error: right operand of shift expression '(1 << 58)' is >=3D than the preci= sion of the left operand [-fpermissive] 526 | static constexpr size_t all_ones =3D (1ul << _S_sizebits) - 1u; | ~~~~~^~~~~~~~~~~~~~~ /home/ma/m/source/gcc-9/libstdc++-v3/src/c++17/memory_resource.cc: In member function 'std::size_t std::pmr::{anonymous}::big_block::size() const': /home/ma/m/source/gcc-9/libstdc++-v3/src/c++17/memory_resource.cc:548:5: warning: control reaches end of non-void function [-Wreturn-type] 548 | } | ^ Makefile:735: recipe for target 'memory_resource.lo' failed make[4]: *** [memory_resource.lo] Error 1 >>From gcc-bugs-return-620704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 20:38:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4304 invoked by alias); 9 Nov 2018 20:38: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 4003 invoked by uid 55); 9 Nov 2018 20:38:39 -0000 From: "edlinger at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87940] [9 Regression] FAIL: gcc.dg/warn-strlen-no-nul.c Date: Fri, 09 Nov 2018 20:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: edlinger at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: edlinger at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00861.txt.bz2 Content-length: 520 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87940 --- Comment #2 from Bernd Edlinger --- Author: edlinger Date: Fri Nov 9 20:38:07 2018 New Revision: 265992 URL: https://gcc.gnu.org/viewcvs?rev=3D265992&root=3Dgcc&view=3Drev Log: 2018-11-09 Bernd Edlinger PR tree-optimization/87940 * expr.c (string_constant): Don't strip NOPS in subexpressions. Fold PLUS_EXPR correctly. Modified: trunk/gcc/ChangeLog trunk/gcc/expr.c >>From gcc-bugs-return-620705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 20:39:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6203 invoked by alias); 9 Nov 2018 20: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 6139 invoked by uid 48); 9 Nov 2018 20:39:25 -0000 From: "edlinger at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87940] [9 Regression] FAIL: gcc.dg/warn-strlen-no-nul.c Date: Fri, 09 Nov 2018 20:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: edlinger at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: edlinger at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00862.txt.bz2 Content-length: 440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87940 Bernd Edlinger changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Bernd Edlinger --- Fixed. Thanks! >>From gcc-bugs-return-620706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 20:46:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100228 invoked by alias); 9 Nov 2018 20:46: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 100146 invoked by uid 55); 9 Nov 2018 20:46:32 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/41179] Documentation for "-fno-toplevel-reorder" is confusing (and wrong) Date: Fri, 09 Nov 2018 20:46: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: 4.4.1 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: trivial X-Bugzilla-Who: sandra at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00863.txt.bz2 Content-length: 584 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D41179 --- Comment #4 from sandra at gcc dot gnu.org --- Author: sandra Date: Fri Nov 9 20:45:06 2018 New Revision: 265993 URL: https://gcc.gnu.org/viewcvs?rev=3D265993&root=3Dgcc&view=3Drev Log: 2018-11-09 Sandra Loosemore PR driver/41179 PR middle-end/65703 gcc/ * doc/invoke.texi (Optimize Options): Clarify default behavior for -fno-toplevel-reorder, -fno-defer-pop, and -fno-branch-count-re= g. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/invoke.texi >>From gcc-bugs-return-620707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 20:46:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 100265 invoked by alias); 9 Nov 2018 20:46: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 100187 invoked by uid 55); 9 Nov 2018 20:46:34 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/65703] -fdefer-pop documentation is confusing Date: Fri, 09 Nov 2018 20:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00864.txt.bz2 Content-length: 584 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65703 --- Comment #3 from sandra at gcc dot gnu.org --- Author: sandra Date: Fri Nov 9 20:45:06 2018 New Revision: 265993 URL: https://gcc.gnu.org/viewcvs?rev=3D265993&root=3Dgcc&view=3Drev Log: 2018-11-09 Sandra Loosemore PR driver/41179 PR middle-end/65703 gcc/ * doc/invoke.texi (Optimize Options): Clarify default behavior for -fno-toplevel-reorder, -fno-defer-pop, and -fno-branch-count-re= g. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/invoke.texi >>From gcc-bugs-return-620708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 20:56:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39554 invoked by alias); 9 Nov 2018 20:56: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 39401 invoked by uid 55); 9 Nov 2018 20:56:16 -0000 From: "law at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87221] cannot build with -pie Date: Fri, 09 Nov 2018 20:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: law at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00865.txt.bz2 Content-length: 485 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87221 --- Comment #4 from Jeffrey A. Law --- Author: law Date: Fri Nov 9 20:55:39 2018 New Revision: 265994 URL: https://gcc.gnu.org/viewcvs?rev=3D265994&root=3Dgcc&view=3Drev Log: PR target/87221 * config/netbsd-elf.h (NETBSD_STARTFILE_SPEC): Use crtbeginS.o for = PIE. (NETBSD_ENDFILE_SPEC): Use crtendS.o for PIE. Modified: trunk/gcc/ChangeLog trunk/gcc/config/netbsd-elf.h >>From gcc-bugs-return-620709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 20:56:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40391 invoked by alias); 9 Nov 2018 20:56: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 40258 invoked by uid 48); 9 Nov 2018 20:56:32 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87221] cannot build with -pie Date: Fri, 09 Nov 2018 20:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00866.txt.bz2 Content-length: 513 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87221 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |law at redhat dot com Resolution|--- |FIXED --- Comment #5 from Jeffrey A. Law --- Should be fixed on the trunk. >>From gcc-bugs-return-620710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 20:58:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 44459 invoked by alias); 9 Nov 2018 20:58: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 44400 invoked by uid 48); 9 Nov 2018 20:58:03 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/65703] -fdefer-pop documentation is confusing Date: Fri, 09 Nov 2018 20:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00867.txt.bz2 Content-length: 763 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65703 sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sandra at gcc dot gnu.org --- Comment #4 from sandra at gcc dot gnu.org --- I've fixed the problem with the wording of the -fno-defer-pop documentation. The other problem raised in this issue was the difficulty in locating documentation for the positive form -fdefer-pop. I'm going to address this= in general by adding an @opindex entry for the positive form of all "no-" opti= ons so searching the document will at least turn up a hit in the index that will get you to the right place. >>From gcc-bugs-return-620711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 20:59:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48751 invoked by alias); 9 Nov 2018 20:59: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 48043 invoked by uid 48); 9 Nov 2018 20:59:08 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/41179] Documentation for "-fno-toplevel-reorder" is confusing (and wrong) Date: Fri, 09 Nov 2018 20:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 4.4.1 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: trivial X-Bugzilla-Who: sandra 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: 2018-11/txt/msg00868.txt.bz2 Content-length: 538 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D41179 sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |sandra at gcc dot gnu.org Resolution|--- |FIXED --- Comment #5 from sandra at gcc dot gnu.org --- Fixed on trunk, at least for the 3 cases explicitly mentioned in this issue. >>From gcc-bugs-return-620712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 21:28:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107945 invoked by alias); 9 Nov 2018 21:28: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 107914 invoked by uid 48); 9 Nov 2018 21:28:51 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87964] New: c-attribs.c:3965: possible cut'n'paste error ? Date: Fri, 09 Nov 2018 21:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00869.txt.bz2 Content-length: 1289 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87964 Bug ID: 87964 Summary: c-attribs.c:3965: possible cut'n'paste error ? Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Source code is else if (!strcmp ("const", namestr)) { if (expr && DECL_P (expr)) found_match =3D TREE_READONLY (expr); } else if (!strcmp ("const", namestr)) { if (expr && DECL_P (expr)) found_match =3D DECL_PURE_P (expr); } svn blame says 265980 msebor else if (!strcmp ("const", namestr)) 265980 msebor { 265980 msebor if (expr && DECL_P (expr)) 265980 msebor found_match =3D TREE_READONLY (expr); 265980 msebor } 265980 msebor else if (!strcmp ("const", namestr)) 265980 msebor { 265980 msebor if (expr && DECL_P (expr)) 265980 msebor found_match =3D DECL_PURE_P (expr); 265980 msebor } >>From gcc-bugs-return-620713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 21:57:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56904 invoked by alias); 9 Nov 2018 21:57: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 56819 invoked by uid 48); 9 Nov 2018 21:57:43 -0000 From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/85103] [8/9 Regression] Performance regressions on SPEC with r257582 Date: Fri, 09 Nov 2018 21:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: priority cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00870.txt.bz2 Content-length: 358 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85103 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 CC| |law at redhat dot com >>From gcc-bugs-return-620714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 22:17:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36886 invoked by alias); 9 Nov 2018 22:17: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 36835 invoked by uid 48); 9 Nov 2018 22:17:25 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/87963] libstdc++-v3/src/c++17/memory_resource.cc:515:31: error: static assertion failed for mingw-w64 target since r265853 Date: Fri, 09 Nov 2018 22:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2018-11/txt/msg00871.txt.bz2 Content-length: 544 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87963 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |build Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-11-09 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu= .org Ever confirmed|0 |1 >>From gcc-bugs-return-620715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 22:19:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38766 invoked by alias); 9 Nov 2018 22:19: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 38657 invoked by uid 48); 9 Nov 2018 22:19:19 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87949] PowerPC saves CR registers across calls Date: Fri, 09 Nov 2018 22:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: segher at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00872.txt.bz2 Content-length: 485 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87949 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |segher at gcc dot g= nu.org --- Comment #12 from Segher Boessenkool --- Wow, this works! Mine :-) >>From gcc-bugs-return-620716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 22:38:05 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69244 invoked by alias); 9 Nov 2018 22:38: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 69177 invoked by uid 48); 9 Nov 2018 22:37:58 -0000 From: "gary_mills at fastmail dot fm" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/87836] ICE in cc1 for gcc-6.5.0 with SPARC hardware Date: Fri, 09 Nov 2018 22:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gary_mills at fastmail dot fm X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00873.txt.bz2 Content-length: 4276 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87836 --- Comment #7 from Gary Mills --- I'm still waiting for information on how to use gdb to check the alignment = of the structures involved in this ICE. I had to RTFM and experiment. Here's the result: $ /usr/bin/sparcv7/gdb build/sparcv7/./gcc/cc1 core ... (gdb) bt ... #9 #10 et_splay (occ=3Docc@entry=3D0x0) at /export/home/mills/Downloads/code/oi-userland/components/developer/gcc-6/gc= c-6.5.0/gcc/et-forest.c:311 #11 0x00361834 in et_set_father (t=3D0xeaf810, father=3D0xeaf808) at /export/home/mills/Downloads/code/oi-userland/components/developer/gcc-6/gc= c-6.5.0/gcc/et-forest.c:525 #12 0x00301e6c in calculate_dominance_info (dir=3Ddir@entry=3DCDI_DOMINATOR= S) at /export/home/mills/Downloads/code/oi-userland/components/developer/gcc-6/gc= c-6.5.0/gcc/dominance.c:658 #13 0x006701cc in cleanup_tree_cfg_noloop () at /export/home/mills/Downloads/code/oi-userland/components/developer/gcc-6/gc= c-6.5.0/gcc/tree-cfgcleanup.c:759 #14 cleanup_tree_cfg () at /export/home/mills/Downloads/code/oi-userland/components/developer/gcc-6/gc= c-6.5.0/gcc/tree-cfgcleanup.c:818 #15 0x0066ab88 in execute_build_cfg () at /export/home/mills/Downloads/code/oi-userland/components/developer/gcc-6/gc= c-6.5.0/gcc/tree-cfg.c:360 #16 (anonymous namespace)::pass_build_cfg::execute (this=3D) at /export/home/mills/Downloads/code/oi-userland/components/developer/gcc-6/gc= c-6.5.0/gcc/tree-cfg.c:389 #17 0x0056a7e0 in execute_one_pass (pass=3Dpass@entry=3D0xe30408) ---Type to continue, or q to quit--- at /export/home/mills/Downloads/code/oi-userland/components/developer/gcc-6/gc= c-6.5.0/gcc/passes.c:2336 #18 0x0056ad80 in execute_pass_list_1 (pass=3D0xe30408, pass@entry=3D0xe2e9= 38) at /export/home/mills/Downloads/code/oi-userland/components/developer/gcc-6/gc= c-6.5.0/gcc/passes.c:2420 #19 0x0056ae1c in execute_pass_list (fn=3D0xfb410068, pass=3D0xe2e938) at /export/home/mills/Downloads/code/oi-userland/components/developer/gcc-6/gc= c-6.5.0/gcc/passes.c:2431 #20 0x002c8e18 in cgraph_node::analyze (this=3Dthis@entry=3D0xfb4a6000) at /export/home/mills/Downloads/code/oi-userland/components/developer/gcc-6/gc= c-6.5.0/gcc/cgraphunit.c:636 #21 0x002cc2b0 in analyze_functions (first_time=3Dfirst_time@entry=3Dtrue) at /export/home/mills/Downloads/code/oi-userland/components/developer/gcc-6/gc= c-6.5.0/gcc/cgraphunit.c:1086 #22 0x002cc9d0 in symbol_table::finalize_compilation_unit (this=3D0xfb41000= 0) at /export/home/mills/Downloads/code/oi-userland/components/developer/gcc-6/gc= c-6.5.0/gcc/cgraphunit.c:2554 #23 0x006321e4 in compile_file () at /export/home/mills/Downloads/code/oi-userland/components/developer/gcc-6/gc= c-6.5.0/gcc/toplev.c:488 #24 0x00633f28 in do_compile () at /export/home/mills/Downloads/code/oi-userland/components/developer/gcc-6/gc= c-6.5.0/gcc/toplev.c:2014 ---Type to continue, or q to quit--- #25 toplev::main (this=3Dthis@entry=3D0xffbff91e, argc=3D,=20 argc@entry=3D19, argv=3D, argv@entry=3D0xffbff984) at /export/home/mills/Downloads/code/oi-userland/components/developer/gcc-6/gc= c-6.5.0/gcc/toplev.c:2123 #26 0x00adcc28 in main (argc=3D19, argv=3D0xffbff984) at /export/home/mills/Downloads/code/oi-userland/components/developer/gcc-6/gc= c-6.5.0/gcc/main.c:39 (gdb) q So, it wasn't an alignment error after all. It was the most common thing t= hat causes a bus error: dereferencing a null pointer. The backtrace shows that et_splay() was called with a NULL operand, occ. That NULL pointer was dereferenced by this line: 311 while (occ->parent) In et_set_father(), the et_splay() function was called with the operand rmo= st, which must also be NULL. That's the immediate cause of the ICE. I haven't identified the root cause yet. I'm wondering, though, why the compiler built and ran on x86 hardware, but failed on SPARC hardware. One difference is that the configuration on SPARC hardware uses the native assembler. On x86 hardware, it uses the GNU assembler. That's the only configuration difference. The hardware is different, of course. >>From gcc-bugs-return-620717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 22:38:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70207 invoked by alias); 9 Nov 2018 22:38: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 70158 invoked by uid 48); 9 Nov 2018 22:38:44 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87850] Add fix-it hint for "invalid conversion from 'X' to 'X*'" Date: Fri, 09 Nov 2018 22:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: diagnostic, patch X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status bug_file_loc cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00874.txt.bz2 Content-length: 899 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87850 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Status|UNCONFIRMED |ASSIGNED URL| |https://gcc.gnu.org/ml/gcc- | |patches/2018-11/msg00802.ht | |ml Last reconfirmed| |2018-11-09 Assignee|unassigned at gcc dot gnu.org |dmalcolm at gcc dot= gnu.org Ever confirmed|0 |1 --- Comment #1 from David Malcolm --- Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2018-11/msg00802.html >>From gcc-bugs-return-620718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 22:40:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 76834 invoked by alias); 9 Nov 2018 22:40: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 76082 invoked by uid 48); 9 Nov 2018 22:40:42 -0000 From: "comm+gnu at squotd dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87947] Symbol Does Not Appear in Object File Date: Fri, 09 Nov 2018 22:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: comm+gnu at squotd dot net X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00875.txt.bz2 Content-length: 145 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87947 --- Comment #2 from comm+gnu at squotd dot net --- Thanks. I had no idea that had changed. >>From gcc-bugs-return-620719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 22:47:03 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81852 invoked by alias); 9 Nov 2018 22:47: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 81791 invoked by uid 48); 9 Nov 2018 22:46:59 -0000 From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87965] New: [9 regression] Test cases c-c++-common/pr60226.c and gcc.dg/pr39323-1.c fail starting with r265977 Date: Fri, 09 Nov 2018 22:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00876.txt.bz2 Content-length: 4004 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87965 Bug ID: 87965 Summary: [9 regression] Test cases c-c++-common/pr60226.c and gcc.dg/pr39323-1.c fail starting with r265977 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- > FAIL: c-c++-common/pr60226.c -Wc++-compat (test for errors, line 14) > FAIL: c-c++-common/pr60226.c -Wc++-compat (test for errors, line 8) > FAIL: c-c++-common/pr60226.c -Wc++-compat (test for excess errors) > FAIL: c-c++-common/pr60226.c -std=3Dgnu++14 (test for errors, line 14) > FAIL: c-c++-common/pr60226.c -std=3Dgnu++14 (test for errors, line 8) > FAIL: c-c++-common/pr60226.c -std=3Dgnu++14 (test for excess errors) > FAIL: c-c++-common/pr60226.c -std=3Dgnu++17 (test for errors, line 14) > FAIL: c-c++-common/pr60226.c -std=3Dgnu++17 (test for errors, line 8) > FAIL: c-c++-common/pr60226.c -std=3Dgnu++17 (test for excess errors) > FAIL: c-c++-common/pr60226.c -std=3Dgnu++98 (test for errors, line 14) > FAIL: c-c++-common/pr60226.c -std=3Dgnu++98 (test for errors, line 8) > FAIL: c-c++-common/pr60226.c -std=3Dgnu++98 (test for excess errors) > FAIL: gcc.dg/pr39323-1.c (test for errors, line 4) > FAIL: gcc.dg/pr39323-1.c (test for errors, line 5) > FAIL: gcc.dg/pr39323-1.c (test for excess errors) They look like alignment errors. spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-trunk/gcc/xgcc -B/home/seurer/gcc/build/gcc-trunk/gcc/ /home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/pr60226.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=3Dnever -Wc++-compat -Wno-c++-compat -S -o pr60226.s /home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/pr60226.c:7:1: error: alignment of array elements is greater than element size /home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/pr60226.c:8:1: error: requested alignment '536870912' exceeds maximum 2147483648 /home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/pr60226.c: In function 'f': /home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/pr60226.c:14:10: erro= r: requested alignment '536870912' exceeds maximum 2147483648 compiler exited with status 1 PASS: c-c++-common/pr60226.c -Wc++-compat (test for errors, line 7) FAIL: c-c++-common/pr60226.c -Wc++-compat (test for errors, line 8) FAIL: c-c++-common/pr60226.c -Wc++-compat (test for errors, line 14) FAIL: c-c++-common/pr60226.c -Wc++-compat (test for excess errors) Excess errors: /home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/pr60226.c:8:1: error: requested alignment '536870912' exceeds maximum 2147483648 /home/seurer/gcc/gcc-trunk/gcc/testsuite/c-c++-common/pr60226.c:14:10: erro= r: requested alignment '536870912' exceeds maximum 2147483648 spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-trunk/gcc/xgcc -B/home/seurer/gcc/build/gcc-trunk/gcc/ /home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/pr39323-1.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=3Dnever -ansi -pedantic-errors -S -o pr39323-1.s /home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/pr39323-1.c:4:1: error: requested alignment '536870912' exceeds object file maximum 268435456 /home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/pr39323-1.c:5:1: error: requested alignment '536870912' exceeds maximum 2147483648 compiler exited with status 1 FAIL: gcc.dg/pr39323-1.c (test for errors, line 4) FAIL: gcc.dg/pr39323-1.c (test for errors, line 5) FAIL: gcc.dg/pr39323-1.c (test for excess errors) Excess errors: /home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/pr39323-1.c:4:1: error: requested alignment '536870912' exceeds object file maximum 268435456 /home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/pr39323-1.c:5:1: error: requested alignment '536870912' exceeds maximum 2147483648 >>From gcc-bugs-return-620720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 22:55:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127392 invoked by alias); 9 Nov 2018 22:55: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 127373 invoked by uid 48); 9 Nov 2018 22:55:12 -0000 From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/87966] New: [9 regression] The SPEC2006 tests 416.gamess and 481.wrf fail starting with r265946 Date: Fri, 09 Nov 2018 22:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00877.txt.bz2 Content-length: 1677 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87966 Bug ID: 87966 Summary: [9 regression] The SPEC2006 tests 416.gamess and 481.wrf fail starting with r265946 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- The test trigger some floating point exceptions when they are run after bei= ng compiler with gcc built from r265946. /home/seurer/gcc/cpu2006/bin/specinvoke -E -d /home/seurer/gcc/cpu2006/benchspec/CPU2006/416.gamess/run/run_base_ref_ppc6= 4.0018 -c 1 -e compare.err -o compare.stdout -f compare.cmd **************************************** Contents of h2ocu2+.gradient.err **************************************** Note: The following floating-point exceptions are signalling: IEEE_UNDERFLOW_FLAG **************************************** **************************************** Contents of triazolium.err **************************************** Note: The following floating-point exceptions are signalling: IEEE_INVALID_= FLAG **************************************** ------------------------------------------------------------------------ r265946 | jvdelisle | 2018-11-08 20:46:03 -0600 (Thu, 08 Nov 2018) | 7 lines 2018-11-08 Jerry DeLisle PR libfortran/78351 * io/transfer.c (read_sf_internal): Add support for early comma termination of internal unit formatted reads. * gfortran.dg/read_legacy_comma.f90: New test. >>From gcc-bugs-return-620721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 22:55:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 128670 invoked by alias); 9 Nov 2018 22:55: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 128635 invoked by uid 48); 9 Nov 2018 22:55:49 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87967] New: ice in slpeel_duplicate_current_defs_from_edges Date: Fri, 09 Nov 2018 22:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00878.txt.bz2 Content-length: 1823 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87967 Bug ID: 87967 Summary: ice in slpeel_duplicate_current_defs_from_edges Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For this C++ code: void h(); template struct k { using d =3D b; }; template class> using e =3D k; template class f> using g =3D typename e::d; struct l { template using ab =3D typename i::j; }; struct n : l { using j =3D g; }; class o { public: long r(); }; char m; char s() { if (m) return '0'; return 'A'; } class t { public: typedef char *ad; ad m_fn2(); }; void fn3() { char *a; t b; bool p =3D false; while (*a) { h(); o c; if (*a) a++; if (c.r()) { n::j q; for (t::ad d =3D b.m_fn2(), e; d !=3D e; d++) { char f =3D *q; *d =3D f + s(); } p =3D true; } } if (p) throw; } compiled with recent gcc trunk and compiler flag -O3, does this: during GIMPLE pass: vect bug476.cc: In function =E2=80=98void fn3()=E2=80=99: bug476.cc:27:6: internal compiler error: Segmentation fault 27 | void fn3() { | ^~~ 0xfa4967 crash_signal ../../trunk/gcc/toplev.c:325 0x12185e4 contains_struct_check(tree_node*, tree_node_structure_enum, char const *, int, char const*) ../../trunk/gcc/tree.h:3267 0x12185e4 slpeel_duplicate_current_defs_from_edges ../../trunk/gcc/tree-vect-loop-manip.c:985 The bug seems to have appeared between revision 265790 and 265846. >>From gcc-bugs-return-620722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 23:13:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22355 invoked by alias); 9 Nov 2018 23:13: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 19771 invoked by uid 48); 9 Nov 2018 23:13:26 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/87965] [9 regression] Test cases c-c++-common/pr60226.c and gcc.dg/pr39323-1.c fail starting with r265977 Date: Fri, 09 Nov 2018 23:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on component everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00879.txt.bz2 Content-length: 636 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87965 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-09 Component|c |testsuite Ever confirmed|0 |1 --- Comment #1 from Martin Sebor --- Confirmed. The failures are due to changing the text of the warning. Some= how I missed them in my testing. >>From gcc-bugs-return-620723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 23:16:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37787 invoked by alias); 9 Nov 2018 23:16: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 37751 invoked by uid 48); 9 Nov 2018 23:16:24 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/87965] [9 regression] Test cases c-c++-common/pr60226.c and gcc.dg/pr39323-1.c fail starting with r265977 Date: Fri, 09 Nov 2018 23:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution assigned_to target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00880.txt.bz2 Content-length: 571 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87965 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot g= nu.org Target Milestone|--- |9.0 --- Comment #2 from Martin Sebor --- Fixed in r265998. >>From gcc-bugs-return-620724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 23:16:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38577 invoked by alias); 9 Nov 2018 23:16: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 38495 invoked by uid 55); 9 Nov 2018 23:16:40 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/87965] [9 regression] Test cases c-c++-common/pr60226.c and gcc.dg/pr39323-1.c fail starting with r265977 Date: Fri, 09 Nov 2018 23:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00881.txt.bz2 Content-length: 556 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87965 --- Comment #3 from Martin Sebor --- Author: msebor Date: Fri Nov 9 23:15:59 2018 New Revision: 265998 URL: https://gcc.gnu.org/viewcvs?rev=3D265998&root=3Dgcc&view=3Drev Log: gcc/testsuite/ChangeLog: PR testsuite/87965 * c-c++-common/pr60226.c: Adjust text of expected diagnostic. * gcc.dg/pr39323-1.c: Ditto. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/c-c++-common/pr60226.c trunk/gcc/testsuite/gcc.dg/pr39323-1.c >>From gcc-bugs-return-620725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 23:17:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 39542 invoked by alias); 9 Nov 2018 23: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 39472 invoked by uid 48); 9 Nov 2018 23:17:06 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/87836] ICE in cc1 for gcc-6.5.0 with SPARC hardware Date: Fri, 09 Nov 2018 23:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00882.txt.bz2 Content-length: 721 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87836 --- Comment #8 from Eric Botcazou --- > That's the immediate cause of the ICE. I haven't identified the root cau= se > yet. I'm wondering, though, why the compiler built and ran on x86 hardwa= re, > but failed on SPARC hardware. One difference is that the configuration on > SPARC hardware uses the native assembler. On x86 hardware, it uses the G= NU > assembler. That's the only configuration difference. One possibility is that the base compiler miscompiles the stage #1 compiler. In order to rule it out, we need to make sure that the base compiler is inv= oked with optimization disabled, hence my request about the flags... >>From gcc-bugs-return-620726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 09 23:25:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 98522 invoked by alias); 9 Nov 2018 23:24:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 67645 invoked by uid 48); 9 Nov 2018 23:24:21 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/87966] [9 regression] The SPEC2006 tests 416.gamess and 481.wrf fail starting with r265946 Date: Fri, 09 Nov 2018 23:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00883.txt.bz2 Content-length: 473 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87966 --- Comment #1 from Jerry DeLisle --- I had a leftover printf statement for debugging in the initial commit last night which I fixed this morning. Let me know if the problem persists. The line was: printf("allow_std=3D%d\n", compile_options.warn_std); Which would have generated some extraneous output to stdout during a read. The patch does not touch any floating point operations. >>From gcc-bugs-return-620727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 00:49:11 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22294 invoked by alias); 10 Nov 2018 00:49: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 21641 invoked by uid 48); 10 Nov 2018 00:49:04 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87964] c-attribs.c:3965: possible cut'n'paste error ? Date: Sat, 10 Nov 2018 00:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00884.txt.bz2 Content-length: 622 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87964 Martin Sebor changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-11-10 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot g= nu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor --- Yes, that's a cut & paste mistake, thanks. I'll take care of it. >>From gcc-bugs-return-620728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 01:46:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 107703 invoked by alias); 10 Nov 2018 01: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 107639 invoked by uid 48); 10 Nov 2018 01:46:14 -0000 From: "gary_mills at fastmail dot fm" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/87836] ICE in cc1 for gcc-6.5.0 with SPARC hardware Date: Sat, 10 Nov 2018 01:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gary_mills at fastmail dot fm X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00885.txt.bz2 Content-length: 197 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87836 --- Comment #9 from Gary Mills --- Okay, I'm compiling it with -O0 right now. It might take a couple of days. >>From gcc-bugs-return-620729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 03:58:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 45873 invoked by alias); 10 Nov 2018 03:58: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 45755 invoked by uid 48); 10 Nov 2018 03:58:22 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/86904] Column numbers ignore tab characters Date: Sat, 10 Nov 2018 03:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00886.txt.bz2 Content-length: 1049 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86904 --- Comment #3 from Eric Gallager --- (In reply to David Malcolm from comment #2) > (In reply to richard.earnshaw from comment #1) > > On 09/08/18 21:08, dmalcolm at gcc dot gnu.org wrote: > [...snip...] > > > Maybe: > > > -fdiagnostics-x-coord=3Dbytes : count of bytes > > > -fdiagnostics-x-coord=3Dcharacters : count of characters (not speci= al-casing > > > tab) > > > -fdiagnostics-x-coord=3Dcolumns : count of columns: as per characte= rs, but with > > > tabs doing tabstops > >=20 > > how about -fdiagnostics-x-coord=3Dvisual-[n] > >=20 > > Where n is the size of a hard tab? Some folks change the tab stop to 4, > > for example. Or maybe ...coord=3Dtab[-n], where -n defaults to "-8". >=20 > The C family of frontends already has: > -ftabstop=3D Distance between tab stops for column reporting. > which IIRC is currently only used by -Wmisleading-indentation. I guess it > could be moved to common.opt. Yeah, using -ftabstop makes sense >>From gcc-bugs-return-620730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 06:02:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58922 invoked by alias); 10 Nov 2018 06:02: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 58841 invoked by uid 48); 10 Nov 2018 06:02:51 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/87941] by_pieces infra does not use movmisalign optab Date: Sat, 10 Nov 2018 06:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget component bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00887.txt.bz2 Content-length: 554 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87941 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |arm*-*-* Component|rtl-optimization |middle-end Severity|normal |enhancement --- Comment #2 from Andrew Pinski --- by_pieces was written before movmisalign_optab even was thought of. >>From gcc-bugs-return-620731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 06:40:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 66523 invoked by alias); 10 Nov 2018 06:40: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 66439 invoked by uid 48); 10 Nov 2018 06:40:05 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87961] crash at goto label inside sizeof of a statement expression Date: Sat, 10 Nov 2018 06:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00888.txt.bz2 Content-length: 293 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87961 --- Comment #1 from Andrew Pinski --- I think this is a dup of bug 17913 which was fixed in the C front-end in 20= 05 but it was never fixed in the C++ front-end (the front-ends share some code= but not all). >>From gcc-bugs-return-620732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 06:56:30 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 81605 invoked by alias); 10 Nov 2018 06:56: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 81490 invoked by uid 48); 10 Nov 2018 06:56:26 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70547] Optimize multiplication of booleans to bit_and Date: Sat, 10 Nov 2018 06:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00889.txt.bz2 Content-length: 381 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70547 --- Comment #4 from Andrew Pinski --- /* (m1 CMP m2) * d -> (m1 CMP m2) ? d : 0 */ (for cmp (gt lt ge le) (simplify (mult (convert (cmp @0 @1)) @2) (cond (cmp @0 @1) @2 { build_zero_cst (type); }))) Should have caught that ... NOTE I think that might have been broken for floating point .... >>From gcc-bugs-return-620733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 07:01:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86802 invoked by alias); 10 Nov 2018 07:01: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 86255 invoked by uid 48); 10 Nov 2018 07:01:36 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/70547] Optimize multiplication of booleans to bit_and Date: Sat, 10 Nov 2018 07:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00890.txt.bz2 Content-length: 472 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70547 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > /* (m1 CMP m2) * d -> (m1 CMP m2) ? d : 0 */ > (for cmp (gt lt ge le) > (simplify > (mult (convert (cmp @0 @1)) @2) > (cond (cmp @0 @1) @2 { build_zero_cst (type); }))) >=20 >=20 > Should have caught that ... We do get: _1 =3D c_5(D) < d_6(D); _2 =3D (int) _1; _7 =3D a_3(D) < b_4(D) ? _2 : 0; >>From gcc-bugs-return-620735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 07:18:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1544 invoked by alias); 10 Nov 2018 07:18: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 1198 invoked by uid 48); 10 Nov 2018 07:18:31 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/14799] [tree-ssa] convert a sequence of "if"s to a "switch" statement Date: Sat, 10 Nov 2018 07:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: tree-ssa X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00892.txt.bz2 Content-length: 450 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D14799 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eyalroz at technion dot ac= .il --- Comment #5 from Andrew Pinski --- *** Bug 87925 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-620734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 07:18:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1280 invoked by alias); 10 Nov 2018 07:18: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 1152 invoked by uid 48); 10 Nov 2018 07:18:30 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87925] [missed-optimization] Distinct-value if-then-else chains treated differently than switch statements Date: Sat, 10 Nov 2018 07:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00891.txt.bz2 Content-length: 525 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87925 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #7 from Andrew Pinski --- Dup of a much older bug (PR 14799) ... *** This bug has been marked as a duplicate of bug 14799 *** >>From gcc-bugs-return-620736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 07:23:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5928 invoked by alias); 10 Nov 2018 07:23:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5858 invoked by uid 48); 10 Nov 2018 07:22:56 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87245] [missed optimization] switching on indices of struct members Date: Sat, 10 Nov 2018 07:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00893.txt.bz2 Content-length: 376 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87245 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu.org Severity|normal |enhancement >>From gcc-bugs-return-620738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 09:01:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71447 invoked by alias); 10 Nov 2018 09:01:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 70998 invoked by uid 48); 10 Nov 2018 09:01:02 -0000 From: "marxin 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: Sat, 10 Nov 2018 09:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.2.0 X-Bugzilla-Keywords: meta-bug, missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00895.txt.bz2 Content-length: 516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D26163 Bug 26163 depends on bug 87960, which changed state. Bug 87960 Summary: [9 Regression] Miscompilation of 527.cam4_r benchmark fr= om SPEC2017 w/ -O2 since r265946 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87960 What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |FIXED >>From gcc-bugs-return-620737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 09:01:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 71049 invoked by alias); 10 Nov 2018 09:01: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 70909 invoked by uid 48); 10 Nov 2018 09:00:59 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87960] [9 Regression] Miscompilation of 527.cam4_r benchmark from SPEC2017 w/ -O2 since r265946 Date: Sat, 10 Nov 2018 09:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00894.txt.bz2 Content-length: 453 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87960 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |FIXED --- Comment #2 from Martin Li=C5=A1ka --- It's fixed, thanks for it. >>From gcc-bugs-return-620739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 09:04:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 74769 invoked by alias); 10 Nov 2018 09:04:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 74672 invoked by uid 48); 10 Nov 2018 09:04:32 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87962] [9 Regression] ICE in vect_get_vec_def_for_operand_1, at tree-vect-stmts.c:1485 Date: Sat, 10 Nov 2018 09:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc cf_known_to_work 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: 2018-11/txt/msg00896.txt.bz2 Content-length: 1126 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87962 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-10 CC| |marxin at gcc dot gnu.org, | |rguenth at gcc dot gnu.org Known to work| |8.2.0 Target Milestone|--- |9.0 Summary|ice in |[9 Regression] ICE in |vect_get_vec_def_for_operan |vect_get_vec_def_for_operan |d_1, at |d_1, at |tree-vect-stmts.c:1485 |tree-vect-stmts.c:1485 Ever confirmed|0 |1 Known to fail| |9.0 --- Comment #2 from Martin Li=C5=A1ka --- One can see it with -march=3Dbdver4, started with r265876. >>From gcc-bugs-return-620740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 09:16:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101826 invoked by alias); 10 Nov 2018 09:16:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 101775 invoked by uid 48); 10 Nov 2018 09:16:17 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87967] [9 Regression] ICE in slpeel_duplicate_current_defs_from_edges Date: Sat, 10 Nov 2018 09:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_work keywords cf_reconfirmed_on cc everconfirmed short_desc target_milestone cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00897.txt.bz2 Content-length: 1101 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87967 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Known to work| |8.2.0 Keywords| |ice-on-valid-code Last reconfirmed| |2018-11-10 CC| |marxin at gcc dot gnu.org, | |rguenth at gcc dot gnu.org Ever confirmed|0 |1 Summary|ice in |[9 Regression] ICE in |slpeel_duplicate_current_de |slpeel_duplicate_current_de |fs_from_edges |fs_from_edges Target Milestone|--- |9.0 Known to fail| |9.0 --- Comment #1 from Martin Li=C5=A1ka --- Confirmed, started with r265812. >>From gcc-bugs-return-620741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 12:04:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122022 invoked by alias); 10 Nov 2018 12:04:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121932 invoked by uid 48); 10 Nov 2018 12:04:40 -0000 From: "ibuclaw at gdcproject dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/87824] x86_64-linux multilib issues Date: Sat, 10 Nov 2018 12:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ibuclaw at gdcproject dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00898.txt.bz2 Content-length: 3154 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87824 --- Comment #3 from Iain Buclaw --- (In reply to Jakub Jelinek from comment #1) > In i686-linux bootstrap/regtest, I see: > =3D=3D=3D gdc tests =3D=3D=3D >=20 >=20 > Running target unix > FAIL: runnable/cppa.d execution test > FAIL: runnable/cppa.d -g execution test > FAIL: runnable/cppa.d -g -shared-libphobos execution test > FAIL: runnable/cppa.d -shared-libphobos execution test This would be dependent on available C++ libraries I guess. I couldn't reproduce locally, I'll try in a more controlled environment. > FAIL: runnable/eh.d -O2 execution test > FAIL: runnable/eh.d -O2 -shared-libphobos execution test On x86, the EH handling is unable to determine that two independently thrown exceptions should be chained together. Currently this is determined by comparing the LSDA, but this doesn't work w= hen a function is partitioned into hot and cold blocks. > FAIL: runnable/nulltype.d execution test > FAIL: runnable/nulltype.d -O2 execution test > FAIL: runnable/nulltype.d -O2 -shared-libphobos execution test > FAIL: runnable/nulltype.d -g execution test > FAIL: runnable/nulltype.d -g -O2 execution test > FAIL: runnable/nulltype.d -g -O2 -shared-libphobos execution test > FAIL: runnable/nulltype.d -g -shared-libphobos execution test > FAIL: runnable/nulltype.d -shared-libphobos execution test This is related to returning null associative array types - internally, a struct{void *ptr}. Returning {.ptr=3DNULL} instead of {} is enough for the unoptimized tests to pass. For the optimized tests, also setting TYPE_TRANSPARENT_AGGR seems to= be required as well. It does make sense as part of the D language to treat associative arrays as just a void*, though I wouldn't know why not setting TYPE_TRANSPARENT_AGGR would have an affect on returning {} in an apparent wrong way. > FAIL: runnable/template1.d execution test > FAIL: runnable/template1.d -O2 execution test > FAIL: runnable/template1.d -O2 -frelease execution test > FAIL: runnable/template1.d -O2 -frelease -shared-libphobos execution te= st > FAIL: runnable/template1.d -O2 -shared-libphobos execution test > FAIL: runnable/template1.d -frelease execution test > FAIL: runnable/template1.d -frelease -shared-libphobos execution test > FAIL: runnable/template1.d -g execution test > FAIL: runnable/template1.d -g -O2 execution test > FAIL: runnable/template1.d -g -O2 -frelease execution test > FAIL: runnable/template1.d -g -O2 -frelease -shared-libphobos execution > test > FAIL: runnable/template1.d -g -O2 -shared-libphobos execution test > FAIL: runnable/template1.d -g -frelease execution test > FAIL: runnable/template1.d -g -frelease -shared-libphobos execution test > FAIL: runnable/template1.d -g -shared-libphobos execution test > FAIL: runnable/template1.d -shared-libphobos execution test >=20 This is caused by misalignment of long. Will send a patch for this. > FAIL: libphobos.unittests/phobos/shared/std.typecons >=20 std.typecons failed for same reason as runnable/template1.d >>From gcc-bugs-return-620742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 15:16:34 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 104300 invoked by alias); 10 Nov 2018 15: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 104262 invoked by uid 48); 10 Nov 2018 15:16:25 -0000 From: "maik.riechert at arcor dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/82243] -fcheck=bounds not checking, and behaving differently with different real kinds Date: Sat, 10 Nov 2018 15:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 6.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maik.riechert at arcor dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00899.txt.bz2 Content-length: 844 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82243 maik.riechert at arcor dot de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maik.riechert at arcor dot= de --- Comment #3 from maik.riechert at arcor dot de --- This seems to be the same as asked at https://stackoverflow.com/q/53163843. The minimal example from there is: program main implicit none real, dimension(:), allocatable :: arr allocate (arr(5)) ! should fail, but happily writes out of bounds call foo(arr) contains subroutine foo(arr) real, dimension(10), intent(inout) :: arr arr(10) =3D 42 end subroutine end program I tested this with gfortran 8.2.0 and it doesn't trigger a runtime error. >>From gcc-bugs-return-620743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 15:25:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111338 invoked by alias); 10 Nov 2018 15:25: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 111281 invoked by uid 48); 10 Nov 2018 15:25:43 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87968] New: [7/8/9 Regression] Warning about uninizialized variables in array constructor Date: Sat, 10 Nov 2018 15:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00900.txt.bz2 Content-length: 1925 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87968 Bug ID: 87968 Summary: [7/8/9 Regression] Warning about uninizialized variables in array constructor Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- $ cat a.f90 program main integer, parameter :: dp =3D selected_real_kind(15) real(kind=3Ddp) :: v1(3), v2(4) real(kind=3Ddp), allocatable :: vv(:) v1 =3D [1._dp, 2._dp, 3._dp] v2 =3D [7._dp, 8._dp, 9._dp, 5._dp] vv =3D [v1, v2] print *,vv end program main $ gfortran -O -Wall a.f90 a.f90:7:0: 7 | vv =3D [v1, v2] |=20 Warning: 'vv.offset' is used uninitialized in this function [-Wuninitialize= d] a.f90:7:0: Warning: 'vv.dim[0].lbound' is used uninitialized in this functi= on [-Wuninitialized] a.f90:7:0: Warning: 'vv.dim[0].ubound' is used uninitialized in this functi= on [-Wuninitialized] $ /usr/bin/gfortran-8 -O -Wall a.f90 a.f90:7:0: vv =3D [v1, v2] Warning: 'vv.offset' is used uninitialized in this function [-Wuninitialize= d] a.f90:7:0: Warning: 'vv.dim[0].lbound' is used uninitialized in this functi= on [-Wuninitialized] a.f90:7:0: Warning: 'vv.dim[0].ubound' is used uninitialized in this functi= on [-Wuninitialized] $ /usr/bin/gfortran-7 -O -Wall a.f90 a.f90:7:0: vv =3D [v1, v2] Warning: 'vv.offset' is used uninitialized in this function [-Wuninitialize= d] a.f90:7:0: Warning: 'vv.dim[0].lbound' is used uninitialized in this functi= on [-Wuninitialized] a.f90:7:0: Warning: 'vv.dim[0].ubound' is used uninitialized in this functi= on [-Wuninitialized] $ /usr/bin/gfortran-6 -O -Wall a.f90 $ The warning is spurious, but there may be something wrong with the generated code - let's see. >>From gcc-bugs-return-620744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 15:31:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115556 invoked by alias); 10 Nov 2018 15:31: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 115527 invoked by uid 48); 10 Nov 2018 15:31:19 -0000 From: "maik.riechert at arcor dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87969] New: -fcheck does not raise signal Date: Sat, 10 Nov 2018 15:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maik.riechert at arcor dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00901.txt.bz2 Content-length: 1243 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87969 Bug ID: 87969 Summary: -fcheck does not raise signal Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: maik.riechert at arcor dot de Target Milestone: --- When compiling code with -fcheck=3D.. I expect that a failing runtime check= would raise a signal so that gdb stops at that point, however this is not the case and the program just exits after printing the runtime check message. Example program: program main implicit none real, dimension(5) :: arr arr(10) =3D 42. end program Compiled with "gfortran -g -fcheck=3Dbounds main.F90" and run under gdb: (gdb) run Starting program: /.../a.out At line 4 of file main.F90 Fortran runtime error: Index '10' of dimension 1 of array 'arr' above upper bound of 5 Error termination. Backtrace: #0 0x7ffffef9d37a in ??? #1 0x7ffffef9df15 in ??? #2 0x7ffffef9e2e7 in ??? #3 0x800073e in MAIN__ at /.../main.F90:4 #4 0x8000774 in main at /.../main.F90:5 [Inferior 1 (process 29666) exited with code 02] >>From gcc-bugs-return-620745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 15:36:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 124939 invoked by alias); 10 Nov 2018 15:36:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 124894 invoked by uid 48); 10 Nov 2018 15:36:43 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87968] [7/8/9 Regression] Warning about uninizialized variables in array constructor Date: Sat, 10 Nov 2018 15:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00902.txt.bz2 Content-length: 417 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87968 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.0 --- Comment #1 from Thomas Koenig --- At least valgrind disagrees about undefined values here. >>From gcc-bugs-return-620746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 15:49:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5412 invoked by alias); 10 Nov 2018 15:49:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5196 invoked by uid 48); 10 Nov 2018 15:49:17 -0000 From: "ibuclaw at gdcproject dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/87824] x86_64-linux multilib issues Date: Sat, 10 Nov 2018 15:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ibuclaw at gdcproject dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00903.txt.bz2 Content-length: 710 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87824 --- Comment #4 from Iain Buclaw --- (In reply to Iain Buclaw from comment #3) > (In reply to Jakub Jelinek from comment #1) > > FAIL: runnable/eh.d -O2 execution test > > FAIL: runnable/eh.d -O2 -shared-libphobos execution test >=20 > On x86, the EH handling is unable to determine that two independently thr= own > exceptions should be chained together. >=20 > Currently this is determined by comparing the LSDA, but this doesn't work > when a function is partitioned into hot and cold blocks. >=20 >=20 Having -fno-reorder-blocks-and-partitions the default is also enough for exception chaining to work as expected. >>From gcc-bugs-return-620747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 17:22:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122348 invoked by alias); 10 Nov 2018 17:22: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 122259 invoked by uid 48); 10 Nov 2018 17:21:56 -0000 From: "bruno.manga95 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87970] New: Template Instantiation from empty parameter pack is not diagnosed in class specialization Date: Sat, 10 Nov 2018 17:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bruno.manga95 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00904.txt.bz2 Content-length: 836 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87970 Bug ID: 87970 Summary: Template Instantiation from empty parameter pack is not diagnosed in class specialization Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bruno.manga95 at gmail dot com Target Milestone: --- The following code compiles with g++ 8.1+, but fails with all the other compilers which claim that we are trying to pass too many template argument= s to bar. template struct bar {}; template struct foo {}; template struct foo> {}; godbolt link: https://gcc.godbolt.org/z/pnyPvn >>From gcc-bugs-return-620748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 18:21:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36844 invoked by alias); 10 Nov 2018 18:21: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 31830 invoked by uid 48); 10 Nov 2018 18:21:49 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/87936] gnatlink fails with -pie Date: Sat, 10 Nov 2018 18:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00905.txt.bz2 Content-length: 633 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87936 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-10 CC| |ebotcazou at gcc dot gnu.o= rg Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #3 from Eric Botcazou --- Patches welcome. >>From gcc-bugs-return-620749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 18:25:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21325 invoked by alias); 10 Nov 2018 18:25:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100574 invoked by uid 48); 10 Nov 2018 18:24:35 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/87938] libgnat.a not compiled with -fno-PIC Date: Sat, 10 Nov 2018 18:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc dependson everconfirmed bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00906.txt.bz2 Content-length: 1054 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87938 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-10 CC| |ebotcazou at gcc dot gnu.o= rg Depends on| |87936 Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #1 from Eric Botcazou --- > But libgnat.a is compiled with whatever the default is, so if gcc defaults > to -pie -fPIE, then libgnat.a is compiled with -fPIE. My guess is that we > want to build libgnat.a with -fno-PIE/-fno-pie. That's not clear to me but, in any case, this depends on the other. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87936 [Bug 87936] gnatlink fails with -pie >>From gcc-bugs-return-620750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 20:59:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12259 invoked by alias); 10 Nov 2018 20:59: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 12206 invoked by uid 48); 10 Nov 2018 20:59:51 -0000 From: "blitzrakete at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87971] New: gcc allows nested namespace definition of inline namespaces Date: Sat, 10 Nov 2018 20:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: blitzrakete at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00907.txt.bz2 Content-length: 737 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87971 Bug ID: 87971 Summary: gcc allows nested namespace definition of inline namespaces Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: blitzrakete at gmail dot com Target Milestone: --- gcc allows the following code with -std=3Dc++17 without any warnings or err= ors even with -Wall -Wextra -pedantic -pedantic-errors. namespace one { inline namespace two {} } namespace one::two {} // ill-formed two is an inline namespace, so it should be specified as such. >>From gcc-bugs-return-620751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 22:26:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 23342 invoked by alias); 10 Nov 2018 22:26:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 23298 invoked by uid 48); 10 Nov 2018 22:26:49 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87971] gcc allows nested namespace definition of inline namespaces Date: Sat, 10 Nov 2018 22:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00908.txt.bz2 Content-length: 289 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87971 --- Comment #1 from Jonathan Wakely --- It's also accepted without using nested namespace definitions, and that's intentional. namespace one { inline namespace two {} } namespace one { namespace two {} } >>From gcc-bugs-return-620752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 10 23:55:24 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83767 invoked by alias); 10 Nov 2018 23:55: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 83750 invoked by uid 48); 10 Nov 2018 23:55:19 -0000 From: "blitzrakete at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87971] gcc allows nested namespace definition of inline namespaces Date: Sat, 10 Nov 2018 23:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: blitzrakete at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00909.txt.bz2 Content-length: 501 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87971 Nicolas Lesser changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Nicolas Lesser --- Ha, seems like you're right. It's just the other way that is ill-formed. >>From gcc-bugs-return-620753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 01:34:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 36375 invoked by alias); 11 Nov 2018 01:34:34 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 36307 invoked by uid 55); 11 Nov 2018 01:34:28 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/65703] -fdefer-pop documentation is confusing Date: Sun, 11 Nov 2018 01: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: unknown X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00910.txt.bz2 Content-length: 572 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65703 --- Comment #5 from sandra at gcc dot gnu.org --- Author: sandra Date: Sun Nov 11 01:33:53 2018 New Revision: 266008 URL: https://gcc.gnu.org/viewcvs?rev=3D266008&root=3Dgcc&view=3Drev Log: 2018-11-10 Sandra Loosemore PR middle-end/65703 gcc/ * doc/invoke.texi (Optimize Options): Add @opindex entries for the positive forms of -fno-xxx and -mno-xxx options that were lacking them. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/invoke.texi >>From gcc-bugs-return-620754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 01:36:02 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 37707 invoked by alias); 11 Nov 2018 01:36:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37636 invoked by uid 48); 11 Nov 2018 01:35:56 -0000 From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/87955] [9 Regression] ICE in cl_target_option_print_diff at gcc/options-save.c:3803 since r265920 Date: Sun, 11 Nov 2018 01:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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: 2018-11/txt/msg00911.txt.bz2 Content-length: 644 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87955 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch URL| |https://gcc.gnu.org/ml/gcc- | |patches/2018-11/msg00834.ht | |ml --- Comment #2 from David Malcolm --- Candidate patch: https://gcc.gnu.org/ml/gcc-patches/2018-11/msg00834.html >>From gcc-bugs-return-620755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 02:36:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84979 invoked by alias); 11 Nov 2018 02:36: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 84934 invoked by uid 48); 11 Nov 2018 02:36:47 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/65703] -fdefer-pop documentation is confusing Date: Sun, 11 Nov 2018 02:36: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: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00912.txt.bz2 Content-length: 406 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65703 sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from sandra at gcc dot gnu.org --- Now fixed on trunk. >>From gcc-bugs-return-620756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 03:17:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 70308 invoked by alias); 11 Nov 2018 03:17: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 70252 invoked by uid 48); 11 Nov 2018 03:17:49 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/81436] missing -Wstringop-overflow on strncat to a zero-size buffer Date: Sun, 11 Nov 2018 03:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00913.txt.bz2 Content-length: 496 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81436 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmalcolm at gcc dot gnu.or= g, | |dodji at gcc dot gnu.org --- Comment #2 from Eric Gallager --- cc-ing diagnostics maintainers >>From gcc-bugs-return-620757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 10:01:26 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 35078 invoked by alias); 11 Nov 2018 10:01: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 35021 invoked by uid 48); 11 Nov 2018 10:01:21 -0000 From: "johannespfau at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/87824] x86_64-linux multilib issues Date: Sun, 11 Nov 2018 10:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: johannespfau at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00914.txt.bz2 Content-length: 764 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87824 Johannes Pfau changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |johannespfau at gmail dot = com --- Comment #5 from Johannes Pfau --- Iain, is there a specific reason why we don't have i686 on the GDC/buildkite CI? We could simply run a QEMU/KVM VM on a x86_64 host for this. And when running the testsuite on multilib, is it now running all tests (te= st suite and druntime, phobos) for all multilib variants? I think last time I checked, multilib testing tested only the main variant for some reason. >>From gcc-bugs-return-620758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 11:05:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7398 invoked by alias); 11 Nov 2018 11:05: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 7326 invoked by uid 48); 11 Nov 2018 11:05:35 -0000 From: "ibuclaw at gdcproject dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/87824] x86_64-linux multilib issues Date: Sun, 11 Nov 2018 11:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ibuclaw at gdcproject dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00915.txt.bz2 Content-length: 1679 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87824 --- Comment #6 from Iain Buclaw --- (In reply to Johannes Pfau from comment #5) > Iain, is there a specific reason why we don't have i686 on the GDC/buildk= ite > CI? We could simply run a QEMU/KVM VM on a x86_64 host for this. >=20 > And when running the testsuite on multilib, is it now running all tests > (test suite and druntime, phobos) for all multilib variants? I think last > time I checked, multilib testing tested only the main variant for some > reason. Just need to add i686 to the list of test configurations, and then adjust CI script to run make check with RUNTESTFLAGS=3D"--target_board=3Dunix/-m32/-mno-sse/-mno-mmx". This is alr= eady done for ARM. However... there should be more servers thrown into the build farm, and not just Linux VPS boxes. Running QEMU probably warrants getting dedicated hardware instead. > Running target unix > FAIL: runnable/cppa.d execution test > FAIL: runnable/cppa.d -g execution test > FAIL: runnable/cppa.d -g -shared-libphobos execution test > FAIL: runnable/cppa.d -shared-libphobos execution test Have now reproduced, the test checks old behaviour that I dropped support f= or long ago. The first failed attempt to have a type that maps to C 'long' and 'unsigned long' had a 'struct __c_long' type that expected the compiler to magically pass it around as the correct integer type. This had passed/gone unnoticed on x86_64 because 'struct{long}' and 'long' are passed in the same way. Support should have been removed from the dmd front-end when it was dropped from the library, but it still lives on in the testsuite. >>From gcc-bugs-return-620759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 12:25:08 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16002 invoked by alias); 11 Nov 2018 12:25:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15708 invoked by uid 48); 11 Nov 2018 12:24:40 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85925] [7/8/9 regression] Mis-compilation at -02, masking with 257 goes wrong in combine Date: Sun, 11 Nov 2018 12:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.1.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.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: 2018-11/txt/msg00916.txt.bz2 Content-length: 299 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85925 --- Comment #5 from Eric Botcazou --- Created attachment 44982 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44982&action=3Dedit Tentative fix I'm going to evaluate it on ARM and SPARC wrt pessimization. >>From gcc-bugs-return-620760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 14:03:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 110985 invoked by alias); 11 Nov 2018 14:03:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 110905 invoked by uid 48); 11 Nov 2018 14:03:10 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85925] [7/8/9 regression] Mis-compilation at -02, masking with 257 goes wrong in combine Date: Sun, 11 Nov 2018 14:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.1.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00917.txt.bz2 Content-length: 584 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85925 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #44982|0 |1 is obsolete| | --- Comment #6 from Eric Botcazou --- Created attachment 44983 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44983&action=3Dedit Tentative fix #2 Second try, without the thinko of the previous patch. >>From gcc-bugs-return-620761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 15:01:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 84661 invoked by alias); 11 Nov 2018 15:01:17 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 77011 invoked by uid 48); 11 Nov 2018 15:01:12 -0000 From: "nicolas at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/87972] New: remove -f*-prefix-map= options from Ada Library Information files Date: Sun, 11 Nov 2018 15:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nicolas at debian dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00918.txt.bz2 Content-length: 743 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87972 Bug ID: 87972 Summary: remove -f*-prefix-map=3D options from Ada Library Information files Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: nicolas at debian dot org Target Milestone: --- Created attachment 44984 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44984&action=3Dedit skip -f*-prefix-map options when writing .ali files The -f(file|debug|macro)-prefix-map=3DOLD=3DNEW options added by revision 2= 56847 explicitly ask that OLD is never written. >>From gcc-bugs-return-620762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 15:21:48 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 9606 invoked by alias); 11 Nov 2018 15: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 9523 invoked by uid 48); 11 Nov 2018 15:21:43 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85925] [7/8/9 regression] Mis-compilation at -02, masking with 257 goes wrong in combine Date: Sun, 11 Nov 2018 15:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.1.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00919.txt.bz2 Content-length: 855 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85925 --- Comment #7 from Eric Botcazou --- For the testcase, the tentative fix adds only one instruction: --- pr85925_0.s 2018-11-11 16:14:32.883280168 +0100 +++ pr85925.s 2018-11-11 16:16:34.734727859 +0100 @@ -38,6 +38,7 @@ ldreq lr, [ip] mov r3, r0 .L5: + ubfx r3, r3, #0, #15 str r3, [r1] ldr r3, [r2] add r3, r3, #1 whereas reverting the nonzero_bits1 change of PR rtl-opt/59461 adds two: --- pr85925_0.s 2018-11-11 16:14:32.883280168 +0100 +++ pr85925_1.s 2018-11-11 16:15:18.800577679 +0100 @@ -38,6 +38,8 @@ ldreq lr, [ip] mov r3, r0 .L5: + ubfx r3, r3, #0, #15 + uxth r3, r3 str r3, [r1] ldr r3, [r2] add r3, r3, #1 >>From gcc-bugs-return-620763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 16:34:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46138 invoked by alias); 11 Nov 2018 16:34:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 46104 invoked by uid 48); 11 Nov 2018 16:34:11 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87968] [7/8/9 Regression] Warning about uninizialized variables in array constructor Date: Sun, 11 Nov 2018 16:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00920.txt.bz2 Content-length: 380 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87968 --- Comment #2 from Thomas Koenig --- Simplified test case (only one array is needed): program main integer, parameter :: dp =3D selected_real_kind(15) real(kind=3Ddp) :: v1(3) real(kind=3Ddp), allocatable :: vv(:) v1 =3D [1._dp, 2._dp, 3._dp] vv =3D [v1] print *,vv end program main >>From gcc-bugs-return-620764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 17:00:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95357 invoked by alias); 11 Nov 2018 17:00: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 95050 invoked by uid 48); 11 Nov 2018 16:59:59 -0000 From: "cthowie at netzero dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/87973] New: ICE with pragma Discard_Names and GCC optimisation for x64 Date: Sun, 11 Nov 2018 17:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cthowie at netzero dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00921.txt.bz2 Content-length: 8269 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87973 Bug ID: 87973 Summary: ICE with pragma Discard_Names and GCC optimisation for x64 Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: cthowie at netzero dot net Target Milestone: --- Created attachment 44985 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44985&action=3Dedit Test.adb file; see comment for other file 'Test.gpr' PREFACE:=20 1) Compiler: GNAT FSF 8.2.0 with MinGW on Windows 64-bit. I've appended the detailed output of "gcc -v" to the end of this comment. 2) My GNAT setup is default MSYS2 based GNAT FSF on Windows 64/MinGW64. No fiddling or manual compiling of GNAT. I have also installed the Win32Ada library from GitHub, though there are problems even if Win32Ada ignored as I comment on below. 3) The compiler crash and other problems reported herein do not appear to affect x86 (32-bit) GNAT, only x64. I ran these steps below on 32-bit Windo= ws with MSYS2 GNAT x86 and had no problems. TWO TEST FILES: Test.adb, Test.gpr Although I've attached Test.adb, you can make these two files by pasting the following text into the named files (gnatchop won't work): ------------ Test.adb ------------=20 with Ada.Text_IO; use Ada.Text_IO; procedure Test is pragma Discard_Names; type Name is (Alice, Bob, Charles); n : Name :=3D Bob; begin Put_Line ("Hello, " & n'Image); end Test; ------------ Test.gpr ------------=20 with "win32ada"; project Test is for Source_Dirs use ("."); for Object_Dir use "obj/"; for Main use ("Test.adb"); package Compiler is for Switches ("Ada") use ("-O2"); end Compiler; end Test; ------------ end of test files ------=20 DIAGNOSTIC STEPS: I will describe how to generate the ICE and then some finer-grained diagnos= tic steps you can use to remove the ICE but get a compiler error which I'm sure will help home in on the bug, and then finally how to get the pragma working even with optimisation switched on. To generate the ICE, run 'gprbuild' for the simple test and project files I= 've submitted: gprbuild -p -d -PTest.gpr and you get this bug box=20=20=20 +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3DGNAT BUG DETECTED=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D+ | 8.2.0 (x86_64-w64-mingw32) Program_Error EXCEPTION_ACCESS_VIOLATI= ON=20=20 | | Error detected at test.adb:8:32=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 | | Please submit a bug report; see https://gcc.gnu.org/bugs/ .=20=20= =20=20=20=20=20=20=20=20 | | Use a subject line meaningful to you and us to track the bug.=20= =20=20=20=20=20=20=20 | | Include the entire contents of this bug box in the report.=20=20= =20=20=20=20=20=20=20=20=20 | | Include the exact command that you entered.=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | | Also include sources listed below.=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | =20=20=20=20=20=20=20 +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ The crash relates to a combination of things: - specifying Win32Ada in the project file - the use of pragma Discard_Names inside a procedure (not at file scope) - the use of GCC optimisation Yet there seems to be a non-crashing bug if we drop the Win32Ada aspect bec= ause the compiler will produce an incorrect message unless we drop optimisation = as well. To explore this further, proceed through the following steps: 1) In the Test.gpr file, comment out or remove the first line that says "wi= th win32ada;" as this will prevent the compiler from crashing but will give us= a new clue by triggering an incorrect compiler error message. Note that the Win32Ada library is not actually used in this test, it's just here because = I've stripped down the test files from a bigger project and Win32Ada may help in diagnosing the problem. Even if you don't have the Win32Ada library install= ed, you can still get problems when combining the pragma with optimisation, but= the ICE itself is related to the Win32Ada specification. So, after commenting out/removing that "with win32ada;" line and running the same command: gprbuild -p -d -PTest.gpr you'll see the bug box has gone but now there's an incorrect compiler error message (incorrect because the program is legal), and the error message its= elf is suspicious in claiming an empty string is undefined: test.adb:8:32: "" is undefined 2) Now in the Test.gpr file, comment out (or remove) the line that sets the= Ada compiler switches. The issue appears related to the use of optimisation (whether GCC level -O1 or -O2, there's a bug somewhere). Running the same command as before: gprbuild -p -d -PTest.gpr gives a successful compilation and the program runs fine, producing the des= ired output: Hello, 1 3) We can drop down to a finer diagnostic level by ignoring gprbuild and running gnatmake directly, without the project file wrapping. Run this comm= and: gnatmake Test.adb -cargs -O2 and we get the earlier incorrect compiler message for Test.adb line 8 about= "" being undefined. We can get a successful compilation by turning off optimisation e.g., gnatmake Test.adb -cargs -O0 or just by dropping optimisation entirely e.g., gnatmake Test.adb 4) Note that we can both remove the ICE and the incorrect compiler error message, and get a successful compilation at optimisation level 2, if we do= as ff: i) restore the Test.gpr file to reenable the optimisation switches for Ada back to "-O2". ii) alter Test.adb to move the pragma Discard_Names to the first line of = the file iii) run this command as we did earlier: gprbuild -p -d -PTest.gpr It'll even work if you uncomment the "with win32ada;" line in the Test.gpr file. Of course, it'll also work if you go back to gnatmake with optimisati= on back on: gnatmake Test.adb -cargs -O2 So there's clearly an issue when using pragma Discard_Names with some degre= e of optimisation and where the pragma appears inside the procedure scope instea= d of at the top of the file. Moreover, using "with win32ada;" in the project file causes an actual compiler crash, not just a bad error message. COMPILER DETAILS: output of "gcc -v": Using built-in specs. COLLECT_GCC=3DC:\MSYS2\mingw64\bin\gcc.exe COLLECT_LTO_WRAPPER=3DC:/MSYS2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.= 2.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../gcc-8.2.0/configure --prefix=3D/mingw64 --with-local-prefix=3D/mingw64/local --build=3Dx86_64-w64-mingw32 --host=3Dx86_64-w64-mingw32 --target=3Dx86_64-w64-mingw32 --with-native-system-header-dir=3D/mingw64/x86_64-w64-mingw32/include --libexecdir=3D/mingw64/lib --enable-bootstrap --with-arch=3Dx86-64 --with-tune=3Dgeneric --enable-languages=3Dada,c,lto,c++,objc,obj-c++,fortr= an --enable-shared --enable-static --enable-libatomic --enable-threads=3Dposix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts=3Dyes --enable-libstdcxx-time=3Dyes --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-isl-version-che= ck --enable-lto --enable-libgomp --disable-multilib --enable-checking=3Drelease --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=3D/mingw64 --with-mpfr=3D/mingw64 --with-mpc=3D/mingw64 --with-isl=3D/mingw64 --with-pkgversion=3D'Rev1, Built by MSYS2 project' --with-bugurl=3Dhttps://sourceforge.net/projects/msys2 --with-gnu-as --with-gnu-ld Thread model: posix gcc version 8.2.0 (Rev1, Built by MSYS2 project) >>From gcc-bugs-return-620765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 17:03:56 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 122074 invoked by alias); 11 Nov 2018 17:03:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 122031 invoked by uid 48); 11 Nov 2018 17:03:51 -0000 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87974] New: ice in vect_get_vec_def_for_stmt_copy Date: Sun, 11 Nov 2018 17:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00922.txt.bz2 Content-length: 1659 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87974 Bug ID: 87974 Summary: ice in vect_get_vec_def_for_stmt_copy Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For this C++ code: struct h { typedef int &c; }; class i { struct j { using c =3D int *; }; using as =3D j::c; }; template class k { public: using as =3D i::as; h::c operator[](long l) { k::as d =3D 0; return d[l]; } }; class : public k { } a; long c, f; void m() { for (long b; b <=3D 6; b++) for (long g; g < b; g++) { unsigned long e =3D g; c =3D 0; for (; c < b; c++) f =3D e >>=3D 1; a[g] =3D f; } } compiled by recent gcc trunk and compiler flag -O3, does this: during GIMPLE pass: vect bug477.cc: In function =E2=80=98void m()=E2=80=99: bug477.cc:21:6: internal compiler error: in vect_get_vec_def_for_stmt_copy,= at t ree-vect-stmts.c:1615 21 | void m() { | ^ 0x787b69 vect_get_vec_def_for_stmt_copy(vec_info*, tree_node*) ../../trunk/gcc/tree-vect-stmts.c:1615 0x787b69 vect_get_vec_def_for_stmt_copy(vec_info*, tree_node*) ../../trunk/gcc/tree-vect-stmts.c:1607 0x787b69 vect_get_vec_defs_for_stmt_copy(vec_info*, vec*, vec*) ../../trunk/gcc/tree-vect-stmts.c:1634 This bug seems to have started sometime between revision 265846 and 265907. >>From gcc-bugs-return-620766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 17:16:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7087 invoked by alias); 11 Nov 2018 17:16: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 7032 invoked by uid 48); 11 Nov 2018 17:16:44 -0000 From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/81436] missing -Wstringop-overflow on strncat to a zero-size buffer Date: Sun, 11 Nov 2018 17:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00923.txt.bz2 Content-length: 533 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81436 --- Comment #3 from Martin Sebor --- Eric, thanks for putting so much effort into helping triage and make progre= ss on these bugs! FWIW, I think the diagnostic maintainers are mainly focused= on the design and implementation of diagnostic infrastructure, not so much on deficiencies in its client code, so CC'ing them on bugs like this is probab= ly not going to help move them along. (I'll let David and/or Dodji correct me= if I'm wrong here.) >>From gcc-bugs-return-620767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 17:37:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 75975 invoked by alias); 11 Nov 2018 17:37: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 73470 invoked by uid 55); 11 Nov 2018 17:36:59 -0000 From: "uros at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58372] internal compiler error: ix86_compute_frame_layout Date: Sun, 11 Nov 2018 17:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: uros at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00924.txt.bz2 Content-length: 877 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58372 --- Comment #42 from uros at gcc dot gnu.org --- Author: uros Date: Sun Nov 11 17:36:23 2018 New Revision: 266014 URL: https://gcc.gnu.org/viewcvs?rev=3D266014&root=3Dgcc&view=3Drev Log: Backport from mainline 2018-11-04 Uros Bizjak PR middle-end/58372 * cfgexpand.c (pass_expand::execute): Move the call to finish_eh_generation in front of the call to expand_stack_alignment. testsuite/ChangeLog: Backport from mainline 2018-11-04 Uros Bizjak PR middle-end/58372 * g++.dg/pr58372.C: New test. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/pr58372.C Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/cfgexpand.c branches/gcc-8-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-620768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 17:46:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 112394 invoked by alias); 11 Nov 2018 17:46:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 112197 invoked by uid 55); 11 Nov 2018 17:45:45 -0000 From: "uros at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58372] internal compiler error: ix86_compute_frame_layout Date: Sun, 11 Nov 2018 17:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: uros at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00925.txt.bz2 Content-length: 877 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58372 --- Comment #43 from uros at gcc dot gnu.org --- Author: uros Date: Sun Nov 11 17:44:43 2018 New Revision: 266015 URL: https://gcc.gnu.org/viewcvs?rev=3D266015&root=3Dgcc&view=3Drev Log: Backport from mainline 2018-11-04 Uros Bizjak PR middle-end/58372 * cfgexpand.c (pass_expand::execute): Move the call to finish_eh_generation in front of the call to expand_stack_alignment. testsuite/ChangeLog: Backport from mainline 2018-11-04 Uros Bizjak PR middle-end/58372 * g++.dg/pr58372.C: New test. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/pr58372.C Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/cfgexpand.c branches/gcc-7-branch/gcc/testsuite/ChangeLog >>From gcc-bugs-return-620770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 17:50:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121858 invoked by alias); 11 Nov 2018 17:50:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121772 invoked by uid 48); 11 Nov 2018 17:50:51 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58372] internal compiler error: ix86_compute_frame_layout Date: Sun, 11 Nov 2018 17:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00927.txt.bz2 Content-length: 494 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58372 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |7.4 --- Comment #44 from Uro=C5=A1 Bizjak --- Fixed everywhere. >>From gcc-bugs-return-620769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 17:50:10 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 120906 invoked by alias); 11 Nov 2018 17:50: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 120796 invoked by uid 55); 11 Nov 2018 17:50:05 -0000 From: "uros at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87928] [7/8/9 Regression] ICE in ix86_compute_frame_layout, at config/i386/i386.c:11161 since r228607 Date: Sun, 11 Nov 2018 17:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: uros at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00926.txt.bz2 Content-length: 837 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87928 --- Comment #6 from uros at gcc dot gnu.org --- Author: uros Date: Sun Nov 11 17:49:33 2018 New Revision: 266016 URL: https://gcc.gnu.org/viewcvs?rev=3D266016&root=3Dgcc&view=3Drev Log: PR target/87928 * config/i386/i386.h (STACK_BOUNDARY): Use TARGET_64BIT_MS_ABI instead of (TARGET_64BIT && ix86_abi =3D=3D MS_ABI). * config/i386/darwin.h (STACK_BOUNDARY): Ditto. * config/i386/cygming.h (STACK_BOUNDARY): Remove. testsuite /Changelog: PR target/87928 * gcc.target/i386/pr87928.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr87928.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/cygming.h trunk/gcc/config/i386/darwin.h trunk/gcc/config/i386/i386.h trunk/gcc/testsuite/ChangeLog >>From gcc-bugs-return-620771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 18:39:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 115604 invoked by alias); 11 Nov 2018 18:39:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115564 invoked by uid 55); 11 Nov 2018 18:39:42 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/26366] __builtin_expect needs better documentation Date: Sun, 11 Nov 2018 18:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00928.txt.bz2 Content-length: 507 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D26366 --- Comment #6 from sandra at gcc dot gnu.org --- Author: sandra Date: Sun Nov 11 18:39:10 2018 New Revision: 266017 URL: https://gcc.gnu.org/viewcvs?rev=3D266017&root=3Dgcc&view=3Drev Log: 2018-11-11 Sandra Loosemore PR c/26366 gcc/ * doc/extend.texi (Other Builtins): Document probability associated with __builtin_expect. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/extend.texi >>From gcc-bugs-return-620772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 18:42:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 118608 invoked by alias); 11 Nov 2018 18:41:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 118571 invoked by uid 48); 11 Nov 2018 18:41:55 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/26366] __builtin_expect needs better documentation Date: Sun, 11 Nov 2018 18:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra 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: 2018-11/txt/msg00929.txt.bz2 Content-length: 487 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D26366 sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |sandra at gcc dot gnu.org Resolution|--- |FIXED --- Comment #7 from sandra at gcc dot gnu.org --- Fixed (finally) on trunk. >>From gcc-bugs-return-620773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 18:54:27 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95671 invoked by alias); 11 Nov 2018 18:54: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 93309 invoked by uid 48); 11 Nov 2018 18:54:23 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/18439] vectorizer failed for vector normalization Date: Sun, 11 Nov 2018 18:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.0.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00930.txt.bz2 Content-length: 644 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D18439 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2011-05-22 17:43:30 |2018-11-11 CC| |tkoenig at gcc dot gnu.org --- Comment #6 from Thomas Koenig --- Hm, the test case is no longer valid, because gcc has gotten smart enough to remove the whole function :-) However, removing the "static" keywords of the three variables still shows the same problem. >>From gcc-bugs-return-620774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 20:51:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 116468 invoked by alias); 11 Nov 2018 20:51: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 116430 invoked by uid 48); 11 Nov 2018 20:51:18 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/78444] Wrong prologue stack alignment for implicit dtor on x86_64-darwin* Date: Sun, 11 Nov 2018 20:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00931.txt.bz2 Content-length: 2014 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78444 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ubizjak at gmail dot com --- Comment #1 from Uro=C5=A1 Bizjak --- For some reason, the expansion of call in llvm::cl::parser::~parser() doesn't update x_rtl->preferred_stack_boundary. Putting a breakpoint at expand_call, we get: Breakpoint 6, expand_call (exp=3D0x7ffff0ccaaf0, target=3D0x0, ignore=3D1) = at /home/uros/gcc-svn/trunk/gcc/calls.c:3232 3232 rtx_insn *normal_call_insns =3D NULL; (gdb) p x_rtl->preferred_stack_boundary $7 =3D 64 (gdb) fin Run till exit from #0 expand_call (exp=3D0x7ffff0ccaaf0, target=3D0x0, ign= ore=3D1) at /home/uros/gcc-svn/trunk/gcc/calls.c:3232 expand_expr_real_1 (exp=3D0x7ffff0ccaaf0, target=3D0x0, tmode=3DE_VOIDmode, modifier=3DEXPAND_NORMAL, alt_rtl=3D0x0,=20 inner_reference_p=3Dfalse) at /home/uros/gcc-svn/trunk/gcc/expr.c:10947 10947 return expand_call (exp, target, ignore); Value returned is $8 =3D (rtx_def *) 0x7ffff0b29490 (gdb) p x_rtl->preferred_stack_boundary $9 =3D 64 The same for x86_64-linux: Breakpoint 5, expand_call (exp=3D0x7ffff0cca690, target=3D0x0, ignore=3D1) = at /home/uros/gcc-svn/trunk/gcc/tree.h:3153 3153 if (TREE_CODE (__t) !=3D __c) (gdb) p x_rtl->preferred_stack_boundary $12 =3D 64 (gdb) fin Run till exit from #0 expand_call (exp=3D0x7ffff0cca690, target=3D0x0, ign= ore=3D1) at /home/uros/gcc-svn/trunk/gcc/tree.h:3153 expand_expr_real_1 (exp=3D0x7ffff0cca690, target=3D0x0, tmode=3DE_VOIDmode, modifier=3DEXPAND_NORMAL, alt_rtl=3D0x0,=20 inner_reference_p=3Dfalse) at /home/uros/gcc-svn/trunk/gcc/expr.c:10947 10947 return expand_call (exp, target, ignore); Value returned is $13 =3D (rtx_def *) 0x7ffff0b29490 (gdb) p x_rtl->preferred_stack_boundary $14 =3D 128 >>From gcc-bugs-return-620775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 21:28:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46803 invoked by alias); 11 Nov 2018 21:28: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 46680 invoked by uid 48); 11 Nov 2018 21:28:41 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/38768] -fschedule-insns documentation is wrong for x86 and some other targets Date: Sun, 11 Nov 2018 21:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 4.4.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra 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: 2018-11/txt/msg00932.txt.bz2 Content-length: 681 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D38768 sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |sandra at gcc dot gnu.org Resolution|--- |FIXED --- Comment #9 from sandra at gcc dot gnu.org --- It appears that the problems with -fschedule-insns on x86 were fixed in gcc= 4.5 or thereabouts. The documentation on trunk agrees with what opts.c says ab= out when this option is enabled, so nothing left to do here. >>From gcc-bugs-return-620776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 22:29:32 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48933 invoked by alias); 11 Nov 2018 22: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 48680 invoked by uid 48); 11 Nov 2018 22:29:27 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85925] [7/8/9 regression] Mis-compilation at -02, masking with 257 goes wrong in combine Date: Sun, 11 Nov 2018 22:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.1.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00933.txt.bz2 Content-length: 192 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85925 --- Comment #8 from Segher Boessenkool --- I'm running this on all archs, to see what (if anything) degrades. >>From gcc-bugs-return-620777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 22:37:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 63426 invoked by alias); 11 Nov 2018 22:37: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 63396 invoked by uid 48); 11 Nov 2018 22:37:54 -0000 From: "spam at rob1nn dot pw" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87975] New: Bad diagnostic context arrow emission when line contains a trigraph (-trigraphs) Date: Sun, 11 Nov 2018 22:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: spam at rob1nn dot pw X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00934.txt.bz2 Content-length: 1849 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87975 Bug ID: 87975 Summary: Bad diagnostic context arrow emission when line contains a trigraph (-trigraphs) Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: spam at rob1nn dot pw Target Milestone: --- Created attachment 44986 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44986&action=3Dedit test case source file showcasing the fault (build with -trigraphs) When trigraphs are part of any diagnostic output message (e.g. warning, not= e) and in front of the highlighted context, the highlighting and arrow of the diagnostic message context are wrongfully shifted to the left by (trigraph count) * 2 columns For example, building the attached test case with `gcc -trigraphs trigraph.= c` results in: test.c: In function =E2=80=98main=E2=80=99: test.c:4:21: warning: implicit declaration of function =E2=80=98printf=E2= =80=99 [-Wimplicit-function-declaration] if(false ??!??! true) printf("warn"); ^~~~~~ test.c:4:21: warning: incompatible implicit declaration of built-in function =E2=80=98printf=E2=80=99 test.c:4:21: note: include =E2=80=98=E2=80=99 or provide a declara= tion of =E2=80=98printf=E2=80=99 test.c:2:1: +#include test.c:4:21: if(false ??!??! true) printf("warn"); ^~~~~~ ^ these context markers and the associated coloring= are shifted 4 to the left, possibly because the two ??! trigraphs are condensed= to || before the diagnostic message is generated - thereby shortening the line= in front of the marker This is on gcc version 8.2.1 20180831 (GCC) >>From gcc-bugs-return-620778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 22:45:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 77235 invoked by alias); 11 Nov 2018 22:45: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 76685 invoked by uid 48); 11 Nov 2018 22:45:01 -0000 From: "hp at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/54005] Use __atomic_always_lock_free in libstdc++ is_lock_free instead of __atomic_is_lock_free Date: Sun, 11 Nov 2018 22: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: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hp at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hp at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00935.txt.bz2 Content-length: 910 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54005 Hans-Peter Nilsson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |9.0 --- Comment #36 from Hans-Peter Nilsson --- Either I goofed on the ChangeLog markup or the hook posting bugzilla notes = from svn commits has taken some time off. Anyway, I committed the change approv= ed in comment #35 as r266018 (and a changelog goof in r266019). It was also posted in . As the tests I wrote have no bearing on the code change, I did not commit t= hem. (If you still want them committed, please tell.) >>From gcc-bugs-return-620779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 22:46:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 83888 invoked by alias); 11 Nov 2018 22: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 83651 invoked by uid 55); 11 Nov 2018 22:46:42 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/43105] Document restrictions on mixing -fno-rtti and -frtti Date: Sun, 11 Nov 2018 22:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.4.1 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00936.txt.bz2 Content-length: 511 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D43105 --- Comment #6 from sandra at gcc dot gnu.org --- Author: sandra Date: Sun Nov 11 22:46:00 2018 New Revision: 266020 URL: https://gcc.gnu.org/viewcvs?rev=3D266020&root=3Dgcc&view=3Drev Log: 2018-11-11 Sandra Loosemore PR c++/43105 gcc/ * doc/invoke.texi (C++ Dialect Options): Add warning about mixing -frtti and -fno-rtti code. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/invoke.texi >>From gcc-bugs-return-620780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 22:49:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88594 invoked by alias); 11 Nov 2018 22:49: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 88497 invoked by uid 48); 11 Nov 2018 22:49:08 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/43105] Document restrictions on mixing -fno-rtti and -frtti Date: Sun, 11 Nov 2018 22:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.4.1 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00937.txt.bz2 Content-length: 402 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D43105 sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #7 from sandra at gcc dot gnu.org --- Fixed on trunk. >>From gcc-bugs-return-620781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 22:50:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 92428 invoked by alias); 11 Nov 2018 22:50:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 92320 invoked by uid 48); 11 Nov 2018 22:50:40 -0000 From: "maik.riechert at arcor dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/59537] No "Automatic array cannot have an initializer", for -finit-real without a SAVE statement present in subroutine Date: Sun, 11 Nov 2018 22:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: maik.riechert at arcor dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00938.txt.bz2 Content-length: 1253 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59537 Maik Riechert changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maik.riechert at arcor dot= de --- Comment #8 from Maik Riechert --- I'm facing the same issue using gfortran 8.2.0. Often the intent of using -finit-real is for debugging purposes. I'd like to use '-finit-real=3Dsnan -ffpe-trap=3Dinvalid' to help find cases where unit= ialized variables/values are accidently used. However, in a bigger existing code ba= se I cannot use -finit-real because of the gfortran behavior described in this issue. If for some reason -finit-real cannot be applied then there should b= e a warning at most, but not an error. Ideally, I'd also like to -finit-real initialize allocatable arrays, for the same reasons. In my opinion, this should then happen directly after an allocate(..) call. I have a feeling that -finit-* is too closely linked to = the allowed initializations one can do in the declarations block, however it sh= ould be more general I think and don't have such constraints really. >>From gcc-bugs-return-620782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Nov 11 23:01:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24384 invoked by alias); 11 Nov 2018 23:01: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 24158 invoked by uid 48); 11 Nov 2018 23:00:56 -0000 From: "already5chosen at yahoo dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/86965] nios2 optimizer forgets about known upper bits of register Date: Sun, 11 Nov 2018 23:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 8.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: already5chosen at yahoo dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00939.txt.bz2 Content-length: 1906 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D86965 --- Comment #3 from Michael_S --- (In reply to sandra from comment #1) > I'm not sure what command-line options you were using, but with -O2 the b= ad2 > case now generates the expected code. >=20 With 8.2.0 the problem exists both with -O2 and with -Os. So, may be, a newer version got lucky and some other change eliminated my problem. > Looking at the bad1 case, this is what's coming out of the tree optimizer= s, > and what the back end has to deal with for RTL expansion: >=20 > bad1 (const signed char * str, int * res) > { > int c; > signed char _1; > int _2; > int _11; > signed char _12; > _Bool _13; >=20 > [local count: 1073741824]: > _1 =3D *str_6(D); > c_8 =3D (int) _1; > _2 =3D c_8 + -48; > *res_9(D) =3D _2; > _12 =3D _1 & -33; > _13 =3D _12 =3D=3D 69; > _11 =3D (int) _13; > return _11; >=20 > } >=20 > The code coming out of RTL expand is a mess too; there's no QImode "and" > instruction, it can't use the SImode "andi" instruction because that it o= nly > accepts small unsigned constants (not -33), and then it has to sign-extend > the QImode result it computed because the comparison instructions need > SImode too. >=20 > FWIW I think the real bug here is in the tree reassoc1 pass: it shouldn't > attempt this optimization if there is no optab support for bitwise AND in > the appropriate mode. So I'm reclassifying this as a tree-optimization b= ug > rather than a target bug; if the maintainers dispute that, feel free to > switch it back and I will take another look see if I can do something in = the > backend to recombine the insns. I am not a compiler expert. Never understood functionality of each and every gcc pass. Sorry. The only thing I know, at least on simple targets, like Nios2, is which cod= e I would like for compiler to generate. >>From gcc-bugs-return-620783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 00:59:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 127684 invoked by alias); 12 Nov 2018 00:59: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 127599 invoked by uid 48); 12 Nov 2018 00:59:53 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/81436] missing -Wstringop-overflow on strncat to a zero-size buffer Date: Mon, 12 Nov 2018 00: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: 8.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00940.txt.bz2 Content-length: 702 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81436 --- Comment #4 from Eric Gallager --- (In reply to Martin Sebor from comment #3) > Eric, thanks for putting so much effort into helping triage and make > progress on these bugs! FWIW, I think the diagnostic maintainers are mai= nly > focused on the design and implementation of diagnostic infrastructure, not > so much on deficiencies in its client code, so CC'ing them on bugs like t= his > is probably not going to help move them along. (I'll let David and/or Do= dji > correct me if I'm wrong here.) OK, would there be someone else who'd be better to ask for help for bugs in this portion of the compiler then? >>From gcc-bugs-return-620784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 01:38:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3858 invoked by alias); 12 Nov 2018 01: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 3790 invoked by uid 48); 12 Nov 2018 01:38:12 -0000 From: "thiago at kde dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87976] New: [i386] Sub-optimal code generation for _mm256_set1_epi64() Date: Mon, 12 Nov 2018 01:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: thiago at kde dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00941.txt.bz2 Content-length: 1505 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87976 Bug ID: 87976 Summary: [i386] Sub-optimal code generation for _mm256_set1_epi64() Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: thiago at kde dot org Target Milestone: --- In the following code, Clang and ICC emit a very optimal function that cons= ists of three instructions (including the tail call). MSVC emits a pretty good equivalent with a bit more function overhead, but no memory access GCC emits a completely unnecessary memory access. Code: =3D=3D=3D=3D #include #include #ifndef _MSC_VER #define __vectorcall #endif void __vectorcall f(__m256i value256); void g(uint64_t value) { f( _mm256_set1_epi64x(value)); } =3D=3D=3D=3D Clang and ICC (optimal) output: g: vmovd %rdi, %xmm0 vpbroadcastq %xmm0, %ymm0 jmp f GCC: g: pushq %r13 leaq 16(%rsp), %r13 andq $-32, %rsp pushq -8(%r13) pushq %rbp movq %rsp, %rbp pushq %r13 movq %rdi, -24(%rbp) vpbroadcastq -24(%rbp), %ymm0 popq %r13 popq %rbp leaq -16(%r13), %rsp popq %r13 jmp f Godbolt link for all compilers: https://gcc.godbolt.org/z/-gNvec >>From gcc-bugs-return-620787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 01:58:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106661 invoked by alias); 12 Nov 2018 01:58:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105508 invoked by uid 48); 12 Nov 2018 01:58:36 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/80820] _mm_set_epi64x shouldn't store/reload for -mtune=haswell, Zen should avoid store/reload, and generic should think about it. Date: Mon, 12 Nov 2018 01:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00944.txt.bz2 Content-length: 440 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80820 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thiago at kde dot org --- Comment #6 from Andrew Pinski --- *** Bug 87976 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-620786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 01:58:40 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 106569 invoked by alias); 12 Nov 2018 01:58:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 105395 invoked by uid 48); 12 Nov 2018 01:58:36 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87976] [i386] Sub-optimal code generation for _mm256_set1_epi64() Date: Mon, 12 Nov 2018 01:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00943.txt.bz2 Content-length: 455 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87976 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |DUPLICATE --- Comment #2 from Andrew Pinski --- Really a dup of bug 80820. *** This bug has been marked as a duplicate of bug 80820 *** >>From gcc-bugs-return-620785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 01:58:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 101427 invoked by alias); 12 Nov 2018 01:58:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 100190 invoked by uid 48); 12 Nov 2018 01:58:11 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87976] [i386] Sub-optimal code generation for _mm256_set1_epi64() Date: Mon, 12 Nov 2018 01:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00942.txt.bz2 Content-length: 1832 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87976 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski --- apinski@xeond:~/src/toolchain-o7$ gcc t6.c -mavx -O2 -S -o - -march=3Dnati= ve .file "t6.c" .text .p2align 4,,15 .globl g .type g, @function g: .LFB4758: .cfi_startproc vpbroadcastq %rdi, %ymm0 jmp f@PLT .cfi_endproc .LFE4758: .size g, .-g .ident "GCC: (Ubuntu 7.3.0-16ubuntu3) 7.3.0" .section .note.GNU-stack,"",@progbits This is on a skylake xeond: model name : Intel(R) Xeon(R) D-2146NT CPU @ 2.30GHz /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -v -imultiarch x86_64-linux-gnu t6.c -march=3Dknl -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -= mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-f= ma4 -mno-xop -mbmi -mno-sgx -mbmi2 -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlz= cnt -mrtm -mhle -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mavx512f -mno-avx512er -mavx512cd -mno-avx512pf -mno-prefetchwt1 -mclflushopt -mxsavec -mxsaves -mavx512dq -mavx512bw -mavx512vl -mno-avx512= ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mclwb -mno-mwaitx -mno-clzero -mpku -mno-rdpid --param l1-cache-size=3D32 --param l1-cache-line-size=3D64 --param l2-cache-size=3D11264 -mtune=3Dgeneric -qui= et -dumpbase t6.c -mavx -auxbase-strip - -O2 -version -o - -fstack-protector-strong -Wformat -Wformat-security >>From gcc-bugs-return-620788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 02:41:46 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 53712 invoked by alias); 12 Nov 2018 02:41:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 53606 invoked by uid 48); 12 Nov 2018 02:41:37 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/79738] Documentation for __attribute__((const)) slightly misleading Date: Mon, 12 Nov 2018 02:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00945.txt.bz2 Content-length: 821 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79738 sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org, | |sandra at gcc dot gnu.org --- Comment #2 from sandra at gcc dot gnu.org --- The documentation for both "const" and "pure" was rewritten somewhat in r25= 5469 (along with some much bigger changes to the attribute handling code to dete= ct conflicts); now both places refer to "reading global variables" in discussi= ng the differences between the two attributes. I think the semantics of the attributes have not changed and the suggested language is still good, corre= ct? >>From gcc-bugs-return-620789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 02:50:41 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95347 invoked by alias); 12 Nov 2018 02:50: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 95271 invoked by uid 48); 12 Nov 2018 02:50:32 -0000 From: "thiago at kde dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87976] [i386] Sub-optimal code generation for _mm256_set1_epi64() Date: Mon, 12 Nov 2018 02:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: thiago at kde dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00946.txt.bz2 Content-length: 302 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87976 --- Comment #3 from Thiago Macieira --- Workaround: __m128i value64 =3D _mm_set_epi64x(0, value); // _mm_cvtsi64_si128(valu= e); asm ("" : "+x" (value64)); __m256i value256 =3D _mm256_broadcastq_epi64(value64); >>From gcc-bugs-return-620790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 05:36:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25958 invoked by alias); 12 Nov 2018 05:36:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 25881 invoked by uid 48); 12 Nov 2018 05:36:26 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/81512] duplicate note in -Walloca-larger-than and alloca in a return statement Date: Mon, 12 Nov 2018 05:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: minor X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00947.txt.bz2 Content-length: 436 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D81512 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aldyh at gcc dot gnu.org --- Comment #3 from Eric Gallager --- Aldy added -Walloca-larger-than, right? cc-ing him >>From gcc-bugs-return-620791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 05:38:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28408 invoked by alias); 12 Nov 2018 05:38: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 28363 invoked by uid 48); 12 Nov 2018 05:38:54 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/31357] document that --help and --help= options cannot be combined. Date: Mon, 12 Nov 2018 05:38: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: 4.3.0 X-Bugzilla-Keywords: documentation, easyhack X-Bugzilla-Severity: minor X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00948.txt.bz2 Content-length: 550 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D31357 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |easyhack CC| |sandra at codesourcery dot= com --- Comment #3 from Eric Gallager --- cc-ing the documentation maintainer who has most recently been taking care = of documentation bugs >>From gcc-bugs-return-620792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 05:40:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 29945 invoked by alias); 12 Nov 2018 05: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 29891 invoked by uid 48); 12 Nov 2018 05:40:27 -0000 From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/82110] Concept for default constructing works with new T, not with new T[1] Date: Mon, 12 Nov 2018 05:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: c++-concepts X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00949.txt.bz2 Content-length: 428 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D82110 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paolo.carlini at oracle do= t com --- Comment #2 from Eric Gallager --- cc-ing concepts pseudo-maintainer >>From gcc-bugs-return-620793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 05:50:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72637 invoked by alias); 12 Nov 2018 05:50:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 72567 invoked by uid 48); 12 Nov 2018 05:50:14 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/61588] Optimization defaults are not what documentation say they should be Date: Mon, 12 Nov 2018 05: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: 4.4.7 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra 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: 2018-11/txt/msg00950.txt.bz2 Content-length: 633 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61588 sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |sandra at gcc dot gnu.org Resolution|--- |FIXED --- Comment #5 from sandra at gcc dot gnu.org --- This bug is basically a duplicate of PR 87929, which was recently fixed on trunk. I believe the current documentation is correct, so I'm marking this= one fixed as well. >>From gcc-bugs-return-620794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 06:23:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46148 invoked by alias); 12 Nov 2018 06: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 46064 invoked by uid 55); 12 Nov 2018 06:23:51 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/69502] attribute aligned reduces alignment contrary to documentation Date: Mon, 12 Nov 2018 06: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: 6.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00951.txt.bz2 Content-length: 582 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69502 --- Comment #3 from sandra at gcc dot gnu.org --- Author: sandra Date: Mon Nov 12 06:23:16 2018 New Revision: 266025 URL: https://gcc.gnu.org/viewcvs?rev=3D266025&root=3Dgcc&view=3Drev Log: 2018-11-11 Sandra Loosemore PR c/69502 gcc/ * doc/extend.texi (Common Type Attributes): For the align type attribute, copy language about decreasing alignment from the corresponding variable attribute. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/extend.texi >>From gcc-bugs-return-620795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 06:31:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61707 invoked by alias); 12 Nov 2018 06:31:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 61644 invoked by uid 48); 12 Nov 2018 06:31:04 -0000 From: "sandra at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/69502] attribute aligned reduces alignment contrary to documentation Date: Mon, 12 Nov 2018 06:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: sandra 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: 2018-11/txt/msg00952.txt.bz2 Content-length: 477 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69502 sandra at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |sandra at gcc dot gnu.org Resolution|--- |FIXED --- Comment #4 from sandra at gcc dot gnu.org --- Fixed on trunk. >>From gcc-bugs-return-620796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 06:39:57 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18844 invoked by alias); 12 Nov 2018 06:39: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 18773 invoked by uid 48); 12 Nov 2018 06:39:50 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87977] New: [9 Regression] ICE: verify_ssa failed (error: definition in block 4 follows the use) Date: Mon, 12 Nov 2018 06:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00953.txt.bz2 Content-length: 1588 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87977 Bug ID: 87977 Summary: [9 Regression] ICE: verify_ssa failed (error: definition in block 4 follows the use) Product: gcc Version: 9.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: --- gcc-9.0.0-alpha20181111 snapshot (r266019) ICEs when compiling gcc/testsuite/gcc.dg/recip_sqrt_mult_3.c w/ -g -O1 (-O2, -O3, -Ofast, -Os) -funsafe-math-optimizations: % gcc-9.0.0-alpha20181111 -g -O1 -funsafe-math-optimizations -c gcc/testsuite/gcc.dg/recip_sqrt_mult_3.c gcc/testsuite/gcc.dg/recip_sqrt_mult_3.c: In function 'foo': gcc/testsuite/gcc.dg/recip_sqrt_mult_3.c:5:1: error: definition in block 4 follows the use 5 | foo (double a) | ^~~ for SSA_NAME: tmp_5 in statement: # DEBUG tmp =3D> tmp_5 during GIMPLE pass: recip gcc/testsuite/gcc.dg/recip_sqrt_mult_3.c:5:1: internal compiler error: verify_ssa failed 0xeea763 verify_ssa(bool, bool) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181111/work/gcc-9-20181111/gcc/= tree-ssa.c:1188 0xc04e8d execute_function_todo =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181111/work/gcc-9-20181111/gcc/= passes.c:1932 0xc05c8e execute_todo =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181111/work/gcc-9-20181111/gcc/= passes.c:1979 >>From gcc-bugs-return-620797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 06:42:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20907 invoked by alias); 12 Nov 2018 06: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 20776 invoked by uid 48); 12 Nov 2018 06:42:00 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85727] ICE in simplify_subreg, at simplify-rtx.c:6271 Date: Mon, 12 Nov 2018 06:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00954.txt.bz2 Content-length: 179 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85727 --- Comment #1 from Arseny Solokha --- I cannot reproduce it on the trunk anymore (as of r266019). >>From gcc-bugs-return-620798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 06:59:23 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50421 invoked by alias); 12 Nov 2018 06:59: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 50309 invoked by uid 48); 12 Nov 2018 06:59:17 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85925] [7/8/9 regression] Mis-compilation at -02, masking with 257 goes wrong in combine Date: Mon, 12 Nov 2018 06: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: 8.1.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00955.txt.bz2 Content-length: 350 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85925 --- Comment #9 from Eric Botcazou --- > I'm running this on all archs, to see what (if anything) degrades. I have both wins and losses, unlike the reversion of the nonzero_bits1 chan= ge where I have only losses, but I nevertheless think it's _not_ the way to go. >>From gcc-bugs-return-620799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 07:10:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58814 invoked by alias); 12 Nov 2018 07:10: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 58743 invoked by uid 48); 12 Nov 2018 07:10:31 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87976] [i386] Sub-optimal code generation for _mm256_set1_epi64() Date: Mon, 12 Nov 2018 07:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00956.txt.bz2 Content-length: 691 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87976 --- Comment #4 from Marc Glisse --- (In reply to Andrew Pinski from comment #1) > apinski@xeond:~/src/toolchain-o7$ gcc t6.c -mavx -O2 -S -o - -march=3Dna= tive > .file "t6.c" > .text > .p2align 4,,15 > .globl g > .type g, @function > g: > .LFB4758: > .cfi_startproc > vpbroadcastq %rdi, %ymm0 > jmp f@PLT > .cfi_endproc This requires AVX512. Regular -march=3Dskylake still goes through the stack= . So it seems at least a tiny bit different from bug 80820 where -march=3Dhaswel= l is enough to avoid going through memory. >>From gcc-bugs-return-620800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 07:49:36 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46602 invoked by alias); 12 Nov 2018 07: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 46562 invoked by uid 48); 12 Nov 2018 07:49:32 -0000 From: "manjian2006 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87978] New: Local Register Variables Have No Effect When There is A Call Statement Between Date: Mon, 12 Nov 2018 07:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manjian2006 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00957.txt.bz2 Content-length: 1895 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87978 Bug ID: 87978 Summary: Local Register Variables Have No Effect When There is A Call Statement Between Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: manjian2006 at gmail dot com Target Milestone: --- Source: struct Code { void* instruction_start; }; Code GetCode(); #define WRONG_CODE 1 void __attribute__((noreturn)) Foo(int numargs, void* entry) { #if WRONG_CODE register int param1 asm("r1") =3D numargs; register void* param2 asm("r0") =3D entry; asm volatile("bx %0\n" : : "r"(GetCode().instruction_start), "r"(param1), "r"(param2)); #else Code code =3D GetCode(); register int param1 asm("r1") =3D numargs; register void* param2 asm("r0") =3D entry; void* instruction_start =3D code.instruction_start; asm volatile("bx %0\n" : : "r"(instruction_start), "r"(param1), "r"(param2)); #endif __builtin_unreachable(); } When WRONG_CODE and compile with arm-linux-androideabi-g++ -fPIC -O2=20 -march=3Darmv7-a -mfloat-abi=3Dsoftfp -mthumb=20 --sysroot=3D/home/linzj/android-ndk-r13b/platforms/android-21/arch-arm/ -fomit-frame-pointer -S -mfpu=3Dneon -Wall testclobber.cpp The code generated is push {r3, lr} .save {r3, lr} bl _Z7GetCodev(PLT) .syntax unified @ 13 "testclobber.cpp" 1 bx r0 And When the opposite: push {r3, r4, r5, lr} .save {r3, r4, r5, lr} mov r4, r1 mov r5, r0 bl _Z7GetCodev(PLT) mov r1, r5 mov r3, r0 mov r0, r4 .syntax unified @ 21 "testclobber.cpp" 1 bx r3 clang/llvm can make both case correct. >>From gcc-bugs-return-620801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:07:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 78837 invoked by alias); 12 Nov 2018 08:07: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 78806 invoked by uid 48); 12 Nov 2018 08:07:25 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87979] New: ICE in compute_split_row at modulo-sched.c:2393 Date: Mon, 12 Nov 2018 08:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-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: 2018-11/txt/msg00958.txt.bz2 Content-length: 1874 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87979 Bug ID: 87979 Summary: ICE in compute_split_row at modulo-sched.c:2393 Product: gcc Version: 9.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: krebbel at gcc dot gnu.org Target Milestone: --- Following is ICEing: $ gcc /home/marxin/BIG/Programming/llvm/tools/clang/test/OpenMP/taskloop_simd_red= uction_messages.cpp -march=3Dz196 -fmodulo-sched -Os -fno-tree-loop-im during RTL pass: sms /home/marxin/BIG/Programming/llvm/tools/clang/test/OpenMP/taskloop_simd_red= uction_messages.cpp: In function =E2=80=98int main(int, char**)=E2=80=99: /home/marxin/BIG/Programming/llvm/tools/clang/test/OpenMP/taskloop_simd_red= uction_messages.cpp:335:1: internal compiler error: Floating point exception 335 | } | ^ 0xb2768f crash_signal =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-s390x/build/gcc/t= oplev.c:325 0x7ffff6bc310f ??? =20=20=20=20=20=20=20 /usr/src/debug/glibc-2.27-6.1.x86_64/signal/../sysdeps/unix/sysv/linux/x86_= 64/sigaction.c:0 0x1134ced compute_split_row =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-s390x/build/gcc/m= odulo-sched.c:2393 0x1135825 sms_schedule_by_order =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-s390x/build/gcc/m= odulo-sched.c:2224 0x11376ce sms_schedule =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-s390x/build/gcc/m= odulo-sched.c:1612 0x11376ce execute =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-s390x/build/gcc/m= odulo-sched.c:3337 >>From gcc-bugs-return-620802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:07:39 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 79517 invoked by alias); 12 Nov 2018 08:07:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 79458 invoked by uid 48); 12 Nov 2018 08:07:35 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87962] [9 Regression] ICE in vect_get_vec_def_for_operand_1, at tree-vect-stmts.c:1485 Date: Mon, 12 Nov 2018 08:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: 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: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status version assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00959.txt.bz2 Content-length: 516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87962 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Version|8.0 |9.0 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org --- Comment #3 from Richard Biener --- Mine then. >>From gcc-bugs-return-620805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:08:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87715 invoked by alias); 12 Nov 2018 08:08: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 87691 invoked by uid 48); 12 Nov 2018 08:08:43 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/87978] Local Register Variables Have No Effect When There is A Call Statement Between Date: Mon, 12 Nov 2018 08:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00962.txt.bz2 Content-length: 459 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87978 --- Comment #2 from Andrew Pinski --- Warning: In the above example, be aware that a register (for example r0) ca= n be call-clobbered by subsequent code, including function calls and library cal= ls for arithmetic operators on other variables (for example the initialization= of p2). In this case, use temporary variables for expressions between the regi= ster assignments: >>From gcc-bugs-return-620804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:08:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 87033 invoked by alias); 12 Nov 2018 08:08:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 86998 invoked by uid 48); 12 Nov 2018 08:08:32 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/87978] Local Register Variables Have No Effect When There is A Call Statement Between Date: Mon, 12 Nov 2018 08:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00961.txt.bz2 Content-length: 570 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87978 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski --- This is already documented that this will not work. See https://gcc.gnu.org/onlinedocs/gcc/Local-Register-Variables.html#Local-Regi= ster-Variables >>From gcc-bugs-return-620803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:08:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 80398 invoked by alias); 12 Nov 2018 08:08: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 80334 invoked by uid 48); 12 Nov 2018 08:08:10 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87967] [9 Regression] ICE in slpeel_duplicate_current_defs_from_edges Date: Mon, 12 Nov 2018 08:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status version assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00960.txt.bz2 Content-length: 511 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87967 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Version|8.0 |9.0 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org --- Comment #2 from Richard Biener --- Mine. >>From gcc-bugs-return-620806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:09:20 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88510 invoked by alias); 12 Nov 2018 08:09:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88473 invoked by uid 48); 12 Nov 2018 08:09:16 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/87978] Local Register Variables Have No Effect When There is A Call Statement Between Date: Mon, 12 Nov 2018 08:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00963.txt.bz2 Content-length: 223 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87978 --- Comment #3 from Andrew Pinski --- https://gcc.gnu.org/onlinedocs/gcc-8.2.0/gcc/Local-Register-Variables.html#= Local-Register-Variables >>From gcc-bugs-return-620807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:11:06 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 90277 invoked by alias); 12 Nov 2018 08:11: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 89927 invoked by uid 48); 12 Nov 2018 08:10:56 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/87978] Local Register Variables Have No Effect When There is A Call Statement Between Date: Mon, 12 Nov 2018 08:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00964.txt.bz2 Content-length: 554 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87978 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > https://gcc.gnu.org/onlinedocs/gcc-8.2.0/gcc/Local-Register-Variables. > html#Local-Register-Variables I should say it had that warning already in 8.2.0. And 8.1.0: https://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/Local-Register-Variables.html#= Local-Register-Variables Even for 6.1.0: https://gcc.gnu.org/onlinedocs/gcc-6.1.0/gcc/Local-Register-Variables.html#= Local-Register-Variables >>From gcc-bugs-return-620809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:13:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95763 invoked by alias); 12 Nov 2018 08:13: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 95704 invoked by uid 48); 12 Nov 2018 08:13:13 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87974] [9 Regression] ICE in vect_get_vec_def_for_stmt_copy Date: Mon, 12 Nov 2018 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: 8.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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00966.txt.bz2 Content-length: 370 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87974 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org Target Milestone|--- |9.0 >>From gcc-bugs-return-620808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:13:07 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 95041 invoked by alias); 12 Nov 2018 08:13:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 94759 invoked by uid 48); 12 Nov 2018 08:13:02 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87974] [9 Regression] ICE in vect_get_vec_def_for_stmt_copy Date: Mon, 12 Nov 2018 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: 8.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: cf_reconfirmed_on cc cf_known_to_work short_desc cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00965.txt.bz2 Content-length: 788 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87974 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2018-11-12 CC| |rguenth at gcc dot gnu.org Known to work| |8.2.0 Summary|ice in |[9 Regression] ICE in |vect_get_vec_def_for_stmt_c |vect_get_vec_def_for_stmt_c |opy |opy Known to fail| |9.0 --- Comment #1 from Martin Li=C5=A1ka --- It's probably dup of PR87931. >>From gcc-bugs-return-620810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:14:04 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 96742 invoked by alias); 12 Nov 2018 08:14: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 96653 invoked by uid 55); 12 Nov 2018 08:13:59 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/87824] x86_64-linux multilib issues Date: Mon, 12 Nov 2018 08:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00967.txt.bz2 Content-length: 1167 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87824 --- Comment #7 from rguenther at suse dot de --- On Sun, 11 Nov 2018, johannespfau at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87824 >=20 > Johannes Pfau changed: >=20 > What |Removed |Added > -------------------------------------------------------------------------= --- > CC| |johannespfau at gmail do= t com >=20 > --- Comment #5 from Johannes Pfau --- > Iain, is there a specific reason why we don't have i686 on the GDC/buildk= ite > CI? We could simply run a QEMU/KVM VM on a x86_64 host for this. >=20 > And when running the testsuite on multilib, is it now running all tests (= test > suite and druntime, phobos) for all multilib variants? I think last time I > checked, multilib testing tested only the main variant for some reason. To check other variants you have to do sth like make -jN -k check RUNTESTFLAGS=3D"--target_board=3Dunix/\{,-m32\}" if you have a x32 runtime you can add ,-mx32 as well. >>From gcc-bugs-return-620811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:15:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 105586 invoked by alias); 12 Nov 2018 08:15: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 98007 invoked by uid 48); 12 Nov 2018 08:15:23 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/87978] Local Register Variables Have No Effect When There is A Call Statement Between Date: Mon, 12 Nov 2018 08:15: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.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00968.txt.bz2 Content-length: 671 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87978 --- Comment #5 from Andrew Pinski --- The old documentation contained slightly different wording but was trying to warn you about this case: As for global register variables, it's recommended that you choose a regist= er which is normally saved and restored by function calls on your machine, so = that library routines will not clobber it. A common pitfall is to initialize multiple call-clobbered registers with arbitrary expressions, where a funct= ion call or library call for an arithmetic operator will overwrite a register v= alue from a previous assignment, for example r0 below: >>From gcc-bugs-return-620812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:16:54 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5229 invoked by alias); 12 Nov 2018 08:16:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130082 invoked by uid 48); 12 Nov 2018 08:16:49 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87977] [9 Regression] ICE: verify_ssa failed (error: definition in block 4 follows the use) Date: Mon, 12 Nov 2018 08:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 9.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: 9.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: 2018-11/txt/msg00969.txt.bz2 Content-length: 815 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87977 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-12 CC| |ktkachov at gcc dot gnu.or= g, | |marxin at gcc dot gnu.org Known to work| |8.2.0 Target Milestone|--- |9.0 Ever confirmed|0 |1 Known to fail| |9.0 --- Comment #1 from Martin Li=C5=A1ka --- Started with r264126. >>From gcc-bugs-return-620813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:17:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 34261 invoked by alias); 12 Nov 2018 08:17:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 34207 invoked by uid 48); 12 Nov 2018 08:17:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/87974] [9 Regression] ICE in vect_get_vec_def_for_stmt_copy Date: Mon, 12 Nov 2018 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: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00970.txt.bz2 Content-length: 434 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87974 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Ever confirmed|0 |1 >>From gcc-bugs-return-620814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:26:00 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40118 invoked by alias); 12 Nov 2018 08: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 40070 invoked by uid 48); 12 Nov 2018 08:25:56 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/87966] [9 regression] The SPEC2006 tests 416.gamess and 481.wrf fail starting with r265946 Date: Mon, 12 Nov 2018 08:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00971.txt.bz2 Content-length: 516 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87966 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |9.0 --- Comment #2 from Richard Biener --- Should be fixed. Please re-open if not. >>From gcc-bugs-return-620815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:26:29 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40915 invoked by alias); 12 Nov 2018 08:26: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 40845 invoked by uid 48); 12 Nov 2018 08:26:23 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87968] [7/8/9 Regression] Warning about uninizialized variables in array constructor Date: Mon, 12 Nov 2018 08:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran 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: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 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: 2018-11/txt/msg00972.txt.bz2 Content-length: 345 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87968 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Target Milestone|9.0 |7.4 >>From gcc-bugs-return-620816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:31:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86123 invoked by alias); 12 Nov 2018 08:31: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 86079 invoked by uid 48); 12 Nov 2018 08:31:07 -0000 From: "juergen.reuter at desy dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87980] New: ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c for assignment on polymorphic variable Date: Mon, 12 Nov 2018 08:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: juergen.reuter at desy dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00973.txt.bz2 Content-length: 2187 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87980 Bug ID: 87980 Summary: ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c for assignment on polymorphic variable Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: juergen.reuter at desy dot de Target Milestone: --- Created attachment 44987 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D44987&action=3Dedit Reproducer for the ICE The following code using assignment on polymorphic variables yields an ICE = in=20 gfc_conv_descriptor_data_get, at fortran/trans-array.c:145 with the actual trunk (r266011). This feature was not supported in gfortran 5 and 6 and giv= es an ICE in gfortran 7/8/9: gfortran -c quantum_numbers.f90 quantum_numbers.f90:35:0: 35 | if (present (col)) call qns%qn(i)%set (col=3Dcol(i)) |=20 internal compiler error: in gfc_conv_descriptor_data_get, at fortran/trans-array.c:145 For us, this is lower priority as the problem occurs in an experimental bra= nch of our development.=20 This is the code triggering the ICE (also attached):=20 module quantum_numbers implicit none type, abstract :: col_t end type col_t type :: qn_t private class(col_t), allocatable :: c contains procedure :: set =3D> qn_set end type qn_t type :: qn_string_t private integer :: length =3D 0 type(qn_t), dimension(:), allocatable :: qn end type qn_string_t contains impure elemental subroutine qn_set (qn, col) class(qn_t), intent(inout) :: qn class(col_t), intent(in), optional :: col if (present (col)) then qn%c =3D col end if end subroutine qn_set subroutine qn_string_set (qns, col) class(qn_string_t), intent(inout) :: qns class(col_t), dimension(:), intent(in), optional :: col integer :: i do i =3D 1, qns%length if (present (col)) call qns%qn(i)%set (col=3Dcol(i)) end do end subroutine qn_string_set end module quantum_numbers >>From gcc-bugs-return-620817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:33:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 88100 invoked by alias); 12 Nov 2018 08:33:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 88077 invoked by uid 48); 12 Nov 2018 08:33:46 -0000 From: "juergen.reuter at desy dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87980] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c for assignment on polymorphic variable Date: Mon, 12 Nov 2018 08:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: juergen.reuter at desy dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00974.txt.bz2 Content-length: 451 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87980 --- Comment #1 from J=C3=BCrgen Reuter --- There might be a relationship for 80774 which is at (almost) the same posit= ion, but for coarray objects than for polymorphics. As this started from version= 7 on, maybe the implementation for polymorphics broke the coarray objects? Th= is bug here is no regression but seems to be there from day 1 of implementatio= n. >>From gcc-bugs-return-620818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:34:38 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 89257 invoked by alias); 12 Nov 2018 08:34: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 89178 invoked by uid 48); 12 Nov 2018 08:34:32 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85925] [7/8/9 regression] Mis-compilation at -02, masking with 257 goes wrong in combine Date: Mon, 12 Nov 2018 08:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.1.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00975.txt.bz2 Content-length: 839 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85925 --- Comment #10 from Segher Boessenkool --- I get this: alpha 100.905%=20=20 arm 100.072%=20=20 c6x 100.000%=20=20 csky 100.063%=20=20 h8300 100.000%=20=20 i386 100.000%=20=20 microblaze 100.001%=20=20 mips 100.052%=20=20 mips64 100.043%=20=20 nios2 100.000%=20=20 parisc 100.049%=20=20 parisc64 100.031%=20=20 powerpc64 99.952%=20=20=20 riscv64 100.049%=20=20 s390 100.000%=20=20 sh 100.006%=20=20 shnommu 100.002%=20=20 sparc 100.003%=20=20 sparc64 100.007%=20=20 x86_64 100.000% (the other 9 did not build, sigh. And this is code size). The alpha one looks really bad. Only the powerpc64 is a win. >>From gcc-bugs-return-620820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:38:51 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67950 invoked by alias); 12 Nov 2018 08:38:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63980 invoked by uid 48); 12 Nov 2018 08:38:47 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87718] [9 Regression] FAIL: gcc.target/i386/avx512dq-concatv2si-1.c Date: Mon, 12 Nov 2018 08:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00977.txt.bz2 Content-length: 184 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87718 --- Comment #1 from Uro=C5=A1 Bizjak --- *** Bug 87717 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-620819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:38:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 67439 invoked by alias); 12 Nov 2018 08:38: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 63500 invoked by uid 48); 12 Nov 2018 08:38:46 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87717] [9 Regression] FAIL: gcc.target/i386/avx512vl-concatv2si-1.c scan-assembler vpunpckldq[^\n\r]*%xmm17[^\n\r]*%xmm16[^\n\r]*%xmm3 Date: Mon, 12 Nov 2018 08:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak 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: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00976.txt.bz2 Content-length: 493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87717 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Uro=C5=A1 Bizjak --- Dup. *** This bug has been marked as a duplicate of bug 87718 *** >>From gcc-bugs-return-620822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:39:49 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86637 invoked by alias); 12 Nov 2018 08:39: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 86506 invoked by uid 48); 12 Nov 2018 08:39:44 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87981] New: ICE: Segmentation fault (in add_phi_arg) Date: Mon, 12 Nov 2018 08:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00979.txt.bz2 Content-length: 1939 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87981 Bug ID: 87981 Summary: ICE: Segmentation fault (in add_phi_arg) Product: gcc Version: 7.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: --- gcc-9.0.0-alpha20181111 snapshot (r266019), 8.2, 7.3 all ICE when compiling gcc/testsuite/gcc.dg/vect/vect-cond-arith-2.c w/ -fexceptions -fgimple: % gcc-9.0.0-alpha20181111 -fexceptions -fgimple -c gcc/testsuite/gcc.dg/vect/vect-cond-arith-2.c during GIMPLE pass: cfg gcc/testsuite/gcc.dg/vect/vect-cond-arith-2.c: In function 'neg_xi': gcc/testsuite/gcc.dg/vect/vect-cond-arith-2.c:5:1: internal compiler error: Segmentation fault 5 | neg_xi (double *x) | ^~~~~~ 0xce6f8f crash_signal =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181111/work/gcc-9-20181111/gcc/= toplev.c:325 0xd9c678 add_phi_arg(gphi*, tree_node*, edge_def*, unsigned int) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181111/work/gcc-9-20181111/gcc/= tree-phinodes.c:358 0xd304b4 lower_phi_internal_fn =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181111/work/gcc-9-20181111/gcc/= tree-cfg.c:394 0xd304b4 build_gimple_cfg =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181111/work/gcc-9-20181111/gcc/= tree-cfg.c:249 0xd304b4 execute_build_cfg =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181111/work/gcc-9-20181111/gcc/= tree-cfg.c:408 0xd304b4 execute =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181111/work/gcc-9-20181111/gcc/= tree-cfg.c:444 I'm not marking it a regression because feeding GIMPLE to the driver was implemented during the gcc 7 development cycle. >>From gcc-bugs-return-620821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:39:22 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 85207 invoked by alias); 12 Nov 2018 08:39: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 82255 invoked by uid 48); 12 Nov 2018 08:39:15 -0000 From: "juergen.reuter at desy dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87980] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c for assignment on allocatable polymorphic variable Date: Mon, 12 Nov 2018 08:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: juergen.reuter at desy dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00978.txt.bz2 Content-length: 799 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87980 J=C3=BCrgen Reuter changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE in |ICE in |gfc_conv_descriptor_data_ge |gfc_conv_descriptor_data_ge |t, at fortran/trans-array.c |t, at fortran/trans-array.c |for assignment on |for assignment on |polymorphic variable |allocatable polymorphic | |variable --- Comment #2 from J=C3=BCrgen Reuter --- should have been 'assignment on _allocatable_ polymorphic variable' >>From gcc-bugs-return-620823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:41:12 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 93918 invoked by alias); 12 Nov 2018 08:41: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 93887 invoked by uid 48); 12 Nov 2018 08:41:07 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85727] ICE in simplify_subreg, at simplify-rtx.c:6271 Date: Mon, 12 Nov 2018 08:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00980.txt.bz2 Content-length: 454 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85727 Arseny Solokha changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME --- Comment #2 from Arseny Solokha --- OK, I'll reopen it if necessary. >>From gcc-bugs-return-620824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:51:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 38418 invoked by alias); 12 Nov 2018 08:51:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 37701 invoked by uid 48); 12 Nov 2018 08:51:20 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87718] [9 Regression] FAIL: gcc.target/i386/avx512dq-concatv2si-1.c Date: Mon, 12 Nov 2018 08:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00981.txt.bz2 Content-length: 1606 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87718 --- Comment #2 from Uro=C5=A1 Bizjak --- Following testcase: --cut here-- typedef int V __attribute__((vector_size (8))); void foo (int x, int y) { register int a __asm ("xmm1"); register int b __asm ("xmm2"); register V c __asm ("xmm3"); a =3D x; b =3D y; asm volatile ("" : "+v" (a), "+v" (b)); c =3D (V) { a, b }; asm volatile ("" : "+v" (c)); } --cut here-- gets compiled with -O2 -mavx -mtune=3Dintel: vmovd %edi, %xmm1 vmovd %esi, %xmm2 vmovd %xmm2, %eax vpinsrd $1, %eax, %xmm1, %xmm3 ret The relevant pattern is defined as: (define_insn "*vec_concatv2si_sse4_1" [(set (match_operand:V2SI 0 "register_operand" "=3DYr,*x, x, v,Yr,*x, v, v, *y,*y") (vec_concat:V2SI (match_operand:SI 1 "nonimmediate_operand" " 0, 0, x,Yv, 0, 0,Yv,rm, 0,rm") (match_operand:SI 2 "nonimm_or_0_operand" " rm,rm,rm,rm,Yr,*x,Yv, C,*ym, C")))] "TARGET_SSE4_1 && !(MEM_P (operands[1]) && MEM_P (operands[2]))" "@ pinsrd\t{$1, %2, %0|%0, %2, 1} pinsrd\t{$1, %2, %0|%0, %2, 1} vpinsrd\t{$1, %2, %1, %0|%0, %1, %2, 1} vpinsrd\t{$1, %2, %1, %0|%0, %1, %2, 1} punpckldq\t{%2, %0|%0, %2} punpckldq\t{%2, %0|%0, %2} vpunpckldq\t{%2, %1, %0|%0, %1, %2} %vmovd\t{%1, %0|%0, %1} punpckldq\t{%2, %0|%0, %2} movd\t{%1, %0|%0, %1}" but for some reason RA chooses alternative 2 (x<-x,rm) instead of alternati= ve 6 (v<-Yv,Yv), although alternative 2 needs an extra reload from %xmm2 to %eax. >>From gcc-bugs-return-620825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:57:42 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 48005 invoked by alias); 12 Nov 2018 08:57: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 47977 invoked by uid 48); 12 Nov 2018 08:57:37 -0000 From: "manjian2006 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/87978] Local Register Variables Have No Effect When There is A Call Statement Between Date: Mon, 12 Nov 2018 08:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manjian2006 at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00982.txt.bz2 Content-length: 137 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87978 --- Comment #6 from linzj --- Thanks for the reply. >>From gcc-bugs-return-620826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 08:59:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 50637 invoked by alias); 12 Nov 2018 08:59:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 50530 invoked by uid 48); 12 Nov 2018 08:58:55 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/78444] Wrong prologue stack alignment for implicit dtor on x86_64-darwin* Date: Mon, 12 Nov 2018 08:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00983.txt.bz2 Content-length: 1132 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78444 --- Comment #2 from Iain Sandoe --- Thanks, that confirms my expectation that this could/would affect other targets. I had previously posted the fragment below for review - and will update that thread shortly. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 163682bdff..405bfd082b 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -11530,6 +11530,15 @@ ix86_compute_frame_layout (void) crtl->preferred_stack_boundary =3D 128; crtl->stack_alignment_needed =3D 128; } + else if (TARGET_MACHO && crtl->preferred_stack_boundary < 128 + && !crtl->is_leaf) + { + /* Darwin's ABI specifies 128b alignment for both 32 and + 64 bit variants at call sites. So we apply this if the + current function is not a leaf. */ + crtl->preferred_stack_boundary =3D 128; + crtl->stack_alignment_needed =3D 128; + } stack_alignment_needed =3D crtl->stack_alignment_needed / BITS_PER_UNIT; preferred_alignment =3D crtl->preferred_stack_boundary / BITS_PER_UNIT; >>From gcc-bugs-return-620827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 09:02:53 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 54685 invoked by alias); 12 Nov 2018 09:02: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 54622 invoked by uid 48); 12 Nov 2018 09:02:44 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/78444] Wrong prologue stack alignment for implicit dtor on x86_64-darwin* Date: Mon, 12 Nov 2018 09:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00984.txt.bz2 Content-length: 380 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78444 --- Comment #3 from Uro=C5=A1 Bizjak --- (In reply to Iain Sandoe from comment #2) > I had previously posted the fragment below for review - and will update t= hat > thread shortly. But still - why doesn't expand_call update crtl->preferred_stack_update to = 128, as is the case with linux targets? >>From gcc-bugs-return-620828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 09:03:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56462 invoked by alias); 12 Nov 2018 09:03: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 56395 invoked by uid 48); 12 Nov 2018 09:03:41 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85925] [7/8/9 regression] Mis-compilation at -02, masking with 257 goes wrong in combine Date: Mon, 12 Nov 2018 09:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.1.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00985.txt.bz2 Content-length: 1152 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85925 --- Comment #11 from Eric Botcazou --- > I get this: >=20 > alpha 100.905%=20=20 > arm 100.072%=20=20 > c6x 100.000%=20=20 > csky 100.063%=20=20 > h8300 100.000%=20=20 > i386 100.000%=20=20 > microblaze 100.001%=20=20 > mips 100.052%=20=20 > mips64 100.043%=20=20 > nios2 100.000%=20=20 > parisc 100.049%=20=20 > parisc64 100.031%=20=20 > powerpc64 99.952%=20=20=20 > riscv64 100.049%=20=20 > s390 100.000%=20=20 > sh 100.006%=20=20 > shnommu 100.002%=20=20 > sparc 100.003%=20=20 > sparc64 100.007%=20=20 > x86_64 100.000% Thanks. Note that the patch only changes something for WORD_REGISTER_OPERATIONS targets though, so you can exclude h8300, i386, powerpc64, s390 and x86_64. Can you easily re-do the test with the reversion of the nonzero_bits1 chang= e, i.e. the patch that you had/have in your tree? > The alpha one looks really bad. Only the powerpc64 is a win. See above, this must be something else. >>From gcc-bugs-return-620829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 09:04:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 58748 invoked by alias); 12 Nov 2018 09:04: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 58682 invoked by uid 48); 12 Nov 2018 09:04:13 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/87982] New: No error for std::generate_n(ptr, ptr, f) Date: Mon, 12 Nov 2018 09:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00986.txt.bz2 Content-length: 1276 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87982 Bug ID: 87982 Summary: No error for std::generate_n(ptr, ptr, f) Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: accepts-invalid Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- #include int main() { int a[2]; std::generate_n(a, a+2, []{ return 0;}); } This compiles without error, but crashes at runtime. The code should use std::generate(a, a+2, f) or std::generate_n(a, 2, f). With -Wextra -Wsystem-headers there's a clue something is wrong, but it doe= sn't make the problem clear: In file included from /usr/include/c++/7/algorithm:62:0, from gn.cc:1: /usr/include/c++/7/bits/stl_algo.h: In instantiation of =E2=80=98_OIter std::generate_n(_OIter, _Size, _Generator) [with _OIter =3D int*; _Size =3D= int*; _Generator =3D main()::]=E2=80=99: gn.cc:6:41: required from here /usr/include/c++/7/bits/stl_algo.h:4467:13: warning: ordered comparison of pointer with integer zero [-Wextra] __niter > 0; --__niter, ++__first) ~~~~~~~~^~~ >>From gcc-bugs-return-620830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 09:07:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 61540 invoked by alias); 12 Nov 2018 09:07: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 61470 invoked by uid 48); 12 Nov 2018 09:07:10 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/85925] [7/8/9 regression] Mis-compilation at -02, masking with 257 goes wrong in combine Date: Mon, 12 Nov 2018 09:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 8.1.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 7.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00987.txt.bz2 Content-length: 189 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85925 --- Comment #12 from Segher Boessenkool --- Yes, that is already running... Still has over an hour to go. >>From gcc-bugs-return-620831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 09:08:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 62808 invoked by alias); 12 Nov 2018 09:08:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 62735 invoked by uid 48); 12 Nov 2018 09:08:16 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87976] [i386] Sub-optimal code generation for _mm256_set1_epi64() Date: Mon, 12 Nov 2018 09:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc resolution everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00988.txt.bz2 Content-length: 767 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87976 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Last reconfirmed| |2018-11-12 CC| |amonakov at gcc dot gnu.org Resolution|DUPLICATE |--- Ever confirmed|0 |1 --- Comment #5 from Alexander Monakov --- Reopening per comment #4: while we do generate optimal code with -mavx512vl= , we should do a better job with plain avx2 (i.e. with -march=3Dhaswell). >>From gcc-bugs-return-620832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 09:11:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 68024 invoked by alias); 12 Nov 2018 09:11: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 67991 invoked by uid 48); 12 Nov 2018 09:11:14 -0000 From: "avarab at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87983] New: Feature: Add a warning when case labels from a different enum than the one in switch(EXPR) are used Date: Mon, 12 Nov 2018 09:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: avarab at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00989.txt.bz2 Content-length: 1173 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87983 Bug ID: 87983 Summary: Feature: Add a warning when case labels from a different enum than the one in switch(EXPR) are used Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: avarab at gmail dot com Target Milestone: --- A bug was fixed in git that would have been spotted by the following program warning: ``` #include enum { A, B } foo =3D A; enum { C, D } bar =3D C; int main(void) {=20=20=20 switch (foo) { case C: /* Should warn: switch() on C instead of A */ puts("A"); break; case B: puts("B"); break; } } ``` I don't know how hard it would be to implement this. I understand why it's = not warning, in C enums are only skin-deep, so the compiler would need to keep track of "foo" and the name (not just value) of C and B, and it wouldn't wo= rk in the more general case of: ``` switch (some_complex_function(foo)) [...] ``` >>From gcc-bugs-return-620833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 09:38:52 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 117411 invoked by alias); 12 Nov 2018 09:38:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 117332 invoked by uid 48); 12 Nov 2018 09:38:45 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/87981] ICE: Segmentation fault (in add_phi_arg) Date: Mon, 12 Nov 2018 09:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 7.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: 2018-11/txt/msg00990.txt.bz2 Content-length: 662 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87981 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-11-12 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Note this is a limitation of the GIMPLE FE which needs to build up a CFG to truly fix such issues. >>From gcc-bugs-return-620834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 09:54:58 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 6056 invoked by alias); 12 Nov 2018 09:54: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 5994 invoked by uid 48); 12 Nov 2018 09:54:54 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/87984] New: [7/8/9 Regression] wrong code for local reg var input to asm Date: Mon, 12 Nov 2018 09:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00991.txt.bz2 Content-length: 1125 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87984 Bug ID: 87984 Summary: [7/8/9 Regression] wrong code for local reg var input to asm Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: inline-asm Assignee: unassigned at gcc dot gnu.org Reporter: amonakov at gcc dot gnu.org Target Milestone: --- In the following snippet the arguments to the second asm are not correctly prepared: void f(long long x[]) { register int a asm("eax"); register int d asm("edx"); a =3D x[0] / x[1]; asm ("# %0" :: "r"(a)); int t; t =3D x[2] / x[3]; a =3D x[0] / x[1]; d =3D t; asm ("# %0 %1" :: "r"(a), "r"(d)); } with -O2 -m32 we generate call __divdi3 movl %eax, %edx #APP # %eax %edx #NO_APP We should emit moves to hardregs just prior to the asm, not lower user variables to hardregs up front. This is a regression on all active branches, gcc-4.4 used to get this right. >>From gcc-bugs-return-620837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 10:01:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26118 invoked by alias); 12 Nov 2018 10:01:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115858 invoked by uid 48); 12 Nov 2018 10:00:36 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/78444] Wrong prologue stack alignment for implicit dtor on x86_64-darwin* Date: Mon, 12 Nov 2018 10:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00994.txt.bz2 Content-length: 1802 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78444 --- Comment #4 from Uro=C5=A1 Bizjak --- (In reply to Uro=C5=A1 Bizjak from comment #3) > (In reply to Iain Sandoe from comment #2) > > I had previously posted the fragment below for review - and will update= that > > thread shortly. > But still - why doesn't expand_call update crtl->preferred_stack_update to > 128, as is the case with linux targets? Digging deeper through expand_call, the alignment is reduced here: if (fndecl) { struct cgraph_rtl_info *i =3D cgraph_node::rtl_info (fndecl); /* Without automatic stack alignment, we can't increase preferred stack boundary. With automatic stack alignment, it is unnecessary since unless we can guarantee that all callers will align the outgoing stack properly, callee has to align its stack anyway. */ if (i && i->preferred_incoming_stack_boundary && i->preferred_incoming_stack_boundary < preferred_stack_boundar= y) preferred_stack_boundary =3D i->preferred_incoming_stack_boundary; } and i->preferred_incoming_stack_boundary is set to 64 in final.c, rest_of_clean_state: /* We can reduce stack alignment on call site only when we are sure that the function body just produced will be actually used in the final executable. */ if (flag_ipa_stack_alignment && decl_binds_to_current_def_p (current_function_decl)) { unsigned int pref =3D crtl->preferred_stack_boundary; if (crtl->stack_alignment_needed > crtl->preferred_stack_boundary) pref =3D crtl->stack_alignment_needed; cgraph_node::rtl_info (current_function_decl) ->preferred_incoming_stack_boundary =3D pref; } So, what we want to achieve here? >>From gcc-bugs-return-620836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 10:01:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25485 invoked by alias); 12 Nov 2018 10:01:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 115379 invoked by uid 48); 12 Nov 2018 10:00:36 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/87978] Local Register Variables Have No Effect When There is A Call Statement Between Date: Mon, 12 Nov 2018 10:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 8.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00993.txt.bz2 Content-length: 565 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87978 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #7 from Alexander Monakov --- Nevertheless, our rtl-expansion approach for local reg vars is wrong and it= 's possible to show examples that follow recommendations and still get miscompiled: PR 87984. >>From gcc-bugs-return-620835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 10:01:14 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24009 invoked by alias); 12 Nov 2018 10:01: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 113987 invoked by uid 48); 12 Nov 2018 10:00:35 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/87984] [7/8/9 Regression] wrong code for local reg var input to asm Date: Mon, 12 Nov 2018 10:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00992.txt.bz2 Content-length: 208 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87984 --- Comment #1 from Andrew Pinski --- I dont think this is a bug. The warning in the manual talks about the call case even. >>From gcc-bugs-return-620838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 10:02:37 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 102182 invoked by alias); 12 Nov 2018 10:02: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 96694 invoked by uid 48); 12 Nov 2018 10:02:32 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/87984] [7/8/9 Regression] wrong code for local reg var input to asm Date: Mon, 12 Nov 2018 10:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00995.txt.bz2 Content-length: 847 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87984 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andrew Pinski --- In fact the warning even mentions this case: Warning: In the above example, be aware that a register (for example r0) ca= n be call-clobbered by subsequent code, including function calls and __library c= alls for arithmetic operators__ on other variables (for example the initializati= on of p2). In this case, use temporary variables for expressions between the register assignments: See the part that is surrounded by __. >>From gcc-bugs-return-620839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 10:07:17 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 111279 invoked by alias); 12 Nov 2018 10:07: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 111196 invoked by uid 48); 12 Nov 2018 10:07:10 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/87984] [7/8/9 Regression] wrong code for local reg var input to asm Date: Mon, 12 Nov 2018 10:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on resolution everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00996.txt.bz2 Content-length: 714 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87984 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Last reconfirmed| |2018-11-12 Resolution|INVALID |--- Ever confirmed|0 |1 --- Comment #3 from Alexander Monakov --- Reopening - please read the testcase in detail. Neither the 'a' nor the 'd' input are clobbered in the original code, which uses a temporary ('t') as recommended by the docs. >>From gcc-bugs-return-620841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 10:08:47 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1031 invoked by alias); 12 Nov 2018 10:08: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 986 invoked by uid 48); 12 Nov 2018 10:08:43 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/87984] [7/8/9 Regression] wrong code for local reg var input to asm Date: Mon, 12 Nov 2018 10:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00998.txt.bz2 Content-length: 461 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87984 --- Comment #4 from Andrew Pinski --- (In reply to Alexander Monakov from comment #3) > Reopening - please read the testcase in detail. Neither the 'a' nor the '= d' > input are clobbered in the original code, which uses a temporary ('t') as > recommended by the docs. Except a is used twice. Which even though is not very specific in the manu= al is also not a support case. >>From gcc-bugs-return-620840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 10:08:19 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 130985 invoked by alias); 12 Nov 2018 10:08:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 130953 invoked by uid 48); 12 Nov 2018 10:08:14 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/87982] No error for std::generate_n(ptr, ptr, f) Date: Mon, 12 Nov 2018 10:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00997.txt.bz2 Content-length: 931 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87982 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-12 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely --- If we change the literal 0 to something like (int)0 then it can't be used in comparisons with pointers: /home/jwakely/gcc/9/include/c++/9.0.0/bits/stl_algo.h:4449:13: error: ISO C= ++ forbids comparison between pointer and integer [-fpermissive]=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 4449 | __niter > (int)0; --__niter, (void) ++__first)=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | ~~~~~~~~^~~~~~~~ >>From gcc-bugs-return-620842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 10:09:50 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2333 invoked by alias); 12 Nov 2018 10:09: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 2289 invoked by uid 48); 12 Nov 2018 10:09:46 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/87982] No error for std::generate_n(ptr, ptr, f) Date: Mon, 12 Nov 2018 10:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg00999.txt.bz2 Content-length: 188 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87982 --- Comment #2 from Jonathan Wakely --- std::fill_n has the same problem (in both overloads of __fill_n_a). >>From gcc-bugs-return-620843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 10:10:31 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 3308 invoked by alias); 12 Nov 2018 10:10:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 3272 invoked by uid 48); 12 Nov 2018 10:10:25 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/87984] [7/8/9 Regression] wrong code for local reg var input to asm Date: Mon, 12 Nov 2018 10:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg01000.txt.bz2 Content-length: 492 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87984 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |INVALID --- Comment #5 from Andrew Pinski --- Mainly because the value assigned to a is removed as it is redundant. >>From gcc-bugs-return-620844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 10:13:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5418 invoked by alias); 12 Nov 2018 10:13: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 5358 invoked by uid 48); 12 Nov 2018 10:13:20 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/87984] [7/8/9 Regression] wrong code for local reg var input to asm Date: Mon, 12 Nov 2018 10:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg01001.txt.bz2 Content-length: 427 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87984 --- Comment #6 from Andrew Pinski --- The old documentation had the following: Stores into local register variables may be deleted when they appear to be = dead according to dataflow analysis. References to local register variables may = be deleted or moved or simplified. I can't seem to find that in the newer one but it still applies here. >>From gcc-bugs-return-620845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 10:19:55 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 72961 invoked by alias); 12 Nov 2018 10:19: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 72909 invoked by uid 48); 12 Nov 2018 10:19:50 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/54005] Use __atomic_always_lock_free in libstdc++ is_lock_free instead of __atomic_is_lock_free Date: Mon, 12 Nov 2018 10:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hp at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg01002.txt.bz2 Content-length: 448 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54005 --- Comment #37 from Jonathan Wakely --- (In reply to Hans-Peter Nilsson from comment #36) > Either I goofed on the ChangeLog markup I think it's because you use "PR libstdc++-v3/nnnnn" not "PR libstdc++/nnnn= n" > As the tests I wrote have no bearing on the code change, I did not commit > them. > (If you still want them committed, please tell.) No need. Thanks. >>From gcc-bugs-return-620846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 11:01:09 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 64256 invoked by alias); 12 Nov 2018 11:01:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 63975 invoked by uid 48); 12 Nov 2018 11:00:54 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/87985] New: Compile-time and memory hog w/ -O1 -ftree-slp-vectorize Date: Mon, 12 Nov 2018 11:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: compile-time-hog, memory-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg01003.txt.bz2 Content-length: 1843 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87985 Bug ID: 87985 Summary: Compile-time and memory hog w/ -O1 -ftree-slp-vectorize Product: gcc Version: unknown Status: UNCONFIRMED Keywords: compile-time-hog, memory-hog Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- All gcc versions from the current trunk down to 4.5 branch (where -ftree-slp-vectorize was introduced) take indefinite time and memory compil= ing gcc/testsuite/gcc.dg/pr85180.c at any -O level (except -Og) w/ -ftree-slp-vectorize. % timeout 10 gcc-9.0.0-alpha20181111 -O1 -ftree-slp-vectorize -c gcc/testsuite/gcc.dg/pr85180.c zsh: exit 124 timeout 10 gcc-9.0.0-alpha20181111 -O1 -ftree-slp-vectorize= -c perf top: Overhead Shared Objec Symbol 56.63% cc1 [.] operand_equal_p 7.21% cc1 [.] tree_operand_check 6.65% cc1 [.] tree_strip_nop_conversions 5.14% cc1 [.] element_precision 3.86% cc1 [.] fold_binary_loc 2.42% cc1 [.] split_constant_offset_1 2.12% cc1 [.] split_tree 2.02% cc1 [.] wide_int_to_tree_1 1.79% cc1 [.] generic_simplify_PLUS_EXPR 1.44% cc1 [.] split_constant_offset 1.08% cc1 [.] build2 0.93% cc1 [.] ggc_internal_alloc 0.83% cc1 [.] integer_zerop 0.83% cc1 [.] build_int_cst 0.55% cc1 [.] tree_swap_operands_p 0.50% cc1 [.] canonize 0.50% cc1 [.] commutative_tree_code It's even not necessary to leave ten Zs, as the issue is reproducible w/ as "low" as two Ys. >>From gcc-bugs-return-620847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 11:01:25 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 65095 invoked by alias); 12 Nov 2018 11:01:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 65039 invoked by uid 48); 12 Nov 2018 11:01:21 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/78444] Wrong prologue stack alignment for implicit dtor on x86_64-darwin* Date: Mon, 12 Nov 2018 11:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg01004.txt.bz2 Content-length: 552 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78444 --- Comment #5 from Uro=C5=A1 Bizjak --- (In reply to Uro=C5=A1 Bizjak from comment #4) > So, what we want to achieve here? AFAICS, the compiler figures out that the called function requires only 64b= it alignment and lowers the alignment requirements at the call site. So, altho= ugh the callee is not leaf, it gets "misaligned" to 64 bit. If there are additional requirements for the alignment at call site (c.f. Description), then the patch in Comment #2 is correct. >>From gcc-bugs-return-620848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 11:07:59 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 55557 invoked by alias); 12 Nov 2018 11:07: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 55510 invoked by uid 48); 12 Nov 2018 11:07:54 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/78444] Wrong prologue stack alignment for implicit dtor on x86_64-darwin* Date: Mon, 12 Nov 2018 11:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg01005.txt.bz2 Content-length: 1774 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78444 --- Comment #6 from Iain Sandoe --- (In reply to Uro=C5=A1 Bizjak from comment #5) > (In reply to Uro=C5=A1 Bizjak from comment #4) > > So, what we want to achieve here? > AFAICS, the compiler figures out that the called function requires only > 64bit alignment and lowers the alignment requirements at the call site. S= o, > although the callee is not leaf, it gets "misaligned" to 64 bit. >=20 > If there are additional requirements for the alignment at call site (c.f. > Description), then the patch in Comment #2 is correct. For both m32 and m64 Darwin requires 128b alignment at cll sites (256 if AV= X is used). for sysV5 psABI targets, the call site requirement is 64 for m32 and 126/256 for m64. As er your suggestion, I am bootstrapping/testing: diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 711bec0..458430a 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -11149,8 +11149,13 @@ ix86_compute_frame_layout (void) /* 64-bit MS ABI seem to require stack alignment to be always 16, except for function prologues, leaf functions and when the defult incoming stack boundary is overriden at command line or via - force_align_arg_pointer attribute. */ - if ((TARGET_64BIT_MS_ABI && crtl->preferred_stack_boundary < 128) + force_align_arg_pointer attribute. + + Darwin's ABI specifies 128b alignment for both 32 and 64 bit variants + at call sites. + */ + if (((TARGET_64BIT_MS_ABI || TARGET_MACHO)=20 + && crtl->preferred_stack_boundary < 128) && (!crtl->is_leaf || cfun->calls_alloca !=3D 0 || ix86_current_function_calls_tls_descriptor || ix86_incoming_stack_boundary < 128)) >>From gcc-bugs-return-620849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 11:09:44 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 56744 invoked by alias); 12 Nov 2018 11:09: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 56720 invoked by uid 48); 12 Nov 2018 11:09:40 -0000 From: "avarab at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/87983] Feature: Add a warning when case labels from a different enum than the one in switch(EXPR) are used Date: Mon, 12 Nov 2018 11:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: avarab at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg01006.txt.bz2 Content-length: 243 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87983 --- Comment #1 from =C3=86var Arnfj=C3=B6r=C3=B0 Bjarmason --- FYI: I filed a bug with clang for the same feature: https://bugs.llvm.org/show_bug.cgi?id=3D39635 >>From gcc-bugs-return-620850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 11:16:01 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 86413 invoked by alias); 12 Nov 2018 11:16: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 86353 invoked by uid 48); 12 Nov 2018 11:15:56 -0000 From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/87984] [7/8/9 Regression] wrong code for local reg var input to asm Date: Mon, 12 Nov 2018 11:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: inline-asm X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg01007.txt.bz2 Content-length: 675 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87984 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID |--- --- Comment #7 from Alexander Monakov --- OK, here's an example where 'a' is used once: void f(long long x[]) { for (int i=3D0; i<3; i++) { register int a asm("eax"); a =3D x[0] / x[1]; asm("# %0" :: "r"(a)); asm("xor %%eax, %%eax" ::: "eax"); } } >>From gcc-bugs-return-620851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 11:21:33 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22757 invoked by alias); 12 Nov 2018 11:21: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 22701 invoked by uid 48); 12 Nov 2018 11:21:28 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/78444] Wrong prologue stack alignment for implicit dtor on x86_64-darwin* Date: Mon, 12 Nov 2018 11: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: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg01008.txt.bz2 Content-length: 585 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78444 --- Comment #7 from Uro=C5=A1 Bizjak --- (In reply to Iain Sandoe from comment #6) > for sysV5 psABI targets, the call site requirement is 64 for m32 and 126/= 256 > for m64. sysV5 requires 128bit alignment at the call site, but on linux no runtime mechanism enforces this requirement. So, if it is possible to prove that the called function doesn't need 128bit alignment, we can misalign the caller to word size without consequences. From the trail of this PR, I suspect this is not the case on Darwin. >>From gcc-bugs-return-620852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 11:27:28 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49288 invoked by alias); 12 Nov 2018 11:27: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 49214 invoked by uid 48); 12 Nov 2018 11:27:23 -0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/78444] Wrong prologue stack alignment for implicit dtor on x86_64-darwin* Date: Mon, 12 Nov 2018 11:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg01009.txt.bz2 Content-length: 719 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78444 --- Comment #8 from Iain Sandoe --- (In reply to Uro=C5=A1 Bizjak from comment #7) > (In reply to Iain Sandoe from comment #6) > > for sysV5 psABI targets, the call site requirement is 64 for m32 and 12= 6/256 > > for m64. > sysV5 requires 128bit alignment at the call site, but on linux no runtime > mechanism enforces this requirement. So, if it is possible to prove that = the > called function doesn't need 128bit alignment, we can misalign the caller= to > word size without consequences. From the trail of this PR, I suspect this= is > not the case on Darwin. Correct; Darwin's dynamic loader enforces the alignment requirement. >>From gcc-bugs-return-620853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 11:34:16 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 82918 invoked by alias); 12 Nov 2018 11:34:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 78994 invoked by uid 48); 12 Nov 2018 11:34:09 -0000 From: "pault at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87881] gfortran.dg/inquiry_type_ref_(1.f08|3.f90) fail on darwin Date: Mon, 12 Nov 2018 11:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pault at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg01010.txt.bz2 Content-length: 227 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87881 --- Comment #4 from Paul Thomas --- Hi Dominique, I am just back from a business trip to the US. I will attend to this bug as= ap. Thanks Paul >>From gcc-bugs-return-620854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 11:35:15 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 99098 invoked by alias); 12 Nov 2018 11:35: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 99026 invoked by uid 48); 12 Nov 2018 11:35:10 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/87986] New: Assembler errors w/ -masm=intel Date: Mon, 12 Nov 2018 11:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: assemble-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg01011.txt.bz2 Content-length: 2463 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87986 Bug ID: 87986 Summary: Assembler errors w/ -masm=3Dintel Product: gcc Version: unknown Status: UNCONFIRMED Keywords: assemble-failure Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: x86_64-pc-linux-gnu Let's consider the following cases: % cat logpnyyb.c=20 int bx; void ue (void) { bx =3D 0; } % cat rluc6lhr.c=20 void k1 (void) { } Compiling them for x86_64 w/ -masm=3Dintel yields the following: % gcc-9.0.0-alpha20181111 -pipe -masm=3Dintel -c logpnyyb.c {standard input}: Assembler messages: {standard input}:15: Error: invalid use of register % cat logpnyyb.s=20 .file "logpnyyb.c" .intel_syntax noprefix .text .comm bx,4,4 .globl ue .type ue, @function ue: .LFB0: .cfi_startproc push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 mov DWORD PTR bx[rip], 0 nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size ue, .-ue .ident "GCC: (GNU) 9.0.0-alpha20181111 20181111 (experimental)" .section .note.GNU-stack,"",@progbits % gcc-9.0.0-alpha20181111 -pipe -masm=3Dintel -c rluc6lhr.c {standard input}: Assembler messages: {standard input}: Error: .size expression for k1 does not evaluate to a constant % cat rluc6lhr.s=20 .file "rluc6lhr.c" .intel_syntax noprefix .text .globl k1 .type k1, @function k1: .LFB0: .cfi_startproc push rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 mov rbp, rsp .cfi_def_cfa_register 6 nop pop rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size k1, .-k1 .ident "GCC: (GNU) 9.0.0-alpha20181111 20181111 (experimental)" .section .note.GNU-stack,"",@progbits Top of trunk gcc is not actually necessary, it also reproduces at least on = the gcc 8 branch. I have binutils 2.31.1 installed. I'm not sure which tool, gcc or gas, migh= t be at fault here, so I'll move this PR to the binutils Bugzilla if necessary. >>From gcc-bugs-return-620855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 11:37:21 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 109079 invoked by alias); 12 Nov 2018 11: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 108353 invoked by uid 48); 12 Nov 2018 11:37:17 -0000 From: "umesh.kalappa0 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/52869] [DR 1207] "this" not being allowed in noexcept clauses Date: Mon, 12 Nov 2018 11:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.7.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: umesh.kalappa0 at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-11/txt/msg01012.txt.bz2 Content-length: 1081 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52869 Umesh Kalappa changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |umesh.kalappa0 at gmail do= t com --- Comment #8 from Umesh Kalappa --- the following patch fix all the reported cases and tested with latest trunk= and 8.1 source i.e=20 Index: gcc/cp/parser.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/cp/parser.c (revision 266026) +++ gcc/cp/parser.c (working copy) @@ -24615,6 +24615,8 @@ { tree expr; cp_lexer_consume_token (parser->lexer); + + inject_this_parameter (current_class_type, TYPE_UNQUALIFIED); if (cp_lexer_peek_token (parser->lexer)->type =3D=3D CPP_OPEN_PAREN) { ok to commit ? >>From gcc-bugs-return-620856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 12 11:50:45 2018 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 69949 invoked by alias); 12 Nov 2018 11:50:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 69938 invoked by uid 89); 12 Nov 2018 11:50:44 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-9.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,GIT_PATCH_2,GIT_PATCH_3,KAM_ASCII_DIVIDERS,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=HX-HELO:sk:mail-pl, H*r:sk:mail-pl, hear, Hx-spam-relays-external:sk:mail-pl X-HELO: mail-pl1-f172.google.com Received: from mail-pl1-f172.google.com (HELO mail-pl1-f172.google.com) (209.85.214.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 12 Nov 2018 11:50:42 +0000 Received: by mail-pl1-f172.google.com with SMTP id p16-v6so4248426plr.8 for ; Mon, 12 Nov 2018 03:50:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AumyRdQTsjsE+uXOdnVq/LUaSVXPZRxpROupbZs/28Q=; b=O0nMaF9OvnmLG2pjhHl6GwWH2xnUvaThdOIMYF4N2B9F3kDZlDOEZ6EUZGwKiQ7bXm O5G6DMT5WMo/K2BFWehWwgDfF/y1udT2+broHAEfqzuEll2KKDtu/ZqOj834vlpMi0TE JhDywpeZtfTUPvyE0VSn0nueHJYczI7xZeEaEgkMP4E4xqo6H4RUorIb+syW9P/XG1b5 TjoZdxByq6Xlmx25GMwRfi884gVuoN/o8FRq+XSMx9Zw0RiYHyqwu9g6q8uZEVcc6+Bq hYBQjNmkqpuo4jAURUnLSClTLuO7V7ix7xYh3VlaWlGCKIrxANmIiPeF2lo5PVdaaQI9 /LZQ== MIME-Version: 1.0 References: In-Reply-To: From: Umesh Kalappa Date: Mon, 12 Nov 2018 11:50:00 -0000 Message-ID: Subject: Re: [Bug c++/52869] [DR 1207] "this" not being allowed in noexcept clauses To: jason@redhat.com, nathan@acm.org, mikestump@comcast.net, iain@codesourcery.com Cc: gcc-bugs@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-11/txt/msg01013.txt.bz2 Content-length: 1225 Hi Jason /Nathan , We are able to fix the below issue and would like to hear any comments / suggestions will be appreciated. Thank you ~Umesh On Mon, Nov 12, 2018 at 5:07 PM umesh.kalappa0 at gmail dot com wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52869 > > Umesh Kalappa changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |umesh.kalappa0 at gmail dot com > > --- Comment #8 from Umesh Kalappa --- > the following patch fix all the reported cases and tested with latest trunk and > 8.1 source i.e > > Index: gcc/cp/parser.c > =================================================================== > --- gcc/cp/parser.c (revision 266026) > +++ gcc/cp/parser.c (working copy) > @@ -24615,6 +24615,8 @@ > { > tree expr; > cp_lexer_consume_token (parser->lexer); > + > + inject_this_parameter (current_class_type, TYPE_UNQUALIFIED); > > if (cp_lexer_peek_token (parser->lexer)->type == CPP_OPEN_PAREN) > { > > ok to commit ?