[Bug target/95018] [10/11 Regression] Excessive unrolling for Fortran library array handling

2020-05-18 Thread guojiufu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 --- Comment #34 from Jiu Fu Guo --- As previous patch 6d099a76a0f6a040a3e678f2bce7fc69cc3257d8(rs6000: Enable limited unrolling at -O2) only affects simple loops on rs6000. We may also set limits for GIMPLE cunroll, like for RTL unroller

[Bug libstdc++/95200] New: user-defined hash function is not copied correctly if unordered_map is declared using an incomplete type

2020-05-18 Thread jevgenijsz1 at verifone dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95200 Bug ID: 95200 Summary: user-defined hash function is not copied correctly if unordered_map is declared using an incomplete type Product: gcc Version: 9.3.1 Status:

[Bug libfortran/95177] error: array subscript has type char

2020-05-18 Thread roland.illig at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 --- Comment #2 from Roland Illig --- >--- Comment #1 from kargl at gcc dot gnu.org --- >Why cast to unsigned char? The prototypes for tolower(), toupper(), >isdigit(), etc show that the type of the argument is int. See

[Bug c++/66439] Diagnostic on failed function template lookup is missing a line

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66439 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:864fed4a491606a7b17325d847e1d723d2a44104 commit r11-476-g864fed4a491606a7b17325d847e1d723d2a44104 Author: Patrick Palka Date:

[Bug c++/87847] spec_hasher::hash does not match with spec_hasher::equal

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847 --- Comment #13 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:573e5f0500968dcf4025b8fc0ae5fb367f9c70d9 commit r11-477-g573e5f0500968dcf4025b8fc0ae5fb367f9c70d9 Author: Patrick Palka Date:

[Bug d/95174] [D] Incorrect compiled functions involving const fixed size arrays

2020-05-18 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95174 --- Comment #3 from Iain Buclaw --- (In reply to Witold Baryluk from comment #2) > Doh. Of course. My bad. Sorry. > > > static arrays are value type, dynamic arrays are reference type. > Dynamic arrays are still value types, the value

[Bug tree-optimization/95199] New: Remove extra variable created for memory reference in loop vectorization.

2020-05-18 Thread zhoukaipeng3 at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95199 Bug ID: 95199 Summary: Remove extra variable created for memory reference in loop vectorization. Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

[Bug d/95198] [D] extern(C) private final functions should use 'local' linker attribute

2020-05-18 Thread witold.baryluk+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95198 --- Comment #1 from Witold Baryluk --- BTW. Using: ``` extern(C) private final static int f() { ... } ``` doesn't change anything.

[Bug d/95198] New: [D] extern(C) private final functions should use 'local' linker attribute

2020-05-18 Thread witold.baryluk+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95198 Bug ID: 95198 Summary: [D] extern(C) private final functions should use 'local' linker attribute Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity:

[Bug d/95174] [D] Incorrect compiled functions involving const fixed size arrays

2020-05-18 Thread witold.baryluk+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95174 --- Comment #2 from Witold Baryluk --- Doh. Of course. My bad. Sorry. static arrays are value type, dynamic arrays are reference type. Changing signature to: ``` void f(immutable(float[64]) x, float[] o); ``` solves the problem.

[Bug libfortran/95177] error: array subscript has type char

2020-05-18 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug c++/95197] New: libgomp/testsuite/libgomp.c++/for-27.C fails with -std=c++17

2020-05-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95197 Bug ID: 95197 Summary: libgomp/testsuite/libgomp.c++/for-27.C fails with -std=c++17 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c/30368] missing warning for dereferencing null pointer

2020-05-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30368 Martin Sebor changed: What|Removed |Added Keywords||diagnostic CC|

[Bug c++/95175] [9/10/11 Regression] constexpr and alias template

2020-05-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95175 Marek Polacek changed: What|Removed |Added Keywords||rejects-valid Priority|P3

[Bug c++/12341] Request for additional warning for variable shadowing

2020-05-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12341 Martin Sebor changed: What|Removed |Added Blocks||87403 Last reconfirmed|2005-12-11

[Bug fortran/95196] New: Assumed-rank incorrect array bounds inside select rank

2020-05-18 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95196 Bug ID: 95196 Summary: Assumed-rank incorrect array bounds inside select rank Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/94955] [10 Regression] ICE in to_wide

2020-05-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94955 Marek Polacek changed: What|Removed |Added Summary|[10/11 Regression] ICE in |[10 Regression] ICE in

[Bug c++/94955] [10/11 Regression] ICE in to_wide

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94955 --- Comment #6 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:2d4e1e144c25e526e4f668be5a0bc10d0c1c738c commit r11-474-g2d4e1e144c25e526e4f668be5a0bc10d0c1c738c Author: Marek Polacek Date:

[Bug c++/94937] [10 Regression] ICE with if constexpr (in cp_get_fndecl_from_callee, at cp/cvt.c:1000) since r10-2835-g14da3939da3adcef

2020-05-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937 Marek Polacek changed: What|Removed |Added Summary|[10/11 Regression] ICE with |[10 Regression] ICE with if

[Bug c++/94937] [10/11 Regression] ICE with if constexpr (in cp_get_fndecl_from_callee, at cp/cvt.c:1000) since r10-2835-g14da3939da3adcef

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937 --- Comment #19 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:bf732686c0b9c42a2fe119db774c5a65e5a97174 commit r11-473-gbf732686c0b9c42a2fe119db774c5a65e5a97174 Author: Marek Polacek Date:

[Bug fortran/95195] New: gfortran poorly handles a program error of writing a namelist to an unformatted file.

2020-05-18 Thread longb at cray dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95195 Bug ID: 95195 Summary: gfortran poorly handles a program error of writing a namelist to an unformatted file. Product: gcc Version: 9.3.0 Status: UNCONFIRMED

[Bug lto/95194] bootstrap-lto fails on musl (bundled libintl uses asm aliases)

2020-05-18 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95194 --- Comment #1 from Sergei Trofimovich --- https://gcc.gnu.org/PR48200 touches on why asm aliases are problematic.

[Bug lto/95194] New: bootstrap-lto fails on musl (bundled libintl uses asm aliases)

2020-05-18 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95194 Bug ID: 95194 Summary: bootstrap-lto fails on musl (bundled libintl uses asm aliases) Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/92815] [8/9/10 Regression] spurious -Wstringop-overflow writing into a flexible array of an extern struct

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92815 --- Comment #8 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:8edf0adb6616bd717312d9b305c7d7c9a6b7a171 commit r11-472-g8edf0adb6616bd717312d9b305c7d7c9a6b7a171 Author: Martin Sebor Date: Mon

[Bug c++/90915] [9/10 Regression] ICE in has_attribute, at c-family/c-attribs.c:4221

2020-05-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90915 Marek Polacek changed: What|Removed |Added Summary|[9/10/11 Regression] ICE in |[9/10 Regression] ICE in

[Bug c++/90915] [9/10/11 Regression] ICE in has_attribute, at c-family/c-attribs.c:4221

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90915 --- Comment #6 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:5d2246a32c638e9caea109e5dd9f182f5cd43b2a commit r11-471-g5d2246a32c638e9caea109e5dd9f182f5cd43b2a Author: Marek Polacek Date:

[Bug middle-end/94940] [10 Regression] spurious -Warray-bounds for a zero length array member of union since r10-4300-g49fb45c81f4ac068

2020-05-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94940 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2020-05-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 94940, which changed state. Bug 94940 Summary: [10 Regression] spurious -Warray-bounds for a zero length array member of union since r10-4300-g49fb45c81f4ac068 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94940

[Bug middle-end/94940] [10 Regression] spurious -Warray-bounds for a zero length array member of union since r10-4300-g49fb45c81f4ac068

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94940 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Martin Sebor : https://gcc.gnu.org/g:ff61c5bd1490a006c00bed9259dc672351eb217a commit r10-8154-gff61c5bd1490a006c00bed9259dc672351eb217a Author: Martin Sebor

[Bug fortran/94361] Memory leak in nested types with final

2020-05-18 Thread antony at cosmologist dot info
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94361 --- Comment #2 from Antony Lewis --- I tried it on another system where gfortran 6.5 and 7.4.0 that don't leak, but 8.4.0 does, so in that sense at least I think it is a regression.

[Bug middle-end/92815] [8/9/10 Regression] spurious -Wstringop-overflow writing into a flexible array of an extern struct

2020-05-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92815 Martin Sebor changed: What|Removed |Added Known to work||11.0 Summary|[8/9/10/11

[Bug middle-end/92815] [8/9/10/11 Regression] spurious -Wstringop-overflow writing into a flexible array of an extern struct

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92815 --- Comment #6 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:7a41fcde6c67faafab8c8ee2a31140999383dcef commit r11-470-g7a41fcde6c67faafab8c8ee2a31140999383dcef Author: Martin Sebor Date: Mon

[Bug middle-end/94940] [10/11 Regression] spurious -Warray-bounds for a zero length array member of union since r10-4300-g49fb45c81f4ac068

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94940 --- Comment #9 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:3956244c58acceebf1ef2cf9a63e99f0f82abcb7 commit r11-469-g3956244c58acceebf1ef2cf9a63e99f0f82abcb7 Author: Martin Sebor Date: Mon

[Bug c++/95181] [10/11 Regression] ICE in push_access_scope, at cp/pt.c:241 since r10-3735-gcb57504a55015891

2020-05-18 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95181 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug target/82261] x86: missing peephole for SHLD / SHRD

2020-05-18 Thread michaeljclark at mac dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82261 Michael Clark changed: What|Removed |Added CC||michaeljclark at mac dot com ---

[Bug c++/87699] Implement CWG 1512

2020-05-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87699 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/87699] Implement CWG 1512

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87699 --- Comment #7 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:ae8ed736addb2b005d54c0b3191ac599a04ec170 commit r11-467-gae8ed736addb2b005d54c0b3191ac599a04ec170 Author: Marek Polacek Date:

[Bug c++/95193] [11 Regression] ICE in tsubst_decl, at cp/pt.c:14624

2020-05-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95193 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/95193] New: [11 Regression] ICE in tsubst_decl, at cp/pt.c:14624

2020-05-18 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95193 Bug ID: 95193 Summary: [11 Regression] ICE in tsubst_decl, at cp/pt.c:14624 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug c++/95063] [11 Regression] ICE in tsubst_decl, at cp/pt.c:14633

2020-05-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95063 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/95192] [11 Regression] ICE: tree check: expected tree_list, have error_mark in handle_assume_aligned_attribute, at c-family/c-attribs.c:2996

2020-05-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95192 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/95063] [11 Regression] ICE in tsubst_decl, at cp/pt.c:14633

2020-05-18 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95063 --- Comment #6 from Arseny Solokha --- Is there more work pending, or can this PR be closed?

[Bug c++/95192] New: [11 Regression] ICE: tree check: expected tree_list, have error_mark in handle_assume_aligned_attribute, at c-family/c-attribs.c:2996

2020-05-18 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95192 Bug ID: 95192 Summary: [11 Regression] ICE: tree check: expected tree_list, have error_mark in handle_assume_aligned_attribute, at c-family/c-attribs.c:2996 Product: gcc

[Bug fortran/94361] Memory leak in nested types with final

2020-05-18 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94361 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code

[Bug fortran/94361] Memory leak in nested types with final

2020-05-18 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94361 anlauf at gcc dot gnu.org changed: What|Removed |Added Known to fail||10.1.1, 11.0, 7.4.1, 8.2.1,

[Bug middle-end/95021] [10/11 Regression] Bogus -Wclobbered warning

2020-05-18 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95021 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #11

[Bug fortran/95053] [11 regression] ICE in f951: gfc_divide()

2020-05-18 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95053 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2020-05-18 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 95053, which changed state. Bug 95053 Summary: [11 regression] ICE in f951: gfc_divide() https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95053 What|Removed |Added

[Bug fortran/95191] Hang in WAIT with a bad ID= value if threading specified

2020-05-18 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95191 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Priority|P3

[Bug fortran/95053] [11 regression] ICE in f951: gfc_divide()

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95053 --- Comment #29 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:e5abd1cb9160619721336ed800779a01548231f1 commit r11-461-ge5abd1cb9160619721336ed800779a01548231f1 Author: Harald Anlauf Date:

[Bug tree-optimization/94952] Possible false positive of uninitialized variable usage during release build in gimple-ssa-store-merging.c

2020-05-18 Thread stefansf at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94952 Stefan Schulze Frielinghaus changed: What|Removed |Added Resolution|--- |FIXED

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2020-05-18 Thread stefansf at linux dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 94952, which changed state. Bug 94952 Summary: Possible false positive of uninitialized variable usage during release build in gimple-ssa-store-merging.c https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94952

[Bug tree-optimization/94952] Possible false positive of uninitialized variable usage during release build in gimple-ssa-store-merging.c

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94952 --- Comment #1 from CVS Commits --- The master branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:2c832ffedf06ff614fc36c44ab6c892d84075e08 commit r11-460-g2c832ffedf06ff614fc36c44ab6c892d84075e08 Author: Stefan

[Bug c++/95143] SFINAE failure with static_cast

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95143 --- Comment #13 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:be464161b4ae128681958d94aa460531cf30e0a4 commit r11-459-gbe464161b4ae128681958d94aa460531cf30e0a4 Author: Marek Polacek Date:

[Bug target/94833] vec_first_match_index does not function as described in its description

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94833 --- Comment #3 from CVS Commits --- The master branch has been updated by Carl Love : https://gcc.gnu.org/g:24f68831d25bad739a6fe167a58b5b4c0c3cbf9a commit r11-458-g24f68831d25bad739a6fe167a58b5b4c0c3cbf9a Author: Carl Love Date: Wed Apr 29

[Bug lto/95190] Documentation for -Wstringop-overflow

2020-05-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95190 Martin Sebor changed: What|Removed |Added Last reconfirmed||2020-05-18

[Bug fortran/95191] New: Hang in WAIT with a bad ID= value if threading specified

2020-05-18 Thread longb at cray dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95191 Bug ID: 95191 Summary: Hang in WAIT with a bad ID= value if threading specified Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal

[Bug target/95169] [10/11 Regression] i386 comparison between nan and 0.0 triggers Invalid operation exception

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95169 --- Comment #7 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:8f17461bdfeed758f2be71529fc3af55a76ea3e1 commit r11-457-g8f17461bdfeed758f2be71529fc3af55a76ea3e1 Author: Uros Bizjak Date: Mon

[Bug fortran/94109] Memory leak introduced in 8.3.0->8.3.1

2020-05-18 Thread antony at cosmologist dot info
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94109 --- Comment #4 from Antony Lewis --- Not sure why no one has at least picked up on https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94361 since it is a reproducible regression with a simple test case, an a bug that effectively kills some

[Bug target/94962] Suboptimal AVX2 code for _mm256_zextsi128_si256(_mm_set1_epi8(-1))

2020-05-18 Thread n...@self-evident.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94962 --- Comment #5 from Nemo --- (In reply to Jakub Jelinek from comment #2) I would be happy if GCC could just emit optimal code (single vcmpeqd instruction) for this useful constant: _mm256_set_m128i(_mm_setzero_si128(), _mm_set1_epi8(-1))

[Bug preprocessor/95183] [11 Regression] ICE: Segmentation fault (in _cpp_lex_direct)

2020-05-18 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95183 --- Comment #3 from Arseny Solokha --- (In reply to Nathan Sidwell from comment #2) > This is a bug, but you're running a --traditional C preprocessor test > through the c++ compiler, right? Through the C compiler, but otherwise yes. I've

[Bug preprocessor/95183] [11 Regression] ICE: Segmentation fault (in _cpp_lex_direct)

2020-05-18 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95183 --- Comment #2 from Nathan Sidwell --- This is a bug, but you're running a --traditional C preprocessor test through the c++ compiler, right? (A regular test run doesn't fail this test for me at least)

[Bug d/95120] [D] Incorrectly allows fqdn access to imported symbols when doing selective imports.

2020-05-18 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95120 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/95174] [D] Incorrect compiled functions involving const fixed size arrays

2020-05-18 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95174 Iain Buclaw changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug fortran/94925] Undesired runtime warning message

2020-05-18 Thread siteg at mathalacarte dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94925 --- Comment #4 from Fred Krogh --- Before submitting this I tried to make a small test case to show the problem. It did not show the problem. I was hoping that the fact that the message just started and there were no options that would turn it

[Bug c++/95190] New: Documentation for -Wstringop-overflow

2020-05-18 Thread stayprivate at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95190 Bug ID: 95190 Summary: Documentation for -Wstringop-overflow Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c/95189] New: memcmp being wrongly stripped (regression)

2020-05-18 Thread gcc at pkh dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189 Bug ID: 95189 Summary: memcmp being wrongly stripped (regression) Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug analyzer/95188] New: analyzer-unsafe-call-within-signal-handler shows wrong statement for signal registration event

2020-05-18 Thread mark at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95188 Bug ID: 95188 Summary: analyzer-unsafe-call-within-signal-handler shows wrong statement for signal registration event Product: gcc Version: 10.1.0 Status: UNCONFIRMED

[Bug c/95141] [8/9/10/11 Regression] Incorrect integer overflow warning message for bitand expression

2020-05-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95141 --- Comment #3 from Richard Biener --- (In reply to Richard Biener from comment #2) > So there's already (OVF) at > > ((long unsigned int) IA1 & 158(OVF)) & 1 > > but we only check > > 375 if (TREE_OVERFLOW_P (ret) > 376

[Bug d/95184] GDC reporting multiple definitions of functions where DMD and LDC do not

2020-05-18 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95184 --- Comment #4 from Iain Buclaw --- Done in r9-8603.

[Bug d/92216] GDC generate duplicate symbols when mixins and interfaces are used to gather

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92216 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:3e84ee0fab9cedfa57fe86ea3c00608f6a873ab9 commit r9-8603-g3e84ee0fab9cedfa57fe86ea3c00608f6a873ab9 Author: Iain Buclaw Date:

[Bug tree-optimization/95187] New: Failure to optimize bool check into consecutive literals

2020-05-18 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95187 Bug ID: 95187 Summary: Failure to optimize bool check into consecutive literals Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/95185] Failure to optimize specific kind of sign comparison check

2020-05-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95185 --- Comment #2 from Richard Biener --- Btw, thanks for all these bugreports!

[Bug tree-optimization/95185] Failure to optimize specific kind of sign comparison check

2020-05-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95185 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug target/70320] msp430 asm volatile does not accept lower-case register names in clobber list

2020-05-18 Thread jozefl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70320 jozefl at gcc dot gnu.org changed: What|Removed |Added CC||jozefl at gcc dot gnu.org

[Bug target/58507] Incorrect parsing of `-mmcu=msp430*`

2020-05-18 Thread jozefl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58507 jozefl at gcc dot gnu.org changed: What|Removed |Added CC||jozefl at gcc dot gnu.org

[Bug fortran/95186] New: Optimize allocate(..., source=0) or allocate(..., source=[0.0, 0.0, ...]) to use calloc instead of malloc

2020-05-18 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95186 Bug ID: 95186 Summary: Optimize allocate(..., source=0) or allocate(..., source=[0.0, 0.0, ...]) to use calloc instead of malloc Product: gcc Version: 10.0

[Bug target/78554] Internal Compiler Error in msp430 target with -mlarge, -O{s123}

2020-05-18 Thread jozefl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78554 jozefl at gcc dot gnu.org changed: What|Removed |Added CC||jozefl at gcc dot gnu.org

[Bug target/78838] msp430 option -mcode-region=either, -ffunction-sections, and interrupt function attributes cause incorrect section to be created

2020-05-18 Thread jozefl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78838 jozefl at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug c++/95181] [10/11 Regression] ICE in push_access_scope, at cp/pt.c:241 since r10-3735-gcb57504a55015891

2020-05-18 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95181 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug preprocessor/95183] [11 Regression] ICE: Segmentation fault (in _cpp_lex_direct)

2020-05-18 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95183 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/95185] New: Failure to optimize specific kind of sign comparison check

2020-05-18 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95185 Bug ID: 95185 Summary: Failure to optimize specific kind of sign comparison check Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug sanitizer/94910] detect_stack_use_after_return=1 is much slower than clang's

2020-05-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94910 --- Comment #6 from Jakub Jelinek --- (In reply to Martin Liška from comment #5) > > FakeStack (stack_size_log=20):bail out after 8192 > > FakeStack (stack_size_log=20):bail out after 16384 > > FakeStack (stack_size_log=20):bail out after 4096 >

[Bug tree-optimization/95171] ICE: verify_flow_info failed (error: wrong outgoing edge flags at end of bb 2)

2020-05-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95171 Richard Biener changed: What|Removed |Added Known to fail|11.0| Known to work|

[Bug tree-optimization/95171] ICE: verify_flow_info failed (error: wrong outgoing edge flags at end of bb 2)

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95171 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:fe168751c5c1c517c7c89c9a1e4e561d66b24663 commit r11-451-gfe168751c5c1c517c7c89c9a1e4e561d66b24663 Author: Richard Biener Date:

[Bug target/94962] Suboptimal AVX2 code for _mm256_zextsi128_si256(_mm_set1_epi8(-1))

2020-05-18 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94962 --- Comment #4 from Hongtao.liu --- (In reply to Jakub Jelinek from comment #2) > But such an instruction isn't always redundant, it really depends on what > the previous setter of the register did, whether the upper 128 bit of the > 256-bit

[Bug target/94962] Suboptimal AVX2 code for _mm256_zextsi128_si256(_mm_set1_epi8(-1))

2020-05-18 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94962 --- Comment #3 from Hongtao.liu --- You're right, from intel SDM: VEX.128 encoded version: Bits (MAXVL-1:128) of the destination register are zeroed.

[Bug tree-optimization/57359] store motion causes wrong code for union access at -O3

2020-05-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 Bug 57359 depends on bug 95172, which changed state. Bug 95172 Summary: [11 Regression] wrong code at -O1 on x86_64-linux-gnu since r11-272-gb6ff3ddecfa93d53 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95172 What|Removed

[Bug tree-optimization/95172] [11 Regression] wrong code at -O1 on x86_64-linux-gnu since r11-272-gb6ff3ddecfa93d53

2020-05-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95172 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Blocks|

[Bug tree-optimization/95172] [11 Regression] wrong code at -O1 on x86_64-linux-gnu since r11-272-gb6ff3ddecfa93d53

2020-05-18 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95172 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:52a0f83980082c9995f2d8ec9b88548520fb8a5f commit r11-450-g52a0f83980082c9995f2d8ec9b88548520fb8a5f Author: Richard Biener Date:

[Bug target/94962] Suboptimal AVX2 code for _mm256_zextsi128_si256(_mm_set1_epi8(-1))

2020-05-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94962 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug d/95075] gcc/d/dmd/dscope.c: 2 * strange assignments ?

2020-05-18 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95075 --- Comment #2 from Iain Buclaw --- """ I think I wrote it that way to emphasize what the result should be, and relied on the optimizer removing the self-assignment. So, the code is correct. """ So I'll remove the self-assignment with a comment

[Bug target/94934] Failure to inline addv

2020-05-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94934 --- Comment #4 from Jakub Jelinek --- (In reply to Gabriel Ravier from comment #3) > In that case, it looks really easy to reimplemnet `-ftrapv` as literally > just enabling `-fsanitize=signed-integer-overflow >

[Bug c++/71954] template partial specialization for constexpr error

2020-05-18 Thread suratovvlad at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71954 --- Comment #2 from Vladislav Suratov --- Confirmed with 9.3, 10.1 and current trunk (11.0). Tested with --std=c++17, meanwhile clang 10.0 (and trunk) and MSVC 19.24 and MSVC 19.25 successfully compile it. The following example is what I used

[Bug d/95184] GDC reporting multiple definitions of functions where DMD and LDC do not

2020-05-18 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95184 Iain Buclaw changed: What|Removed |Added Resolution|DUPLICATE |FIXED --- Comment #3 from Iain Buclaw

[Bug sanitizer/94910] detect_stack_use_after_return=1 is much slower than clang's

2020-05-18 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94910 --- Comment #5 from Martin Liška --- > FakeStack (stack_size_log=20):bail out after 8192 > FakeStack (stack_size_log=20):bail out after 16384 > FakeStack (stack_size_log=20):bail out after 4096 > FakeStack (stack_size_log=20):bail out after 8192

[Bug sanitizer/94910] detect_stack_use_after_return=1 is much slower than clang's

2020-05-18 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94910 Martin Liška changed: What|Removed |Added Status|WAITING |NEW --- Comment #4 from Martin Liška

[Bug libstdc++/95170] GetTickCount64 cannot get found in KERNEL32.dll on Legacy Windows Platforms like Windows XP, 2000

2020-05-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95170 --- Comment #3 from Jonathan Wakely --- Right, libstdc++ doesn't use GetTickCount64 anywhere.

[Bug d/92216] GDC generate duplicate symbols when mixins and interfaces are used to gather

2020-05-18 Thread oss at cogitri dot dev
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92216 Rasmus Thomsen changed: What|Removed |Added CC||oss at cogitri dot dev --- Comment #5

[Bug d/95184] GDC reporting multiple definitions of functions where DMD and LDC do not

2020-05-18 Thread oss at cogitri dot dev
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95184 Rasmus Thomsen changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

  1   2   >